[PR #390] [MERGED] fix: iOS seek back time not winding back #1425

Closed
opened 2026-04-24 23:58:22 +02:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/advplyr/audiobookshelf-app/pull/390
Author: @ronaldheft
Created: 9/18/2022
Status: Merged
Merged: 9/18/2022
Merged by: @advplyr

Base: masterHead: fix-ios-seek-back-time


📝 Commits (1)

  • b6b206c fix: Seek back time not winding back

📊 Changes

2 files changed (+3 additions, -2 deletions)

View changed files

📝 ios/App/Shared/player/AudioPlayer.swift (+2 -1)
📝 ios/App/Shared/player/PlayerHandler.swift (+1 -1)

📄 Description

Fixes #368. Seek back time had three different issues:

  1. Player initialization would update the session's updatedAt value, so anytime the player was reinitialized, we were starting fresh
  2. Date math was wrong, leading always to 2 seconds of seek back time
  3. Resuming playback from the UI was not allowing the seek back calculation

All three issues have been addressed in this PR.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/advplyr/audiobookshelf-app/pull/390 **Author:** [@ronaldheft](https://github.com/ronaldheft) **Created:** 9/18/2022 **Status:** ✅ Merged **Merged:** 9/18/2022 **Merged by:** [@advplyr](https://github.com/advplyr) **Base:** `master` ← **Head:** `fix-ios-seek-back-time` --- ### 📝 Commits (1) - [`b6b206c`](https://github.com/advplyr/audiobookshelf-app/commit/b6b206c288c7d662ede9d3dd93d4f174df3e23ca) fix: Seek back time not winding back ### 📊 Changes **2 files changed** (+3 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `ios/App/Shared/player/AudioPlayer.swift` (+2 -1) 📝 `ios/App/Shared/player/PlayerHandler.swift` (+1 -1) </details> ### 📄 Description Fixes #368. Seek back time had three different issues: 1. Player initialization would update the session's `updatedAt` value, so anytime the player was reinitialized, we were starting fresh 2. Date math was wrong, leading always to 2 seconds of seek back time 3. Resuming playback from the UI was not allowing the seek back calculation All three issues have been addressed in this PR. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2026-04-24 23:58:22 +02:00
adam closed this issue 2026-04-24 23:58:22 +02:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf-app#1425