fix on mismatch with mpc

This commit is contained in:
Uriziel 2012-09-22 19:29:53 +02:00
parent 848cfe36a0
commit 20993b3876

View File

@ -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()