diff options
author | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2014-02-06 18:50:27 +0100 |
---|---|---|
committer | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2014-02-06 18:50:27 +0100 |
commit | b62ed468eb63fee751ac708e01ab214c96b3efb8 (patch) | |
tree | bc840779e52112e70b3f6fdba7a4df43d6730ee6 | |
parent | 9427791ecbcd6fd41879f589f2d69fc5af8b8995 (diff) | |
download | dotfiles-b62ed468eb63fee751ac708e01ab214c96b3efb8.tar.gz dotfiles-b62ed468eb63fee751ac708e01ab214c96b3efb8.tar.bz2 dotfiles-b62ed468eb63fee751ac708e01ab214c96b3efb8.zip |
quvi/xvidstage: Parse only urls that have an id
-rw-r--r-- | .local/share/libquvi-scripts/media/xvidstage.lua | 1 |
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 |