audiobookshelf-app
audiobookshelf-app copied to clipboard
After Pausing, Disconnecting a Bluetooth device, and Reconnecting and Listening, the App Plays Two Audio Streams
Steps to reproduce
I like to use my Airpods to listen to books. I was listening with them and I put them away, disconnecting the bluetooth. Then I went back to listen to the audiobook, so I opened my airpods and reconnected to my phone. Once I did, it played two audio streams from two different parts of the book.
Expected behaviour
It should play the audio from the place I last left off
Actual behaviour
It plays two audio streams, it literally sounds like two people are talking at once. One audio stream is from a few hours later in the book, and one is the correct one from when I left off. The bar at the bottom flickers between showing the later stream position and the actual one, but if you pause it, it goes to the later stream position and completely loses your spot in the book. It's very frustrating.
Environment data
Audiobookshelf Version:
- [? ] Android App?
- [ X] iOS App?
iOS Issue
iOS Version: 15
iPhone model: iPhone 13
This is a major issue for me and I'm running into it after one day of use. I'd love to help fix this, but I don't have any Vue or Capacitor experience. I do have React, React Native, and a lot of web experience, so I think I could figure things out with a few pointers. Thanks!
It happens when I pause and resume while connected to a bluetooth device
I have also experienced the same issue as OP, where the same audiobook will playback from two different intervals, but that is harder to reproduce.
I am able to reliably reproduce double playback from two sources though, as follows: Reproduced with Bluetooth headphones connected and disconnected.
Open app, choose an audiobook or podcast and start listening. Pause the playback with the iOS controls (not the pause button in the app) Go to other library and choose to play something else (e.g. if an audiobook was first played, choose a podcast) Pressing play in the app will result in a single stream. Pause playback again from the iOS controls. Then press play from the iOS controls. You’ll hear two audio streams. Going back to the originally opened audiobook leaves the playback in a different place as well.
Completely closing the app (swiping it away in the app switcher) will fix the issue.
iOS 15.5 App version 0.9.55 Server version 2.1.1
I fixed a number of issues in playback on iOS with PR #277. When we get that merged and released, I’d be curious if you can still reproduce.
Please follow up if this issue still persists in the latest version v0.9.57-beta
Confident this issue has been fixed, especially after #386