Fix mpv verbose mode issue with file opening recognition

This commit is contained in:
Etoh 2017-12-30 15:20:18 +00:00
parent 6e36035e84
commit d77910d362

View File

@ -175,6 +175,7 @@ class MplayerPlayer(BasePlayer):
if line:
self._client.ui.showDebugMessage("player << {}".format(line))
line = line.replace("[cplayer] ", "") # -v workaround
line = line.replace("[term-msg] ", "") # -v workaround
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=":