@@ -3,7 +3,6 @@ import { ObjectWithOverrides } from '../settings/objectWithOverrides'
33import { StudioId , OrganizationId , BlueprintId , ShowStyleBaseId , MappingsHash , PeripheralDeviceId } from './Ids'
44import { BlueprintHash , LastBlueprintConfig } from './Blueprint'
55import { MappingsExt , MappingExt } from '@sofie-automation/shared-lib/dist/core/model/Timeline'
6- import { ForceQuickLoopAutoNext } from './RundownPlaylist'
76import {
87 ResultingMappingRoute ,
98 RouteMapping ,
@@ -15,8 +14,9 @@ import {
1514 StudioAbPlayerDisabling ,
1615} from '@sofie-automation/shared-lib/dist/core/model/StudioRouteSet'
1716import { StudioPackageContainer } from '@sofie-automation/shared-lib/dist/core/model/PackageContainer'
17+ import { IStudioSettings } from '@sofie-automation/shared-lib/dist/core/model/StudioSettings'
1818
19- export { MappingsExt , MappingExt , MappingsHash }
19+ export { MappingsExt , MappingExt , MappingsHash , IStudioSettings }
2020
2121// RouteSet functions has been moved to shared-lib:
2222// So we need to re-export them here:
@@ -32,64 +32,6 @@ export {
3232 StudioPackageContainer ,
3333}
3434
35- export interface IStudioSettings {
36- /** The framerate (frames per second) used to convert internal timing information (in milliseconds)
37- * into timecodes and timecode-like strings and interpret timecode user input
38- * Default: 25
39- */
40- frameRate : number
41-
42- /** URL to endpoint where media preview are exposed */
43- mediaPreviewsUrl : string // (former media_previews_url in config)
44- /** URLs for slack webhook to send evaluations */
45- slackEvaluationUrls ?: string // (former slack_evaluation in config)
46-
47- /** Media Resolutions supported by the studio for media playback */
48- supportedMediaFormats ?: string // (former mediaResolutions in config)
49- /** Audio Stream Formats supported by the studio for media playback */
50- supportedAudioStreams ?: string // (former audioStreams in config)
51-
52- /** Should the play from anywhere feature be enabled in this studio */
53- enablePlayFromAnywhere ?: boolean
54-
55- /**
56- * If set, forces the multi-playout-gateway mode (aka set "now"-time right away)
57- * for single playout-gateways setups
58- */
59- forceMultiGatewayMode ?: boolean
60-
61- /** How much extra delay to add to the Now-time (used for the "multi-playout-gateway" feature) .
62- * A higher value adds delays in playout, but reduces the risk of missed frames. */
63- multiGatewayNowSafeLatency ?: number
64-
65- /** Allow resets while a rundown is on-air */
66- allowRundownResetOnAir ?: boolean
67-
68- /** Preserve unsynced segments psoition in the rundown, relative to the other segments */
69- preserveOrphanedSegmentPositionInRundown ?: boolean
70-
71- /**
72- * The minimum amount of time, in milliseconds, that must pass after a take before another take may be performed.
73- * Default: 1000
74- */
75- minimumTakeSpan : number
76-
77- /** Whether to allow adlib testing mode, before a Part is playing in a Playlist */
78- allowAdlibTestingSegment ?: boolean
79-
80- /** Should QuickLoop context menu options be available to the users. It does not affect Playlist loop enabled by the NRCS. */
81- enableQuickLoop ?: boolean
82-
83- /** If and how to force auto-nexting in a looping Playlist */
84- forceQuickLoopAutoNext ?: ForceQuickLoopAutoNext
85-
86- /**
87- * The duration to apply on too short Parts Within QuickLoop when ForceQuickLoopAutoNext.ENABLED_FORCING_MIN_DURATION is selected
88- * Default: 3000
89- */
90- fallbackPartDuration ?: number
91- }
92-
9335export type StudioLight = Omit < DBStudio , 'mappingsWithOverrides' | 'blueprintConfigWithOverrides' >
9436
9537/** A set of available layer groups in a given installation */
@@ -123,7 +65,6 @@ export interface DBStudio {
12365 blueprintConfigWithOverrides : ObjectWithOverrides < IBlueprintConfig >
12466
12567 settingsWithOverrides : ObjectWithOverrides < IStudioSettings >
126- // settings: IStudioSettings
12768
12869 _rundownVersionHash : string
12970
0 commit comments