[gnome-music/wip/mschraal/album-scrobbling: 8/8] scrobbler: Fix the call to get the album title
- From: Marinus Schraal <mschraal src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/mschraal/album-scrobbling: 8/8] scrobbler: Fix the call to get the album title
- Date: Mon, 5 Feb 2018 12:17:06 +0000 (UTC)
commit 099d3aad2085a685ecb19870b7451c7aa67a712c
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]