[Bug]: Android Auto content loading and syncing issues #1158

Open
opened 2026-04-24 23:51:26 +02:00 by adam · 6 comments
Owner

Originally created by @pflavio on GitHub (Feb 23, 2025).

What was the Problem?

When using Audiobookshelf on Android Auto I noticed two issues:

  1. I need to have the Audiobookshelf app open on my phone before connecting to Android Auto. If not, only downloaded (to the phone) podcasts are visible, but streaming from my server is not possible (not even visible). If the app is open (no need to be in focus, background is enough) everything works as expected.
  2. Progress is not synced when listening to stuff on Android Auto. When listening on the phone (or browser), progress is synced.

Steps to Reproduce the Issue

  1. Connect phone to car
    
  2. Open Android Auto
    
  3. Open Audiobookshelf
    
  4. Listen to podcast
    

What was Expected?

  • I expect all my content to be available, downloaded or streamed.
    
  • I expect progress to cross sync back to my server
    

Phone Model

Pixel 8 Pro

Phone OS

Android 15

Audiobookshelf App Version

Android App - 0.9.79

Installation Source

Other (List in "Additional Notes")

Additional Notes

Aurora Store

Originally created by @pflavio on GitHub (Feb 23, 2025). ### What was the Problem? When using Audiobookshelf on Android Auto I noticed two issues: 1. I need to have the Audiobookshelf app open on my phone before connecting to Android Auto. If not, only downloaded (to the phone) podcasts are visible, but streaming from my server is not possible (not even visible). If the app is open (no need to be in focus, background is enough) everything works as expected. 2. Progress is not synced when listening to stuff on Android Auto. When listening on the phone (or browser), progress is synced. ### Steps to Reproduce the Issue 1. Connect phone to car 2. Open Android Auto 3. Open Audiobookshelf 4. Listen to podcast ### What was Expected? - I expect all my content to be available, downloaded or streamed. - I expect progress to cross sync back to my server ### Phone Model Pixel 8 Pro ### Phone OS Android 15 ### Audiobookshelf App Version Android App - 0.9.79 ### Installation Source Other (List in "Additional Notes") ### Additional Notes Aurora Store
adam added the bugandroidprogress sync labels 2026-04-24 23:51:26 +02:00
Author
Owner
@nichwall commented on GitHub (Feb 23, 2025): Related to: https://github.com/advplyr/audiobookshelf-app/issues/1457 https://github.com/advplyr/audiobookshelf-app/issues/1309 https://github.com/advplyr/audiobookshelf-app/issues/1416 https://github.com/advplyr/audiobookshelf-app/issues/1059
Author
Owner

@valdearg commented on GitHub (Apr 7, 2025):

Question on this one: do you notice a difference with syncing your progress when you:

  1. Start the playback on your phone, then resume on Android Auto.
  2. Start the playback completely new on the Android Auto, so basically start a new book/podcast through the auto interface.

I ask as I've noticed if I start a book/podcast through the Android Auto interface, it will not sync the progress.

@valdearg commented on GitHub (Apr 7, 2025): Question on this one: do you notice a difference with syncing your progress when you: 1. Start the playback on your phone, then resume on Android Auto. 2. Start the playback completely new on the Android Auto, so basically start a new book/podcast through the auto interface. I ask as I've noticed if I start a book/podcast through the Android Auto interface, it will not sync the progress.
Author
Owner

@pflavio commented on GitHub (Apr 21, 2025):

Hi @valdearg so it looks like both ways do not sync progress back to the server (case 1 does not change, case 2 stays unplayed).

@pflavio commented on GitHub (Apr 21, 2025): Hi @valdearg so it looks like both ways do not sync progress back to the server (case 1 does not change, case 2 stays unplayed).
Author
Owner

@JonathanHerrewijnen commented on GitHub (May 17, 2025):

I am quite sure this has to do with the currentPlaybackSession not updating, and the way the device remembers its previous listening session.

I tried to investigate it, and these are my logcat messages (I ran google's desktop head unit, and then ran the audiobookshelf app on the virtual HU):

025-05-17 23:49:37.021 18785-17798 AbsLogger               com.audiobookshelf.app               E  sync: Progress sync failed (count: 1) (title: "Helmet for My Pillow") (currentTime: 270.152) (session id: 4d3463c3-990c-4132-8793-e98250c999b1) (https://audiobooks.herreweb.nl (Jonathan))
2025-05-17 23:49:37.026 18785-17798 MediaProgressSync       com.audiobookshelf.app               D  Sync complete
2025-05-17 23:49:37.026 18785-17798 MediaEventManager       com.audiobookshelf.app               I  Save Event for media "Helmet for My Pillow"

I started with a book called 'Helmet for my Pillow' and then switched to another book. But the timing keeps trying to be synced to my first book. Also when I switch to other books.

@JonathanHerrewijnen commented on GitHub (May 17, 2025): I am quite sure this has to do with the currentPlaybackSession not updating, and the way the device remembers its previous listening session. I tried to investigate it, and these are my logcat messages (I ran google's desktop head unit, and then ran the audiobookshelf app on the virtual HU): ``` 025-05-17 23:49:37.021 18785-17798 AbsLogger com.audiobookshelf.app E sync: Progress sync failed (count: 1) (title: "Helmet for My Pillow") (currentTime: 270.152) (session id: 4d3463c3-990c-4132-8793-e98250c999b1) (https://audiobooks.herreweb.nl (Jonathan)) 2025-05-17 23:49:37.026 18785-17798 MediaProgressSync com.audiobookshelf.app D Sync complete 2025-05-17 23:49:37.026 18785-17798 MediaEventManager com.audiobookshelf.app I Save Event for media "Helmet for My Pillow" ``` I started with a book called 'Helmet for my Pillow' and then switched to another book. But the timing keeps trying to be synced to my first book. Also when I switch to other books.
Author
Owner

@tigerhawkvok commented on GitHub (Sep 2, 2025):

Chiming in that the Pixel 10 Pro XL also repros.

@tigerhawkvok commented on GitHub (Sep 2, 2025): Chiming in that the Pixel 10 Pro XL also repros.
Author
Owner

@madcar86 commented on GitHub (Sep 20, 2025):

Same issue here on pixel 8. Sometimes it rewinds and other times it fast forwards.

@madcar86 commented on GitHub (Sep 20, 2025): Same issue here on pixel 8. Sometimes it rewinds and other times it fast forwards.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf-app#1158