in reply to Adding metadata support to the Mp3 streaming server

 There's a little bit of detail you're missing - which I think is enough to throw you off.

 When you serve the response back instead of sending "HTTP 200 OK", you must instead send "ICY 200 OK".

 I wrote GNUMP3d - just about to move to the GNU servers, where CVS is already located - and I got this working fairly easily by reading this document.

 You can see my code here, the important function being "getHTTPHeader".

Steve
---
steve.org.uk
  • Comment on Re: Adding metadata support to the Mp3 streaming server

Replies are listed 'Best First'.
Re: Re: Adding metadata support to the Mp3 streaming server
by Anonymous Monk on Oct 15, 2003 at 17:25 UTC
    Changing the HTTP 200 OK to ICY 200 OK didn't solve my problem.
    Anyway it seems to me that your code doesn't support metadata ( it doesn't send a icy-metaint value in its header)..im i wrong?
      I am looking for a solution to this problem too. gnumpd doesn't actually 'stream' files, it just creates a playlist and then winamp will play the files one by one! It will be really appreciated if someone post the code for sending the metadata to the client while streaming.