Added extra check to probe() for the player URL

This commit is contained in:
Tibor Baksa 2017-09-11 23:39:34 +02:00
parent 0e1d10fc0c
commit 705f7b63a2
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ end
local protocol = vlc.access .. '://' local protocol = vlc.access .. '://'
function Parser:probe() function Parser:probe()
return vlc.access:match('https?') and vlc.path:match(self.urlPattern) return vlc.access:match('https?') and vlc.path:match(self.urlPattern) and not vlc.path:match('player%.mediaklikk%.hu')
end end
function Parser:parse() function Parser:parse()