summaryrefslogtreecommitdiff
path: root/.local/share
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2014-02-06 18:50:27 +0100
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2014-02-06 18:50:27 +0100
commitb62ed468eb63fee751ac708e01ab214c96b3efb8 (patch)
treebc840779e52112e70b3f6fdba7a4df43d6730ee6 /.local/share
parent9427791ecbcd6fd41879f589f2d69fc5af8b8995 (diff)
downloaddotfiles-b62ed468eb63fee751ac708e01ab214c96b3efb8.tar.gz
dotfiles-b62ed468eb63fee751ac708e01ab214c96b3efb8.tar.bz2
dotfiles-b62ed468eb63fee751ac708e01ab214c96b3efb8.zip
quvi/xvidstage: Parse only urls that have an id
Diffstat (limited to '.local/share')
-rw-r--r--.local/share/libquvi-scripts/media/xvidstage.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/.local/share/libquvi-scripts/media/xvidstage.lua b/.local/share/libquvi-scripts/media/xvidstage.lua
index ac8de78..e2b1b51 100644
--- a/.local/share/libquvi-scripts/media/xvidstage.lua
+++ b/.local/share/libquvi-scripts/media/xvidstage.lua
@@ -85,6 +85,7 @@ function Xvidstage.can_parse_url(qargs)
return t and t.scheme and t.scheme:lower():match('^http$')
and t.host and t.host:lower():match('xvidstage%.com$')
+ and t.path and t.path:match("^/[a-z0-9]+")
and true or false
end