Better detection of new mpv property get failures
This commit is contained in:
parent
1bdea76397
commit
eddd079140
@ -149,7 +149,7 @@ class MplayerPlayer(BasePlayer):
|
|||||||
def lineReceived(self, line):
|
def lineReceived(self, line):
|
||||||
if line:
|
if line:
|
||||||
self._client.ui.showDebugMessage("player << {}".format(line))
|
self._client.ui.showDebugMessage("player << {}".format(line))
|
||||||
if "Failed to get value of property" in line or "=(unavailable)" in line:
|
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:
|
if "filename" in line:
|
||||||
self._getFilename()
|
self._getFilename()
|
||||||
elif "length" in line:
|
elif "length" in line:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user