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

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


vlc | branch: 0.9-bugfix | Antoine Cellerier <dionoea at videolan.org> | Fri Sep 12 22:30:24 2008 +0200| [54a222469c79df997d05af5bd9e108fd22c4b1e7] | committer: Antoine Cellerier 

Oops.
(cherry picked from commit 24bacb287797b17e83482e950a517aab08f1693b)

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

 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