From bc15d84cdb3d87f77f3dc3ed207f2e5977d4815d Mon Sep 17 00:00:00 2001 From: Jason Dove <1695733+jasongdove@users.noreply.github.com> Date: Fri, 19 Jun 2026 14:19:51 -0500 Subject: [PATCH] chore: update dependencies --- .../ErsatzTV.Application.csproj | 6 ++--- .../ErsatzTV.Core.Tests.csproj | 16 ++++++------- ErsatzTV.Core/ErsatzTV.Core.csproj | 12 +++++----- .../ErsatzTV.FFmpeg.Tests.csproj | 6 ++--- ErsatzTV.FFmpeg/ErsatzTV.FFmpeg.csproj | 6 ++--- .../ErsatzTV.Infrastructure.Sqlite.csproj | 2 ++ .../ErsatzTV.Infrastructure.Tests.csproj | 6 ++--- .../ErsatzTV.Infrastructure.csproj | 18 +++++++------- .../Graphics/OpacityExpressionHelper.cs | 24 +++++++++---------- .../ErsatzTV.Scanner.Tests.csproj | 6 ++--- ErsatzTV.Scanner/ErsatzTV.Scanner.csproj | 10 ++++---- ErsatzTV.Tests/ErsatzTV.Tests.csproj | 2 +- ErsatzTV/ErsatzTV.csproj | 20 ++++++++-------- 13 files changed, 68 insertions(+), 66 deletions(-) diff --git a/ErsatzTV.Application/ErsatzTV.Application.csproj b/ErsatzTV.Application/ErsatzTV.Application.csproj index ca04f9dad..0ac00ea47 100644 --- a/ErsatzTV.Application/ErsatzTV.Application.csproj +++ b/ErsatzTV.Application/ErsatzTV.Application.csproj @@ -11,11 +11,11 @@ - + - - + + diff --git a/ErsatzTV.Core.Tests/ErsatzTV.Core.Tests.csproj b/ErsatzTV.Core.Tests/ErsatzTV.Core.Tests.csproj index 62601cb0c..2def9766d 100644 --- a/ErsatzTV.Core.Tests/ErsatzTV.Core.Tests.csproj +++ b/ErsatzTV.Core.Tests/ErsatzTV.Core.Tests.csproj @@ -7,14 +7,14 @@ - + - - - - - - + + + + + + @@ -22,7 +22,7 @@ - + diff --git a/ErsatzTV.Core/ErsatzTV.Core.csproj b/ErsatzTV.Core/ErsatzTV.Core.csproj index 0ede6bbe2..5c79c766e 100644 --- a/ErsatzTV.Core/ErsatzTV.Core.csproj +++ b/ErsatzTV.Core/ErsatzTV.Core.csproj @@ -16,18 +16,18 @@ - - - - + + + + - + - + diff --git a/ErsatzTV.FFmpeg.Tests/ErsatzTV.FFmpeg.Tests.csproj b/ErsatzTV.FFmpeg.Tests/ErsatzTV.FFmpeg.Tests.csproj index 3dab9318b..ff0fab545 100644 --- a/ErsatzTV.FFmpeg.Tests/ErsatzTV.FFmpeg.Tests.csproj +++ b/ErsatzTV.FFmpeg.Tests/ErsatzTV.FFmpeg.Tests.csproj @@ -8,9 +8,9 @@ - - - + + + diff --git a/ErsatzTV.FFmpeg/ErsatzTV.FFmpeg.csproj b/ErsatzTV.FFmpeg/ErsatzTV.FFmpeg.csproj index 3d3b74341..e08b73939 100644 --- a/ErsatzTV.FFmpeg/ErsatzTV.FFmpeg.csproj +++ b/ErsatzTV.FFmpeg/ErsatzTV.FFmpeg.csproj @@ -11,12 +11,12 @@ - + - - + + diff --git a/ErsatzTV.Infrastructure.Sqlite/ErsatzTV.Infrastructure.Sqlite.csproj b/ErsatzTV.Infrastructure.Sqlite/ErsatzTV.Infrastructure.Sqlite.csproj index f00b3a19d..352bd81f8 100644 --- a/ErsatzTV.Infrastructure.Sqlite/ErsatzTV.Infrastructure.Sqlite.csproj +++ b/ErsatzTV.Infrastructure.Sqlite/ErsatzTV.Infrastructure.Sqlite.csproj @@ -16,6 +16,8 @@ + + diff --git a/ErsatzTV.Infrastructure.Tests/ErsatzTV.Infrastructure.Tests.csproj b/ErsatzTV.Infrastructure.Tests/ErsatzTV.Infrastructure.Tests.csproj index a3a47f9fa..4510ffedb 100644 --- a/ErsatzTV.Infrastructure.Tests/ErsatzTV.Infrastructure.Tests.csproj +++ b/ErsatzTV.Infrastructure.Tests/ErsatzTV.Infrastructure.Tests.csproj @@ -9,11 +9,11 @@ - + - + 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 91eb1b2cb..401c7abd3 100644 --- a/ErsatzTV.Infrastructure/ErsatzTV.Infrastructure.csproj +++ b/ErsatzTV.Infrastructure/ErsatzTV.Infrastructure.csproj @@ -13,13 +13,13 @@ - + - + - - + + @@ -30,12 +30,12 @@ - - - + + + - - + + diff --git a/ErsatzTV.Infrastructure/Streaming/Graphics/OpacityExpressionHelper.cs b/ErsatzTV.Infrastructure/Streaming/Graphics/OpacityExpressionHelper.cs index 93a82ea3f..3b9f07c53 100644 --- a/ErsatzTV.Infrastructure/Streaming/Graphics/OpacityExpressionHelper.cs +++ b/ErsatzTV.Infrastructure/Streaming/Graphics/OpacityExpressionHelper.cs @@ -6,37 +6,37 @@ namespace ErsatzTV.Infrastructure.Streaming.Graphics; public static class OpacityExpressionHelper { - public static void EvaluateFunction(string name, FunctionArgs args) + public static void EvaluateFunction(string name, FunctionEventArgs args) { switch (name) { case "LinearFadePoints": { - if (args.Parameters.Length != 5) + if (args.Parameters.Count != 5) { throw new ArgumentException("LinearFadePoints() requires 5 arguments."); } - var time = Convert.ToDouble(args.Parameters[0].Evaluate(), CultureInfo.CurrentCulture); - var start = Convert.ToDouble(args.Parameters[1].Evaluate(), CultureInfo.CurrentCulture); - var peakStart = Convert.ToDouble(args.Parameters[2].Evaluate(), CultureInfo.CurrentCulture); - var peakEnd = Convert.ToDouble(args.Parameters[3].Evaluate(), CultureInfo.CurrentCulture); - var end = Convert.ToDouble(args.Parameters[4].Evaluate(), CultureInfo.CurrentCulture); + var time = Convert.ToDouble(args.Parameters.Evaluate(0), CultureInfo.CurrentCulture); + var start = Convert.ToDouble(args.Parameters.Evaluate(1), CultureInfo.CurrentCulture); + var peakStart = Convert.ToDouble(args.Parameters.Evaluate(2), CultureInfo.CurrentCulture); + var peakEnd = Convert.ToDouble(args.Parameters.Evaluate(3), CultureInfo.CurrentCulture); + var end = Convert.ToDouble(args.Parameters.Evaluate(4), CultureInfo.CurrentCulture); args.Result = LinearFadePoints(time, start, peakStart, peakEnd, end); break; } case "LinearFadeDuration": { - if (args.Parameters.Length != 4) + if (args.Parameters.Count != 4) { throw new ArgumentException("LinearFadeDuration() requires 4 arguments."); } - var time = Convert.ToDouble(args.Parameters[0].Evaluate(), CultureInfo.CurrentCulture); - var start = Convert.ToDouble(args.Parameters[1].Evaluate(), CultureInfo.CurrentCulture); - var fadeSeconds = Convert.ToDouble(args.Parameters[2].Evaluate(), CultureInfo.CurrentCulture); - var peakSeconds = Convert.ToDouble(args.Parameters[3].Evaluate(), CultureInfo.CurrentCulture); + var time = Convert.ToDouble(args.Parameters.Evaluate(0), CultureInfo.CurrentCulture); + var start = Convert.ToDouble(args.Parameters.Evaluate(1), CultureInfo.CurrentCulture); + var fadeSeconds = Convert.ToDouble(args.Parameters.Evaluate(2), CultureInfo.CurrentCulture); + var peakSeconds = Convert.ToDouble(args.Parameters.Evaluate(3), CultureInfo.CurrentCulture); args.Result = LinearFadeDuration(time, start, fadeSeconds, peakSeconds); break; diff --git a/ErsatzTV.Scanner.Tests/ErsatzTV.Scanner.Tests.csproj b/ErsatzTV.Scanner.Tests/ErsatzTV.Scanner.Tests.csproj index 1f065c82f..592479580 100644 --- a/ErsatzTV.Scanner.Tests/ErsatzTV.Scanner.Tests.csproj +++ b/ErsatzTV.Scanner.Tests/ErsatzTV.Scanner.Tests.csproj @@ -10,11 +10,11 @@ - + - + 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 58d3f7f26..8963ce279 100644 --- a/ErsatzTV.Scanner/ErsatzTV.Scanner.csproj +++ b/ErsatzTV.Scanner/ErsatzTV.Scanner.csproj @@ -21,21 +21,21 @@ - + - - - + + + - + diff --git a/ErsatzTV.Tests/ErsatzTV.Tests.csproj b/ErsatzTV.Tests/ErsatzTV.Tests.csproj index 8283b88e2..5f8a6b2d2 100644 --- a/ErsatzTV.Tests/ErsatzTV.Tests.csproj +++ b/ErsatzTV.Tests/ErsatzTV.Tests.csproj @@ -12,7 +12,7 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/ErsatzTV/ErsatzTV.csproj b/ErsatzTV/ErsatzTV.csproj index 63c4207d1..21a3c662b 100644 --- a/ErsatzTV/ErsatzTV.csproj +++ b/ErsatzTV/ErsatzTV.csproj @@ -39,26 +39,26 @@ - - - - - + + + + + all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive - + - - + + - +