I have an audiobook on my server (Doctor Who "The Black Hole" from Humble Bundle), and it shows up with a valid cover image on the server.
However, after downloading this to a local file onto my phone, I somehow ended up with a 0 byte .jpg file as the cover image. This causes the following problems with the audiobookshelf android app
When trying to play this audio book from local files (not connected to server), the app immediately crashes
When this file is present, the Android Auto UI for Audiobookshelf just sits there constantly loading, then finally gives a failure message.
I have managed to fix this issue on my device by deleting and downloading local files from server again, which resulted in a valid cover art file. However, the underlying issue of incorrectly handling invalid cover art files still remains.
Steps to Reproduce the Issue
I guess adding a 0 byte .jpg cover image to local files would reproduce, although I haven't figured out how to do this manually on my own phone.
What was Expected?
Expected audiobookshelf to play the audio file.
Phone Model
Pixel 9a
Phone OS
Android 16 stock, running audiobookshelf app version 0.12.0-beta
Audiobookshelf App Version
Android App - 0.11.0
Installation Source
Google Play Store
Additional Notes
As far as I can tell the issue is distinct from #1143
Originally created by @DavidPowell on GitHub (Mar 3, 2026).
### I have verified that the [bug is not already awaiting release](https://github.com/advplyr/audiobookshelf-app/issues?q=is%3Aissue%20label%3A%22awaiting%20release%22)
Yes
### What was the Problem?
I have an audiobook on my server (Doctor Who "The Black Hole" from Humble Bundle), and it shows up with a valid cover image on the server.
However, after downloading this to a local file onto my phone, I somehow ended up with a 0 byte .jpg file as the cover image. This causes the following problems with the audiobookshelf android app
- When trying to play this audio book from local files (not connected to server), the app immediately crashes
- When this file is present, the Android Auto UI for Audiobookshelf just sits there constantly loading, then finally gives a failure message.
I have managed to fix this issue on my device by deleting and downloading local files from server again, which resulted in a valid cover art file. However, the underlying issue of incorrectly handling invalid cover art files still remains.
### Steps to Reproduce the Issue
I guess adding a 0 byte .jpg cover image to local files would reproduce, although I haven't figured out how to do this manually on my own phone.
### What was Expected?
Expected audiobookshelf to play the audio file.
### Phone Model
Pixel 9a
### Phone OS
Android 16 stock, running audiobookshelf app version 0.12.0-beta
### Audiobookshelf App Version
Android App - 0.11.0
### Installation Source
Google Play Store
### Additional Notes
As far as I can tell the issue is distinct from #1143
adam
added the bug label 2026-04-24 23:57:46 +02:00
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 @DavidPowell on GitHub (Mar 3, 2026).
I have verified that the bug is not already awaiting release
Yes
What was the Problem?
I have an audiobook on my server (Doctor Who "The Black Hole" from Humble Bundle), and it shows up with a valid cover image on the server.
However, after downloading this to a local file onto my phone, I somehow ended up with a 0 byte .jpg file as the cover image. This causes the following problems with the audiobookshelf android app
I have managed to fix this issue on my device by deleting and downloading local files from server again, which resulted in a valid cover art file. However, the underlying issue of incorrectly handling invalid cover art files still remains.
Steps to Reproduce the Issue
I guess adding a 0 byte .jpg cover image to local files would reproduce, although I haven't figured out how to do this manually on my own phone.
What was Expected?
Expected audiobookshelf to play the audio file.
Phone Model
Pixel 9a
Phone OS
Android 16 stock, running audiobookshelf app version 0.12.0-beta
Audiobookshelf App Version
Android App - 0.11.0
Installation Source
Google Play Store
Additional Notes
As far as I can tell the issue is distinct from #1143