-
Notifications
You must be signed in to change notification settings - Fork 139
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
App freezes for a longer time after a download #550
Comments
addition: if the app is killed while it is freezed the book is half registered - its not showing up as offline and not showing up in the "Local Library Items" menu. But if I click (force) re-scan the notification shows a number including the book in question. |
Same behavior here, started with 0.9.61 beta |
Thanks, I'll look into this. Just to give some more context on how downloading works for anyone interested.. The downloaded files are being downloaded to storage allocated for the app. That is a folder only the app has access to. After a file is downloaded successfully it is moved to the folder you selected. The app is using DownloadManager, the built-in Android download API, and it is not allowing downloads directly to "public" folders. That is why I built it to first download to app storage then move to public storage. After all files are successfully downloaded & moved they are put in a From the description of the issue I believe it is the final step of building the |
I was able to reproduce this. Not quite as long as you are saying, but it was taking 1 - 2 minutes to process the files after download. I'm not sure why that part takes that long but I was able to move that off the main thread so it doesn't freeze the UI. I also updated the text on the audiobook page to say "Download complete. Processing..." instead of it looking like it is stuck at 100%. |
Fixed in v0.9.62-beta |
Works fine, thank you. |
Steps to reproduce
(A currently playing book continues to play, but the UI is completely frozen + android shows the "wait or kill" message after some time
Expected behaviour
Actual behaviour
Environment data
Audiobookshelf Version: v2.2.14 (also with the version before)
Audiobookshelf App: 0.9.61-beta
Android Issue
Android version: 12
Device model: Poco X3 NFC
(8 GB RAM, Octa core Snapdragon 732G)
Stock or customized system:
stock (MUUI 13.0.4 stable global)
The text was updated successfully, but these errors were encountered: