Changed arturl to be normalized and removed unneeded url property from playlist item

This commit is contained in:
Tibor Baksa 2017-09-10 17:25:10 +02:00
parent b15dc2be32
commit 0e1d10fc0c
1 changed files with 2 additions and 4 deletions

View File

@ -111,8 +111,7 @@ function VideoParser:playListItem(path, pageSource)
path = path,
title = findProperty('title'),
description = findProperty('description'),
arturl = findProperty('image'),
url = findProperty('url')
arturl = urls.normalize(findProperty('image'))
}
end
@ -128,8 +127,7 @@ end
function LiveStreamParser:playListItem(path, pageSource)
return {
path = path,
title = pageSource:match('<title>(.-)</title>'),
url = protocol .. vlc.path
title = pageSource:match('<title>(.-)</title>')
}
end