fixed window title

This commit is contained in:
Martin Wagner 2020-05-24 22:42:43 +02:00
parent 055c7fd522
commit 6d89695b3e

View File

@ -3221,7 +3221,7 @@ class MainWindow(Gtk.ApplicationWindow):
self.header_bar.set_title(song["title"]+" - "+song["artist"])
self.header_bar.set_subtitle(song["album"]+date)
else:
self.set_title(song["title"]+""+song["artist"]+" - "+song["album"]+date)
self.set_title(song["title"]+" - "+song["artist"]+" - "+song["album"]+date)
if self.settings.get_boolean("send-notify"):
if not self.is_active() and self.client.status()["state"] == "play":
notify=Notify.Notification.new(song["title"], song["artist"]+"\n"+song["album"]+date)