Hello,
According to Changelog @ 2012-01-12:
"* Detect asx, m3u, pls, and ram streams and pass -playlist to mplayer, so
the user doesn't have to indicate if a url is a playlist."
However it doesn't seem to work on this URL "http://mediapolis.rai.it/relinker/relinkerServlet.htm?cont=1". That was originally loaded via CTRL+U with "it's a playlist" checkbox ticked, and now appears as "http://mediapolis.rai.it/relinker/relinkerServlet.htm?cont=1|smplayer:isplaylist", which fails to open.
Error log:
-----------------------------------------------------------
/usr/bin/mplayer -noquiet -nofs -nomouseinput -lavdopts threads=2 -sub-fuzziness 1 -identify -slave -vo xv -ao alsa -nokeepaspect -framedrop -nodr -nodouble -input nodefault-bindings:conf=/dev/null -stop-xscreensaver -wid 81789286 -monitorpixelaspect 1 -ass -embeddedfonts -ass-line-spacing 0 -ass-font-scale 1 -ass-styles /home/marcoep/.config/smplayer/styles.ass -fontconfig -font Bitstream Vera Sans -subfont-autoscale 0 -subfont-osd-scale 20 -subfont-text-scale 20 -subcp ISO-8859-1 -subpos 100 -volume 100 -cache 8000 -osdlevel 0 -prefer-ipv4 -vf-add screenshot -noslices -channels 2 -af scaletempo -softvol -softvol-max 120 http://mediapolis.rai.it/relinker/relinkerServlet.htm?cont=1|smplayer:isplaylist
MPlayer SVN-r33094-4.5.3 (C) 2000-2011 MPlayer Team
Terminal type `unknown' is not defined.
Playing http://mediapolis.rai.it/relinker/relinkerServlet.htm?cont=1|smplayer:isplaylist.
Resolving mediapolis.rai.it for AF_INET...
Connecting to server mediapolis.rai.it[212.162.68.79]: 80...
Cache size set to 8000 KBytes
Cache fill: 0.00% (0 bytes) Stream not seekable!
Cache fill: 0.00% (129 bytes)
Invalid seek to negative position!
Exiting... (End of file)
ID_EXIT=EOF
-----------------------------------------------------------
As you can see, no '-playlist' option is passed to mplayer.
Same result Using the plain URL.
This bug affects at v0.7.1 and v0.8.0 (gentoo builds).
Cheers,
^s
smplayer uses the extension for the detection, but the extension of that url is htm so it fails.
Anyway you can open the url with: "http://mediapolis.rai.it/relinker/relinkerServlet.htm?cont=1|playlist"
Hi,
IMHO, it's not that smart checking the file/URL extension to guess its contents, sorry -- and URLs may come in a plethora of different forms... Moreover, sticking an extra piece ("|playlist") to the name is rather awkward, and didn't seem to work (though I didn't try hard)!
Since I guess there's no better way of doing this automatically, I suggest to restore the tick box with a message like "Force playlist" and give explanation in a nice tooltip message.
Cheers,
^s