mirror of
https://github.com/beetbox/beets.git
synced 2025-12-12 03:24:44 +01:00
Merge pull request #474 from kljohann/mpdstats_typo
mpdstats: fix typo/bug
This commit is contained in:
commit
e830ea355a
1 changed files with 1 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue