I want to use vlc.stream to download data contained in a file in an remote zipped file, but it return an error if the file name containe a dash:
- it seems
Code: Select all
--That works
local url = "zip://http://www.example.com/download/somearchive!/somefile.txt"
local stream = vlc.stream(url)
local data = stream:read(65536)
vlc.msg.dbg(data)
--That return an error
local url = "zip://http://www.example.com/download/somearchive!/some-file.txt"
local stream = vlc.stream(url)
local data = stream:read(65536)
vlc.msg.dbg(data)