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:
Ensures the UI shows paused and session current time stops incrementing.
Allows a fall back to session time.
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>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 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:
master← Head:ios_seek_issue_452📝 Commits (4)
c72f7cdMark session as inactive if end of queue is reached.78d7ba6Fallback to session details if player has no active track.45d3a15Rebuild track queue while seeking if player does not have a current track.605b52dFix 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
78d7ba6could 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:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.