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
[Bug]: Progress Sync between Web and Android not working correctly when using downloaded book #808
Comments
To clarify, you are not closing the player on the phone while you listen on the computer? You're only pausing the phone |
Yes. I only pause the playback. Generally it goes like this:
I did some trial and error now after your question and I have gotten some interesting results! If I keep the app open and on screen, while I have active playback on the PC, it syncs perfectly without issues, every 10s it jumps forwards and shows the sync in the history. However if I close the app using the task switcher, and then have playback on PC, then it looses track of the playback and does not properly sync back up once I restart the app and start playback. In these trials it did receive the playback position from the PC in it's history however, so I could jump back to the correct position with a click on the history entry. This was not the case initially. It happened multiple times, that the app just did not recognize any other playback. So there might be layers to this, however what was easily reproducible, was that it never continued at the correct position, if playback occurred while the app was closed. My assumption is, that due to Android's battery optimizations, the app gets frozen or killed after a while and that breaks the sync. |
I was able to reproduce this and it will be fixed in the next release |
Fixed in v0.9.66-beta |
Steps to reproduce
Expected behaviour
Actual behaviour
Click to see pictures
EDIT: as an addition, I want to mention, that this seems to be a problem with downloaded books. If I press the Cast button, and then just close it without actually casting to a device, that forces the player to use the remote book instead of the local one. When doing that, it does jump to the correct place.
Environment data
Audiobookshelf Version: v2.3.3 (docker)
Android Issue
Android version:
Android 13
Device model:
Xiaomi Pocophone F2 Pro
Stock or customized system:
Lineage OS 20, no root
The text was updated successfully, but these errors were encountered: