include all block playout items in xmltv (#1580)

* include all block playout items in xmltv

* double check whether channel preview will work
This commit is contained in:
Jason Dove
2024-01-30 06:44:19 -06:00
committed by GitHub
parent 7fffc8cf63
commit 46c26b5ea7
3 changed files with 11 additions and 2 deletions
@@ -32,6 +32,8 @@ public class BlockPlayoutBuilder(
playout.Channel.Number,
playout.Channel.Name);
var random = new Random();
List<PlaybackOrder> allowedPlaybackOrders =
[
PlaybackOrder.Chronological,
@@ -154,6 +156,7 @@ public class BlockPlayoutBuilder(
//PreferredAudioTitle = scheduleItem.PreferredAudioTitle,
//PreferredSubtitleLanguageCode = scheduleItem.PreferredSubtitleLanguageCode,
//SubtitleMode = scheduleItem.SubtitleMode
GuideGroup = random.Next(),
BlockKey = JsonConvert.SerializeObject(effectiveBlock.BlockKey),
CollectionKey = JsonConvert.SerializeObject(collectionKey, JsonSettings),
CollectionEtag = collectionEtags[collectionKey]