From 6089bb7993ab777ebeac37383945c453cb8d6811 Mon Sep 17 00:00:00 2001 From: Joseph Hanson Date: Wed, 23 Oct 2024 15:27:21 -0500 Subject: [PATCH] add anime quality profiles to radarr/sonarr --- .../default/recyclarr/app/externalsecret.yaml | 2 + .../recyclarr/app/resources/recyclarr.yml | 219 +++++++++++------- 2 files changed, 131 insertions(+), 90 deletions(-) diff --git a/kubernetes/apps/default/recyclarr/app/externalsecret.yaml b/kubernetes/apps/default/recyclarr/app/externalsecret.yaml index 380172c2..7bd57e8a 100644 --- a/kubernetes/apps/default/recyclarr/app/externalsecret.yaml +++ b/kubernetes/apps/default/recyclarr/app/externalsecret.yaml @@ -15,6 +15,8 @@ spec: data: RADARR_API_KEY: "{{ .radarr_api_key }}" SONARR_API_KEY: "{{ .sonarr_api_key }}" + RADARR_ANIME_API_KEY: "{{ .radarr_api_key_anime }}" + SONARR_ANIME_API_KEY: "{{ .sonarr_api_key_anime }}" dataFrom: - extract: key: radarr diff --git a/kubernetes/apps/default/recyclarr/app/resources/recyclarr.yml b/kubernetes/apps/default/recyclarr/app/resources/recyclarr.yml index 3bafb18e..895bca51 100644 --- a/kubernetes/apps/default/recyclarr/app/resources/recyclarr.yml +++ b/kubernetes/apps/default/recyclarr/app/resources/recyclarr.yml @@ -11,12 +11,6 @@ sonarr: quality_definition: type: series - include: - # Comment out any of the following includes to disable them - - template: sonarr-quality-definition-anime - - template: sonarr-v4-quality-profile-anime - - template: sonarr-v4-custom-formats-anime - quality_profiles: - name: Web 1080p reset_unmatched_scores: @@ -68,44 +62,57 @@ sonarr: custom_formats: - trash_ids: # Unwanted - - 85c61753df5da1fb2aab6f2a47426b09 # BR-DISK - - 9c11cd3f07101cdba90a2d81cf0e56b4 # LQ - - 47435ece6b99a0b477caf360e79ba0bb # x265 (HD) - - fbcb31d8dabd2a319072b84fc0b7249c # Extras + - 85c61753df5da1fb2aab6f2a47426b09 # BR-DISK + - 9c11cd3f07101cdba90a2d81cf0e56b4 # LQ + - 47435ece6b99a0b477caf360e79ba0bb # x265 (HD) + - fbcb31d8dabd2a319072b84fc0b7249c # Extras # Misc - - ec8fa7296b64e8cd390a1600981f3923 # Repack/Proper - - eb3d5cc0a2be0db205fb823640db6a3c # Repack v2 - - 44e7c4de10ae50265753082e5dc76047 # Repack v3 + - ec8fa7296b64e8cd390a1600981f3923 # Repack/Proper + - eb3d5cc0a2be0db205fb823640db6a3c # Repack v2 + - 44e7c4de10ae50265753082e5dc76047 # Repack v3 # Streaming Services - - d660701077794679fd59e8bdf4ce3a29 # AMZN - - f67c9ca88f463a48346062e8ad07713f # ATVP - - 4e9a630db98d5391aec1368a0256e2fe # CRAV - - 36b72f59f4ea20aad9316f475f2d9fbb # DCU - - 89358767a60cc28783cdc3d0be9388a4 # DSNP - - 7a235133c87f7da4c8cccceca7e3c7a6 # HBO - - a880d6abc21e7c16884f3ae393f84179 # HMAX - - f6cce30f1733d5c8194222a7507909bb # HULU - - 0ac24a2a68a9700bcb7eeca8e5cd644c # iT - - 81d1fbf600e2540cee87f3a23f9d3c1c # MAX - - d34870697c9db575f17700212167be23 # NF - - b2b980877494b560443631eb1f473867 # NLZ - - fb1a91cdc0f26f7ca0696e0e95274645 # OViD - - 1656adc6d7bb2c8cca6acfb6592db421 # PCOK - - c67a75ae4a1715f2bb4d492755ba4195 # PMTP - - 3ac5d84fce98bab1b531393e9c82f467 # QIBI - - c30d2958827d1867c73318a5a2957eb1 # RED - - ae58039e1319178e6be73caab5c42166 # SHO - - 1efe8da11bfd74fbbcd4d8117ddb9213 # STAN - - 5d2317d99af813b6529c7ebf01c83533 # VDL - - 77a7b25585c18af08f60b1547bb9b4fb # CC + - d660701077794679fd59e8bdf4ce3a29 # AMZN + - f67c9ca88f463a48346062e8ad07713f # ATVP + - 4e9a630db98d5391aec1368a0256e2fe # CRAV + - 36b72f59f4ea20aad9316f475f2d9fbb # DCU + - 89358767a60cc28783cdc3d0be9388a4 # DSNP + - 7a235133c87f7da4c8cccceca7e3c7a6 # HBO + - a880d6abc21e7c16884f3ae393f84179 # HMAX + - f6cce30f1733d5c8194222a7507909bb # HULU + - 0ac24a2a68a9700bcb7eeca8e5cd644c # iT + - 81d1fbf600e2540cee87f3a23f9d3c1c # MAX + - d34870697c9db575f17700212167be23 # NF + - b2b980877494b560443631eb1f473867 # NLZ + - fb1a91cdc0f26f7ca0696e0e95274645 # OViD + - 1656adc6d7bb2c8cca6acfb6592db421 # PCOK + - c67a75ae4a1715f2bb4d492755ba4195 # PMTP + - 3ac5d84fce98bab1b531393e9c82f467 # QIBI + - c30d2958827d1867c73318a5a2957eb1 # RED + - ae58039e1319178e6be73caab5c42166 # SHO + - 1efe8da11bfd74fbbcd4d8117ddb9213 # STAN + - 5d2317d99af813b6529c7ebf01c83533 # VDL + - 77a7b25585c18af08f60b1547bb9b4fb # CC # HQ Source Groups - - e6258996055b9fbab7e9cb2f75819294 # WEB Tier 01 - - 58790d4e2fdcd9733aa7ae68ba2bb503 # WEB Tier 02 - - d84935abd3f8556dcd51d4f27e22d0a6 # WEB Tier 03 - - d0c516558625b04b363fa6c5c2c7cfd4 # WEB Scene + - e6258996055b9fbab7e9cb2f75819294 # WEB Tier 01 + - 58790d4e2fdcd9733aa7ae68ba2bb503 # WEB Tier 02 + - d84935abd3f8556dcd51d4f27e22d0a6 # WEB Tier 03 + - d0c516558625b04b363fa6c5c2c7cfd4 # WEB Scene assign_scores_to: - name: Web 1080p - name: Web 720p + sonarr-anime: + base_url: http://sonarr-anime.anime.svc.cluster.local + api_key: !env_var SONARR_ANIME_API_KEY + + delete_old_custom_formats: true + replace_existing_custom_formats: true + + include: + - template: sonarr-quality-definition-anime + - template: sonarr-v4-quality-profile-anime + - template: sonarr-v4-custom-formats-anime + + custom_formats: # Anime Score Overrides - trash_ids: - 026d5aadd1a6b4e550b134cb6c72b3ca # Uncensored @@ -165,67 +172,67 @@ radarr: custom_formats: - trash_ids: # Audio - - 496f355514737f7d83bf7aa4d24f8169 # TrueHD Atmos - - 2f22d89048b01681dde8afe203bf2e95 # DTS X - - 417804f7f2c4308c1f4c5d380d4c4475 # ATMOS (undefined) - - 1af239278386be2919e1bcee0bde047e # DD+ ATMOS - - 3cafb66171b47f226146a0770576870f # TrueHD - - dcf3ec6938fa32445f590a4da84256cd # DTS-HD MA - - a570d4a0e56a2874b64e5bfa55202a1b # FLAC - - e7c2fcae07cbada050a0af3357491d7b # PCM - - 8e109e50e0a0b83a5098b056e13bf6db # DTS-HD HRA - - 185f1dd7264c4562b9022d963ac37424 # DD+ - - f9f847ac70a0af62ea4a08280b859636 # DTS-ES - - 1c1a4c5e823891c75bc50380a6866f73 # DTS - - 240770601cc226190c367ef59aba7463 # AAC - - c2998bd0d90ed5621d8df281e839436e # DD + - 496f355514737f7d83bf7aa4d24f8169 # TrueHD Atmos + - 2f22d89048b01681dde8afe203bf2e95 # DTS X + - 417804f7f2c4308c1f4c5d380d4c4475 # ATMOS (undefined) + - 1af239278386be2919e1bcee0bde047e # DD+ ATMOS + - 3cafb66171b47f226146a0770576870f # TrueHD + - dcf3ec6938fa32445f590a4da84256cd # DTS-HD MA + - a570d4a0e56a2874b64e5bfa55202a1b # FLAC + - e7c2fcae07cbada050a0af3357491d7b # PCM + - 8e109e50e0a0b83a5098b056e13bf6db # DTS-HD HRA + - 185f1dd7264c4562b9022d963ac37424 # DD+ + - f9f847ac70a0af62ea4a08280b859636 # DTS-ES + - 1c1a4c5e823891c75bc50380a6866f73 # DTS + - 240770601cc226190c367ef59aba7463 # AAC + - c2998bd0d90ed5621d8df281e839436e # DD # Movie Versions - - 0f12c086e289cf966fa5948eac571f44 # Hybrid - - 570bc9ebecd92723d2d21500f4be314c # Remaster - - eca37840c13c6ef2dd0262b141a5482f # 4K Remaster - - e0c07d59beb37348e975a930d5e50319 # Criterion Collection - - 9d27d9d2181838f76dee150882bdc58c # Masters of Cinema - - db9b4c4b53d312a3ca5f1378f6440fc9 # Vinegar Syndrome - - 957d0f44b592285f26449575e8b1167e # Special Edition - - eecf3a857724171f968a66cb5719e152 # IMAX - - 9f6cbff8cfe4ebbc1bde14c7b7bec0de # IMAX Enhanced + - 0f12c086e289cf966fa5948eac571f44 # Hybrid + - 570bc9ebecd92723d2d21500f4be314c # Remaster + - eca37840c13c6ef2dd0262b141a5482f # 4K Remaster + - e0c07d59beb37348e975a930d5e50319 # Criterion Collection + - 9d27d9d2181838f76dee150882bdc58c # Masters of Cinema + - db9b4c4b53d312a3ca5f1378f6440fc9 # Vinegar Syndrome + - 957d0f44b592285f26449575e8b1167e # Special Edition + - eecf3a857724171f968a66cb5719e152 # IMAX + - 9f6cbff8cfe4ebbc1bde14c7b7bec0de # IMAX Enhanced # HQ Release Groups - - 3a3ff47579026e76d6504ebea39390de # Remux Tier 01 - - 9f98181fe5a3fbeb0cc29340da2a468a # Remux Tier 02 - - 8baaf0b3142bf4d94c42a724f034e27a # Remux Tier 03 - - c20f169ef63c5f40c2def54abaf4438e # WEB Tier 01 - - 403816d65392c79236dcb6dd591aeda4 # WEB Tier 02 - - af94e0fe497124d1f9ce732069ec8c3b # WEB Tier 03 + - 3a3ff47579026e76d6504ebea39390de # Remux Tier 01 + - 9f98181fe5a3fbeb0cc29340da2a468a # Remux Tier 02 + - 8baaf0b3142bf4d94c42a724f034e27a # Remux Tier 03 + - c20f169ef63c5f40c2def54abaf4438e # WEB Tier 01 + - 403816d65392c79236dcb6dd591aeda4 # WEB Tier 02 + - af94e0fe497124d1f9ce732069ec8c3b # WEB Tier 03 # Misc - - e7718d7a3ce595f289bfee26adc178f5 # Repack/Proper - - ae43b294509409a6a13919dedd4764c4 # Repack2 + - e7718d7a3ce595f289bfee26adc178f5 # Repack/Proper + - ae43b294509409a6a13919dedd4764c4 # Repack2 # Unwanted - - ed38b889b31be83fda192888e2286d83 # BR-DISK - - 90a6f9a284dff5103f6346090e6280c8 # LQ - - dc98083864ea246d05a42df0d05f81cc # x265 (HD) - - b8cd450cbfa689c0259a01d9e29ba3d6 # 3D + - ed38b889b31be83fda192888e2286d83 # BR-DISK + - 90a6f9a284dff5103f6346090e6280c8 # LQ + - dc98083864ea246d05a42df0d05f81cc # x265 (HD) + - b8cd450cbfa689c0259a01d9e29ba3d6 # 3D # Streaming Services - - cc5e51a9e85a6296ceefe097a77f12f4 # BCORE - - 2a6039655313bf5dab1e43523b62c374 # MA - - 16622a6911d1ab5d5b8b713d5b0036d4 # CRiT + - cc5e51a9e85a6296ceefe097a77f12f4 # BCORE + - 2a6039655313bf5dab1e43523b62c374 # MA + - 16622a6911d1ab5d5b8b713d5b0036d4 # CRiT assign_scores_to: - name: Remux/Web 1080p - trash_ids: # Streaming Services - - b3b3a6ac74ecbd56bcdbefa4799fb9df # AMZN - - 40e9380490e748672c2522eaaeb692f7 # ATVP - - f6ff65b3f4b464a79dcc75950fe20382 # CRAV - - 84272245b2988854bfb76a16e60baea5 # DSNP - - 509e5f41146e278f9eab1ddaceb34515 # HBO - - 5763d1b0ce84aff3b21038eea8e9b8ad # HMAX - - 526d445d4c16214309f0fd2b3be18a89 # Hulu - - 6a061313d22e51e0f25b7cd4dc065233 # MAX - - 170b1d363bd8516fbf3a3eb05d4faff6 # NF - - fbca986396c5e695ef7b2def3c755d01 # OViD - - bf7e73dd1d85b12cc527dc619761c840 # Pathe - - c9fd353f8f5f1baf56dc601c4cb29920 # PCOK - - e36a0ba1bc902b26ee40818a1d59b8bd # PMTP - - c2863d2a50c9acad1fb50e53ece60817 # STAN + - b3b3a6ac74ecbd56bcdbefa4799fb9df # AMZN + - 40e9380490e748672c2522eaaeb692f7 # ATVP + - f6ff65b3f4b464a79dcc75950fe20382 # CRAV + - 84272245b2988854bfb76a16e60baea5 # DSNP + - 509e5f41146e278f9eab1ddaceb34515 # HBO + - 5763d1b0ce84aff3b21038eea8e9b8ad # HMAX + - 526d445d4c16214309f0fd2b3be18a89 # Hulu + - 6a061313d22e51e0f25b7cd4dc065233 # MAX + - 170b1d363bd8516fbf3a3eb05d4faff6 # NF + - fbca986396c5e695ef7b2def3c755d01 # OViD + - bf7e73dd1d85b12cc527dc619761c840 # Pathe + - c9fd353f8f5f1baf56dc601c4cb29920 # PCOK + - e36a0ba1bc902b26ee40818a1d59b8bd # PMTP + - c2863d2a50c9acad1fb50e53ece60817 # STAN assign_scores_to: - name: Remux/Web 1080p score: 0 @@ -239,3 +246,35 @@ radarr: - f537cf427b64c38c8e36298f657e4828 # Scene assign_scores_to: - name: SQP-1 (1080p) + radarr-anime: + base_url: http://radarr-anime.anime.svc.cluster.local + api_key: !env_var RADARR_ANIME_API_KEY + + delete_old_custom_formats: true + replace_existing_custom_formats: true + + include: + # Comment out any of the following includes to disable them + - template: radarr-quality-definition-movie + - template: radarr-quality-profile-anime + - template: radarr-custom-formats-anime + + # Custom Formats: https://recyclarr.dev/wiki/yaml/config-reference/custom-formats/ + custom_formats: + - trash_ids: + - 064af5f084a0a24458cc8ecd3220f93f # Uncensored + assign_scores_to: + - name: Remux-1080p - Anime + score: 0 # Adjust scoring as desired + + - trash_ids: + - a5d148168c4506b55cf53984107c396e # 10bit + assign_scores_to: + - name: Remux-1080p - Anime + score: 0 # Adjust scoring as desired + + - trash_ids: + - 4a3b087eea2ce012fcc1ce319259a3be # Anime Dual Audio + assign_scores_to: + - name: Remux-1080p - Anime + score: 0 # Adjust scoring as desired