[gnome-music/wip/mschraal/album-scrobbling] scrobbler: Correctly supply album title



commit bebda576acea3848d9f657a28757bff9a2c8dc08
Author: Marinus Schraal <mschraal gnome org>
Date:   Mon Feb 5 01:43:17 2018 +0100

    scrobbler: Correctly supply album title
    
    Music was incorrectly using the title instead of the album title for
    scrobbling albums.

 gnomemusic/scrobbler.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gnomemusic/scrobbler.py b/gnomemusic/scrobbler.py
index ce11f25..da4ecbd 100644
--- a/gnomemusic/scrobbler.py
+++ b/gnomemusic/scrobbler.py
@@ -91,7 +91,7 @@ class LastFmScrobbler(GObject.GObject):
 
         # The album is optional. So only provide it when it is
         # available.
-        album = media.get_title()
+        album = media.get_album_title()
 
         request_dict = {}
         if album:


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]