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

[ISSUE] Scrobbling? #52

Open
Pennidren opened this issue Feb 3, 2025 · 1 comment
Open

[ISSUE] Scrobbling? #52

Pennidren opened this issue Feb 3, 2025 · 1 comment

Comments

@Pennidren
Copy link

Pennidren commented Feb 3, 2025

Other clients (e.g. navidrome's web UI, symfonium, etc) that I use with my navidrome server enact navidrome's built-in scrobbling (e.g. to last.fm) without issue.

For some reason, asknavidrome does not ever seem to scrobble.

@Pennidren
Copy link
Author

Pennidren commented Feb 3, 2025

I hacked something into place by adding this:

connection.conn.scrobble(
    play_queue.current_track.id,
    submission=True, 
    listenTime=int(time.time()))

in PlaybackFinishedHandler before the call to
play_queue.get_next_track()

Figuring this out and doing it was pretty easy.
However, in the course of trying to manually build asknavidrome, I ran into a segmentation fault on the line
from flask_ask_sdk.skill_adapter import SkillAdapter
I could not resolve that issue until I moved from alpine (in the original Dockerfile) to python:3.10.7-slim.
THAT was a PITA to figure out and deal with.

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