[Bug]: Progress was not saved #1054

Closed
opened 2026-02-20 10:06:13 -05:00 by deekerman · 11 comments
Owner

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

  1. Listen on mobile app and pause
  2. Switch to web-ui, listen, then pause
  3. Switch back to the mobile app and progress from web-ui is not synced

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

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 1. Listen on mobile app and pause 2. Switch to web-ui, listen, then pause 3. Switch back to the mobile app and progress from web-ui is not synced 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
deekerman 2026-02-20 10:06:13 -05:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@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

@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
Author
Owner

@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.

@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.
Author
Owner

@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?

@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?
Author
Owner

@0verEngineer 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?

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): > Do you get a red popup message on the web player saying Progress is not being synced. Restart playback? > 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
Author
Owner

@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

@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
Author
Owner

@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:

  1. You listen on the web ui then pause leaving the audio player open.
  2. On your mobile device you start listening to the same media item.
  3. The audio player in the web ui should update its time automatically as your mobile device reports its 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: 1. You listen on the web ui then pause leaving the audio player open. 2. On your mobile device you start listening to the same media item. 3. The audio player in the web ui should update its time automatically as your mobile device reports its progress.
Author
Owner

@advplyr commented on GitHub (May 27, 2023):

Fixed in v2.2.21

@advplyr commented on GitHub (May 27, 2023): Fixed in [v2.2.21](https://github.com/advplyr/audiobookshelf/releases/tag/v2.2.21)
Author
Owner

@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 (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
Author
Owner

@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 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.
Author
Owner

@0verEngineer commented on GitHub (Sep 7, 2023):

@advplyr Can you please reopen this issue, or should i create a new one?

@0verEngineer commented on GitHub (Sep 7, 2023): @advplyr Can you please reopen this issue, or should i create a new one?
Author
Owner

@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.

@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.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/audiobookshelf-advplyr#1054
No description provided.