advplyr / audiobookshelf-app

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

[Bug]: Android Auto automatic resume is intermittent #1309

Open kanine opened 2 months ago

kanine commented 2 months ago

What was the Problem?

The following setting in Android Auto should mean playback continues when media was playing when starting driving, picking up from the correct position in the book

Steps to Reproduce the Issue

Download a book for offline playback (my preference).

  1. Connection Preferences > Android Auto > Start music automatically > ON
  2. Listen to a book whilst driving or parked
  3. Leave vehicle, return later
  4. Drive off and playback should resume from slightly behind where you left off

However this is happening probably less than 1/5 times. Generally I would have to then go into the app and then chose the book again from the downloaded section to resume.

What was Expected?

The book should resume playback reliably and start off with a 5-10s rewind (give or take)

Phone Model

Pixel 6 Pro

Phone OS

Android 14

Audiobookshelf App Version

Android App - 0.9.76

Installation Source

Google Play Store

Additional Notes

Tried rebooting and working with a server that is online, but even the online server seems quite hit or miss on resume too.

Due to this issue I have been using SAP, which performs this function perfectly every time.

ISO-B commented 2 months ago

I did some testing to this and noticed that if Audibookshelf app is open on background then Android Auto seems to continue playing book reliable. When app is not open Android Auto doesn't continue playing book and wont show what book I was listening last.

One thing I noticed that offline books wont show covers on Android auto widget or player, but cover is visible on listings. Have you encountered this behavior?