From 9053ac1811ac4643cfa4c1caa0a02d5b35cecb46 Mon Sep 17 00:00:00 2001 From: Jesse Bannon Date: Sun, 31 Aug 2025 19:04:48 -0700 Subject: [PATCH] [BACKEND] Make resolution print debug-level --- src/ytdl_sub/prebuilt_presets/helpers/throttle_protection.yaml | 3 ++- tests/integration/plugins/test_throttle_protection.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/ytdl_sub/prebuilt_presets/helpers/throttle_protection.yaml b/src/ytdl_sub/prebuilt_presets/helpers/throttle_protection.yaml index effca714..2f3afee3 100644 --- a/src/ytdl_sub/prebuilt_presets/helpers/throttle_protection.yaml +++ b/src/ytdl_sub/prebuilt_presets/helpers/throttle_protection.yaml @@ -43,7 +43,8 @@ presets: "Resolution assert is enabled, will fail on low-quality video downloads and presume throttle. Disable using the override variable `enable_resolution_assert: False`", "Resolution assert is disabled. Use at your own risk!" ), - enable_resolution_assert + enable_resolution_assert, + -1 ) } resolution_readable: "{width}x{height}" diff --git a/tests/integration/plugins/test_throttle_protection.py b/tests/integration/plugins/test_throttle_protection.py index d2275365..ba05ba38 100644 --- a/tests/integration/plugins/test_throttle_protection.py +++ b/tests/integration/plugins/test_throttle_protection.py @@ -237,7 +237,7 @@ class TestResolutionAssert: "Resolution assert is enabled, will fail on low-quality video downloads and presume throttle. " "Disable using the override variable `enable_resolution_assert: False`" ), - log_level="info", + log_level="debug", expected_occurrences=1, ): subscription = Subscription.from_dict(