mirror of
https://github.com/SoongNoonien/mpdevil.git
synced 2023-08-10 21:12:44 +03:00
fixed album name in window title
This commit is contained in:
parent
3ba7b8dfb6
commit
a2c9bdd374
@ -3607,7 +3607,7 @@ class MainWindow(Gtk.ApplicationWindow):
|
|||||||
date=f"({song['date']})"
|
date=f"({song['date']})"
|
||||||
else:
|
else:
|
||||||
date=""
|
date=""
|
||||||
album_with_date=" ".join(filter(None, (str(song["album"]), date)))
|
album_with_date=" ".join(filter(None, (song["album"][0], date)))
|
||||||
if self._use_csd:
|
if self._use_csd:
|
||||||
self.set_title(" • ".join(filter(None, (str(song["title"]), str(song["artist"])))))
|
self.set_title(" • ".join(filter(None, (str(song["title"]), str(song["artist"])))))
|
||||||
self._header_bar.set_subtitle(album_with_date)
|
self._header_bar.set_subtitle(album_with_date)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user