Originally created by @eudes on GitHub (Jun 4, 2023).
### Steps to reproduce
1. Play an audiobook
2. Press on the "rewind to beginning of chapter" button
### Expected behaviour
- The audio starts playing from the beginning immediately
- The UI remains responsive
### Actual behaviour
- The audio takes a while to load
- The UI freezes
- The UI shows the previous chapter for an instant
- Video: https://youtube.com/shorts/vmbsjrfuvhM
(Audio stops playing on "rewind" button press)
### Environment data
Audiobookshelf Version: 0.9.64-beta
- [X] Android App?
- [ ] iOS App?
#### Android Issue
Android version: 12
Device model: Sony Xperia 1 II
Stock or customized system: Stock
It looks like it happens with any local, 1 file per chapter book. No issues while streaming or with single file chaptered books (excluding first load). File format doesn't seem to matter.
I've also observed the UI freezing when first playing any local book, so it may be related to opening new files.
@eudes commented on GitHub (Jun 5, 2023):
It looks like it happens with any local, 1 file per chapter book. No issues while streaming or with single file chaptered books (excluding first load). File format doesn't seem to matter.
I've also observed the UI freezing when first playing any local book, so it may be related to opening new files.
Hmm, I wasn't able to reproduce this issue. Maybe you can try grabbing some sample audio files and putting them in a folder to see if it is the audio encoding?
@advplyr commented on GitHub (Jun 5, 2023):
Hmm, I wasn't able to reproduce this issue. Maybe you can try grabbing some sample audio files and putting them in a folder to see if it is the audio encoding?
I tried a couple of things here:
1 - Downloading some sample mp3 files directly to the phone and playing them as a book in ABS
--> Sometimes it freezes on first playing the book, no chapter issues
2 - Putting these same files in my server and downloading them through the ABS app
--> Sometimes it freezes on frist playing the book, and sometimes chapter issues as well, but not as often as with a normal book.
3 - Importing those files through my library manager (Readarr), tagging and renaming, and then importing into ABS
--> Same as 2
I'm a bit stuck on things to try here. I got it to show a "This app is not responding" message on Android and getting a log dump, by pressing everywhere while frozen. Would that be useful?
@eudes commented on GitHub (Jun 5, 2023):
I tried a couple of things here:
1 - Downloading some sample mp3 files directly to the phone and playing them as a book in ABS
--> Sometimes it freezes on first playing the book, no chapter issues
2 - Putting these same files in my server and downloading them through the ABS app
--> Sometimes it freezes on frist playing the book, and sometimes chapter issues as well, but not as often as with a normal book.
3 - Importing those files through my library manager (Readarr), tagging and renaming, and then importing into ABS
--> Same as 2
I'm a bit stuck on things to try here. I got it to show a "This app is not responding" message on Android and getting a log dump, by pressing everywhere while frozen. Would that be useful?
Log dump could help. I'm not sure what the issue could be.
You could try turning off battery optimization for the app
@advplyr commented on GitHub (Jun 5, 2023):
Log dump could help. I'm not sure what the issue could be.
You could try turning off battery optimization for the app
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @eudes on GitHub (Jun 4, 2023).
Steps to reproduce
Expected behaviour
Actual behaviour
(Audio stops playing on "rewind" button press)
Environment data
Audiobookshelf Version: 0.9.64-beta
Android Issue
Android version: 12
Device model: Sony Xperia 1 II
Stock or customized system: Stock
@advplyr commented on GitHub (Jun 4, 2023):
Is this specific to certain audiobooks?
Does this also happen if you stream the same audiobook?
@eudes commented on GitHub (Jun 5, 2023):
It looks like it happens with any local, 1 file per chapter book. No issues while streaming or with single file chaptered books (excluding first load). File format doesn't seem to matter.
I've also observed the UI freezing when first playing any local book, so it may be related to opening new files.
@advplyr commented on GitHub (Jun 5, 2023):
Hmm, I wasn't able to reproduce this issue. Maybe you can try grabbing some sample audio files and putting them in a folder to see if it is the audio encoding?
@eudes commented on GitHub (Jun 5, 2023):
I tried a couple of things here:
1 - Downloading some sample mp3 files directly to the phone and playing them as a book in ABS
--> Sometimes it freezes on first playing the book, no chapter issues
2 - Putting these same files in my server and downloading them through the ABS app
--> Sometimes it freezes on frist playing the book, and sometimes chapter issues as well, but not as often as with a normal book.
3 - Importing those files through my library manager (Readarr), tagging and renaming, and then importing into ABS
--> Same as 2
I'm a bit stuck on things to try here. I got it to show a "This app is not responding" message on Android and getting a log dump, by pressing everywhere while frozen. Would that be useful?
@advplyr commented on GitHub (Jun 5, 2023):
Log dump could help. I'm not sure what the issue could be.
You could try turning off battery optimization for the app