[gnome-music] Correctly use AlbumArtCache.get_media_title in notifications
- From: Vadim Rutkovsky <vrutkovsky src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music] Correctly use AlbumArtCache.get_media_title in notifications
- Date: Tue, 15 Oct 2013 10:57:18 +0000 (UTC)
commit 915c729e26af4844c01e3bbc45e748970f1979ad
Author: Jack Gurulian <jack gurulian gmail com>
Date: Tue Oct 15 12:54:47 2013 +0200
Correctly use AlbumArtCache.get_media_title in notifications
gnomemusic/notification.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gnomemusic/notification.py b/gnomemusic/notification.py
index 2c8485e..5775db1 100644
--- a/gnomemusic/notification.py
+++ b/gnomemusic/notification.py
@@ -78,7 +78,7 @@ class NotificationManager:
album = item.get_string(Grl.METADATA_KEY_ALBUM)\
or _("Unknown Album")
- self._notification.update(item.get_title(),
+ self._notification.update(AlbumArtCache.get_media_title(item),
# TRANSLATORS: by refers to the artist, from to the album
_("by %s, from %s") % ('<b>' + artist + '</b>',
'<i>' + album + '</i>'),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]