From df5410dd95daab64588f1aa20541187dad589cbd Mon Sep 17 00:00:00 2001 From: Etoh Date: Fri, 25 Jan 2013 22:19:15 +0000 Subject: [PATCH] Update syncplay.lua - remove file:/// stripping --- resources/syncplay.lua | 7 ------- 1 file changed, 7 deletions(-) diff --git a/resources/syncplay.lua b/resources/syncplay.lua index e8c2f8c..2a83de0 100644 --- a/resources/syncplay.lua +++ b/resources/syncplay.lua @@ -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