mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-03-02 22:46:55 -05:00
[Bug]: Progress was not saved #1054
Labels
No labels
authentication
awaiting release
backlog
bug
chapter editor
config-issue
ebooks
encoding/embedding
enhancement
help wanted
listening sessions & progress
planned
possible plugin
progress sync
sorting/filtering/searching
unable to reproduce
upload
users & permissions
waiting
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/audiobookshelf-advplyr#1054
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @0verEngineer on GitHub (Apr 10, 2023).
Describe the issue
I use the app and the web-ui. Yesterday i listened about 2 hours on the web-ui and continued today on the app and the progress from the web-ui from the day before was not used/saved/whatever... it started where i stopped on the app and not on the web-ui where i made progress.
I have this audiobook downloaded in the app.
Steps to reproduce the issue
However i cannot reproduce it when i try, but this has happened twice to me.
Audiobookshelf version
v2.2.17
How are you running audiobookshelf?
Docker
Browser was Firefox
@Commiccannon commented on GitHub (Apr 15, 2023):
I have had the same issue, on the web version getting popup error. Link to that issue https://github.com/advplyr/audiobookshelf-app/issues/671
@0verEngineer commented on GitHub (Apr 15, 2023):
Yea it happened to me yesterday again, listened on the web ui, paused and opened the app, opened the audiobook and the progress percentage was right but the progess time was wrong, i clicked play and it continued with the wrong progress time from the app and then the percentage changed to match the wrong progress time from the app.
So this looks like the app fetches the right time and progress but fails to use it.
Edit to clarify:
Web ui stopped with 69% and 18h playtime
App opened and shows 69% with 16h playtime
App play button pressed and now it shows a lower percentage and continues to play from the 16h playtime forward.
@Commiccannon commented on GitHub (Apr 15, 2023):
Do you get a red popup message on the web player saying Progress is not being synced. Restart playback?
@0verEngineer commented on GitHub (Apr 15, 2023):
The last time i got one but that did not help, it was also wrong after playback restart if i recall correctly. But this time there was no popup
@0verEngineer commented on GitHub (Apr 15, 2023):
It did happen for me twice this day, in the app and in the web-ui.
Web-UI:
I had my browser in the backgroud with the web-ui running and when i clicked play it seemed that it just started playing where it was left off without querying the server for the progress
App:
I stopped listening in the web-ui and opened the app, (was open in the background the whole time i think) i pressed the play button and it started playing where it was left off in the app, just like the web-ui it seems that it does start playing without contacting the server for the progress
@advplyr commented on GitHub (May 27, 2023):
I made an update that will help to handle when multiple sessions are open for the same media item.
If you have the same media item open and playing then an alert will appear letting you know that this is happening. This would be user error since playing both at the same time would have colliding progress updates.
The more common case, which is the one you are referring to, is when you leave the player open and paused on one device. In this case the open and paused player will update its current time as progress is updated on another device.
Just to break that down a bit more here is the example:
@advplyr commented on GitHub (May 27, 2023):
Fixed in v2.2.21
@0verEngineer commented on GitHub (Aug 31, 2023):
@advplyr I think there is still an issue if the audiobooks are downloaded in the mobile app, i lost my progress twice yesterday, this was on v2.2.23.
Since the fix i think i never lost any progress as i only streamed the audiobooks, yesterday i listened to the first downloaded audiobook in months
@0verEngineer commented on GitHub (Sep 3, 2023):
@advplyr I listened to the audiobook i have downloaded on my pc, then paused and started the mobile app, it has shown me the correct percentage exactly where i paused on the pc but it started playing where i stopped in the app, this means it has the progress in the app but it ignores it. Then the wrong progress is immediately synced to the website opened on the pc so that the progress is lost there as well.
@0verEngineer commented on GitHub (Sep 7, 2023):
@advplyr Can you please reopen this issue, or should i create a new one?
@advplyr commented on GitHub (Sep 7, 2023):
There is already an issue opened for this in the audiobookshelf-app repo https://github.com/advplyr/audiobookshelf-app/issues/808
There are several issues open related to syncing position that I suspect are all the same issue so no need for another issue open.