Browse Source

fix sequential schedule building across offsets

pull/2584/head
Jason Dove 9 months ago
parent
commit
f07661a3c8
No known key found for this signature in database
  1. 1
      CHANGELOG.md
  2. 2
      ErsatzTV.Core/Scheduling/YamlScheduling/YamlPlayoutContext.cs

1
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 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) - 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 - 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 ## [25.8.0] - 2025-10-26
### Added ### Added

2
ErsatzTV.Core/Scheduling/YamlScheduling/YamlPlayoutContext.cs

@ -137,7 +137,7 @@ public class YamlPlayoutContext(Playout playout, YamlPlayoutDefinition definitio
public void Reset(PlayoutAnchor anchor, DateTimeOffset start) 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)) if (string.IsNullOrWhiteSpace(anchor.Context))
{ {

Loading…
Cancel
Save