advplyr / audiobookshelf-app

Mobile application for Audiobookshelf
https://audiobookshelf.org
GNU General Public License v3.0
1.33k stars 174 forks source link

[Bug]: Android Sleep Timer resets after pause/play #1317

Open PorreKaj opened 2 months ago

PorreKaj commented 2 months ago

What was the Problem?

The sleep timer resets when resuming playback after pausing.

Steps to Reproduce the Issue

Play something, set timer, wait for timer to reduce, pause, play. Timer is back to its initial value.

What was Expected?

In other audiobook apps, as well as the web-version of audiobookshelf, the sleep timer persists. I expected the android app to work like that - could be an optional setting for those that wish to keep that behaviour.

Phone Model

Galaxy S6 Lite, Galaxy S24+

Phone OS

Android 13,14

Audiobookshelf App Version

Android App - 0.9.76

Installation Source

Google Play Store

Additional Notes

No response

Dr-Blank commented 1 month ago

an option would be okay since if you paused you are awake and then sleep timer continuing does not make sense

PorreKaj commented 3 weeks ago

Indeed that would be great. Having the timer reset though, is different behaviour from how the web-client work, whatever solution you end up doing, it might be prudent to the app and web versions behave alike as default :-)