Sleep timer counts down relative to playback speed. #63

Closed
opened 2026-04-24 23:05:13 +02:00 by adam · 9 comments
Owner

Originally created by @ChiefMedicalOfficer on GitHub (Jan 16, 2022).

Steps to reproduce

  1. Increase playback speed.
  2. Set sleep timer.

Expected behaviour

  • Tell us what should happen

Sleep timer should countdown in realtime.

Actual behaviour

  • Tell us what happens

Sleep timer counts down relative to playback speed. 1.3x will cause 1 minute of the timer to complete in 40 seconds. 1.5x = 30 seconds.

Environment data

Audiobookshelf Version: 1.6.57

  • [ 0.9.37-beta] Android App?

Android Issue

Android version: 8

Device model: Galaxy S7

Stock or customized system: Stock

iOS Issue

iOS Version:

iPhone model:

Originally created by @ChiefMedicalOfficer on GitHub (Jan 16, 2022). ### Steps to reproduce 1. Increase playback speed. 2. Set sleep timer. 3. ### Expected behaviour - Tell us what should happen Sleep timer should countdown in realtime. ### Actual behaviour - Tell us what happens Sleep timer counts down relative to playback speed. 1.3x will cause 1 minute of the timer to complete in 40 seconds. 1.5x = 30 seconds. ### Environment data Audiobookshelf Version: 1.6.57 - [ 0.9.37-beta] Android App? #### Android Issue Android version: 8 Device model: Galaxy S7 Stock or customized system: Stock #### iOS Issue iOS Version: iPhone model:
adam added the bug label 2026-04-24 23:05:13 +02:00
adam closed this issue 2026-04-24 23:05:14 +02:00
Author
Owner

@jcrmit commented on GitHub (Jan 19, 2022):

Hey @ChiefMedicalOfficer - I cannot reproduce this. I usually listen at 1.3x - but for me the countdown sleep timer counts in real time - whether I set the playback speed first or after the sleep timer.

@jcrmit commented on GitHub (Jan 19, 2022): Hey @ChiefMedicalOfficer - I cannot reproduce this. I usually listen at 1.3x - but for me the countdown sleep timer counts in real time - whether I set the playback speed first or after the sleep timer.
Author
Owner

@ChiefMedicalOfficer commented on GitHub (Jan 19, 2022):

Thanks for trying. I used a stopwatch and it definitely counted down at those speeds.

I'll try again.

@ChiefMedicalOfficer commented on GitHub (Jan 19, 2022): Thanks for trying. I used a stopwatch and it definitely counted down at those speeds. I'll try again.
Author
Owner

@ChiefMedicalOfficer commented on GitHub (Jan 19, 2022):

Tried again.

5 minute timer, 1.5x speed. First minute completes in 30 seconds.

I've just noticed too that when I set the timer to 1 minute it'll jump to a value above 60 seconds.

You know how on an audiobook player the actual book time will count down like -1.20.35 -1.20.33 if the book speed has been increased (not every second is counted) the sleep timer is doing the same thing.

@ChiefMedicalOfficer commented on GitHub (Jan 19, 2022): Tried again. 5 minute timer, 1.5x speed. First minute completes in 30 seconds. I've just noticed too that when I set the timer to 1 minute it'll jump to a value above 60 seconds. You know how on an audiobook player the actual book time will count down like -1.20.35 -1.20.33 if the book speed has been increased (not every second is counted) the sleep timer is doing the same thing.
Author
Owner

@jcrmit commented on GitHub (Jan 19, 2022):

@ChiefMedicalOfficer - I take it back! It was more pronounced when I put it up to 1.5x - but is there at 1.3x. Funny thing is - i don't mind it. That way if I set a sleep timer for 15min and fall asleep - it will stop after 15min of book time, but 22.5mins (@1.5x) 😂 which for me is to long. As long as we know the behaviour, we can adjust.

@jcrmit commented on GitHub (Jan 19, 2022): @ChiefMedicalOfficer - I take it back! It was more pronounced when I put it up to 1.5x - but is there at 1.3x. Funny thing is - i don't mind it. That way if I set a sleep timer for 15min and fall asleep - it will stop after 15min of book time, but 22.5mins (@1.5x) 😂 which for me is to long. As long as we know the behaviour, we can adjust.
Author
Owner

@ChiefMedicalOfficer commented on GitHub (Jan 19, 2022):

It's certainly not an experience ruiner, that's for sure.

@ChiefMedicalOfficer commented on GitHub (Jan 19, 2022): It's certainly not an experience ruiner, that's for sure.
Author
Owner

@advplyr commented on GitHub (Feb 4, 2022):

This is hopefully fixed in v0.9.40-beta

@advplyr commented on GitHub (Feb 4, 2022): This is hopefully fixed in `v0.9.40-beta`
Author
Owner

@ChiefMedicalOfficer commented on GitHub (Feb 4, 2022):

Thanks again mate. Great work.

@ChiefMedicalOfficer commented on GitHub (Feb 4, 2022): Thanks again mate. Great work.
Author
Owner

@ChiefMedicalOfficer commented on GitHub (Feb 8, 2022):

Seems to be working fine.

Thanks again.

@ChiefMedicalOfficer commented on GitHub (Feb 8, 2022): Seems to be working fine. Thanks again.
Author
Owner

@advplyr commented on GitHub (Feb 8, 2022):

Awesome, thanks for confirming.

@advplyr commented on GitHub (Feb 8, 2022): Awesome, thanks for confirming.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf-app#63