@ -4,6 +4,8 @@ All notable changes to this project will be documented in this file.
@@ -4,6 +4,8 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
## [Unreleased]
### Fixed
- Fix content repeating for up to a minute near the top of every hour
@ -5,6 +5,7 @@ using ErsatzTV.Core;
@@ -5,6 +5,7 @@ using ErsatzTV.Core;
usingErsatzTV.Core.Domain;
usingErsatzTV.Core.Interfaces.FFmpeg;
usingErsatzTV.Core.Interfaces.Scheduling;
usingErsatzTV.Core.Scheduling;
usingErsatzTV.Infrastructure.Data;
usingErsatzTV.Infrastructure.Extensions;
usingMicrosoft.EntityFrameworkCore;
@ -37,7 +38,7 @@ public class BuildPlayoutHandler : IRequestHandler<BuildPlayout, Either<BaseErro
@@ -37,7 +38,7 @@ public class BuildPlayoutHandler : IRequestHandler<BuildPlayout, Either<BaseErro
@ -45,7 +46,11 @@ public class BuildPlayoutHandler : IRequestHandler<BuildPlayout, Either<BaseErro
@@ -45,7 +46,11 @@ public class BuildPlayoutHandler : IRequestHandler<BuildPlayout, Either<BaseErro
try
{
await_playoutBuilder.Build(playout,request.Mode);
if(awaitdbContext.SaveChangesAsync()>0)
// let any active segmenter processes know that the playout has been modified
// and therefore the segmenter may need to seek into the next item instead of
// starting at the beginning (if already working ahead)