Changed arturl to be normalized and removed unneeded url property from playlist item
This commit is contained in:
parent
b15dc2be32
commit
0e1d10fc0c
|
@ -111,8 +111,7 @@ function VideoParser:playListItem(path, pageSource)
|
||||||
path = path,
|
path = path,
|
||||||
title = findProperty('title'),
|
title = findProperty('title'),
|
||||||
description = findProperty('description'),
|
description = findProperty('description'),
|
||||||
arturl = findProperty('image'),
|
arturl = urls.normalize(findProperty('image'))
|
||||||
url = findProperty('url')
|
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -128,8 +127,7 @@ end
|
||||||
function LiveStreamParser:playListItem(path, pageSource)
|
function LiveStreamParser:playListItem(path, pageSource)
|
||||||
return {
|
return {
|
||||||
path = path,
|
path = path,
|
||||||
title = pageSource:match('<title>(.-)</title>'),
|
title = pageSource:match('<title>(.-)</title>')
|
||||||
url = protocol .. vlc.path
|
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue