Hello. Relay radio using PHP:

<?php $url = "http://ultra.streamr.ru/ultra-128.mp3"; header('Content-Type: audio/mpeg'); header('icy-genre: Alternative'); header('icy-name: Radio Ultra'); $f=fopen($url,'r'); if(!$f) exit; while(!feof($f)) { echo fread($f,128); flush(); } fclose($f); ?> 

But I would like to instead

 header('icy-name: Radio Ultra'); 

the current track was displayed from metadata, and changed when metadata was changed in the stream.

Who faced, share advice. Thank.

  • And what did the search tell you? - DaemonHK

0