diff --git a/beetsplug/mpdstats.py b/beetsplug/mpdstats.py index b680e081f..3b24f75ad 100644 --- a/beetsplug/mpdstats.py +++ b/beetsplug/mpdstats.py @@ -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: