

VlcSyncplayInterfacePath = vlcIntfPath + "a" PythonLibs = ast.literal_eval(pythonLibs)Ĭall, stdout=subprocess.PIPE, stdin=subprocess.PIPE, stderr=subprocess.STDOUT,Ĭwd=self._getCwd(filePath, env), env=env, bufsize=0)ĭef _init_(self, playerController, playerPath, filePath, args, vlcReady, vlcClosed):Ĭall.append(self._playerController.getMRL(filePath))ĭef _usevlcintf(vlcIntfPath, vlcIntfUserPath): PythonLibs = subprocess.check_output(['/usr/bin/python', '-E', '-c', # to allow that version of python to be executed in the mpv subprocess. # On macOS, youtube-dl requires system python to run. If isWindows() and not utils.isASCII(filePath): If self._playerController.getPlayerPathErrors(playerPath, filePath): Self._playerController.chatOSDSupported = False

Self._playerController.alertOSDSupported = False If not self._playerController._client._config: Threading.Thread._init_(self, name="MPlayer Listener") Self._process = subprocess.Popen(call, stdout=subprocess.PIPE, stdin=subprocess.PIPE, stderr=subprocess.STDOUT, env=env) Self._process = subprocess.Popen(call, stdout=subprocess.PIPE, stdin=subprocess.PIPE, stderr=subprocess.STDOUT, cwd=self._getCwd(filePath, env), env=env) # At least mpv may output escape sequences which result in syncplay Self._layedFilePath = filePathĬall.extend(playerController.getStartupArgs(playerPath, args))

If ('win') and not utils.isASCII(filePath): If not os.path.isfile(filePath) and 'PWD' in os.environ:įilePath = os.environ + os.p + filePath If self._playerController.getPlayerPathErrors(playerPath,filePath): Self._playerController = playerController Def _init_(self, playerController, playerPath, filePath, args):
