Update syncplay.lua - remove file:/// stripping

This commit is contained in:
Etoh 2013-01-25 22:19:15 +00:00
parent 29ec43624b
commit df5410dd95

View File

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