From 973d3dd921fe3ca97151ed6b34f5fa73e8f3dbf3 Mon Sep 17 00:00:00 2001 From: coderkun Date: Sun, 2 Aug 2020 17:39:04 +0200 Subject: [PATCH 1/2] Load playlist before status (close #72) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Load the playlist before loading the status for the idle event “changed” to make sure the playlist information is attached to the current album correctly. --- mcg/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mcg/client.py b/mcg/client.py index b191511..1480aba 100644 --- a/mcg/client.py +++ b/mcg/client.py @@ -369,8 +369,8 @@ class Client(Base): self._logger.info("idle subsystems: %r", subsystems) if subsystems: if subsystems['changed'] == 'player': - self.get_status() self.load_playlist() + self.get_status() if subsystems['changed'] == 'mixer': self.get_status() if subsystems['changed'] == 'playlist': From 17fe4ee8cad2265e0283f33be40508561687cddb Mon Sep 17 00:00:00 2001 From: coderkun Date: Mon, 3 Aug 2020 16:27:31 +0200 Subject: [PATCH 2/2] Bump version to 2.1.2 --- data/gtk.glade | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/data/gtk.glade b/data/gtk.glade index 0395471..ec13a75 100644 --- a/data/gtk.glade +++ b/data/gtk.glade @@ -1959,7 +1959,7 @@ center appwindow CoverGrid - 2.1.1 + 2.1.2 CoverGrid is a client for the Music Player Daemon, focusing on albums instead of single tracks. http://www.suruatoel.xyz/codes/mcg mcg.svg diff --git a/setup.py b/setup.py index a121593..2fe15be 100644 --- a/setup.py +++ b/setup.py @@ -53,7 +53,7 @@ setup( 'build_py': build_mcg }, name = "mcg", - version = '2.1.1', + version = '2.1.2', description = "CoverGrid (mcg) is a client for the Music Player Daemon, focusing on albums instead of single tracks.", url = "http://www.suruatoel.xyz/codes/mcg", author = "coderkun",