[gnome-music/wip/mschraal/album-scrobbling] scrobbler: Fix the call to get the album title



commit e765877b1e2ce4d2372c673519e95c920ff6bdb8
Author: Marinus Schraal <mschraal gnome org>
Date:   Mon Feb 5 03:49:04 2018 +0100

    scrobbler: Fix the call to get the album title
    
    The method is get_album, not get album_title.
    
    Follow-up fix for bebda576ac.

 gnomemusic/scrobbler.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gnomemusic/scrobbler.py b/gnomemusic/scrobbler.py
index da4ecbd..bee6d61 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_album_title()
+        album = media.get_album()
 
         request_dict = {}
         if album:


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