When using ABS in Android Auto, the cover art is no longer displayed during playback. Covers are still displayed in the library view. This seems to be a regression of #1330.
Steps to Reproduce the Issue
Download audiobook to device (Android)
Use ABS in combination with Android Auto
Start playing the downloaded book
Notice no cover art is displayed in the Android Auto player
What was Expected?
Android Auto player displays cover art of the downloaded book
Phone Model
Zenfone 10
Phone OS
Android 15
Audiobookshelf App Version
Android App - 0.9.81
Installation Source
Google Play Store
Additional Notes
Looking at the source code, the fix for #1330 seemed to be to use MediaDescriptionBuilder.setIconBitmap(...) instead of MediaDescriptionBuilder.setIconUri(...) for downloaded media (which is also the case for this particular bug report). In the current version of PlayerNotificationService.kt, this part has been refactored and always uses MediaDescriptionBuilder.setIconUri(...) again (as far as I can tell at least).
Originally created by @ksmolder on GitHub (Apr 29, 2025).
### 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?
When using ABS in Android Auto, the cover art is no longer displayed during playback. Covers are still displayed in the library view. This seems to be a regression of #1330.
### Steps to Reproduce the Issue
1. Download audiobook to device (Android)
2. Use ABS in combination with Android Auto
3. Start playing the downloaded book
4. Notice no cover art is displayed in the Android Auto player
### What was Expected?
Android Auto player displays cover art of the downloaded book
### Phone Model
Zenfone 10
### Phone OS
Android 15
### Audiobookshelf App Version
Android App - 0.9.81
### Installation Source
Google Play Store
### Additional Notes
Looking at the source code, the fix for #1330 seemed to be to use `MediaDescriptionBuilder.setIconBitmap(...)` instead of `MediaDescriptionBuilder.setIconUri(...)` for downloaded media (which is also the case for this particular bug report). In the current version of [PlayerNotificationService.kt](https://github.com/advplyr/audiobookshelf-app/blob/ca1b9e2bdb70a606846ae1a826fd37aa1abc4905/android/app/src/main/java/com/audiobookshelf/app/player/PlayerNotificationService.kt#L329), this part has been refactored and always uses `MediaDescriptionBuilder.setIconUri(...)` again (as far as I can tell at least).
adam
added the bug label 2026-04-24 23:53:25 +02:00
I also get a warning of setIconBitmap as being deprecated in vscode, but would need to get on my computer for the actual warning and what version will fully remove it
@nichwall commented on GitHub (Apr 29, 2025):
Funny enough, the `setIconBitmap` was just barely removed to fix https://github.com/advplyr/audiobookshelf-app/issues/1493 in https://github.com/advplyr/audiobookshelf-app/commit/e7ad62760f1398cff0acac42da63907034691abf
I also get a warning of `setIconBitmap` as being deprecated in vscode, but would need to get on my computer for the actual warning and what version will fully remove it
I found that when setIconUri is used with a local image file path it does not work with Android Auto, but it does work in the notification player.
@advplyr commented on GitHub (May 4, 2025):
I didn't get the deprecation on `setIconBitmap`.
I found that when `setIconUri` is used with a local image file path it does not work with Android Auto, but it does work in the notification player.
@brianramseyau commented on GitHub (Jul 17, 2025):
Sorry to bug @advplyr but this ones been sitting here "awaiting release" for a couple of months now, any chance of a release soon? 🤞
@brianramseyau commented on GitHub (Jul 17, 2025):
Sorry to bug @advplyr but this ones been sitting here "awaiting release" for a couple of months now, any chance of a release soon? 🤞
@github-actions[bot] commented on GitHub (Jul 21, 2025):
Fixed in [v0.10.0-beta](https://github.com/advplyr/audiobookshelf-app/releases/tag/v0.10.0-beta).
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 @ksmolder on GitHub (Apr 29, 2025).
I have verified that the bug is not already awaiting release
Yes
What was the Problem?
When using ABS in Android Auto, the cover art is no longer displayed during playback. Covers are still displayed in the library view. This seems to be a regression of #1330.
Steps to Reproduce the Issue
What was Expected?
Android Auto player displays cover art of the downloaded book
Phone Model
Zenfone 10
Phone OS
Android 15
Audiobookshelf App Version
Android App - 0.9.81
Installation Source
Google Play Store
Additional Notes
Looking at the source code, the fix for #1330 seemed to be to use
MediaDescriptionBuilder.setIconBitmap(...)instead ofMediaDescriptionBuilder.setIconUri(...)for downloaded media (which is also the case for this particular bug report). In the current version of PlayerNotificationService.kt, this part has been refactored and always usesMediaDescriptionBuilder.setIconUri(...)again (as far as I can tell at least).@nichwall commented on GitHub (Apr 29, 2025):
Funny enough, the
setIconBitmapwas just barely removed to fix https://github.com/advplyr/audiobookshelf-app/issues/1493 in https://github.com/advplyr/audiobookshelf-app/commit/e7ad62760f1398cff0acac42da63907034691abfI also get a warning of
setIconBitmapas being deprecated in vscode, but would need to get on my computer for the actual warning and what version will fully remove it@advplyr commented on GitHub (May 4, 2025):
I didn't get the deprecation on
setIconBitmap.I found that when
setIconUriis used with a local image file path it does not work with Android Auto, but it does work in the notification player.@brianramseyau commented on GitHub (Jul 17, 2025):
Sorry to bug @advplyr but this ones been sitting here "awaiting release" for a couple of months now, any chance of a release soon? 🤞
@github-actions[bot] commented on GitHub (Jul 21, 2025):
Fixed in v0.10.0-beta.