Prepend protocol to stream URL when not provided
This commit is contained in:
parent
62565c10f2
commit
bce8b7ca8f
|
@ -43,7 +43,7 @@ function parse()
|
||||||
|
|
||||||
return tables.map(playlistItems, function(playlistItem)
|
return tables.map(playlistItems, function(playlistItem)
|
||||||
return {
|
return {
|
||||||
path = vlc.access .. ':' .. playlistItem.file,
|
path = playlistItem.file:gsub('^//', vlc.access .. '://'),
|
||||||
title = params.title,
|
title = params.title,
|
||||||
arturl = params.bgimage
|
arturl = params.bgimage
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue