Skip to content

Commit

Permalink
feat: Part metaData in the live status gateway
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterC89 committed Oct 27, 2023
1 parent b456680 commit cc70da5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/live-status-gateway/src/topics/activePlaylist.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ interface PartStatus {
expectedDuration?: number
expectedDurationWithPreroll?: number
}
metaData?: unknown
}

interface AdLibActionType {
Expand Down Expand Up @@ -216,6 +217,7 @@ export class ActivePlaylistTopic
expectedDuration: currentPartInstance.part.expectedDuration,
expectedDurationWithPreroll: currentPartInstance.part.expectedDurationWithPreroll,
},
metaData: currentPartInstance.part.metaData,
})
: null,
nextPart: nextPartInstance
Expand All @@ -228,6 +230,7 @@ export class ActivePlaylistTopic
expectedDuration: nextPartInstance.expectedDuration,
expectedDurationWithPreroll: nextPartInstance.expectedDurationWithPreroll,
},
metaData: nextPartInstance.metaData,
})
: null,
adLibs,
Expand Down

0 comments on commit cc70da5

Please sign in to comment.