[PR #1514] [MERGED] Bugfix issue 452: iOS seek issue at end of book #1604

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

📋 Pull Request Information

Original PR: https://github.com/advplyr/audiobookshelf-app/pull/1514
Author: @complacentsee
Created: 3/14/2025
Status: Merged
Merged: 3/15/2025
Merged by: @advplyr

Base: masterHead: ios_seek_issue_452


📝 Commits (4)

  • c72f7cd Mark session as inactive if end of queue is reached.
  • 78d7ba6 Fallback to session details if player has no active track.
  • 45d3a15 Rebuild track queue while seeking if player does not have a current track.
  • 605b52d Fix getCurrentTime for streaming session.

📊 Changes

1 file changed (+32 additions, -1 deletions)

View changed files

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

📄 Description

This resolves issue #452 failure to seek back at the end of a book.
I'm less familiar with the podcast side and honestly haven't tested that. I don't think this would cause any issues, but 78d7ba6 could cause issues as it falls back on session details in the event the player doesn't have a track loaded, which is the case after a book ends.

This does the following:

  1. Ensures the UI shows paused and session current time stops incrementing.
  2. Allows a fall back to session time.
  3. Reloads the track queue if it isn't loaded.

🔄 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/1514 **Author:** [@complacentsee](https://github.com/complacentsee) **Created:** 3/14/2025 **Status:** ✅ Merged **Merged:** 3/15/2025 **Merged by:** [@advplyr](https://github.com/advplyr) **Base:** `master` ← **Head:** `ios_seek_issue_452` --- ### 📝 Commits (4) - [`c72f7cd`](https://github.com/advplyr/audiobookshelf-app/commit/c72f7cddc8916f53b03de86ad4130e669fc15ebe) Mark session as inactive if end of queue is reached. - [`78d7ba6`](https://github.com/advplyr/audiobookshelf-app/commit/78d7ba69dfb008715bf0e468a80c376675c7ce98) Fallback to session details if player has no active track. - [`45d3a15`](https://github.com/advplyr/audiobookshelf-app/commit/45d3a15c68026cb769039150ac642e7a6bc5ff5b) Rebuild track queue while seeking if player does not have a current track. - [`605b52d`](https://github.com/advplyr/audiobookshelf-app/commit/605b52df0ea537903ee362dc4201c29ebce664fa) Fix getCurrentTime for streaming session. ### 📊 Changes **1 file changed** (+32 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `ios/App/Shared/player/AudioPlayer.swift` (+32 -1) </details> ### 📄 Description This resolves issue #452 failure to seek back at the end of a book. I'm less familiar with the podcast side and honestly haven't tested that. I don't think this would cause any issues, but 78d7ba6 could cause issues as it falls back on session details in the event the player doesn't have a track loaded, which is the case after a book ends. This does the following: 1. Ensures the UI shows paused and session current time stops incrementing. 2. Allows a fall back to session time. 3. Reloads the track queue if it isn't loaded. --- <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:59:39 +02:00
adam closed this issue 2026-04-24 23:59:39 +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#1604