I heard that it is known bug with mplayer when it requires "-playlist"
option to play urls that ends up with "asx". So I've created this patch:
--- audio/plugins/mplayer.py.orig 2008-01-24 22:54:21.000000000 +0300
+++ audio/plugins/mplayer.py 2008-01-24 22:55:25.000000000 +0300
@@ -138,7 +138,7 @@
if hasattr(item, 'is_playlist') and item.is_playlist:
is_playlist = True
- if item.network_play and (str(filename).endswith('m3u') or
str(filename).endswith('pls')):
+ if item.network_play and (str(filename).endswith('m3u') or
str(filename).endswith('pls') or str(filename).endswith('asx')):
is_playlist = True
if str(filename).find(".jsp?") >= 0:
--- audio/plugins/mplayervbr.py.orig 2008-01-24 22:54:39.000000000 +0300
+++ audio/plugins/mplayervbr.py 2008-01-24 22:55:59.000000000 +0300
@@ -144,7 +144,7 @@
if hasattr(item, 'is_playlist') and item.is_playlist:
is_playlist = True
- if item.network_play and ( str(filename).endswith('m3u') or
str(filename).endswith('pls')):
+ if item.network_play and ( str(filename).endswith('m3u') or
str(filename).endswith('pls') or str(filename).endswith('asx')):
is_playlist = True
if item.network_play:
After applying it all "asx" urls begun to work for me (before applying
almost all didn't work).
Does this patch looks reasonable?
Best,
George.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Freevo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-users