[vlc-devel] [PATCH] M3U playlist detection
bl4 at playker.info
Sun Jun 15 03:35:28 CEST 2008
vlc always detects m3u playlist if it starts with #EXTINFO. However,
some m3u playlists are simple lists of urls (one url per line). These
are parsed only if file extension is .m3u, .vlc, .ram or .rm.
With this patch the m3u module checks if the content looks like valid
m3u. If it finds a line with a url starting with http://, mms:// or
rtsp://, it parses the playlist regardless of extension.
I made this patch because I wanted to play Yahoo Launchcast which sends
m3u playlists without #EXTINFO or .m3u extension. vlc doesn't detect
that it's m3u and doesn't parse it.
Here's an example (not sure how long this url will be valid though):
I know it's a minor issue and Launchcast is wmp-only but I'm sending
this patch in case you find it any useful.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2698 bytes
Desc: not available
More information about the vlc-devel