fix playlist preview (#2457)

This commit is contained in:
Jason Dove
2025-09-25 13:54:44 +00:00
committed by GitHub
parent 18523dce64
commit dc92a96bd9
2 changed files with 3 additions and 1 deletions
+1
View File
@@ -73,6 +73,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- Fix extracted text subtitle playback from media servers
- Fix extracted text subtitles getting into invalid state after media server deep scans
- Targeted deep scans will now extract text subtitles for the scanned show
- Fix playlist preview
### Changed
- Filler presets: use separate text fields for `hours`, `minutes` and `seconds` duration
@@ -38,6 +38,7 @@ public class PreviewPlaylistPlayoutHandler(
{
Items = [MapToScheduleItem(request)]
},
ProgramScheduleAnchors = [],
ProgramScheduleAlternates = [],
FillGroupIndices = [],
Templates = []
@@ -48,7 +49,7 @@ public class PreviewPlaylistPlayoutHandler(
Option<Deco>.None,
playout.Items,
playout.Templates.ToList(),
new ProgramSchedule(),
playout.ProgramSchedule,
playout.ProgramScheduleAlternates.ToList(),
playout.PlayoutHistory.ToList(),
TimeSpan.Zero);