LeoKlaus / plappa

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

[BUG] Sleep timer - End of NEXT chapter always says next chapter #149

Open migol opened 3 months ago

migol commented 3 months ago

Describe the bug So when I put Plappa into "End of next chapter" sleep time mode (thanks again for adding it!) it will stay saying that even when chapter passes to next

To Reproduce Steps to reproduce the behavior:

  1. Start playback of audiobook with at least 3 chapters
  2. Set sleep timer to "End of next chapter"
  3. Jump out of the app (at least I observed it then) and wait for the chapter to change over to next one
  4. Go back to Plappa - it will still say "End of next chapter" in sleep timer thingie on playback page even tho it should be "End of chapter"

Expected behavior I would expect "End of next chapter" to become "End of chapter" when looking at the playback

Screenshots

20240712_184725483_iOS

Logs N/A

Environment(please complete the following information):

Additional context N/A

LeoKlaus commented 3 months ago

Hey Migol, thank you for reporting this!

Just to clarify: It's only the text that's wrong, playback still stops after the next chapter as intended?

migol commented 3 months ago

I believe so, I don't think I seen it revert to 2 more if I see the text.