mirror of
https://github.com/Syncplay/syncplay
synced 2024-12-14 19:04:57 +00:00
Fix mpv msg module issue reported by Felhamed (#134)
This commit is contained in:
parent
c7e7114d37
commit
b4e114aac3
@ -157,6 +157,8 @@ class MplayerPlayer(BasePlayer):
|
||||
def lineReceived(self, line):
|
||||
if line:
|
||||
self._client.ui.showDebugMessage("player << {}".format(line))
|
||||
line = line.replace(" cplayer: ","") # --msg-module workaround
|
||||
line = line.replace(" term-msg: ", "")
|
||||
if "Failed to get value of property" in line or "=(unavailable)" in line or line == "ANS_filename=" or line == "ANS_length=" or line == "ANS_path=":
|
||||
if "filename" in line:
|
||||
self._getFilename()
|
||||
|
Loading…
Reference in New Issue
Block a user