added missing space in notify

This commit is contained in:
Martin Wagner 2021-08-09 17:18:57 +02:00
parent 5022578a1e
commit 145fa071b5

View File

@ -4008,7 +4008,7 @@ class MainWindow(Gtk.ApplicationWindow):
self.set_title(" • ".join(filter(None, (str(song["title"]), str(song["artist"]), album_with_date))))
if self._settings.get_boolean("send-notify"):
if not self.is_active() and self._client.status()["state"] == "play":
self._notify.update(str(song["title"]), f"{song['artist']}\n{song['album']}{date}")
self._notify.update(str(song["title"]), f"{song['artist']}\n{album_with_date}")
pixbuf=self._client.get_cover(song).get_pixbuf(400)
self._notify.set_image_from_pixbuf(pixbuf)
self._notify.show()