(android) Playback closes when connecting to car bluetooth #158

Open
opened 2026-04-24 23:10:08 +02:00 by adam · 16 comments
Owner

Originally created by @pooreboy on GitHub (May 24, 2022).

Steps to reproduce

1.Listening to book on bluetooth headphones (jabra elite 85t Samsung Note 20 ultra)
2.start car (bluetooth to car connects automatically)
3.the bar showing what I am listening to in the app disappears and when I click on the book it doesnt show any progress at all

Expected behaviour

  • The progress should not be lost when connecting to a second bluetooth device

Actual behaviour

  • the book stops playing (which is expected) then the player seems to close and all progress on that book is lost

Environment data

Audiobookshelf Version:

  • [X ] Android 0.9.46-beta
  • iOS App

Android Issue

Android version: 12

Device model: Samsung Note 20 Ultra

Stock or customized system: Stock

Originally created by @pooreboy on GitHub (May 24, 2022). ### Steps to reproduce 1.Listening to book on bluetooth headphones (jabra elite 85t Samsung Note 20 ultra) 2.start car (bluetooth to car connects automatically) 3.the bar showing what I am listening to in the app disappears and when I click on the book it doesnt show any progress at all ### Expected behaviour - The progress should not be lost when connecting to a second bluetooth device ### Actual behaviour - the book stops playing (which is expected) then the player seems to close and all progress on that book is lost ### Environment data Audiobookshelf Version: - [X ] Android 0.9.46-beta - [ ] iOS App #### Android Issue Android version: 12 Device model: Samsung Note 20 Ultra Stock or customized system: Stock
adam added the bugunable to reproduce labels 2026-04-24 23:10:08 +02:00
Author
Owner

@jberlyn commented on GitHub (May 26, 2022):

I also experienced this problem this morning on my drive, although the app did not switch between multiple Bluetooth devices. I pressed play on the app it showed progress happening, but no sound was playing. I force closed the app and when I reopened it, all of my progress was gone.

@jberlyn commented on GitHub (May 26, 2022): I also experienced this problem this morning on my drive, although the app did not switch between multiple Bluetooth devices. I pressed play on the app it showed progress happening, but no sound was playing. I force closed the app and when I reopened it, all of my progress was gone.
Author
Owner

@andonevris commented on GitHub (May 26, 2022):

I've also lost progress when the app hung and had to restart.

There should be a robust method to log progress as its happening, progress should never be lost.

@andonevris commented on GitHub (May 26, 2022): I've also lost progress when the app hung and had to restart. There should be a robust method to log progress as its happening, progress should never be lost.
Author
Owner

@binaryn3xus commented on GitHub (May 28, 2022):

I too had this problem the other day. I connected to my cars Bluetooth and it reset unexpectedly to the beginning of the book.

@binaryn3xus commented on GitHub (May 28, 2022): I too had this problem the other day. I connected to my cars Bluetooth and it reset unexpectedly to the beginning of the book.
Author
Owner

@jcrmit commented on GitHub (May 29, 2022):

I can confirm this is routinely occuring to me too:-

From Sony WF-1000MX4 to Subaru Forrester

Audiobookshelf Version: Android 0.9.46-beta; AB 2.0.17
Android version: 12
Device model: Pixel 4A
Stock or customized system: Stock

@jcrmit commented on GitHub (May 29, 2022): I can confirm this is routinely occuring to me too:- From Sony WF-1000MX4 to Subaru Forrester Audiobookshelf Version: Android 0.9.46-beta; AB 2.0.17 Android version: 12 Device model: Pixel 4A Stock or customized system: Stock
Author
Owner

@freitagdavid commented on GitHub (Jun 1, 2022):

I lose progress probably a good 2 to 3 times a day. Definitely need a really robust rolling progress save.

@freitagdavid commented on GitHub (Jun 1, 2022): I lose progress probably a good 2 to 3 times a day. Definitely need a really robust rolling progress save.
Author
Owner

@jberlyn commented on GitHub (Jun 5, 2022):

The most recent release seems to have added some session tracking stuff to the web UI, as well as end points for an upcoming mobile release. Fingers cross this issue gets fixed.

https://github.com/advplyr/audiobookshelf/releases/tag/v2.0.19

@jberlyn commented on GitHub (Jun 5, 2022): The most recent release seems to have added some session tracking stuff to the web UI, as well as end points for an upcoming mobile release. Fingers cross this issue gets fixed. https://github.com/advplyr/audiobookshelf/releases/tag/v2.0.19
Author
Owner

@rboylesDev commented on GitHub (Jun 25, 2022):

I'm on version 0.9.49 beta. Ran into the progress resetting issue. Connected to Bluetooth, played fine. Stopped at a gas station and turned car off. Playback stopped, when I got back in my car, connected to Bluetooth, and went to play all progress was gone. It didn't even remember the previous progress before I got in my car for the day. I do run the app basically in "local" mode when out and about. My server is on my Lan but not shared online in any way.

@rboylesDev commented on GitHub (Jun 25, 2022): I'm on version 0.9.49 beta. Ran into the progress resetting issue. Connected to Bluetooth, played fine. Stopped at a gas station and turned car off. Playback stopped, when I got back in my car, connected to Bluetooth, and went to play all progress was gone. It didn't even remember the previous progress before I got in my car for the day. I do run the app basically in "local" mode when out and about. My server is on my Lan but not shared online in any way.
Author
Owner

@advplyr commented on GitHub (Jul 17, 2022):

Does this issue persist on the latest mobile release 0.9.52-beta and the latest server 2.0.24?

@advplyr commented on GitHub (Jul 17, 2022): Does this issue persist on the latest mobile release 0.9.52-beta and the latest server 2.0.24?
Author
Owner

@jberlyn commented on GitHub (Jul 18, 2022):

I'm having sync problems still, but not total loss. Today I hopped in the car and drove for about 20 minutes, listening to an audiobook. I stopped, hopped out of the car for 10 minutes then hopped back in. When I resumed the book, the progress synced back to where it was when I first got in the car this morning. Then I drove to the shop, listening for 15 minutes. Got out, got back in a few minutes later and same problem, bounced back to the initial position from first thing this morning.

Server version is v2.0.24 and app version is 0.9.52-beta.

@jberlyn commented on GitHub (Jul 18, 2022): I'm having sync problems still, but not total loss. Today I hopped in the car and drove for about 20 minutes, listening to an audiobook. I stopped, hopped out of the car for 10 minutes then hopped back in. When I resumed the book, the progress synced back to where it was when I first got in the car this morning. Then I drove to the shop, listening for 15 minutes. Got out, got back in a few minutes later and same problem, bounced back to the initial position from first thing this morning. Server version is `v2.0.24` and app version is `0.9.52-beta`.
Author
Owner

@pooreboy commented on GitHub (Jul 18, 2022):

same for me the progress seems to save but not where I was expecting it to I also had one other issue I had audiobookshelf open when I hopped back in my car and I noticed the little bar with the play pause rewind button etc. when my car connected the player disappeared completely. so when I hit the play pause button on my headphones nothing happens I had to go into the app and select the book I was listening to again for it to start. This seems to happen if the UI is open or not

@pooreboy commented on GitHub (Jul 18, 2022): same for me the progress seems to save but not where I was expecting it to I also had one other issue I had audiobookshelf open when I hopped back in my car and I noticed the little bar with the play pause rewind button etc. when my car connected the player disappeared completely. so when I hit the play pause button on my headphones nothing happens I had to go into the app and select the book I was listening to again for it to start. This seems to happen if the UI is open or not
Author
Owner

@advplyr commented on GitHub (Jul 22, 2022):

This issue may be fixed in 0.9.54-beta

Please give it another test

@advplyr commented on GitHub (Jul 22, 2022): This issue may be fixed in [0.9.54-beta](https://github.com/advplyr/audiobookshelf-app/releases/tag/v0.9.54-beta) Please give it another test
Author
Owner

@pooreboy commented on GitHub (Jul 31, 2022):

just tried (sorry was out of town) same issue as soon as the cars BT connects the player just disappears from the UI. using the play pause button on my headphones does nothing I have to open the app select my book and hit play. the progress stuff seems to be good now though

@pooreboy commented on GitHub (Jul 31, 2022): just tried (sorry was out of town) same issue as soon as the cars BT connects the player just disappears from the UI. using the play pause button on my headphones does nothing I have to open the app select my book and hit play. the progress stuff seems to be good now though
Author
Owner

@jberlyn commented on GitHub (Aug 8, 2022):

Sorry for the delay in getting back to you on this. My specific issue is no longer occurring. I haven't been getting any sync issues at all on my devices.

Server version is v2.1.2 and app version is 0.9.55-beta.

@jberlyn commented on GitHub (Aug 8, 2022): Sorry for the delay in getting back to you on this. My specific issue is no longer occurring. I haven't been getting any sync issues at all on my devices. Server version is `v2.1.2` and app version is `0.9.55-beta`.
Author
Owner

@rboylesDev commented on GitHub (Aug 13, 2022):

again, sorry for the delay as well. My recent experience has been similar to others. It seems to always remember the last time it actually synced with the server. That said, I have had better luck when I explicitly open the application and tell it to pause playback rather than relying on the bluetooth disconnect event to cause playback to pause.

@rboylesDev commented on GitHub (Aug 13, 2022): again, sorry for the delay as well. My recent experience has been similar to others. It seems to always remember the last time it actually synced with the server. That said, I have had better luck when I explicitly open the application and tell it to pause playback rather than relying on the bluetooth disconnect event to cause playback to pause.
Author
Owner

@Speewack commented on GitHub (Mar 14, 2023):

I also have the problem of Playback closing when I get into my car. The problem is intermittent for me, though it occurs about 90% of the time.
When it happens, I am usually listening on a Bluetooth headset (Shokz OpenRun Pro) when I get into the car (2021 Equinox). Playback stops as others have described when my phone connects to the car's bluetooth.
I don't normally lose progress when this happens.
On the head unit, I'll just see my device name and play/pause does nothing.
I have to open my phone, navigate to the app, find my book, then play.

I'm on app version 0.9.63-beta at the moment and still see the issue.

If there is a way to gather logs or other data to help diagnose, I'm happy to do so as I can reproduce this very regularly.

@Speewack commented on GitHub (Mar 14, 2023): I also have the problem of Playback closing when I get into my car. The problem is intermittent for me, though it occurs about 90% of the time. When it happens, I am usually listening on a Bluetooth headset (Shokz OpenRun Pro) when I get into the car (2021 Equinox). Playback stops as others have described when my phone connects to the car's bluetooth. I don't normally lose progress when this happens. On the head unit, I'll just see my device name and play/pause does nothing. I have to open my phone, navigate to the app, find my book, then play. I'm on app version 0.9.63-beta at the moment and still see the issue. If there is a way to gather logs or other data to help diagnose, I'm happy to do so as I can reproduce this very regularly.
Author
Owner

@politas commented on GitHub (Mar 14, 2024):

I had the same issue happen when my phone disconnected from my car's Bluetooth. Every time I start the car, it connects to the car and continues playing as expected, but when I turned off the car, it stopped playing, and when I tried to restart with my headset, it restarted at the start of the podcast. If I force the switch to my headset before turning off the car, it continues from where I am. I've just enabled MP3 seeking, so I'll see if that makes a difference.

@politas commented on GitHub (Mar 14, 2024): I had the same issue happen when my phone disconnected from my car's Bluetooth. Every time I start the car, it connects to the car and continues playing as expected, but when I turned off the car, it stopped playing, and when I tried to restart with my headset, it restarted at the start of the podcast. If I force the switch to my headset before turning off the car, it continues from where I am. I've just enabled MP3 seeking, so I'll see if that makes a difference.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf-app#158