From 06b2016bd603a4da997933d7180956af20107ec1 Mon Sep 17 00:00:00 2001 From: Simon Gardling Date: Wed, 1 Apr 2026 20:37:18 -0400 Subject: [PATCH] recyclarr: things --- services/arr/recyclarr.nix | 52 +++++++++++++++++++++++++++++++++++--- 1 file changed, 48 insertions(+), 4 deletions(-) diff --git a/services/arr/recyclarr.nix b/services/arr/recyclarr.nix index 4d4a460..aba8644 100644 --- a/services/arr/recyclarr.nix +++ b/services/arr/recyclarr.nix @@ -99,7 +99,7 @@ in } ]; } - # x265 (HD) - override template -10000 penalty + # x265 (HD) - override template -10000 penalty for non-2160p HEVC { trash_ids = [ "dc98083864ea246d05a42df0d05f81cc" ]; assign_scores_to = [ @@ -109,7 +109,7 @@ in } ]; } - # x265 (no HDR/DV) - override template -10000 penalty + # x265 (no HDR/DV) - override template -10000 penalty for non-2160p HEVC { trash_ids = [ "839bea857ed2c0a8e084f3cbdbd65ecb" ]; assign_scores_to = [ @@ -119,6 +119,28 @@ in } ]; } + # Codec ranking: AV1 (20) > HEVC (10) > AVC (0) + # + # Positive scores only -- nothing drops below min_format_score. + # AVC stays at 0 implicitly (no custom format adds or removes score). + { + trash_ids = [ "cae4ca30163749b891686f95532519bd" ]; # AV1 + assign_scores_to = [ + { + name = "Remux + WEB 2160p"; + score = 20; + } + ]; + } + { + trash_ids = [ "9170d55c319f4fe40da8711ba9d8050d" ]; # x265 + assign_scores_to = [ + { + name = "Remux + WEB 2160p"; + score = 10; + } + ]; + } ]; }; @@ -177,7 +199,7 @@ in } ]; } - # x265 (HD) - override template -10000 penalty + # x265 (HD) - override template -10000 penalty for non-2160p HEVC { trash_ids = [ "47435ece6b99a0b477caf360e79ba0bb" ]; assign_scores_to = [ @@ -187,7 +209,7 @@ in } ]; } - # x265 (no HDR/DV) - override template -10000 penalty + # x265 (no HDR/DV) - override template -10000 penalty for non-2160p HEVC { trash_ids = [ "9b64dff695c2115facf1b6ea59c9bd07" ]; assign_scores_to = [ @@ -197,6 +219,28 @@ in } ]; } + # Codec ranking: AV1 (20) > HEVC (10) > AVC (0) + # + # Positive scores only -- nothing drops below min_format_score. + # AVC stays at 0 implicitly (no custom format adds or removes score). + { + trash_ids = [ "15a05bc7c1a36e2b57fd628f8977e2fc" ]; # AV1 + assign_scores_to = [ + { + name = "WEB-2160p"; + score = 20; + } + ]; + } + { + trash_ids = [ "c9eafd50846d299b862ca9bb6ea91950" ]; # x265 + assign_scores_to = [ + { + name = "WEB-2160p"; + score = 10; + } + ]; + } ]; }; };