Skip to content

Commit

Permalink
fix: Server only persist sisyfos levels on adlibs
Browse files Browse the repository at this point in the history
  • Loading branch information
eol-account committed Mar 16, 2021
1 parent e7dfc93 commit 67ddae2
Showing 1 changed file with 20 additions and 18 deletions.
38 changes: 20 additions & 18 deletions src/tv2-common/content/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,24 +145,26 @@ function GetServerTimeline(
classes: []
}),

...config.stickyLayers.map<TSR.TimelineObjSisyfosChannel & TimelineBlueprintExt>(layer => {
return literal<TSR.TimelineObjSisyfosChannel & TimelineBlueprintExt>({
id: '',
enable: {
while: serverEnableClass
},
priority: 1,
layer,
content: {
deviceType: TSR.DeviceType.SISYFOS,
type: TSR.TimelineContentTypeSisyfos.CHANNEL,
isPgm: 0
},
metaData: {
sisyfosPersistLevel: true
}
})
}),
...(adLibPix
? config.stickyLayers.map<TSR.TimelineObjSisyfosChannel & TimelineBlueprintExt>(layer => {
return literal<TSR.TimelineObjSisyfosChannel & TimelineBlueprintExt>({
id: '',
enable: {
while: serverEnableClass
},
priority: 1,
layer,
content: {
deviceType: TSR.DeviceType.SISYFOS,
type: TSR.TimelineContentTypeSisyfos.CHANNEL,
isPgm: 0
},
metaData: {
sisyfosPersistLevel: true
}
})
})
: []),
...(voLevels
? [GetSisyfosTimelineObjForCamera(context, config, 'server', sourceLayers.Sisyfos.StudioMicsGroup)]
: []),
Expand Down

0 comments on commit 67ddae2

Please sign in to comment.