]> git.sesse.net Git - vlc/commitdiff
Fix youtube.lua probe() function.
authorAntoine Cellerier <dionoea@videolan.org>
Wed, 12 Sep 2007 20:29:00 +0000 (20:29 +0000)
committerAntoine Cellerier <dionoea@videolan.org>
Wed, 12 Sep 2007 20:29:00 +0000 (20:29 +0000)
share/luaplaylist/youtube.lua

index 74d25904fb281d1c41e356f95d4868b5ebe9ece9..48b4981fb4492178d62f9f1bee576eb1a9ce9c3f 100644 (file)
@@ -22,8 +22,8 @@ function probe()
             or string.match( vlc.path, "watch_fullscreen%?video_id=" ) -- the fullscreen page
             or string.match( vlc.path, "p.swf" ) -- the (old?) player url
             or string.match( vlc.path, "jp.swf" ) -- the (new?) player url (as of 24/08/2007)
-            or string.match( vlc.path, "player2.swf" ) -- another player url
-            or ( string.match( vlc.path, "get_video%?video_id=" ) and not string.match( vlc.path, "t=" ) ) -- the video url without the t= parameter which is mandatory (since 24/08/2007)
+            or string.match( vlc.path, "player2.swf" ) -- another player url
+            or ( string.match( vlc.path, "get_video%?video_id=" ) and not string.match( vlc.path, "t=" ) ) -- the video url without the t= parameter which is mandatory (since 24/08/2007)
 end
 
 -- Parse function.