[vlc-devel] commit: Oops. (Antoine Cellerier )

git version control git at videolan.org
Fri Sep 12 22:27:12 CEST 2008


vlc | branch: master | Antoine Cellerier <dionoea at videolan.org> | Fri Sep 12 22:30:24 2008 +0200| [24bacb287797b17e83482e950a517aab08f1693b] | committer: Antoine Cellerier 

Oops.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=24bacb287797b17e83482e950a517aab08f1693b
---

 share/lua/playlist/break.lua |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/share/lua/playlist/break.lua b/share/lua/playlist/break.lua
index b14c087..7ef9fbf 100644
--- a/share/lua/playlist/break.lua
+++ b/share/lua/playlist/break.lua
@@ -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.




More information about the vlc-devel mailing list