From eddd079140da30d8a980b58ffc771df5d1fca398 Mon Sep 17 00:00:00 2001 From: Et0h Date: Mon, 16 Feb 2015 23:20:09 +0000 Subject: [PATCH] Better detection of new mpv property get failures --- syncplay/players/mplayer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syncplay/players/mplayer.py b/syncplay/players/mplayer.py index 7449504..1a7bc96 100644 --- a/syncplay/players/mplayer.py +++ b/syncplay/players/mplayer.py @@ -149,7 +149,7 @@ class MplayerPlayer(BasePlayer): def lineReceived(self, line): if 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: self._getFilename() elif "length" in line: