search for: streamingurl

Displaying 2 results from an estimated 2 matches for "streamingurl".

2018 Jan 23
0
Now playing (PHP example)
This php script is also good for displaying a now playing title on your station's website. It is not an auto refreshing script so the page would have to be refreshed manually by the visitor when the song changes. Script follows: <?php function getMp3StreamTitle($streamingUrl, $interval, $offset = 0, $headers = true) { $needle = 'StreamTitle='; $ua = 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.110 Safari/537.36'; $opts = [ 'http' => [ 'method' => 'GET', ...
2018 Jan 23
2
Now playing (PHP example)
Wow, thank you so much! I completely forgot about the status-json.xsl file... :D 2018-01-23 15:38 GMT+01:00, unosonic <un at aporee.org>: > Danijela Popović: >> Hi all, >> Basically there's my question in the subject. I need a simple example >> of now playing artist, song, and listeners. Can somebody write it down >> for me? > > no time, sorry >