git.videolan.org
/
vlc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
liveleak.lua: Improve URL probe function
[vlc.git]
/
share
/
lua
/
playlist
/
liveleak.lua
diff --git
a/share/lua/playlist/liveleak.lua
b/share/lua/playlist/liveleak.lua
index
6811977
..
c7ce695
100644
(file)
--- a/
share/lua/playlist/liveleak.lua
+++ b/
share/lua/playlist/liveleak.lua
@@
-23,7
+23,7
@@
-- Probe function.
function probe()
return vlc.access == "http"
- and string.match( vlc.path, "
www.liveleak
.com/view" )
+ and string.match( vlc.path, "
^www%.liveleak%
.com/view" )
end
-- Util function