Auto Sleep Timer Goes Negative When Adjusted Manually and Then Refuses to Play #841

Closed
opened 2026-04-24 23:40:17 +02:00 by adam · 1 comment
Owner

Originally created by @doctordarko on GitHub (Jan 17, 2024).

Steps to reproduce

I was looking for a way to cancel the auto sleep timer without disabling it.

  1. When timer is at less than 5 minutes, decreasing the timer manually results in a negative number (see attached), which then stops the playback.
  2. Pressing play again appear to set the timer for 1 second and then stops again.
  3. Setting a custom time or a large time delay is the only way to restart the playback.
    image

Expected behaviour

  • When timer is decreased manually, it should not go negative but zero and stop the playback as expected.
  • Pressing play again should either (a) restart the auto sleep timer as per the settings or (b) the consecutive sleep timer trigger could bypass the auto sleep settings and restart without setting the timer.
  • Regardless of which option restarts the play, there is a bug with the timer currently.

Audiobookshelf Version:

Android App 0.9.71-beta
Pixel 7 Pro Android 14

Originally created by @doctordarko on GitHub (Jan 17, 2024). ### Steps to reproduce I was looking for a way to cancel the auto sleep timer without disabling it. 1. When timer is at less than 5 minutes, decreasing the timer manually results in a negative number (see attached), which then stops the playback. 2. Pressing play again appear to set the timer for 1 second and then stops again. 3. Setting a custom time or a large time delay is the only way to restart the playback. <img width="115" alt="image" src="https://github.com/advplyr/audiobookshelf-app/assets/57649463/033b75b0-6d60-4baa-ac4c-70f38063e147"> ### Expected behaviour - When timer is decreased manually, it should not go negative but zero and stop the playback as expected. - Pressing play again should either (a) restart the auto sleep timer as per the settings or (b) the consecutive sleep timer trigger could bypass the auto sleep settings and restart without setting the timer. - Regardless of which option restarts the play, there is a bug with the timer currently. Audiobookshelf Version: Android App 0.9.71-beta Pixel 7 Pro Android 14
adam added the bug label 2026-04-24 23:40:17 +02:00
adam closed this issue 2026-04-24 23:40:17 +02:00
Author
Owner

@github-actions[bot] commented on GitHub (Apr 21, 2025):

Fixed in v0.9.80-beta.

@github-actions[bot] commented on GitHub (Apr 21, 2025): Fixed in [v0.9.80-beta](https://github.com/advplyr/audiobookshelf-app/releases/tag/v0.9.80-beta).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf-app#841