From 3f400e18b085ac316df1f1691e42ae1605e664e4 Mon Sep 17 00:00:00 2001 From: Martin Wagner Date: Thu, 4 Jun 2020 20:13:43 +0200 Subject: [PATCH] fixed displaying of multitag songs in SongPopover --- bin/mpdevil.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/mpdevil.py b/bin/mpdevil.py index 89ae99f..53bec50 100644 --- a/bin/mpdevil.py +++ b/bin/mpdevil.py @@ -991,7 +991,7 @@ class SongsView(Gtk.TreeView): try: path=widget.get_path_at_pos(int(event.x), int(event.y))[0] file_name=self.store[path][self.file_column_id] - pop=SongPopover(self.client.lsinfo(file_name)[0], widget, int(event.x), int(event.y)) + pop=SongPopover(self.client.song_to_str_dict(self.client.lsinfo(file_name)[0]), widget, int(event.x), int(event.y)) pop.popup() pop.show_all() except: @@ -1774,7 +1774,7 @@ class PlaylistView(Gtk.Box): elif event.button == 3 and event.type == Gdk.EventType.BUTTON_PRESS: try: path=widget.get_path_at_pos(int(event.x), int(event.y))[0] - pop=SongPopover(self.client.playlistinfo(path)[0], widget, int(event.x), int(event.y)) + pop=SongPopover(self.client.song_to_str_dict(self.client.playlistinfo(path)[0]), widget, int(event.x), int(event.y)) pop.popup() except: pass