[Bug]: Sleep timer setting used on previous audiobook (that has triggered) is not reset for the next audiobook, and is also not honoured. #2580

Closed
opened 2026-04-25 00:08:35 +02:00 by adam · 4 comments
Owner

Originally created by @DavidPesticcio on GitHub (Feb 15, 2025).

What happened?

While using the sleep timer setting "EoC" for the last chapter of a book, it does not get reset when it elapses. When you listen to another book the same sleep timer setting is selected - but it fails to be honoured. Could the server and UI be out of sync?

What did you expect to happen?

Either reset the sleep timer setting when it has elapsed, or honour the sleep timer setting when listening to another book.

Steps to reproduce the issue

  1. Start listening to an audiobook
  2. Select "EoC" for sleep timer
  3. When sleep timer selected has elapsed
  4. Start listening to another book
  5. Previous sleep timer setting remains, but is not honoured.

Audiobookshelf version

v2.18.0

How are you running audiobookshelf?

Docker

What OS is your Audiobookshelf server hosted from?

Linux

If the issue is being seen in the UI, what browsers are you seeing the problem on?

Chrome

Logs

n/a

Additional Notes

No response

Originally created by @DavidPesticcio on GitHub (Feb 15, 2025). ### What happened? While using the sleep timer setting "EoC" for the last chapter of a book, it does not get reset when it elapses. When you listen to another book the same sleep timer setting is selected - but it fails to be honoured. Could the server and UI be out of sync? ### What did you expect to happen? Either reset the sleep timer setting when it has elapsed, or honour the sleep timer setting when listening to another book. ### Steps to reproduce the issue 1. Start listening to an audiobook 2. Select "EoC" for sleep timer 3. When sleep timer selected has elapsed 4. Start listening to another book 5. Previous sleep timer setting remains, but is not honoured. ### Audiobookshelf version v2.18.0 ### How are you running audiobookshelf? Docker ### What OS is your Audiobookshelf server hosted from? Linux ### If the issue is being seen in the UI, what browsers are you seeing the problem on? Chrome ### Logs ```shell n/a ``` ### Additional Notes _No response_
adam added the bug label 2026-04-25 00:08:35 +02:00
adam closed this issue 2026-04-25 00:08:35 +02:00
Author
Owner

@nichwall commented on GitHub (Feb 15, 2025):

Is this a duplicate of https://github.com/advplyr/audiobookshelf/issues/3969?

@nichwall commented on GitHub (Feb 15, 2025): Is this a duplicate of https://github.com/advplyr/audiobookshelf/issues/3969?
Author
Owner

@DavidPesticcio commented on GitHub (Feb 15, 2025):

Is this a duplicate of #3969?

Thanks for the reference. I haven't noticed that behaviour in v2.19.2 - perhaps I should mention that this happened to me on the last chapter of an audiobook. The sleep timer didn't reset at the end of the audiobook. When selecting another audiobook to listen to, the sleep timer of "EoC" was still active/selected, the sleep setting was not honoured at the end of the chapter of the subsequent audiobook.

@DavidPesticcio commented on GitHub (Feb 15, 2025): > Is this a duplicate of [#3969](https://github.com/advplyr/audiobookshelf/issues/3969)? Thanks for the reference. I haven't noticed that behaviour in v2.19.2 - perhaps I should mention that this happened to me on the last chapter of an audiobook. The sleep timer didn't reset at the end of the audiobook. When selecting another audiobook to listen to, the sleep timer of "EoC" was still active/selected, the sleep setting was not honoured at the end of the chapter of the subsequent audiobook.
Author
Owner

@advplyr commented on GitHub (Feb 16, 2025):

The update I made in https://github.com/advplyr/audiobookshelf/pull/3984 will prevent this happening

@advplyr commented on GitHub (Feb 16, 2025): The update I made in https://github.com/advplyr/audiobookshelf/pull/3984 will prevent this happening
Author
Owner

@github-actions[bot] commented on GitHub (Feb 17, 2025):

Fixed in v2.19.3.

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

No dependencies set.

Reference: starred/audiobookshelf#2580