Fixed live stream parsers

Live streams were incorrecntly parsed with a video parser, now live streams have priority over video parsers to prevent this issue
This commit is contained in:
Tibor Baksa 2017-09-10 15:47:23 +02:00
parent a8b5607639
commit 27a6a17c07
1 changed files with 4 additions and 4 deletions

View File

@ -19,15 +19,15 @@ local VideoParser = Parser:new()
local LiveStreamParser = Parser:new() local LiveStreamParser = Parser:new()
local parsers = { local parsers = {
VideoParser:new{urlPattern = 'hirado%.hu'},
VideoParser:new{urlPattern = 'm4sport%.hu'},
VideoParser:new{urlPattern = 'mediaklikk%.hu'},
LiveStreamParser:new{urlPattern = 'mediaklikk%.hu/m1%-elo'}, LiveStreamParser:new{urlPattern = 'mediaklikk%.hu/m1%-elo'},
LiveStreamParser:new{urlPattern = 'mediaklikk%.hu/m2%-elo'}, LiveStreamParser:new{urlPattern = 'mediaklikk%.hu/m2%-elo'},
LiveStreamParser:new{urlPattern = 'mediaklikk%.hu/m4%-elo'}, LiveStreamParser:new{urlPattern = 'mediaklikk%.hu/m4%-elo'},
LiveStreamParser:new{urlPattern = 'mediaklikk%.hu/m5%-elo'}, LiveStreamParser:new{urlPattern = 'mediaklikk%.hu/m5%-elo'},
LiveStreamParser:new{urlPattern = 'mediaklikk%.hu/duna%-elo'}, LiveStreamParser:new{urlPattern = 'mediaklikk%.hu/duna%-elo'},
LiveStreamParser:new{urlPattern = 'mediaklikk%.hu/duna%-world%-elo'} LiveStreamParser:new{urlPattern = 'mediaklikk%.hu/duna%-world%-elo'},
VideoParser:new{urlPattern = 'hirado%.hu'},
VideoParser:new{urlPattern = 'm4sport%.hu'},
VideoParser:new{urlPattern = 'mediaklikk%.hu'}
} }
function probe() function probe()