Android Auto - Still having issues resuming at the right point #65

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

Originally created by @danmed on GitHub (Jan 27, 2022).

So i'm still having problems with Android Auto resuming playback at the point i left it at.

It seems regardless of what client i was using prior to using android auto, it reverts to some time stamp quite a way back..

i havn't yet managed to track down when that timestamp was saved.. but what i don't understand is if i get out of the car, then go look at the web gui.. the time stamp is right.. so why would AA then start from a different point?

Originally created by @danmed on GitHub (Jan 27, 2022). So i'm still having problems with Android Auto resuming playback at the point i left it at. It *seems* regardless of what client i was using prior to using android auto, it reverts to some time stamp quite a way back.. i havn't yet managed to track down when that timestamp was saved.. but what i don't understand is if i get out of the car, then go look at the web gui.. the time stamp is right.. so why would AA then start from a different point?
adam closed this issue 2026-04-24 23:05:24 +02:00
Author
Owner

@advplyr commented on GitHub (Jan 27, 2022):

There are 2 main factors that impact progress sync.

  1. If it is a downloaded book or streaming.
  2. If the app is open on your phone and the phone is awake before you start playing the audiobook in AA.

Are you listening to downloaded audiobooks?

@advplyr commented on GitHub (Jan 27, 2022): There are 2 main factors that impact progress sync. 1. If it is a downloaded book or streaming. 2. If the app is open on your phone and the phone is awake before you start playing the audiobook in AA. Are you listening to downloaded audiobooks?
Author
Owner

@danmed commented on GitHub (Jan 27, 2022):

  1. good question, i believe i'm streaming.. i've never told it to download the book.. however i'm happy to if that's the problem.
  2. in general the app isn't open before hand.. however when it goes wrong i do have to open the app to use the 15 second skip to get me back to where i want to be.. so it's possible the app is still open from that..
@danmed commented on GitHub (Jan 27, 2022): 1. good question, i believe i'm streaming.. i've never told it to download the book.. however i'm happy to if that's the problem. 2. in general the app isn't open before hand.. however when it goes wrong i do have to open the app to use the 15 second skip to get me back to where i want to be.. so it's possible the app is still open from that..
Author
Owner

@advplyr commented on GitHub (Jan 27, 2022):

Streaming is more developed right now so you should continue streaming then. This should be working from how you described because the start time is coming from the server, and you are saying the server is showing the right timestamp when you check the web gui.

Can you give me a step by step on how to reproduce this? If you can't reproduce it on demand then just your best estimation.

@advplyr commented on GitHub (Jan 27, 2022): Streaming is more developed right now so you should continue streaming then. This should be working from how you described because the start time is coming from the server, and you are saying the server is showing the right timestamp when you check the web gui. Can you give me a step by step on how to reproduce this? If you can't reproduce it on demand then just your best estimation.
Author
Owner

@danmed commented on GitHub (Jan 28, 2022):

So i very rarely do anything but listen in the car.. so my usual process is..

Plug the phone in and open the app on in car screen, and hit play..

When i get where i'm going i unplug the phone..

When i get back in , i plug it back in and hit play and it's gone back to where it was at the start of the first trip.

@danmed commented on GitHub (Jan 28, 2022): So i very rarely do anything but listen in the car.. so my usual process is.. Plug the phone in and open the app on in car screen, and hit play.. When i get where i'm going i unplug the phone.. When i get back in , i plug it back in and hit play and it's gone back to where it was at the start of the first trip.
Author
Owner

@advplyr commented on GitHub (Jan 28, 2022):

In between those plays are you using the web gui at all to listen to other audiobooks?

I can't think of any reason why this would happen since you are saying when you open the web gui the progress is correct for that audiobook.

@advplyr commented on GitHub (Jan 28, 2022): In between those plays are you using the web gui at all to listen to other audiobooks? I can't think of any reason why this would happen since you are saying when you open the web gui the progress is correct for that audiobook.
Author
Owner

@danmed commented on GitHub (Jan 28, 2022):

i dont use the web gui.. i've only looked at it recently to see if the
resume time is actually correct or not.. it's honestly gotten to the point
where i sit on my drive and have to 15 second skip to make sure i'm at
roughly the right point before i leave.

On Thu, Jan 27, 2022 at 11:28 PM advplyr @.***> wrote:

In between those plays are you using the web gui at all to listen to other
audiobooks?

I can't think of any reason why this would happen since you are saying
when you open the web gui the progress is correct for that audiobook.


Reply to this email directly, view it on GitHub
https://github.com/advplyr/audiobookshelf/issues/333#issuecomment-1023735789,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA5S4WUAOBCGT67BXC2HSBTUYHIJRANCNFSM5M7FB7GA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID:
@.***>

@danmed commented on GitHub (Jan 28, 2022): i dont use the web gui.. i've only looked at it recently to see if the resume time is actually correct or not.. it's honestly gotten to the point where i sit on my drive and have to 15 second skip to make sure i'm at roughly the right point before i leave. On Thu, Jan 27, 2022 at 11:28 PM advplyr ***@***.***> wrote: > In between those plays are you using the web gui at all to listen to other > audiobooks? > > I can't think of any reason why this would happen since you are saying > when you open the web gui the progress is correct for that audiobook. > > — > Reply to this email directly, view it on GitHub > <https://github.com/advplyr/audiobookshelf/issues/333#issuecomment-1023735789>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/AA5S4WUAOBCGT67BXC2HSBTUYHIJRANCNFSM5M7FB7GA> > . > Triage notifications on the go with GitHub Mobile for iOS > <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> > or Android > <https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>. > > You are receiving this because you authored the thread.Message ID: > ***@***.***> >
Author
Owner

@advplyr commented on GitHub (Jan 28, 2022):

What do you mean sit on your drive?
I'll see if I can replicate this issue

@advplyr commented on GitHub (Jan 28, 2022): What do you mean sit on your drive? I'll see if I can replicate this issue
Author
Owner

@danmed commented on GitHub (Jan 28, 2022):

Sorry, UK speak :)

I mean i sit in the car on my driveway and make sure playback is at the
right point before i drive off :)

On Thu, Jan 27, 2022 at 11:32 PM advplyr @.***> wrote:

What do you mean sit on your drive?
I'll see if I can replicate this issue


Reply to this email directly, view it on GitHub
https://github.com/advplyr/audiobookshelf-app/issues/91#issuecomment-1023737948,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA5S4WRZYEO3NENO7ELSUZDUYHIYBANCNFSM5M7J6ZKA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID:
@.***>

@danmed commented on GitHub (Jan 28, 2022): Sorry, UK speak :) I mean i sit in the car on my driveway and make sure playback is at the right point before i drive off :) On Thu, Jan 27, 2022 at 11:32 PM advplyr ***@***.***> wrote: > What do you mean sit on your drive? > I'll see if I can replicate this issue > > — > Reply to this email directly, view it on GitHub > <https://github.com/advplyr/audiobookshelf-app/issues/91#issuecomment-1023737948>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/AA5S4WRZYEO3NENO7ELSUZDUYHIYBANCNFSM5M7J6ZKA> > . > Triage notifications on the go with GitHub Mobile for iOS > <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> > or Android > <https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>. > > You are receiving this because you authored the thread.Message ID: > ***@***.***> >
Author
Owner

@danmed commented on GitHub (Jan 28, 2022):

In all honesty i'm now having a hard time replicating it (it's late and i can't go to the car).. but i've opened AA in "driving mode" and i can't replicate the problem..

I've now closed ABS and AA and i know the time stamp.. so i will test it on the school run tomorrow and come back to you!

@danmed commented on GitHub (Jan 28, 2022): In all honesty i'm now having a hard time replicating it (it's late and i can't go to the car).. but i've opened AA in "driving mode" and i can't replicate the problem.. I've now closed ABS and AA and i know the time stamp.. so i will test it on the school run tomorrow and come back to you!
Author
Owner

@advplyr commented on GitHub (Jan 28, 2022):

Got it. I will try to replicate it, but in the meantime if you could try opening up the mobile app on your device at the end of your trip while it is playing in AA.
Let it play for 5 seconds with the mobile app open in your car then close it down. When you next get in your car I am curious if AA will start back up on the right time.

@advplyr commented on GitHub (Jan 28, 2022): Got it. I will try to replicate it, but in the meantime if you could try opening up the mobile app on your device at the end of your trip while it is playing in AA. Let it play for 5 seconds with the mobile app open in your car then close it down. When you next get in your car I am curious if AA will start back up on the right time.
Author
Owner

@danmed commented on GitHub (Jan 28, 2022):

OK will do.. i'll try that in the morning!

On Thu, Jan 27, 2022 at 11:40 PM advplyr @.***> wrote:

Got it. I will try to replicate it, but in the meantime if you could try
opening up the mobile app on your device at the end of your trip while it
is playing in AA.
Let it play for 5 seconds with the mobile app open in your car then close
it down. When you next get in your car I am curious if AA will start back
up on the right time.


Reply to this email directly, view it on GitHub
https://github.com/advplyr/audiobookshelf-app/issues/91#issuecomment-1023742322,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA5S4WRTFEQ74ERZ2N34GRDUYHJYVANCNFSM5M7J6ZKA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID:
@.***>

@danmed commented on GitHub (Jan 28, 2022): OK will do.. i'll try that in the morning! On Thu, Jan 27, 2022 at 11:40 PM advplyr ***@***.***> wrote: > Got it. I will try to replicate it, but in the meantime if you could try > opening up the mobile app on your device at the end of your trip while it > is playing in AA. > Let it play for 5 seconds with the mobile app open in your car then close > it down. When you next get in your car I am curious if AA will start back > up on the right time. > > — > Reply to this email directly, view it on GitHub > <https://github.com/advplyr/audiobookshelf-app/issues/91#issuecomment-1023742322>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/AA5S4WRTFEQ74ERZ2N34GRDUYHJYVANCNFSM5M7J6ZKA> > . > Triage notifications on the go with GitHub Mobile for iOS > <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> > or Android > <https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>. > > You are receiving this because you authored the thread.Message ID: > ***@***.***> >
Author
Owner

@danmed commented on GitHub (Jan 28, 2022):

so now ive got no clue whats going on..

i got in the car with everything closed, tried to open ABS in the car and it jsut kept loading..

Had to open the app on my phone before it would load in the car.. then an app update came through so i did that.. The book played from the right place.

Got out at my daughters school... app was still open on my phone.. got back in starting playing and it went back to where it was when i first got in the car :(

@danmed commented on GitHub (Jan 28, 2022): so now ive got no clue whats going on.. i got in the car with everything closed, tried to open ABS in the car and it jsut kept loading.. Had to open the app on my phone before it would load in the car.. then an app update came through so i did that.. The book played from the right place. Got out at my daughters school... app was still open on my phone.. got back in starting playing and it went back to where it was when i first got in the car :(
Author
Owner

@advplyr commented on GitHub (Feb 1, 2022):

When you get back in your car if you can open the app up first and check to see if the progress is correct for your audiobook before launching android auto.
Is the mobile app showing the correct progress then android auto not playing at the right position?

Another helpful test would be to fully close out of the application before connecting to android auto, this would clear out any initial start position stored in memory.

@advplyr commented on GitHub (Feb 1, 2022): When you get back in your car if you can open the app up first and check to see if the progress is correct for your audiobook before launching android auto. Is the mobile app showing the correct progress then android auto not playing at the right position? Another helpful test would be to fully close out of the application before connecting to android auto, this would clear out any initial start position stored in memory.
Author
Owner

@danmed commented on GitHub (Feb 1, 2022):

So this morning i got in the car with the app not open on my phone, opened
it in AA and it started the book from scratch..

I then opened the app on my phone and it stopped playing and jumped forward
to almost where i left it....

I'm so confused by all of this lol

On Tue, Feb 1, 2022 at 3:36 PM advplyr @.***> wrote:

When you get back in your car if you can open the app up first and check
to see if the progress is correct for your audiobook before launching
android auto.
Is the mobile app showing the correct progress then android auto not
playing at the right position?

Another helpful test would be to fully close out of the application before
connecting to android auto, this would clear out any initial start position
stored in memory.


Reply to this email directly, view it on GitHub
https://github.com/advplyr/audiobookshelf-app/issues/91#issuecomment-1026978324,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA5S4WT4Q3TPYT2PLQS6ZLDUY74WNANCNFSM5M7J6ZKA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID:
@.***>

@danmed commented on GitHub (Feb 1, 2022): So this morning i got in the car with the app not open on my phone, opened it in AA and it started the book from scratch.. I then opened the app on my phone and it stopped playing and jumped forward to almost where i left it.... I'm so confused by all of this lol On Tue, Feb 1, 2022 at 3:36 PM advplyr ***@***.***> wrote: > When you get back in your car if you can open the app up first and check > to see if the progress is correct for your audiobook before launching > android auto. > Is the mobile app showing the correct progress then android auto not > playing at the right position? > > Another helpful test would be to fully close out of the application before > connecting to android auto, this would clear out any initial start position > stored in memory. > > — > Reply to this email directly, view it on GitHub > <https://github.com/advplyr/audiobookshelf-app/issues/91#issuecomment-1026978324>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/AA5S4WT4Q3TPYT2PLQS6ZLDUY74WNANCNFSM5M7J6ZKA> > . > Triage notifications on the go with GitHub Mobile for iOS > <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> > or Android > <https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>. > > You are receiving this because you authored the thread.Message ID: > ***@***.***> >
Author
Owner

@danmed commented on GitHub (Feb 1, 2022):

Some screenshots for you..

Web Interface time stamp :
image

Android App time stamp :
image

@danmed commented on GitHub (Feb 1, 2022): Some screenshots for you.. Web Interface time stamp : ![image](https://user-images.githubusercontent.com/3878490/152000047-593de309-8725-4fe0-8be5-101de907fa88.png) Android App time stamp : ![image](https://user-images.githubusercontent.com/3878490/152000295-4026f5b3-3d18-46b1-b170-70b709f6f82e.png)
Author
Owner

@advplyr commented on GitHub (Feb 1, 2022):

I'm so confused by all of this lol

You and me both!

I'm curious about those 2 tests I mentioned above still. If closing out of the app completely and re-opening it before launching AA solves the problem, then that will give me something to go off of.

@advplyr commented on GitHub (Feb 1, 2022): > I'm so confused by all of this lol You and me both! I'm curious about those 2 tests I mentioned above still. If closing out of the app completely and re-opening it before launching AA solves the problem, then that will give me something to go off of.
Author
Owner

@danmed commented on GitHub (Feb 1, 2022):

I've set the app to be at the correct time, and closed it.. When i get in the car later i will open the app before connecting to the car to see what happens

@danmed commented on GitHub (Feb 1, 2022): I've set the app to be at the correct time, and closed it.. When i get in the car later i will open the app before connecting to the car to see what happens
Author
Owner

@danmed commented on GitHub (Feb 4, 2022):

Sorry it's taken a while to get back to you.. So this is almost certainly
something happening when AA is involved..

I went for a long walk the other day and listened.. When i got in the car
it resumed at the right place! Fantastic! (starting it on my phone whilst
plugged in to the car).. When i got out, i hit pause on the car screen..

Now when i go back to it on my phone, it's rolled back 15 minutes or so..

So it seems to me like this is happening when i get out of the car rather
than getting in.. if that helps at all?

On Tue, Feb 1, 2022 at 3:48 PM advplyr @.***> wrote:

I'm so confused by all of this lol

You and me both!

I'm curious about those 2 tests I mentioned above still. If closing out of
the app completely and re-opening it before launching AA solves the
problem, then that will give me something to go off of.


Reply to this email directly, view it on GitHub
https://github.com/advplyr/audiobookshelf-app/issues/91#issuecomment-1026990942,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA5S4WWATI7ZT5GG3CZL4MTUY76FTANCNFSM5M7J6ZKA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID:
@.***>

@danmed commented on GitHub (Feb 4, 2022): Sorry it's taken a while to get back to you.. So this is almost certainly something happening when AA is involved.. I went for a long walk the other day and listened.. When i got in the car it resumed at the right place! Fantastic! (starting it on my phone whilst plugged in to the car).. When i got out, i hit pause on the car screen.. Now when i go back to it on my phone, it's rolled back 15 minutes or so.. So it seems to me like this is happening when i get out of the car rather than getting in.. if that helps at all? On Tue, Feb 1, 2022 at 3:48 PM advplyr ***@***.***> wrote: > I'm so confused by all of this lol > > You and me both! > > I'm curious about those 2 tests I mentioned above still. If closing out of > the app completely and re-opening it before launching AA solves the > problem, then that will give me something to go off of. > > — > Reply to this email directly, view it on GitHub > <https://github.com/advplyr/audiobookshelf-app/issues/91#issuecomment-1026990942>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/AA5S4WWATI7ZT5GG3CZL4MTUY76FTANCNFSM5M7J6ZKA> > . > Triage notifications on the go with GitHub Mobile for iOS > <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> > or Android > <https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>. > > You are receiving this because you authored the thread.Message ID: > ***@***.***> >
Author
Owner

@advplyr commented on GitHub (Feb 4, 2022):

I can only think that you are using the version before I added progress sync to android auto. Can you check what version you are currently on by going to the account page?
Also the version of the server, because some of that depended on a server update.

@advplyr commented on GitHub (Feb 4, 2022): I can only think that you are using the version before I added progress sync to android auto. Can you check what version you are currently on by going to the account page? Also the version of the server, because some of that depended on a server update.
Author
Owner

@danmed commented on GitHub (Feb 4, 2022):

Android : 0.9.39-beta
Server : 1.6.44

@danmed commented on GitHub (Feb 4, 2022): Android : 0.9.39-beta Server : 1.6.44
Author
Owner

@advplyr commented on GitHub (Feb 4, 2022):

The code to allow syncing streams from android auto required a server update to 1.6.45, so that is the problem.
The latest server version is 1.6.64

@advplyr commented on GitHub (Feb 4, 2022): The code to allow syncing streams from android auto required a server update to 1.6.45, so that is the problem. The latest server version is 1.6.64
Author
Owner

@danmed commented on GitHub (Feb 4, 2022):

Hmm my bad, i thought i'd added your repo to my docker notify list.. but obviously not..

Apologies! I've just updated it and i'm going to add you to the notify list now!

I'll update in a few days!

@danmed commented on GitHub (Feb 4, 2022): Hmm my bad, i thought i'd added your repo to my docker notify list.. but obviously not.. Apologies! I've just updated it and i'm going to add you to the notify list now! I'll update in a few days!
Author
Owner

@advplyr commented on GitHub (Apr 24, 2022):

The newest app releases 0.9.41-beta and server v2 and up handle syncing differently.
Let me know if this still persists.

@advplyr commented on GitHub (Apr 24, 2022): The newest app releases 0.9.41-beta and server v2 and up handle syncing differently. Let me know if this still persists.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf-app#65