From 41b7b306e2db0e01254b6c701f1aa6f0b92df73d Mon Sep 17 00:00:00 2001 From: Feramance Date: Wed, 4 Dec 2024 14:41:06 +0100 Subject: [PATCH] Config description updates --- config.example.toml | 16 ++++++++-------- qBitrr/gen_config.py | 14 ++++++++++++-- 2 files changed, 20 insertions(+), 10 deletions(-) diff --git a/config.example.toml b/config.example.toml index a1eae2f3..dd2d14f6 100644 --- a/config.example.toml +++ b/config.example.toml @@ -148,10 +148,10 @@ SearchAgainOnSearchCompletion = true # Use Temp profile for missing UseTempForMissing = false -# Main quality profile +# Main quality profile (To pair quality profiles, ensure they are in the same order as in the temp profiles) MainQualityProfile = [] -# Temp quality profile +# Temp quality profile (To pair quality profiles, ensure they are in the same order as in the main profiles) TempQualityProfile = [] # Search by series instead of by episode (This ignored the QualityUnmetSearch and CustomFormatUnmetSearch setting) @@ -354,10 +354,10 @@ SearchAgainOnSearchCompletion = true # Use Temp profile for missing UseTempForMissing = false -# Main quality profile +# Main quality profile (To pair quality profiles, ensure they are in the same order as in the temp profiles) MainQualityProfile = [] -# Temp quality profile +# Temp quality profile (To pair quality profiles, ensure they are in the same order as in the main profiles) TempQualityProfile = [] # Search by series instead of by episode (This ignored the QualityUnmetSearch and CustomFormatUnmetSearch setting) @@ -559,10 +559,10 @@ SearchAgainOnSearchCompletion = true # Use Temp profile for missing UseTempForMissing = false -# Main quality profile +# Main quality profile (To pair quality profiles, ensure they are in the same order as in the temp profiles) MainQualityProfile = [] -# Temp quality profile +# Temp quality profile (To pair quality profiles, ensure they are in the same order as in the main profiles) TempQualityProfile = [] @@ -771,10 +771,10 @@ SearchAgainOnSearchCompletion = true # Use Temp profile for missing UseTempForMissing = false -# Main quality profile +# Main quality profile (To pair quality profiles, ensure they are in the same order as in the temp profiles) MainQualityProfile = [] -# Temp quality profile +# Temp quality profile (To pair quality profiles, ensure they are in the same order as in the main profiles) TempQualityProfile = [] diff --git a/qBitrr/gen_config.py b/qBitrr/gen_config.py index 1ae15244..a963454e 100755 --- a/qBitrr/gen_config.py +++ b/qBitrr/gen_config.py @@ -621,8 +621,18 @@ def _gen_default_search_table(category: str, cat_default: Table): True, ) _gen_default_line(search_table, "Use Temp profile for missing", "UseTempForMissing", False) - _gen_default_line(search_table, "Main quality profile", "MainQualityProfile", []) - _gen_default_line(search_table, "Temp quality profile", "TempQualityProfile", []) + _gen_default_line( + search_table, + "Main quality profile (To pair quality profiles, ensure they are in the same order as in the temp profiles)", + "MainQualityProfile", + [], + ) + _gen_default_line( + search_table, + "Temp quality profile (To pair quality profiles, ensure they are in the same order as in the main profiles)", + "TempQualityProfile", + [], + ) if "sonarr" in category.lower(): _gen_default_line( search_table,