diff --git a/syncplay/players/mplayer.py b/syncplay/players/mplayer.py index 1d72f1b..a164f5e 100644 --- a/syncplay/players/mplayer.py +++ b/syncplay/players/mplayer.py @@ -192,7 +192,7 @@ class MplayerPlayer(BasePlayer): call.extend(playerController.SLAVE_ARGS) if(args): call.extend(args) - self.__process = subprocess.Popen(call, stdout=subprocess.PIPE, stdin=subprocess.PIPE, stderr=subprocess.PIPE) + self.__process = subprocess.Popen(call, stdout=subprocess.PIPE, stdin=subprocess.PIPE, stderr=subprocess.PIPE, cwd = os.path.dirname(playerPath)) threading.Thread.__init__(self, name="MPlayer Listener") def run(self):