-
Notifications
You must be signed in to change notification settings - Fork 163
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] (Android) Volume doesn't reset when shake to reset sleep timer #626
Comments
I have noticed that if I manually increase the volume using my phone's volume slider to compensate for the partially faded volume, the next time the sleep timer starts to fade, it first goes back to full volume and then fades from there. |
I'm not able to reproduce this. I set the sleep timer to 1 minute then with around 10 seconds remaining I shake the phone. The volume resets properly. Can you reproduce this every time? Are you using chromecast? |
Interesting... Test 1: Test 2: Test 3: Seems like the sleep duration somehow impacts whether the volume is restored. |
Further to my last: turned off restricting battery usage for the app & it restores volume when shaken. |
Thanks for testing. The battery optimization on some devices is closing background processes and causing some strange results. I think we'll have to put an alert in the app about this. There is a feature request for that already. |
I still have battery optimisation turned off for abs but last night experienced the same thing with the volume not restoring. Even if it is a battery optimisation thing, can't that be worked around? I have used Smart Audiobook Player for many years & it rests the volume without having to disable battery optimisation. |
If it happened with battery optimization turned off then it is not battery optimization. I haven't reproduced this and can't think of how this would be possible |
Yeah I thought it was odd. Is there any additional testing I can do? |
I'm on android 12 Samsung S10e OneUI 4.1 Same symptoms as YodaDaCoda, 100% reproduceable. I use a 15 min sleep timer. Hitting pause and then play will restore the volume. If instead of pause/play, I increase volume to compensate, then next time the timer starts to expire, the volume suddenly gets very loud, then starts to fade. Turning off battery optimization did not help. (I set battery to "Unrestricted" for this app) |
Thanks all for the testing. I did end up reproducing this and it will be fixed in the next release |
Fixed in v0.9.64-beta |
Steps to reproduce
Expected behaviour
Actual behaviour
Environment data
Audiobookshelf Version: 0.9.63-beta
Android Issue
Android version: 13
Device model: OnePlus 9 (LE2115)
Stock or customized system: Stock
iOS Issue
iOS Version:
iPhone model:
The text was updated successfully, but these errors were encountered: