diff --git a/src/common/interfaces/SettingsInterface.ts b/src/common/interfaces/SettingsInterface.ts index 5464b51..f70fab4 100644 --- a/src/common/interfaces/SettingsInterface.ts +++ b/src/common/interfaces/SettingsInterface.ts @@ -172,6 +172,10 @@ interface SettingsInterface { restrictions?: RestrictionsSettings; + crop: { + default: any; + }, + zoom: { minLogZoom: number, maxLogZoom: number, @@ -186,6 +190,7 @@ interface SettingsInterface { defaultAr?: any }, stretch: { + default: any; conditionalDifferencePercent: number // black bars less than this wide will trigger stretch // if mode is set to '1'. 1.0=100% }, @@ -283,10 +288,15 @@ interface SettingsInterface { // sites: { [x: string]: { - mode?: ExtensionMode, - autoar?: ExtensionMode, - autoarFallback?: ExtensionMode, - stretch?: StretchType, + defaultCrop?: any, // v6 new + defaultStretch?: any, // v6 new + + // everything 'superseded by' needs to be implemented + // as well as ported from the old settings + mode?: ExtensionMode, // v6 — superseded by defaultCrop + autoar?: ExtensionMode, // v6 — superseded by defaultCrop + autoarFallback?: ExtensionMode, // v6 — deprecated, no replacement + stretch?: StretchType, // v6 — superseded by defaultStretch videoAlignment?: VideoAlignmentType, keyboardShortcutsEnabled?: ExtensionMode, type?: string, diff --git a/src/csui/PlayerUiPanels/VideoSettings.vue b/src/csui/PlayerUiPanels/VideoSettings.vue index 46c1ef6..73b253e 100644 --- a/src/csui/PlayerUiPanels/VideoSettings.vue +++ b/src/csui/PlayerUiPanels/VideoSettings.vue @@ -1,5 +1,8 @@