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

Live Scrobbling #217

Closed
Jaffex opened this issue Jan 27, 2024 · 7 comments
Closed

Live Scrobbling #217

Jaffex opened this issue Jan 27, 2024 · 7 comments
Labels
enhancement New feature or request implemented This feature/bug is implemented TestInBeta This feature can be tested in Beta

Comments

@Jaffex
Copy link

Jaffex commented Jan 27, 2024

When listening to a song with other players like play:Sub, substreamer or the navidrome web interface itself, when listening to a song, it immidiately appears as scrobbling on last.fm like so:
image

When listening via Amperfy, the song does not display that state but only shows up once it has reached the criteria for "has been listened to".

Would it be feasible to implement this in amperfy as well?

@BLeeEZ
Copy link
Owner

BLeeEZ commented Jan 30, 2024

This whole scrobble topic is quite complex. You opend #218 too. I want to answer both requests here:

Scrobbling is handled in slightly different on each music server.
Amperfy will only send scrobble information to server if the song is played from cache and is played long enough. If the song is streamed no scribble information is sent at all.
Somer server account streaming as currently playing, this is why no scrobble information is not send. Navidrom doesn't count streamed songs as currently played, which is from point of view not correct.
To work absolutely correct on each music server instance Amperfy must be differently configured for each music server type, version (due to changes in the scribble mechanic on server) and so on. I only differentiate between API types in Amperfy (Ampache API/ Subsonic API).
I will stick with the current scrobble system in Amperfy since it is compatible with most music servers.

@BLeeEZ
Copy link
Owner

BLeeEZ commented Feb 20, 2024

I added an option in the settings to decide if Amperfy should scrobble streamed items too:
Simulator Screenshot - iPhone 15 - 2024-02-20 at 19 43 10

@BLeeEZ BLeeEZ added TestInBeta This feature can be tested in Beta implemented This feature/bug is implemented and removed TestInBeta This feature can be tested in Beta implemented This feature/bug is implemented labels Apr 16, 2024
@BLeeEZ
Copy link
Owner

BLeeEZ commented Apr 22, 2024

Now playing is implemented in e4e864c.

@BLeeEZ BLeeEZ added the implemented This feature/bug is implemented label Apr 22, 2024
@Jaffex
Copy link
Author

Jaffex commented May 6, 2024

Awesome! Can't wait to test this out in an upcoming testflight build!

Thanks for your great work on Amperfy (which is now my preferred music player)!

@BLeeEZ
Copy link
Owner

BLeeEZ commented May 7, 2024

This feature is currently not available via TestFlight. I will notify here when a new Beta is available with this feature.

@BLeeEZ BLeeEZ added enhancement New feature or request TestInBeta This feature can be tested in Beta labels Jun 5, 2024
@BLeeEZ
Copy link
Owner

BLeeEZ commented Jun 5, 2024

This feature can be tested in the newest beta v1.2.1 (2): #25

@Jaffex
Copy link
Author

Jaffex commented Jun 6, 2024

Just testing out, and even though it seems 1.2.1 has some issues in testflight right now, the live scrobbling seems to work!

@BLeeEZ BLeeEZ closed this as completed Jun 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request implemented This feature/bug is implemented TestInBeta This feature can be tested in Beta
Projects
None yet
Development

No branches or pull requests

2 participants