Fix for Widnows' youtube support in mpv
This commit is contained in:
parent
43d5e9aded
commit
ddcaf8c53c
@ -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):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user