@ -38,7 +38,8 @@ public class EpisodeMetadataHealthCheck : BaseHealthCheck, IEpisodeMetadataHealt
@@ -38,7 +38,8 @@ public class EpisodeMetadataHealthCheck : BaseHealthCheck, IEpisodeMetadataHealt
varfolders=string.Join(", ",paths);
returnWarningResult(
$"There are {episodes.Count} episodes with missing metadata, including in the following folders: {folders}");
$"There are {episodes.Count} episodes with missing metadata, including in the following folders: {folders}",
$"There are {episodes.Count} episodes with missing metadata");
@ -20,11 +20,12 @@ public class ErrorReportsHealthCheck : BaseHealthCheck, IErrorReportsHealthCheck
@@ -20,11 +20,12 @@ public class ErrorReportsHealthCheck : BaseHealthCheck, IErrorReportsHealthCheck
{
returnResult(
HealthCheckStatus.Pass,
"Automated error reporting is enabled, thank you! To disable, edit the file appsettings.json or set the Bugsnag:Enable environment variable to false")
"Automated error reporting is enabled, thank you! To disable, edit the file appsettings.json or set the Bugsnag:Enable environment variable to false",
"Automated error reporting is enabled, thank you!")
.AsTask();
}
returnInfoResult("Automated error reporting is disabled. Please enable to support bug fixing efforts!")
returnInfoResult("Automated error reporting is disabled. Please enable to support bug fixing efforts!","Automated error reporting is disabled")
@ -25,7 +25,8 @@ public class FFmpegReportsHealthCheck : BaseHealthCheck, IFFmpegReportsHealthChe
@@ -25,7 +25,8 @@ public class FFmpegReportsHealthCheck : BaseHealthCheck, IFFmpegReportsHealthChe
{
returnResult(
HealthCheckStatus.Warning,
"FFmpeg troubleshooting reports are enabled and may use a lot of disk space");
"FFmpeg troubleshooting reports are enabled and may use a lot of disk space",
@ -27,14 +27,14 @@ public class FFmpegVersionHealthCheck : BaseHealthCheck, IFFmpegVersionHealthChe
@@ -27,14 +27,14 @@ public class FFmpegVersionHealthCheck : BaseHealthCheck, IFFmpegVersionHealthChe
returnFailResult("Unable to locate ffprobe","Unable to locate ffprobe");
}
foreach(ConfigElementffmpegPathinmaybeFFmpegPath)
@ -42,7 +42,7 @@ public class FFmpegVersionHealthCheck : BaseHealthCheck, IFFmpegVersionHealthChe
@@ -42,7 +42,7 @@ public class FFmpegVersionHealthCheck : BaseHealthCheck, IFFmpegVersionHealthChe
returnWarningResult("Unable to determine ffmpeg version");
returnWarningResult("Unable to determine ffmpeg version","Unable to determine ffmpeg version");
}
foreach(stringversioninmaybeVersion)
@ -59,7 +59,7 @@ public class FFmpegVersionHealthCheck : BaseHealthCheck, IFFmpegVersionHealthChe
@@ -59,7 +59,7 @@ public class FFmpegVersionHealthCheck : BaseHealthCheck, IFFmpegVersionHealthChe
returnWarningResult("Unable to determine ffprobe version");
returnWarningResult("Unable to determine ffprobe version","Unable to determine ffprobe version");
}
foreach(stringversioninmaybeVersion)
@ -71,7 +71,7 @@ public class FFmpegVersionHealthCheck : BaseHealthCheck, IFFmpegVersionHealthChe
@@ -71,7 +71,7 @@ public class FFmpegVersionHealthCheck : BaseHealthCheck, IFFmpegVersionHealthChe
@ -81,7 +81,7 @@ public class FFmpegVersionHealthCheck : BaseHealthCheck, IFFmpegVersionHealthChe
@@ -81,7 +81,7 @@ public class FFmpegVersionHealthCheck : BaseHealthCheck, IFFmpegVersionHealthChe
@ -90,7 +90,7 @@ public class FFmpegVersionHealthCheck : BaseHealthCheck, IFFmpegVersionHealthChe
@@ -90,7 +90,7 @@ public class FFmpegVersionHealthCheck : BaseHealthCheck, IFFmpegVersionHealthChe
version!=BundledVersionVaapi)
{
returnWarningResult(
$"{app} version {version} is unexpected and may have problems; please install 7.1.1!");
$"{app} version {version} is unexpected and may have problems; please install 7.1.1!",$"{app} version is unexpected");
@ -38,7 +38,7 @@ public class HardwareAccelerationHealthCheck : BaseHealthCheck, IHardwareAcceler
@@ -38,7 +38,7 @@ public class HardwareAccelerationHealthCheck : BaseHealthCheck, IHardwareAcceler
@ -67,7 +67,9 @@ public class HardwareAccelerationHealthCheck : BaseHealthCheck, IHardwareAcceler
@@ -67,7 +67,9 @@ public class HardwareAccelerationHealthCheck : BaseHealthCheck, IHardwareAcceler
if(accelerationKinds.Count==0)
{
returnInfoResult("No compatible hardware acceleration kinds are supported by ffmpeg");
returnInfoResult(
"No compatible hardware acceleration kinds are supported by ffmpeg",
@ -94,7 +96,8 @@ public class HardwareAccelerationHealthCheck : BaseHealthCheck, IHardwareAcceler
@@ -94,7 +96,8 @@ public class HardwareAccelerationHealthCheck : BaseHealthCheck, IHardwareAcceler
@ -21,7 +21,7 @@ public class MacOsConfigFolderHealthCheck : BaseHealthCheck, IMacOsConfigFolderH
@@ -21,7 +21,7 @@ public class MacOsConfigFolderHealthCheck : BaseHealthCheck, IMacOsConfigFolderH
{
varmessage=
$"Old config data exists; to migrate: exit ETV, backup the folder {FileSystemLayout.AppDataFolder} to another location, and restart ETV. Otherwise, move the old folder {FileSystemLayout.MacOsOldAppDataFolder} to another location to remove this message";
returnFailResult(message).AsTask();
returnFailResult(message,"Old config data exists").AsTask();
@ -38,7 +38,8 @@ public class MovieMetadataHealthCheck : BaseHealthCheck, IMovieMetadataHealthChe
@@ -38,7 +38,8 @@ public class MovieMetadataHealthCheck : BaseHealthCheck, IMovieMetadataHealthChe
varfolders=string.Join(", ",paths);
returnWarningResult(
$"There are {movies.Count} movies with missing metadata, including in the following folders: {folders}");
$"There are {movies.Count} movies with missing metadata, including in the following folders: {folders}",
$"There are {movies.Count} movies with missing metadata");
@ -17,7 +17,8 @@ public class UnifiedDockerHealthCheck : BaseHealthCheck, IUnifiedDockerHealthChe
@@ -17,7 +17,8 @@ public class UnifiedDockerHealthCheck : BaseHealthCheck, IUnifiedDockerHealthChe
$"FFmpeg Profile {profile.Name} is using device and driver combination ({profile.VaapiDevice} and {profile.VaapiDriver}) that reports no capabilities. Hardware Acceleration WILL NOT WORK as configured.");
$"FFmpeg Profile {profile.Name} is using device and driver combination ({profile.VaapiDevice} and {profile.VaapiDriver}) that reports no capabilities. Hardware Acceleration WILL NOT WORK as configured.",
"Hardware acceleration WILL NOT WORK...");
}
}
}
@ -83,7 +84,8 @@ public class VaapiDriverHealthCheck(
@@ -83,7 +84,8 @@ public class VaapiDriverHealthCheck(
returndefaultProfiles.Count!=0
?InfoResult(
$"{defaultProfiles.Count} FFmpeg Profile{(defaultProfiles.Count > 1 ? "sare" : "is")} set to use Default VAAPI Driver; selecting iHD (Gen 8+) or i965 (up to Gen 9) may offer better performance with Intel iGPU")
$"{defaultProfiles.Count} FFmpeg Profile{(defaultProfiles.Count > 1 ? "sare" : "is")} set to use Default VAAPI Driver; selecting iHD (Gen 8+) or i965 (up to Gen 9) may offer better performance with Intel iGPU",
@ -63,7 +63,9 @@ public class ZeroDurationHealthCheck : BaseHealthCheck, IZeroDurationHealthCheck
@@ -63,7 +63,9 @@ public class ZeroDurationHealthCheck : BaseHealthCheck, IZeroDurationHealthCheck
varfiles=string.Join(", ",paths);
returnWarningResult($"There are {all.Count} files with zero duration, including the following: {files}");
returnWarningResult(
$"There are {all.Count} files with zero duration, including the following: {files}",
$"There are {all.Count} files with zero duration");