Browse Source

fix sequential schedule building across offsets (#2584)

pull/2586/head
Jason Dove 9 months ago committed by GitHub
parent
commit
5045a411b1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  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/). @@ -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

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

@ -137,7 +137,7 @@ public class YamlPlayoutContext(Playout playout, YamlPlayoutDefinition definitio @@ -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))
{

Loading…
Cancel
Save