[PR #528] [MERGED] Handle skip track events on iOS #1441

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

📋 Pull Request Information

Original PR: https://github.com/advplyr/audiobookshelf-app/pull/528
Author: @blampe
Created: 1/30/2023
Status: Merged
Merged: 1/30/2023
Merged by: @advplyr

Base: masterHead: seek


📝 Commits (2)

  • ef4bb6c Handle skip track events on iOS
  • 3ef6c34 Fix Realm wrong thread crash by setting values from deviceSettings outside of commandCenter functions

📊 Changes

1 file changed (+21 additions, -2 deletions)

View changed files

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

📄 Description

This adds nextTrack/previousTrack handlers. I've never needed to skip entire chapters from my headphones, so the behavior is similar to skipForward/skipBackward -- only moving 5-30s in either direction.

This resolves an issue I've had where double/triple clicking AirPod Pros wouldn't change playback position.


🔄 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/528 **Author:** [@blampe](https://github.com/blampe) **Created:** 1/30/2023 **Status:** ✅ Merged **Merged:** 1/30/2023 **Merged by:** [@advplyr](https://github.com/advplyr) **Base:** `master` ← **Head:** `seek` --- ### 📝 Commits (2) - [`ef4bb6c`](https://github.com/advplyr/audiobookshelf-app/commit/ef4bb6c7a84e37f204949458807f476e93df75b9) Handle skip track events on iOS - [`3ef6c34`](https://github.com/advplyr/audiobookshelf-app/commit/3ef6c345e43f0a7ee7489687259410da62214d99) Fix Realm wrong thread crash by setting values from deviceSettings outside of commandCenter functions ### 📊 Changes **1 file changed** (+21 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `ios/App/Shared/player/AudioPlayer.swift` (+21 -2) </details> ### 📄 Description This adds nextTrack/previousTrack handlers. I've never needed to skip entire chapters from my headphones, so the behavior is similar to skipForward/skipBackward -- only moving 5-30s in either direction. This resolves an issue I've had where double/triple clicking AirPod Pros wouldn't change playback position. --- <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:28 +02:00
adam closed this issue 2026-04-24 23:58:29 +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#1441