Skip to content
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

Progress lost on downloaded audiobooks when connected to server #828

Closed
1 of 2 tasks
wbio opened this issue Aug 2, 2023 · 10 comments
Closed
1 of 2 tasks

Progress lost on downloaded audiobooks when connected to server #828

wbio opened this issue Aug 2, 2023 · 10 comments
Labels
bug Something isn't working

Comments

@wbio
Copy link

wbio commented Aug 2, 2023

Steps to reproduce

  1. Listen to locally-downloaded audiobook
  2. Close app
  3. Reopen app

Expected behaviour

  • Progress is kept at current position

Actual behaviour

  • Progress is reset to 0%

Environment data

Audiobookshelf Server Version: server v2.3.3
Audiobookshelf App Version: 0.9.65-beta

  • Android App?
  • iOS App?

iOS Issue

iOS Version: 16.5.1

iPhone model: iPhone 14 Pro

Notes

I saw similar issues about progress loss, but didn't see any that fit this exact scenario, so apologies if I missed it.

This has been happening both when closing/reopening the app as well as when I have been listening while disconnected to the server and then reconnect (examples of both below). I see Listening Sessions on my server, so it does appear that listening data is being sent/received. This behavior does not happen when streaming a book, only when playing a downloaded one.

I took a break from audiobooks for a little while (last listen on 7/7/23) and just started back last week. Prior to the break, I hadn't experienced this issue, but it's been consistent ever since I started back. I'm not sure if I was on app version 0.9.65-beta before (looks like it had been released at that point), but it looks like there have been several server releases since then (I have auto-updates turned on and am currently on the latest version).

Examples

In this video I have been listening to the book while connected to the server. When I exit the app and reopen it, progress has been reset to 0%.

audiobookshelf-2.mp4

In this video I have been listening to the book locally (on cell network so not connected to my server). When I connect to Wifi and select "Connect to server" within the app (without closing/reopening it), the progress is reset to 0%.

audiobookshelf.mp4
@wbio wbio added the bug Something isn't working label Aug 2, 2023
@jakoss
Copy link

jakoss commented Aug 3, 2023

I had this few times for big audio files and re-upload of the same content in chunks seems to help, but no idea why

@florianehmke
Copy link

I am facing the same issue, also both ways (connected, local). iOS App on 14 pro.

@noja11
Copy link

noja11 commented Aug 6, 2023

I am also experiencing this issue on iOS. Progress is only maintained when I pause and play over a short period of time. Switching from headphones to the car also causes progress to be lost.

CORRECTION

I'm also losing my progress when streaming directly from the server. I haven't tried the web app yet to see if the same problem persists, but I doubt it will.

@barelylit
Copy link

Same thing happened to me:

image

@b0rrasca
Copy link

I have had the same issue several times for a number of months.

@barelylit
Copy link

Same thing again this morning

Screenshot_20230904-093130

@jakoss
Copy link

jakoss commented Sep 4, 2023

I have constant reproduction pattern. Play, hide app to the background, play it for 1 hour. Then pause the playback using external media controller (like bluetooth buds or car music system). Then, if you try to play, the playback is rolledback by the hour. It's like the app saved the position before going into background and then rolling back to it on playback start

@barelylit
Copy link

That is consistent with what i just experienced, i just paused it with earphone button there

@advplyr
Copy link
Owner

advplyr commented Sep 10, 2023

I just reproduced and fixed the issue mentioned by @jakoss

@advplyr
Copy link
Owner

advplyr commented Sep 19, 2023

Fixed in v0.9.66-beta

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

7 participants