From 0839e88ed4cfdf2c89828764322f54d6cfa6937b Mon Sep 17 00:00:00 2001 From: Robert Dailey Date: Wed, 15 Jun 2022 13:42:22 -0500 Subject: [PATCH] fix: Use a less severe and better worded warning msg for CF scores If scores are missing from a CF in either the guide or in the YAML config, that CF is still synced but no score will be set in any quality profiles. The warning message for this was a bit misleading. It made users think the CF itself would not be synced. The CF is always synced. The message has been reworded to make this more clear and it is downgraded from Warning to Informational. --- CHANGELOG.md | 2 ++ src/TrashLib/Radarr/CustomFormat/CustomFormatUpdater.cs | 5 ++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index daf6a58e..980e9de7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Do not exit when a YAML config has no sonarr or radarr section. - Sonarr: Invalid release profile JSON files no longer cause the program to exit. Instead, it just skips them and prints a warning to the user. (#87) +- Radarr: Reword the warning about missing scores for CFs to make it more clear that having no score + does not prevent CFs from being synced. ## [2.2.0] - 2022-06-03 diff --git a/src/TrashLib/Radarr/CustomFormat/CustomFormatUpdater.cs b/src/TrashLib/Radarr/CustomFormat/CustomFormatUpdater.cs index 6ef95901..39b49bd4 100644 --- a/src/TrashLib/Radarr/CustomFormat/CustomFormatUpdater.cs +++ b/src/TrashLib/Radarr/CustomFormat/CustomFormatUpdater.cs @@ -189,9 +189,8 @@ internal class CustomFormatUpdater : ICustomFormatUpdater if (_guideProcessor.CustomFormatsWithoutScore.Count > 0) { - Log.Warning("The below custom formats have no score in the guide or YAML " + - "config and will be skipped (remove them from your config or specify a " + - "score to fix this warning)"); + Log.Information("The below custom formats have no score in the guide or in your YAML config. They will " + + "still be synced to Radarr, but no score will be set in your chosen quality profiles"); foreach (var tuple in _guideProcessor.CustomFormatsWithoutScore) { Log.Warning("{CfList}", tuple);