You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This caused tracks to be scrobbled correctly, but associated Albums (despite being sent in b parameters) would not appear in the GUI. After a cursory glance at the source code it seems that this is due to the usage of album_name over album_title. When applying the following patch, the issue went away for me:
diff --git a/maloja/apis/audioscrobbler_legacy.py b/maloja/apis/audioscrobbler_legacy.py
index 7f03123..857a1a1 100644
--- a/maloja/apis/audioscrobbler_legacy.py+++ b/maloja/apis/audioscrobbler_legacy.py@@ -91,7 +91,7 @@ class AudioscrobblerLegacy(APIHandler):
'scrobble_time':timestamp,
}
if album_key in keys:
- scrobble['album_name'] = keys[album_key]+ scrobble['album_title'] = keys[album_key]
if length_key in keys:
scrobble['track_length'] = keys[length_key]
Would it make sense to include this change in the upstream Maloja source? If yes, feel free to copy it. If a PR helps (maybe overkill for one line 😄), I am of course also happy to provide that.
Thank you very much for this helpful tool and kind regards
Linux-Fan, Ma_Sys.ma (@m7a)
The text was updated successfully, but these errors were encountered:
Hello,
I had setup Maloja together with
mpdscribble
and the following config for mpdscribble:This caused tracks to be scrobbled correctly, but associated Albums (despite being sent in
b
parameters) would not appear in the GUI. After a cursory glance at the source code it seems that this is due to the usage ofalbum_name
overalbum_title
. When applying the following patch, the issue went away for me:Would it make sense to include this change in the upstream Maloja source? If yes, feel free to copy it. If a PR helps (maybe overkill for one line 😄), I am of course also happy to provide that.
Thank you very much for this helpful tool and kind regards
Linux-Fan, Ma_Sys.ma (@m7a)
The text was updated successfully, but these errors were encountered: