fixed get_current_album_path

This commit is contained in:
Martin Wagner 2022-09-03 11:15:34 +02:00
parent a99ce64c66
commit 279107d2a6

View File

@ -2158,7 +2158,7 @@ class AlbumList(Gtk.IconView):
callback() callback()
def get_current_album_path(self): def get_current_album_path(self):
if (song:=self._client.currentsong()) is not None: if (song:=self._client.currentsong()):
album=[song["albumartist"][0], song["album"][0], song["date"][0]] album=[song["albumartist"][0], song["album"][0], song["date"][0]]
row_num=len(self._store) row_num=len(self._store)
for i in range(0, row_num): for i in range(0, row_num):