]> git.sesse.net Git - vlc/commitdiff
Oops.
authorAntoine Cellerier <dionoea@videolan.org>
Fri, 12 Sep 2008 20:30:24 +0000 (22:30 +0200)
committerAntoine Cellerier <dionoea@videolan.org>
Fri, 12 Sep 2008 20:30:39 +0000 (22:30 +0200)
share/lua/playlist/break.lua

index b14c087a2f1cd9d8f87a33bfc5e36a5030afcec6..7ef9fbf4eebf45eec1c0bfa7ae4d4ecf5017ab63 100644 (file)
@@ -21,7 +21,8 @@
 -- Probe function.
 function probe()
     return vlc.access == "http"
-        and string.match( vlc.path, "break.com" ) 
+        and ( string.match( vlc.path, "^break.com" )
+           or string.match( vlc.path, "^www.break.com" )
 end
 
 -- Parse function.