Browse Source

fix playlist preview (#2457)

pull/2458/head
Jason Dove 10 months ago committed by GitHub
parent
commit
dc92a96bd9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 1
      CHANGELOG.md
  2. 3
      ErsatzTV.Application/MediaCollections/Commands/PreviewPlaylistPlayoutHandler.cs

1
CHANGELOG.md

@ -73,6 +73,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). @@ -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

3
ErsatzTV.Application/MediaCollections/Commands/PreviewPlaylistPlayoutHandler.cs

@ -38,6 +38,7 @@ public class PreviewPlaylistPlayoutHandler( @@ -38,6 +38,7 @@ public class PreviewPlaylistPlayoutHandler(
{
Items = [MapToScheduleItem(request)]
},
ProgramScheduleAnchors = [],
ProgramScheduleAlternates = [],
FillGroupIndices = [],
Templates = []
@ -48,7 +49,7 @@ public class PreviewPlaylistPlayoutHandler( @@ -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);

Loading…
Cancel
Save