From 8ad4ca586e35174be2244b169aa9f82e103bfdb0 Mon Sep 17 00:00:00 2001 From: Et0h Date: Fri, 3 Jun 2016 13:05:01 +0100 Subject: [PATCH] MPC should be considered 'not file ready' if it has just closed a file --- syncplay/players/mpc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syncplay/players/mpc.py b/syncplay/players/mpc.py index 6ab1452..c38b074 100644 --- a/syncplay/players/mpc.py +++ b/syncplay/players/mpc.py @@ -103,7 +103,7 @@ class MpcHcApi: elif cmd == self.CMD_STATE: self.loadState = int(value) - fileNotReady = self.loadState == self.__MPC_LOADSTATE.MLS_CLOSING or self.loadState == self.__MPC_LOADSTATE.MLS_LOADING + fileNotReady = self.loadState == self.__MPC_LOADSTATE.MLS_CLOSING or self.loadState == self.__MPC_LOADSTATE.MLS_LOADING or self.loadState == self.__MPC_LOADSTATE.MLS_CLOSED if fileNotReady: self.playState = None self.__locks.fileReady.clear()