Skip to content

Commit 9dd0cc0

Browse files
committed
chore: sync wip
1 parent 7707ba5 commit 9dd0cc0

2 files changed

Lines changed: 4 additions & 65 deletions

File tree

packages/openapi/api/definitions/status/playlist/currentPart.yaml

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -24,22 +24,3 @@ components:
2424
required: [startTime, expectedDurationMs, projectedEndTime]
2525
required: [timing]
2626
nullable: true
27-
examples:
28-
- id: 'H5CBGYjThrMSmaYvRaa5FVKJIzk_'
29-
name: 'Intro'
30-
segmentId: 'n1mOVd5_K5tt4sfk6HYfTuwumGQ_'
31-
autoNext: false
32-
timing:
33-
startTime: 1600000060000
34-
expectedDurationMs: 15000
35-
projectedEndTime: 1600000075000
36-
pieces:
37-
- id: 'H5CBGYjThrMSmaYvRaa5FVKJIzk_'
38-
name: 'Camera 1'
39-
sourceLayer: 'Camera'
40-
outputLayer: 'PGM'
41-
tags: ['camera']
42-
publicData:
43-
switcherSource: 1
44-
publicData:
45-
partType: 'intro'

packages/openapi/api/definitions/status/playlist/playlist.yaml

Lines changed: 4 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -42,17 +42,16 @@ components:
4242
type: array
4343
items:
4444
type: string
45-
currentPart:
46-
description: The current Part - if empty, no part in the active playlist is live
47-
# $ref: '#/components/schemas/currentPart' - timing currently not supported
48-
$ref: 'part.yaml#/components/schemas/part'
4945
currentSegment:
5046
description: The Segment of the current Part - if empty, no part in the active playlist is live
5147
$ref: 'currentSegment.yaml#/components/schemas/currentSegment'
5248
nextPart:
5349
description: The next Part - if empty, no part will follow live part
5450
$ref: 'part.yaml#/components/schemas/part'
55-
nullable: true
51+
currentPart:
52+
description: The current Part - if empty, no part in the active playlist is live
53+
# $ref: '#/components/schemas/currentPart' - timing currently not supported
54+
$ref: 'part.yaml#/components/schemas/part'
5655
publicData:
5756
description: Optional arbitrary data
5857
timing:
@@ -106,25 +105,6 @@ components:
106105
- id: 'OKAgZmZ0Buc99lE_2uPPSKVbMrQ_'
107106
name: 'Playlist 0'
108107
rundownIds: ['y9HauyWkcxQS3XaAOsW40BRLLsI_']
109-
currentPart:
110-
id: 'H5CBGYjThrMSmaYvRaa5FVKJIzk_'
111-
name: 'Intro'
112-
segmentId: 'n1mOVd5_K5tt4sfk6HYfTuwumGQ_'
113-
autoNext: false
114-
timing:
115-
startTime: 1600000060000
116-
expectedDurationMs: 15000
117-
projectedEndTime: 1600000075000
118-
pieces:
119-
- id: 'H5CBGYjThrMSmaYvRaa5FVKJIzk_'
120-
name: 'Camera 1'
121-
sourceLayer: 'Camera'
122-
outputLayer: 'PGM'
123-
tags: ['camera']
124-
publicData:
125-
switcherSource: 1
126-
publicData:
127-
partType: 'intro'
128108
currentSegment:
129109
id: 'H5CBGYjThrMSmaYvRaa5FVKJIzk_'
130110
# timing:
@@ -137,28 +117,6 @@ components:
137117
name: 'Intro'
138118
# timing:
139119
# expectedDurationMs: 15000
140-
nextPart:
141-
id: 'H5CBGYjThrMSmaYvRaa5FVKJIzk_'
142-
name: 'Intro'
143-
segmentId: 'n1mOVd5_K5tt4sfk6HYfTuwumGQ_'
144-
pieces:
145-
- id: 'H5CBGYjThrMSmaYvRaa5FVKJIzk_'
146-
name: 'Camera 1'
147-
sourceLayer: 'Camera'
148-
outputLayer: 'PGM'
149-
tags: ['camera']
150-
publicData:
151-
switcherSource: 1
152-
- id: 'SFHZT65645tgfhdtdzhhgsepsps_'
153-
name: 'Camera 2'
154-
sourceLayer: 'Camera'
155-
outputLayer: 'PGM'
156-
tags: ['camera']
157-
publicData:
158-
switcherSource: 2
159-
autoNext: false
160-
publicData:
161-
partType: 'intro'
162120
publicData:
163121
category: 'Evening News'
164122
timing:

0 commit comments

Comments
 (0)