From 0bb395fa8c6c5d40fc0031b3979312735007326d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johann=20Kl=C3=A4hn?= Date: Sat, 14 Dec 2013 12:11:18 +0100 Subject: [PATCH] mpdstats: fix typo/bug --- beetsplug/mpdstats.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: