xiph / Icecast-Server

Icecast streaming media server (Mirror) - Please report bugs at https://gitlab.xiph.org/xiph/icecast-server/issues
https://icecast.org
GNU General Public License v2.0
465 stars 127 forks source link

get stream title of secondair stream #37

Closed alainseys closed 3 years ago

alainseys commented 3 years ago

hy we have a web radio with multiple streams with our php script we are able to get the stream title of the main radio.

but the other radio's i cant get the radio stream title out of it.

in the php script we are performing a GET request with header Icy-MetaData: 1 and a user agent.

in the url part i place the full url to the radiostream mount point , on the main radio this works perfect secondary i get a empty string.

are there some additional params i need to set ?

alainseys commented 3 years ago

hy we have a web radio with multiple streams with our php script we are able to get the stream title of the main radio.

but the other radio's i cant get the radio stream title out of it.

in the php script we are performing a GET request with header Icy-MetaData: 1 and a user agent.

in the url part i place the full url to the radiostream mount point , on the main radio this works perfect secondary i get a empty string.

are there some additional params i need to set ?

i have solved this by calling in my android application a php script that get the stream title , for the secondary streams i cannot use the main method for me this solution works so no action is required