App crashes when play multi-file audiobook #945

Closed
opened 2026-04-24 23:43:53 +02:00 by adam · 7 comments
Owner

Originally created by @firain on GitHub (Apr 9, 2024).

Steps to Reproduce

  1. Play the downloaded multi-file audiobook.
  2. Play the downloaded multi-file audiobook in the background.

Expected Behavior

  • The app should play the media files without crashing or experiencing performance issues.

Actual Behavior

  • The app is sluggish when starting to play the multi-file audiobook. After about 10 to 20 minutes of playtime, whether in the foreground or background, the app crashes.

Environment Data

Audiobookshelf Version:

  • Android App
  • Version 0.9.73-beta

Android Issue

  • Android Version: Android 14
  • Device Model: Samsung S23
  • System: Stock
Originally created by @firain on GitHub (Apr 9, 2024). ### Steps to Reproduce 1. Play the downloaded multi-file audiobook. 2. Play the downloaded multi-file audiobook in the background. ### Expected Behavior - The app should play the media files without crashing or experiencing performance issues. ### Actual Behavior - The app is sluggish when starting to play the multi-file audiobook. After about 10 to 20 minutes of playtime, whether in the foreground or background, the app crashes. ### Environment Data **Audiobookshelf Version:** - Android App - Version 0.9.73-beta **Android Issue** - Android Version: Android 14 - Device Model: Samsung S23 - System: Stock
adam added the bug label 2026-04-24 23:43:53 +02:00
adam closed this issue 2026-04-24 23:43:53 +02:00
Author
Owner

@advplyr commented on GitHub (Apr 9, 2024):

Is this happening with just this one book or many? Have you tested streaming the book and that is working?

@advplyr commented on GitHub (Apr 9, 2024): Is this happening with just this one book or many? Have you tested streaming the book and that is working?
Author
Owner

@firain commented on GitHub (Apr 10, 2024):

Thank you for looking into this issue. It appears to affect all downloaded multi-file audiobooks. I did some tests by streaming the book, and it functions correctly. However, upon re-downloading the book and playing it, the issue resurfaces. The problem frequently occurs when the player switches to the next playable file.
I play audiobooks at 2x to 3x speed, with the "total track", "chapter track", and "scale elapsed time by speed" options turned on.

@firain commented on GitHub (Apr 10, 2024): Thank you for looking into this issue. It appears to affect all downloaded multi-file audiobooks. I did some tests by streaming the book, and it functions correctly. However, upon re-downloading the book and playing it, the issue resurfaces. The problem frequently occurs when the player switches to the next playable file. I play audiobooks at 2x to 3x speed, with the "total track", "chapter track", and "scale elapsed time by speed" options turned on.
Author
Owner

@advplyr commented on GitHub (Apr 12, 2024):

If you manually change between files using the progress bar or next/prev chapter buttons does it crash then?

This crash only occurs when the screen is off?

Are you downloading the files to internal storage or selecting a download folder? If you are selecting a download folder can you try with the downloaded book in internal storage?

@advplyr commented on GitHub (Apr 12, 2024): If you manually change between files using the progress bar or next/prev chapter buttons does it crash then? This crash only occurs when the screen is off? Are you downloading the files to internal storage or selecting a download folder? If you are selecting a download folder can you try with the downloaded book in internal storage?
Author
Owner

@firain commented on GitHub (Apr 12, 2024):

It happens either the screen on or off.
The prev/next button didn't crash it. But clicking on the screen or player area while the media starts or switch files will cause the app to crash. The file are downloaded to a selected folder.
I have tested with internal storage, it plays without any issues, even the sluggish issue is gone.

@firain commented on GitHub (Apr 12, 2024): It happens either the screen on or off. The prev/next button didn't crash it. But clicking on the screen or player area while the media starts or switch files will cause the app to crash. The file are downloaded to a selected folder. I have tested with internal storage, it plays without any issues, even the sluggish issue is gone.
Author
Owner

@advplyr commented on GitHub (Apr 19, 2024):

This is the same issue as reported in #1143.

It is an issue with permissions and the cover image. If you were to remove the cover image from the server and re-download the book it should work.

I'm not able to reproduce this issue with my Google Pixel or emulators and there are not many reports of this so I'm wondering if this is specific to Samsung Galaxy. I'm not sure how to fix this atm

@advplyr commented on GitHub (Apr 19, 2024): This is the same issue as reported in #1143. It is an issue with permissions and the cover image. If you were to remove the cover image from the server and re-download the book it should work. I'm not able to reproduce this issue with my Google Pixel or emulators and there are not many reports of this so I'm wondering if this is specific to Samsung Galaxy. I'm not sure how to fix this atm
Author
Owner

@firain commented on GitHub (Apr 23, 2024):

Thank you for looking into the issue. I will combine all of my audiobooks into one file for the time being, and download any multi-file audiobooks that could not be combined to internal storage. Also, thank you very much for making this project.

@firain commented on GitHub (Apr 23, 2024): Thank you for looking into the issue. I will combine all of my audiobooks into one file for the time being, and download any multi-file audiobooks that could not be combined to internal storage. Also, thank you very much for making this project.
Author
Owner

@advplyr commented on GitHub (Apr 28, 2024):

Duplicate of #1143

@advplyr commented on GitHub (Apr 28, 2024): Duplicate of #1143
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf-app#945