returnnewValidationFailure(String.Empty,String.Format("Remove * from Sabnzbd <a class=\"no-router\" target=\"_blank\" href=\"http://{0}:{1}/sabnzbd/config/categories/\">'{2}' category</a> Folder/Path so job folders will be created",Settings.Host,Settings.Port,Settings.TvCategory));
DetailedDescription="NzbDrone prefers each download to have a separate folder. With * appended to the Folder/Path Sabnzbd will not create these job folders. Go to Sabnzbd to fix it."
};
}
}
}
}
else
else
{
{
if(!Settings.TvCategory.IsNullOrWhiteSpace())
if(!Settings.TvCategory.IsNullOrWhiteSpace())
{
{
returnnewValidationFailure("TvCategory",String.Format("<a class=\"no-router\" target=\"_blank\" href=\"http://{0}:{1}/sabnzbd/config/categories/\">Category</a> does not exist",Settings.Host,Settings.Port));
returnnewNzbDroneValidationFailure("TvCategory","Category does not exist")
returnnewValidationFailure(String.Empty,String.Format("Disable <a class=\"no-router\" target=\"_blank\" href=\"http://{0}:{1}/sabnzbd/config/sorting/\">TV Sorting</a> for the '{2}' category",Settings.Host,Settings.Port,Settings.TvCategory));
returnnewNzbDroneValidationFailure("TvCategory","Disable TV Sorting")