Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Last played postition being reset on bluetooth connections with autoplay #398
Report a bug
When I connect to my phone using bluetooth headphones (in this case, it is a pair of the Amazon Echo Buds) the app will start to auto-play the last book I was reading but go back to the beginning of the file instead of starting from where I had last stopped.
Stop listening to the book, close the app and disconnect the ear buds. Reconnect the ear buds and the auto-play will kick in and reset the play position.
I would expect that the file would start playing from where I last left off.
It's very frustrating to have to find my place again after the reset.
This does not happen with bluetooth devices that do not invoke "autoplay" when they connect.
I've been trying to reproduce this, but to no avail.
I've put the book at around 93% completion for the tests, I'm using airpods, which have a similar autoplay feature but it only kicks in if the audio was interrupted when one is taken off and put back in. The book when downloaded with safari it came with a .m4b.mp4 extension, but if downloaded with chrome, it does come only with the .m4b extension. On the latter file I didn't find any problems with the metadata.
When you say
Do you mean to just go to the home screen? or to force quit it from the app switcher?
I do remember we had a similar problem when executing the siri shortcut, that it sometimes didn't have the book ready and would start at the beginning, and this was the fix #365 . Maybe it's related
@Guy27 also experienced this (steps described in #402), but without the need of bluetooth earphones. So I think the problem lies in closing/force-quitting the app and generating the play event to continue playing the book
I was seeing the same behaviour in my car, but the BT connection is not needed to trigger the bug for me.
Note: Progress will resume correctly when instead opening Bookplayer via app icon.