mirror of
https://github.com/Syncplay/syncplay
synced 2024-12-16 03:44:56 +00:00
Possibly fix AttributeError problem on OSX
This commit is contained in:
parent
84477934ce
commit
9c488bc132
@ -311,7 +311,10 @@ class VlcPlayer(BasePlayer):
|
||||
elif "lua interface error" in line:
|
||||
playerController._client.ui.showErrorMessage(getMessage("media-player-error").format(line), True)
|
||||
break
|
||||
self.__process.stderr = subprocess.STD_ERROR_HANDLE
|
||||
try:
|
||||
self.__process.stderr = subprocess.STD_ERROR_HANDLE
|
||||
except:
|
||||
self.__playerController._client.ui.showDebugMessage("Failed to set VLC's stderr to STD_ERROR_HANDLE")
|
||||
threading.Thread.__init__(self, name="VLC Listener")
|
||||
asynchat.async_chat.__init__(self)
|
||||
self.set_terminator("\n")
|
||||
|
Loading…
Reference in New Issue
Block a user