returnnewHealthCheck(GetType(),HealthCheckResult.Warning,"Completed Download Handling is disabled");
}
// Migration helper logic
if(!downloadClientIsLocalHost)
{
returnnewHealthCheck(GetType(),HealthCheckResult.Warning,"Enable Completed Download Handling if possible (Multi-Computer unsupported)","Migrating-to-Completed-Download-Handling#Unsupported-download-client-on-different-computer");
// With Sabnzbd we cannot check the category settings.
returnnewHealthCheck(GetType(),HealthCheckResult.Warning,"Enable Completed Download Handling if possible (Sabnzbd)","Migrating-to-Completed-Download-Handling#sabnzbd-enable-completed-download-handling");
// With Nzbget we can check if the category should be changed.
if(downloadClientOutputInDroneFactory)
{
returnnewHealthCheck(GetType(),HealthCheckResult.Warning,"Enable Completed Download Handling if possible (Nzbget - Conflicting Category)","Migrating-to-Completed-Download-Handling#nzbget-conflicting-download-client-category");
}
returnnewHealthCheck(GetType(),HealthCheckResult.Warning,"Enable Completed Download Handling if possible (Nzbget)","Migrating-to-Completed-Download-Handling#nzbget-enable-completed-download-handling");
}
else
{
returnnewHealthCheck(GetType(),HealthCheckResult.Warning,"Enable Completed Download Handling if possible","Migrating-to-Completed-Download-Handling");
returnnewHealthCheck(GetType(),HealthCheckResult.Warning,"Download Client has history items in Drone Factory conflicting with Completed Download Handling");
returnnewHealthCheck(GetType(),HealthCheckResult.Warning,"Completed Download Handling conflict with Drone Factory (Conflicting History Item)","Migrating-to-Completed-Download-Handling#conflicting-download-client-category");