AudioAnchor
AudioAnchor copied to clipboard
Play position reverted on bluetooth disconnect
Problem
I notice AudioAnchor forgetting the most recent play position intermittently. I think there are multiple ways to trigger this, but the one reproducible way I found was to stop playback by turning off a Bluetooth headset, and at a later time, reconnect and press play. It will play from the position it was prior to listening.
When listening to a really good book, I have to manually seek to the point I was last listening daily.
It also seems to happen (intermittently?) when pressing pause on the Bluetooth headset prior to turning it off.
Hypothesis
AudioAnchor does not store the latest playback position when the playback is stopped by powering off a Bluetooth headset/speaker.
Workaround
The workaround is to manually grab the phone out of your luggage, unlock, open AudioAnchor, and pause from there. It defeats the purpose of Bluetooth, so I prefer triggering the issue and manually seeking later, but it becomes tedious if the book has one big file in stead of individual chapter files. :sweat_smile:
Other considerations
In order to prevent any similar unforeseen variant of this issue (e.g. phone powering off due to battery), it would be helpful if AudioAnchor would store the latest playback position every 10 seconds or every minute, or whatever is a sane interval.
If someone with the same use case (Bluetooth, pause by power off) does not recognize this issue, then it may be some interaction between the way AudioAnchor works and the phone's power management, e.g. killing the app before the state is saved. :thinking: Although I'm using AntennaPod for podcasts, and it works without these issues.
Similar issues found through search
- #34
- #159 (new)
TL;DR:
- [ ] Save playback position upon Bluetooth device disconnected.
- [ ] Save playback position intermittently.
- [ ] Save playback position on ACTION_SHUTDOWN (added from #159)
- [ ] Save playback position onPause() (added from #159)
I can reproduce this. Interestingly, progress seems to be lost only if the playback is started again from the Bluetooth headset/speaker. When pressing play in the app, it works fine.
Thanks for reporting it, I'll have a look.
After some time using the default media player, I came back to see if there's a new version of AudioAnchor. I gave AudioAnchor 2.3.2 a try and get into similar trouble. Perhaps the mechanics are the same, but this is consistently resetting the playback progress.
- Play book over Bluetooth
- Set sleep timer
- Wait until sleep active and Bluetooth auto-disconnects (most headsets do this when idle)
- Turn on Bluetooth playback device
- Default Bluetooth app launches on Bluetooth connection
- Switch back to AudioAnchor
- Play book and notice how progress is reset as if this is point 1.
The one main reason to prefer AudioAnchor over any media player is its ability to remember the playback position in long single-file audiobooks, and it's perfect when using a jack wired headset. AudioAnchor is just not really ready to be used with Bluetooth.