removing cc_stream_info_summary link

progyesfm

New Member
I now have a link to a Radio player here (RHS)


which says at the top e.g.'ProgYes Internet Radio - Unknown - Cool Jazz Hour 1


At the moment 'cc_stream_info_summary' has a clickable link associated with it - is there a way of it just displaying
the characters describing what is playing?


Also - how do I set 'unknown' to something?

regards
Tim
 

Support

Level 1 Support
Staff member
Hi Tim, Apologies for the delay...

Unfortunately the only modifications you can do to this javascript output of the stream data is to style it with css. It is possible to remove a link with css but this might not work with all browsers and is a bit of a bodge to be honest.

Heres some css that might work :

pointer-events: none;

cursor: default;

There is definitely no way to change "unknown" to something else. Provided your MP3's are tagged correctly and you are sending the meta-data ok it shouldn't appear.

There is a way to solve both your problems and basically do whatever you like with the data and that is to create some php code that will pull the data from the status page (much like we do) and present it how you like. You could change "unknown" to whatever you like and not have a link.

Here a search to get you started : php shoutcast parser - Google Search

There are plenty of examples out there you could modify to do whatever you like.
 
Top