diff --git a/syncplay/players/vlc.py b/syncplay/players/vlc.py index b0ec261..edf5f67 100644 --- a/syncplay/players/vlc.py +++ b/syncplay/players/vlc.py @@ -104,6 +104,10 @@ class VlcPlayer(BasePlayer): t.setDaemon(True) t.start() elif (name == "filepath" and value != "no-input"): + if("file://" in value): + value = value.replace("file://", "") + if(not os.path.isfile(value)): + value = value.lstrip("/") self._filepath = value self._pathAsk.set() elif(name == "duration" and (value != "no-input")):