Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Legacy audioscrobbler broken for scrobbles from mpdscribble #410

Open
enticedwanderer opened this issue Mar 1, 2025 · 0 comments
Open

Comments

@enticedwanderer
Copy link

At least since v3.2.3 is when I noticed (it used to work with no other changes). Confirmed issue is also present on latest. I've pulled a few logs.

Maloja:

maloja  | [apis] Legacy Audioscrobbler API request: ['apis', 'mlj_1', 'newscrobble']
maloja  | [debug] Could not find a handler for method apis in API Legacy Audioscrobbler
maloja  | [debug] Keys: {'artist': 'Mili', 'title': 'Hearts Stay Unchanged - Inst', 'time': '1740807922', 'album': 'ENDER MAGNOLIA: Bloom in the Mist Original Soundtrack', 'key': '<api_key>', 'Host': 'scrobbles.home.lan', 'User-Agent': 'python-httpx/0.28.1', 'Content-Length': '191', 'Accept': '*/*', 'Accept-Encoding': 'gzip, deflate', 'Content-Type': 'application/x-www-form-urlencoded', 'X-Forwarded-Server': 'd20dca5604f3', 'X-Real-Ip': '10.0.30.7'}
maloja  | [apis] Error with Legacy Audioscrobbler API:  (Request: ['apis', 'mlj_1', 'newscrobble'])
maloja  | [apis] Legacy Audioscrobbler API request: ['apis', 'mlj_1', 'newscrobble']
maloja  | [debug] Could not find a handler for method apis in API Legacy Audioscrobbler
maloja  | [debug] Keys: {'artist': 'Berlinist', 'title': 'Mae', 'time': '1740808072', 'album': 'GRIS (Original Soundtrack)', 'key': '<api_key>', 'Host': 'scrobbles.home.lan', 'User-Agent': 'python-httpx/0.28.1', 'Content-Length': '146', 'Accept': '*/*', 'Accept-Encoding': 'gzip, deflate', 'Content-Type': 'application/x-www-form-urlencoded', 'X-Forwarded-Server': 'd20dca5604f3', 'X-Real-Ip': '10.0.30.7'}
maloja  | [apis] Error with Legacy Audioscrobbler API:  (Request: ['apis', 'mlj_1', 'newscrobble'])
maloja  | [apis] Legacy Audioscrobbler API request: ['apis', 'mlj_1', 'newscrobble']
maloja  | [debug] Could not find a handler for method apis in API Legacy Audioscrobbler
maloja  | [debug] Keys: {'artist': 'Berlinist', 'title': 'GRIS, Pt. 1', 'time': '1740808222', 'album': 'GRIS (Original Soundtrack)', 'key': '<api_key>', 'Host': 'scrobbles.home.lan', 'User-Agent': 'python-httpx/0.28.1', 'Content-Length': '156', 'Accept': '*/*', 'Accept-Encoding': 'gzip, deflate', 'Content-Type': 'application/x-www-form-urlencoded', 'X-Forwarded-Server': 'd20dca5604f3', 'X-Real-Ip': '10.0.30.7'}
maloja  | [apis] Error with Legacy Audioscrobbler API:  (Request: ['apis', 'mlj_1', 'newscrobble'])

Mpdscribble:

...
Mar 01 00:51:07 balrog mpdscribble[741181]: 2025-03-01T00:51:07-0500 [last.fm] unknown response: Permanent Redirect
Mar 01 00:51:07 balrog mpdscribble[741181]: 2025-03-01T00:51:07-0500 [last.fm] waiting 480 seconds before trying again
...

Config for mpdscribble is simple:

[last.fm]
url = https://scrobbles.home.lan/apis/audioscrobbler_legacy/
username = doesntmatter
password = <api_key_here>
# The file where mpdscribble should store its Last.fm journal in case
# you do not have a connection to the Last.fm server.
journal = /home/alex/.cache/mpd/mpdscribble-maloja.journal

Navidrome scrobbles just fine through listenbrainz endpoint, so I suspect this is likely a recent regression.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant