[MPlayer-users] Handling URL playlist

Anthony J. Ciani aciani1 at uic.edu
Thu Oct 14 00:12:42 CEST 2004


Hello,

MPlayer RC5 (and perhaps all after RC2) has strange behavior when parsing 
a playlist given as a URL.

the command:
mplayer http://abcrad.sc.llnwd.net:12015/listen.pls

causes mplayer to output parse the playlist twice:
Playing http://abcrad.sc.llnwd.net:12015/listen.pls.
Resolving abcrad.sc.llnwd.net for AF_INET...
Connecting to server abcrad.sc.llnwd.net[69.28.156.63]:12015 ...
Cache size set to 320 KBytes
Connected to server: abcrad.sc.llnwd.net


Playing http://abcrad.sc.llnwd.net:12015/.
Resolving abcrad.sc.llnwd.net for AF_INET...
Connecting to server abcrad.sc.llnwd.net[69.28.156.62]:12015 ...
Cache size set to 320 KBytes
Connected to server: abcrad.sc.llnwd.net

and it either hangs at this point, or returns an EOF message.


However,
mplayer -playlist http://abcrad.sc.llnwd.net:12015/listen.pls
or
mplayer http://abcrad.sc.llnwd.net:12015/

has the correct behavior.

Looking briefly through the code, it seems that when the full URL is given 
without -playlist, that the stream is not prepared properly before being 
passed to the handler.

Perhaps the proper behavior was broken to fix the playlist security 
vulnerability?


------------------------------------------------------------
               Anthony Ciani (aciani1 at uic.edu)
            Computational Condensed Matter Physics
    Department of Physics, University of Illinois, Chicago
               http://ciani.phy.uic.edu/~tony
------------------------------------------------------------




More information about the MPlayer-users mailing list