Track playback end is not confirmed #7
Comments
I think i fixed it with ea61bfb, could you try out the latest nightly and see if it fixed the issue for you? |
No, track endings are still not send, they also do not show up in the log. I'm on docker commit 7e773f4.
|
hm thats wierd. Does it register the endings if you use the stop command? |
it seems fixed for me, I'll play a few more to verify |
If it is fixed for @Artiume then I'm not sure that it's an issue with this bot anymore. I will make an issue on that repo too referencing this issue (jesseward/jellyfin-plugin-lastfm#27). Btw, thanks for taking this obscure issue seriously 😃 |
Ok, it's still persisting for me, it's not fixed. |
I feel like the issue for me is the websocket keeps closing which would prevent the updated status. |
@Artiume but the updated status(stop playing song etc) isnt handeled over a websocket but rather via rest api calls |
so even with 10 minute long clips, i get a bunch of unfinished clips. their saved position ranges from 5 minutes to 9 minutes. |
@Artiume I think i fixed it with the last commit, can you test? I dont really hear audiobooks thats why i havent really given much thought to them. |
No success, here's the logs. I do find it weird it stopped at exactly 5 minutes for tracking. [2020-11-27 00:16:38.224 -05:00] [INF] [33] Emby.Server.Implementations.Session.SessionManager: Playback stopped reported by app "Discord Music Bot" "0.0.1" playing "Peace Talks: Dresden Files, Book 16". Stopped at "300000" ms
|
This may give a clue: PlaybackProgressEventArgs. As per this comment: jesseward/jellyfin-plugin-lastfm#27 (comment) |
I think the issue here was, that the wrong itemId was used when reporting playbackstop when playback finished for 1 song. Fixed that with the latest commit |
I just tested it and it's not fixed. |
@OdinGitDat I added a basic debug mode and fixed some things. Can you maybe try again with the latest nightly, add "-e LOG_LEVEL="debug"" to the docker and return with your logs? |
Yes, it works now. Thanks for your dedication to this! |
The Jellyfin Lastfm plugin depends on track playback ending being confirmed to submit scrobbles. Here is what happens when the discord bot plays songs:
This is what happens when the web client plays songs:
Difference is that the Discord bot doesn't confirm track playback finish so it doesn't get picked up by the Lastfm plugin.
Can't make a more detailed bug report before #6 is implemented.
The text was updated successfully, but these errors were encountered: