http://www.perlmonks.org?node_id=599880


in reply to MP3 server with IO::Socket

i notice that the playlist saved by winamp have extra line with the info about song immediately follow in the playlist file...

example:
... #EXTINF Queen - Radio GaGa D:\queen\radiogaga.mp3 ...
why don't you use this "info line" for streaming the song title to the player?
<----------------->
Feel the Dark Power of Regular Expressions...

Replies are listed 'Best First'.
Re^2: MP3 server with IO::Socket
by Anonymous Monk on May 12, 2007 at 21:02 UTC
    Getting the info is not so much the point. Streaming the info at the right moment and with the right way is what we are missing here. Imagine the info is already available. Do you have a code snippet that will stream the info?