-
Notifications
You must be signed in to change notification settings - Fork 18
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
Sporadically jumps to new point in book #120
Comments
are you saying it jumps backwards? There's a setting called smart rewind. |
I think it usually jumps backwards, yes, but we are talking like 30 minutes to an hour backwards, to a different chapter. I'm assuming smart rewind is just jumping back a few seconds to refresh you based on where you left off, similar to what podcast apps do? |
Okay yeah, I'm reading the code here, and it looks like smart rewind is used if you pause too long, it'll rewind 10 seconds if I'm understanding the code correctly ShelfPlayer/ShelfPlayerKit/Sources/SPPlayback/AudioPlayer+SleepTimer.swift Lines 16 to 18 in d7d36aa
This is definitely jumping more than 10 seconds, or even 10 minutes, so that isn't the culprit |
Hey, are you using the same device when you are running and when sitting in the car? |
Yeah, always playing from my iphone. The last time it happened, my earbuds weren't involved either. I drove about 5 minutes to the store, made a quick stop inside for some groceries, came back out and played and noticed it jumped ahead. I also noticed that there seemed to be an issue with the chapters. I knew that chapter 3 had just started, and then i noticed that it seemed to have jumped around, so I tried to manually start chapter 3, and it actually played chapter 4 instead (The narrator says the chapter name at the start of each chapter, and when I had chapter 3 selected, it said "Chapter 4"). Then, the next day, the files were aligned properly (Chapter 3 was actually chapter 3). Not sure if this is helpful or not, is there any possibility that either audiobookshelf or shelfplayer has an off-by-one error happening in some instances when it comes to resuming? |
Can you try this in the official app or the web client? I would guess that you have an issue with the audio file. |
The audio files are correct, as I said above, the chapters were properly aligned the next day (And maybe would have been fine if i killed and restarted the app. But in the web client, I just tried specifically playing chapter 3, and the narrator said "Chapter 3" at the start, so the issue is short-lived, and has only presented in ShelfPlayer. And it was fixed in shelfPlayer the next day too, so I think there could be something messing up the indexing. I will add that I removed the local download from my phone and have been playing directly from the server and have not had issues all week, which is nice |
This is helpful, the issue seems to be with downloading files. Can you download them again to check if it was a one-of thing? |
I have moved onto a new book, and this book is actually all one file in .m4b format (The previous one was individual mp3 files per chapter) I've downloaded this book, and I'll report back if it jumps around, but since it's all one file, I expect it wont' be an issue with this one |
Good morning,
I’ve been unable to consistently reproduce this bug, but I mainly listen in car play or when wearing headphones when running.
From time to time I’ll be listening to an audio book in my car, then run an errand and get back in my car, and the audiobook will jump to a completely different point in the story.
I do have the books downloaded into the app locally, so I wonder if that possibly causes problems with reporting the state of the book back to the server?
is there any logging or debugging steps I could perform to help narrow down this issue? Or any other info I can provide? Happy to help debug
The text was updated successfully, but these errors were encountered: