Fix for Widnows' youtube support in mpv

This commit is contained in:
Uriziel 2013-06-24 21:55:01 +02:00
parent 43d5e9aded
commit ddcaf8c53c

View File

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