diff --git a/ErsatzTV.Application/FFmpegProfiles/Queries/GetFFmpegSettingsHandler.cs b/ErsatzTV.Application/FFmpegProfiles/Queries/GetFFmpegSettingsHandler.cs index dd3a80d6d..b8b555e95 100644 --- a/ErsatzTV.Application/FFmpegProfiles/Queries/GetFFmpegSettingsHandler.cs +++ b/ErsatzTV.Application/FFmpegProfiles/Queries/GetFFmpegSettingsHandler.cs @@ -72,7 +72,7 @@ public class GetFFmpegSettingsHandler(IConfigElementRepository configElementRepo WorkAheadSegmenterLimit = await workAheadSegmenterLimit.IfNoneAsync(1), InitialSegmentCount = await initialSegmentCount.IfNoneAsync(1), HlsDirectOutputFormat = await outputFormatKind.IfNoneAsync(OutputFormatKind.MpegTs), - DefaultMpegTsScript = await defaultMpegTsScript.IfNoneAsync("Default"), + DefaultMpegTsScript = await defaultMpegTsScript.IfNoneAsync("default"), }; foreach (int watermarkId in watermark) diff --git a/ErsatzTV.Application/Troubleshooting/Queries/GetTroubleshootingInfoHandler.cs b/ErsatzTV.Application/Troubleshooting/Queries/GetTroubleshootingInfoHandler.cs index c9cec698d..6d10ca596 100644 --- a/ErsatzTV.Application/Troubleshooting/Queries/GetTroubleshootingInfoHandler.cs +++ b/ErsatzTV.Application/Troubleshooting/Queries/GetTroubleshootingInfoHandler.cs @@ -264,7 +264,7 @@ public class GetTroubleshootingInfoHandler : IRequestHandler(ConfigElementKey.FFmpegDefaultMpegTsScript, cancellationToken) - .IfNoneAsync("Default"); + .IfNoneAsync("default"); List allScripts = _mpegTsScriptService.GetScripts(); - Option maybeScript = Optional(allScripts.Find(s => s.Id == defaultScript)); + Option maybeScript = Optional(allScripts.Find(s => string.Equals(s.Id, defaultScript, StringComparison.OrdinalIgnoreCase))); foreach (var script in maybeScript) { Option maybeCommand = await _mpegTsScriptService.Execute(