add yaml mid roll instruction (#2232)

* refactor filler expression

* add yaml mid roll instruction

* schedule midroll for yaml count and all instructions

* update changelog
This commit is contained in:
Jason Dove
2025-08-02 00:16:50 +00:00
committed by GitHub
parent 9c434079d5
commit 06d9e59a7a
13 changed files with 154 additions and 13 deletions
@@ -41,6 +41,7 @@
{ "$ref": "#/$defs/control/epgGroupInstruction" },
{ "$ref": "#/$defs/control/preRollInstruction"},
{ "$ref": "#/$defs/control/postRollInstruction"},
{ "$ref": "#/$defs/control/midRollInstruction"},
{ "$ref": "#/$defs/control/repeatInstruction" },
{ "$ref": "#/$defs/control/shuffleSequenceInstruction" },
{ "$ref": "#/$defs/control/skipItemsInstruction" },
@@ -81,6 +82,7 @@
{ "$ref": "#/$defs/control/epgGroupInstruction" },
{ "$ref": "#/$defs/control/preRollInstruction"},
{ "$ref": "#/$defs/control/postRollInstruction"},
{ "$ref": "#/$defs/control/midRollInstruction"},
{ "$ref": "#/$defs/control/repeatInstruction" },
{ "$ref": "#/$defs/control/shuffleSequenceInstruction" },
{ "$ref": "#/$defs/control/skipItemsInstruction" },
@@ -309,6 +311,16 @@
"required": [ "post_roll" ],
"additionalProperties": false
},
"midRollInstruction": {
"type": "object",
"properties": {
"mid_roll": { "type": "boolean" },
"sequence": { "type": "string" },
"expression": { "type": "string" }
},
"required": [ "mid_roll" ],
"additionalProperties": false
},
"repeatInstruction": {
"type": "object",
"properties": {