Add MPV cache advanced settings

This commit is contained in:
Arkadiusz Fal
2022-07-02 12:49:57 +02:00
parent 394980fe73
commit 41fb021b64
3 changed files with 44 additions and 11 deletions

View File

@@ -96,6 +96,9 @@ extension Defaults.Keys {
static let showMPVPlaybackStats = Key<Bool>("showMPVPlaybackStats", default: false)
static let playerDetailsPageButtonLabelStyle = Key<PlayerDetailsPageButtonLabelStyle>("playerDetailsPageButtonLabelStyle", default: defaultForPlayerDetailsPageButtonLabelStyle)
static let mpvCacheSecs = Key<String>("mpvCacheSecs", default: "20")
static let mpvCachePauseWait = Key<String>("mpvCachePauseWait", default: "2")
}
enum ResolutionSetting: String, CaseIterable, Defaults.Serializable {