[PR #1535] Modification of sleep timer functioning #1611

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

📋 Pull Request Information

Original PR: https://github.com/advplyr/audiobookshelf-app/pull/1535
Author: @ooii
Created: 4/7/2025
Status: 🔄 Open

Base: masterHead: master


📝 Commits (1)

  • 08f5572 changed the behavior of sleep timer. The timer is reinitialized when after resume and so does the volume. For this, we have created a variable to store the initial volume value

📊 Changes

2 files changed (+209 additions, -139 deletions)

View changed files

📝 ios/App/Shared/player/AudioPlayer.swift (+175 -107)
📝 ios/App/Shared/player/AudioPlayerSleepTimer.swift (+34 -32)

📄 Description

The sleep timer isn’t paused when the user pauses, and the volume keeps decreasing during pause. These changes restore both volume and sleep timer to their initial values when play resumes.


🔄 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/1535 **Author:** [@ooii](https://github.com/ooii) **Created:** 4/7/2025 **Status:** 🔄 Open **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (1) - [`08f5572`](https://github.com/advplyr/audiobookshelf-app/commit/08f5572c298f3955773281a41df5077b11fe7996) changed the behavior of sleep timer. The timer is reinitialized when after resume and so does the volume. For this, we have created a variable to store the initial volume value ### 📊 Changes **2 files changed** (+209 additions, -139 deletions) <details> <summary>View changed files</summary> 📝 `ios/App/Shared/player/AudioPlayer.swift` (+175 -107) 📝 `ios/App/Shared/player/AudioPlayerSleepTimer.swift` (+34 -32) </details> ### 📄 Description The sleep timer isn’t paused when the user pauses, and the volume keeps decreasing during pause. These changes restore both volume and sleep timer to their initial values when play resumes. --- <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:41 +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#1611