Add tvOS setting to close video with Menu button

When enabled, the Siri remote Menu button stops playback and clears the
queue instead of only collapsing the player, and the explicit top-bar
close (X) button is hidden.
This commit is contained in:
Arkadiusz Fal
2026-04-18 00:29:59 +02:00
parent 13ade8aad3
commit 8f00fe012f
7 changed files with 68 additions and 9 deletions

View File

@@ -39,6 +39,7 @@ final class SettingsManager {
var _preferredSubtitlesLanguage: String?
var _playerVolume: Float?
var _resumeAction: ResumeAction?
var _tvOSMenuButtonClosesVideo: Bool?
// SponsorBlock
var _sponsorBlockEnabled: Bool?
@@ -410,6 +411,7 @@ final class SettingsManager {
_preferredSubtitlesLanguage = nil
_playerVolume = nil
_resumeAction = nil
_tvOSMenuButtonClosesVideo = nil
_sponsorBlockEnabled = nil
_sponsorBlockCategories = nil
_sponsorBlockAPIURL = nil