LeoKlaus / plappa

An Audiobook client for Jellyfin and AudioBookShelf, written in Swift/SwiftUI.
https://plappa.me
160 stars 0 forks source link

[BUG] “end of chapter” sleep timer not in sync when playing at different speed #64

Closed vankempen closed 2 months ago

vankempen commented 2 months ago

Describe the bug When selecting “end of Chapter” as the sleep timer option while playing at a different speed then 1x (eg 1.25x), the playing will not stop at end of chapter.

To Reproduce Steps to reproduce the behavior:

  1. Listen to audiobook
  2. Change playback speed to 1.25
  3. Select sleep timer ‘end of chapter’
  4. Wait till end of chapter, and notice that it will continue, and stop at a later moment.

Expected behavior Stop blayback at end of chapter

Screenshots N/A

Logs N/A Environment(please complete the following information):

Additional context N/A

LeoKlaus commented 2 months ago

Great catch! I'll take care of this.

LeoKlaus commented 2 months ago

I've found a much better way to handle this, will release with the next update!