Prepend protocol to stream URL when not provided

This commit is contained in:
Tibor Baksa 2023-11-18 00:37:30 +01:00
parent 62565c10f2
commit bce8b7ca8f
1 changed files with 1 additions and 1 deletions

View File

@ -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
} }