Merge pull request #474 from kljohann/mpdstats_typo

mpdstats: fix typo/bug
This commit is contained in:
Adrian Sampson 2013-12-14 09:02:01 -08:00
commit e830ea355a

View file

@ -264,7 +264,7 @@ class MPDStats(object):
))
return
duration, played = map(int, status['time'].split(':', 1))
played, duration = map(int, status['time'].split(':', 1))
remaining = duration - played
if self.now_playing and self.now_playing['path'] != path: