mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-05-30 23:40:40 +02:00
[Bug]: Sleep timer setting used on previous audiobook (that has triggered) is not reset for the next audiobook, and is also not honoured. #2580
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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
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
Additional Notes
No response
@nichwall commented on GitHub (Feb 15, 2025):
Is this a duplicate of https://github.com/advplyr/audiobookshelf/issues/3969?
@DavidPesticcio commented on GitHub (Feb 15, 2025):
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.
@advplyr commented on GitHub (Feb 16, 2025):
The update I made in https://github.com/advplyr/audiobookshelf/pull/3984 will prevent this happening
@github-actions[bot] commented on GitHub (Feb 17, 2025):
Fixed in v2.19.3.