Browse Source

fix filler expression with playlists (#2464)

pull/2465/head
Jason Dove 3 months ago committed by GitHub
parent
commit
1763c897eb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 1
      CHANGELOG.md
  2. 4
      ErsatzTV.Core/Scheduling/PlayoutModeSchedulerBase.cs

1
CHANGELOG.md

@ -76,6 +76,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). @@ -76,6 +76,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- Fix playlist preview
- Use NVIDIA NvEnc API to detect encoder capability instead of heuristic based on GPU model/architecture
- Use NVIDIA Cuvid API to detect decoder capability instead of heuristic based on GPU model/architecture
- Fix filler expression not being respected when using a playlist as filler
### Changed
- Filler presets: use separate text fields for `hours`, `minutes` and `seconds` duration

4
ErsatzTV.Core/Scheduling/PlayoutModeSchedulerBase.cs

@ -391,7 +391,9 @@ public abstract class PlayoutModeSchedulerBase<T> : IPlayoutModeScheduler<T> whe @@ -391,7 +391,9 @@ public abstract class PlayoutModeSchedulerBase<T> : IPlayoutModeScheduler<T> whe
SmartCollectionId = playlistFiller.SmartCollectionId,
SmartCollection = playlistFiller.SmartCollection,
PlaylistId = playlistFiller.PlaylistId,
Playlist = playlistFiller.Playlist
Playlist = playlistFiller.Playlist,
Expression = playlistFiller.Expression,
UseChaptersAsMediaItems = playlistFiller.UseChaptersAsMediaItems
};
// if filler count is 2, we need to schedule 2 * (number of items in one full playlist iteration)

Loading…
Cancel
Save