From 20993b38762a01c1a1d52c28bd37d870d5b5cfb0 Mon Sep 17 00:00:00 2001 From: Uriziel Date: Sat, 22 Sep 2012 19:29:53 +0200 Subject: [PATCH] fix on mismatch with mpc --- 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 6691278..4af3b83 100644 --- a/syncplay/players/mplayer.py +++ b/syncplay/players/mplayer.py @@ -141,7 +141,7 @@ class MplayerProtocol(LineProcessProtocol): self.setUpFileInPlayer() def mplayer_answer_length(self, value): - self.duration = value + self.duration = int(value) self.fileupdatesteps += 1 if(self.fileupdatesteps == 3): self.setUpFileInPlayer()