fix loading epg entries for motion and script elements (#2693)

This commit is contained in:
Jason Dove
2025-12-02 15:46:22 -06:00
committed by GitHub
parent 54606c76f9
commit 468ff087d4
2 changed files with 22 additions and 18 deletions
@@ -202,7 +202,8 @@ public partial class GraphicsElementLoader(
var epgEntries = 0;
IEnumerable<PlayoutItemGraphicsElement> elementsWithEpg = elements.Where(e =>
e.GraphicsElement.Kind is GraphicsElementKind.Text or GraphicsElementKind.Subtitle);
e.GraphicsElement.Kind is GraphicsElementKind.Text or GraphicsElementKind.Subtitle
or GraphicsElementKind.Motion or GraphicsElementKind.Script);
foreach (var reference in elementsWithEpg)
{