mirror of
https://github.com/Syncplay/syncplay
synced 2025-03-11 06:07:53 +00:00
Update syncplay.lua - remove file:/// stripping
This commit is contained in:
parent
29ec43624b
commit
df5410dd95
@ -224,13 +224,6 @@ function get_filepath ()
|
||||
local item = vlc.input.item()
|
||||
if item then
|
||||
response = vlc.strings.decode_uri(item:uri())
|
||||
|
||||
if (string.sub(response, 1, 8) == "file:///") then
|
||||
response = string.gsub(response, "file:///","")
|
||||
else
|
||||
response = ""
|
||||
errormsg = noinput
|
||||
end
|
||||
else
|
||||
errormsg = noinput
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user