diff --git a/CHANGELOG.md b/CHANGELOG.md index e2dcdcbfd..76eed07e7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). - Fix UI crash when editing block playout that has default deco - Fix playback failure when seeking content with certain DTS audio (e.g. DTS-HD MA) - Properly set explicit audio decoder on combined audio and video input file +- Fix building sequential schedules across a UTC offset change ## [25.8.0] - 2025-10-26 ### Added diff --git a/ErsatzTV.Core/Scheduling/YamlScheduling/YamlPlayoutContext.cs b/ErsatzTV.Core/Scheduling/YamlScheduling/YamlPlayoutContext.cs index a9749bb62..63e30f016 100644 --- a/ErsatzTV.Core/Scheduling/YamlScheduling/YamlPlayoutContext.cs +++ b/ErsatzTV.Core/Scheduling/YamlScheduling/YamlPlayoutContext.cs @@ -137,7 +137,7 @@ public class YamlPlayoutContext(Playout playout, YamlPlayoutDefinition definitio public void Reset(PlayoutAnchor anchor, DateTimeOffset start) { - CurrentTime = new DateTimeOffset(anchor.NextStart.ToLocalTime(), start.Offset); + CurrentTime = new DateTimeOffset(anchor.NextStart, TimeSpan.Zero).ToLocalTime(); if (string.IsNullOrWhiteSpace(anchor.Context)) {