advplyr / audiobookshelf-app

Mobile application for Audiobookshelf
https://audiobookshelf.org
GNU General Public License v3.0
1.19k stars 163 forks source link

Mention somewhere to allow unrestricted background activity for the app #551

Open lukeIam opened 1 year ago

lukeIam commented 1 year ago

Steps to reproduce

  1. Don't allow background activity (or leave it on standard)
  2. Download a book with many mp3 files (tried multiple books)
  3. Let the screen go off (time out) while downloading
  4. See strange results

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)

advplyr commented 1 year ago

Just curious if you disable background activity for the app are you still able to listen to an audiobook with the screen off?

lukeIam commented 1 year ago

ok, there is no real "off" - my Android offers me:

I was listening to three books without any problem with "Optimized" (just didn't change anything). But out of curiosity I just checked "Restricted" -> playback seems to work (or the playback keeps the app alive). But as I want to download books I'll switch back to "Unrestricted".