[MPlayer-dev-eng] [PATCH] 302 redirected playlist

adland adland123 at yahoo.com
Fri Apr 23 05:04:58 CEST 2004


>If i play it with -playlist it doesn't work. 
>but wget works
>and play the dowloaded playlist file from disk with
>mplayer -playlist  
>it works. The url is

>http://cartalk.cars.com/Radio/Show/Audio/200408/wms/CT0408-SHOW.asx

>The file does not work, the codec is WMA Voice 9
>(0xa) and it's unsupported yet.

this playlist request is redirected to another URL.
wget supports this.
missing was support to handle this in mplayer for the 
playlist

I created a patch to fix this.

testing performed on patch
//missing argument 
mplayer -playlist
//missing local playlist file
mplayer -playlist junk
//local file playlist
mplayer -playlist CT0408-SHOW.asx
//302 redirection URL playlist
mplayer -playlist
http://cartalk.cars.com/Radio/Show/Audio/200408/wms/CT0408-SHOW.asx
//404 not found playlist
mplayer -playlist
http://www.cartalk.com/Radio/Show/Audio/200408/wms/CT11408-SHOW.asx

note: file is not a valid asx playlist but rather just
a plaintext list of 10 URL's



	
		
__________________________________
Do you Yahoo!?
Yahoo! Photos: High-quality 4x6 digital prints for 25¢
http://photos.yahoo.com/ph/print_splash
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 302_patch
Type: text/x-diff
Size: 3044 bytes
Desc: 302_patch
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20040422/2511ad6d/attachment.diff>


More information about the MPlayer-dev-eng mailing list