[gnome-music/gnome-3-10] Correctly use AlbumArtCache.get_media_title in notifications



commit efb6a7c0db5c40207bf78bde9d0f9b32ac667e9b
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]