From 2f0cd1eb6c2bf1207678e1d1967fe2432c80a740 Mon Sep 17 00:00:00 2001 From: Jason Dove <1695733+jasongdove@users.noreply.github.com> Date: Fri, 19 Dec 2025 13:56:26 -0600 Subject: [PATCH] update dependencies (#2726) --- .../ErsatzTV.Application.csproj | 6 ++--- .../ErsatzTV.Core.Tests.csproj | 14 +++++------ ErsatzTV.Core/ErsatzTV.Core.csproj | 12 +++++----- .../Handlers/YamlPlayoutCountHandler.cs | 2 +- .../Handlers/YamlPlayoutPadUntilHandler.cs | 2 +- .../Handlers/YamlPlayoutSkipItemsHandler.cs | 2 +- .../ErsatzTV.FFmpeg.Tests.csproj | 4 ++-- ErsatzTV.FFmpeg/ErsatzTV.FFmpeg.csproj | 4 ++-- .../ErsatzTV.Infrastructure.MySql.csproj | 4 ++-- .../ErsatzTV.Infrastructure.Sqlite.csproj | 6 ++--- .../ErsatzTV.Infrastructure.Tests.csproj | 4 ++-- .../ErsatzTV.Infrastructure.csproj | 14 +++++------ .../Scheduling/SequentialScheduleValidator.cs | 11 +++++---- .../ErsatzTV.Scanner.Tests.csproj | 4 ++-- ErsatzTV.Scanner/ErsatzTV.Scanner.csproj | 8 +++---- ErsatzTV/ErsatzTV.csproj | 24 +++++++++---------- 16 files changed, 62 insertions(+), 59 deletions(-) diff --git a/ErsatzTV.Application/ErsatzTV.Application.csproj b/ErsatzTV.Application/ErsatzTV.Application.csproj index ebf56b274..eb2a971d2 100644 --- a/ErsatzTV.Application/ErsatzTV.Application.csproj +++ b/ErsatzTV.Application/ErsatzTV.Application.csproj @@ -14,11 +14,11 @@ - - + + - + diff --git a/ErsatzTV.Core.Tests/ErsatzTV.Core.Tests.csproj b/ErsatzTV.Core.Tests/ErsatzTV.Core.Tests.csproj index 59c0352ce..b480672de 100644 --- a/ErsatzTV.Core.Tests/ErsatzTV.Core.Tests.csproj +++ b/ErsatzTV.Core.Tests/ErsatzTV.Core.Tests.csproj @@ -10,20 +10,20 @@ - - - - - + + + + + - + - + diff --git a/ErsatzTV.Core/ErsatzTV.Core.csproj b/ErsatzTV.Core/ErsatzTV.Core.csproj index da5ae0985..c8eb6efd1 100644 --- a/ErsatzTV.Core/ErsatzTV.Core.csproj +++ b/ErsatzTV.Core/ErsatzTV.Core.csproj @@ -17,18 +17,18 @@ - - - - + + + + - + - + diff --git a/ErsatzTV.Core/Scheduling/YamlScheduling/Handlers/YamlPlayoutCountHandler.cs b/ErsatzTV.Core/Scheduling/YamlScheduling/Handlers/YamlPlayoutCountHandler.cs index 7f1731d04..c0ee6a2b8 100644 --- a/ErsatzTV.Core/Scheduling/YamlScheduling/Handlers/YamlPlayoutCountHandler.cs +++ b/ErsatzTV.Core/Scheduling/YamlScheduling/Handlers/YamlPlayoutCountHandler.cs @@ -48,7 +48,7 @@ public class YamlPlayoutCountHandler(EnumeratorCache enumeratorCache) : YamlPlay }; }; - object expressionResult = expression.Evaluate(); + object expressionResult = expression.Evaluate(cancellationToken); int countValue = expressionResult switch { double doubleResult => (int)Math.Floor(doubleResult), diff --git a/ErsatzTV.Core/Scheduling/YamlScheduling/Handlers/YamlPlayoutPadUntilHandler.cs b/ErsatzTV.Core/Scheduling/YamlScheduling/Handlers/YamlPlayoutPadUntilHandler.cs index 2efcc5437..0139964fb 100644 --- a/ErsatzTV.Core/Scheduling/YamlScheduling/Handlers/YamlPlayoutPadUntilHandler.cs +++ b/ErsatzTV.Core/Scheduling/YamlScheduling/Handlers/YamlPlayoutPadUntilHandler.cs @@ -41,7 +41,7 @@ public class YamlPlayoutPadUntilHandler(EnumeratorCache enumeratorCache) : YamlP }; }; - if (expression.Evaluate() as bool? == true) + if (expression.Evaluate(cancellationToken) as bool? == true) { // this is wrong when offset changes dayOnly = dayOnly.AddDays(1); diff --git a/ErsatzTV.Core/Scheduling/YamlScheduling/Handlers/YamlPlayoutSkipItemsHandler.cs b/ErsatzTV.Core/Scheduling/YamlScheduling/Handlers/YamlPlayoutSkipItemsHandler.cs index 9ead84d8c..323a54f08 100644 --- a/ErsatzTV.Core/Scheduling/YamlScheduling/Handlers/YamlPlayoutSkipItemsHandler.cs +++ b/ErsatzTV.Core/Scheduling/YamlScheduling/Handlers/YamlPlayoutSkipItemsHandler.cs @@ -45,7 +45,7 @@ public class YamlPlayoutSkipItemsHandler(EnumeratorCache enumeratorCache) : IYam }; }; - object expressionResult = expression.Evaluate(); + object expressionResult = expression.Evaluate(cancellationToken); int skipCount = expressionResult switch { double doubleResult => (int)Math.Floor(doubleResult), diff --git a/ErsatzTV.FFmpeg.Tests/ErsatzTV.FFmpeg.Tests.csproj b/ErsatzTV.FFmpeg.Tests/ErsatzTV.FFmpeg.Tests.csproj index b42e40ab4..12ad3db42 100644 --- a/ErsatzTV.FFmpeg.Tests/ErsatzTV.FFmpeg.Tests.csproj +++ b/ErsatzTV.FFmpeg.Tests/ErsatzTV.FFmpeg.Tests.csproj @@ -8,11 +8,11 @@ - + - + all diff --git a/ErsatzTV.FFmpeg/ErsatzTV.FFmpeg.csproj b/ErsatzTV.FFmpeg/ErsatzTV.FFmpeg.csproj index 9eb38f718..39552fad2 100644 --- a/ErsatzTV.FFmpeg/ErsatzTV.FFmpeg.csproj +++ b/ErsatzTV.FFmpeg/ErsatzTV.FFmpeg.csproj @@ -15,8 +15,8 @@ - - + + diff --git a/ErsatzTV.Infrastructure.MySql/ErsatzTV.Infrastructure.MySql.csproj b/ErsatzTV.Infrastructure.MySql/ErsatzTV.Infrastructure.MySql.csproj index eba7c26c8..882276672 100644 --- a/ErsatzTV.Infrastructure.MySql/ErsatzTV.Infrastructure.MySql.csproj +++ b/ErsatzTV.Infrastructure.MySql/ErsatzTV.Infrastructure.MySql.csproj @@ -16,8 +16,8 @@ - - + + diff --git a/ErsatzTV.Infrastructure.Sqlite/ErsatzTV.Infrastructure.Sqlite.csproj b/ErsatzTV.Infrastructure.Sqlite/ErsatzTV.Infrastructure.Sqlite.csproj index 0fc4a88c9..f879eba9e 100644 --- a/ErsatzTV.Infrastructure.Sqlite/ErsatzTV.Infrastructure.Sqlite.csproj +++ b/ErsatzTV.Infrastructure.Sqlite/ErsatzTV.Infrastructure.Sqlite.csproj @@ -13,9 +13,9 @@ - - - + + + diff --git a/ErsatzTV.Infrastructure.Tests/ErsatzTV.Infrastructure.Tests.csproj b/ErsatzTV.Infrastructure.Tests/ErsatzTV.Infrastructure.Tests.csproj index 8fee18a65..3e6305ead 100644 --- a/ErsatzTV.Infrastructure.Tests/ErsatzTV.Infrastructure.Tests.csproj +++ b/ErsatzTV.Infrastructure.Tests/ErsatzTV.Infrastructure.Tests.csproj @@ -12,7 +12,7 @@ - + runtime; build; native; contentfiles; analyzers; buildtransitive all @@ -22,7 +22,7 @@ all - + diff --git a/ErsatzTV.Infrastructure/ErsatzTV.Infrastructure.csproj b/ErsatzTV.Infrastructure/ErsatzTV.Infrastructure.csproj index f9a8c1c2a..c71a1ff49 100644 --- a/ErsatzTV.Infrastructure/ErsatzTV.Infrastructure.csproj +++ b/ErsatzTV.Infrastructure/ErsatzTV.Infrastructure.csproj @@ -19,20 +19,20 @@ - + - - + + all runtime; build; native; contentfiles; analyzers; buildtransitive - + - - - + + + diff --git a/ErsatzTV.Infrastructure/Scheduling/SequentialScheduleValidator.cs b/ErsatzTV.Infrastructure/Scheduling/SequentialScheduleValidator.cs index ea994c858..6bdb7f33e 100644 --- a/ErsatzTV.Infrastructure/Scheduling/SequentialScheduleValidator.cs +++ b/ErsatzTV.Infrastructure/Scheduling/SequentialScheduleValidator.cs @@ -1,7 +1,6 @@ using System.Globalization; using System.IO.Abstractions; using System.Text.Json; -using System.Text.Json.Nodes; using ErsatzTV.Core; using ErsatzTV.Core.Interfaces.Scheduling; using Microsoft.Extensions.Logging; @@ -24,12 +23,16 @@ public class SequentialScheduleValidator(IFileSystem fileSystem, ILogger - + runtime; build; native; contentfiles; analyzers; buildtransitive all @@ -23,7 +23,7 @@ all - + diff --git a/ErsatzTV.Scanner/ErsatzTV.Scanner.csproj b/ErsatzTV.Scanner/ErsatzTV.Scanner.csproj index ed5904484..9389a627b 100644 --- a/ErsatzTV.Scanner/ErsatzTV.Scanner.csproj +++ b/ErsatzTV.Scanner/ErsatzTV.Scanner.csproj @@ -24,16 +24,16 @@ - - - + + + - + diff --git a/ErsatzTV/ErsatzTV.csproj b/ErsatzTV/ErsatzTV.csproj index 152dc9de8..d7f52dd01 100644 --- a/ErsatzTV/ErsatzTV.csproj +++ b/ErsatzTV/ErsatzTV.csproj @@ -29,33 +29,33 @@ - + - + - + - - - - - - + + + + + + all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive - - + +