-
-
Notifications
You must be signed in to change notification settings - Fork 16
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
A "PlaybackStopEvent" should be fired on track changes #100
Comments
Looks like I need to adjust the stop playback command I'm sending. The server is reporting
It must need to know the exact media item that it stopped. Which seems dumb, since obviously a client can only be playing one thing at a time. But whatever, shouldn't be a hard fix. |
@mcarlton00 I've tried the PR and it does properly show up in activity now, but scrobbling still doesn't work. Looking at the server logs it doesn't seem to report the playback duration properly: |
Hmm, that's going to complicate this a fair bit. Looking at the web client, it actually sends 2 stop commands. The first one has a PositionTicks value, the second one has it set to 0. The reason this is an issue here is because we have to hook into Mopidy's playback system, which means we have to workaround whatever they're doing. In this case, when we get the notification that a track has changed, mopidy provides a data payload of |
If anyone comes across this, you can use mopidy-scrobbler as a workaround. |
This is needed for last.fm scrobbling to work properly.
Here is a detailed description of the last.fm plugin behaviour:
jesseward/jellyfin-plugin-lastfm#27 (comment)
The text was updated successfully, but these errors were encountered: