From e778af8bb60ba6a67c47e8b30c175874726414ee Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rafa=C3=ABl=20Carr=C3=A9?= Date: Mon, 12 Jul 2010 00:26:00 +0200 Subject: [PATCH] fixes dailymotion parser get the SD video (in flv), the HD and HQ videos (in mp4) causes seeking back and forth and the video is unplayable --- share/lua/playlist/dailymotion.lua | 79 ++++++++++++------------------ 1 file changed, 30 insertions(+), 49 deletions(-) diff --git a/share/lua/playlist/dailymotion.lua b/share/lua/playlist/dailymotion.lua index fd8802852d..5a69d86cd6 100644 --- a/share/lua/playlist/dailymotion.lua +++ b/share/lua/playlist/dailymotion.lua @@ -24,7 +24,7 @@ -- Probe function. function probe() return vlc.access == "http" - and string.match( vlc.path, "dailymotion." ) + and string.match( vlc.path, "dailymotion." ) and string.match( vlc.peek( 2048 ), "