From 39427aef2d22c71906f7f05f4f085e0c68ab1bf3 Mon Sep 17 00:00:00 2001 From: santiagosayshey Date: Wed, 15 Jan 2025 10:59:46 +1030 Subject: [PATCH] New Profile: 1080p Quality (HDR) (#18) - Thoroughly tested for Sonarr / Radarr, now stable --- custom_formats/Amazon Prime.yml | 25 ++- custom_formats/Apple TV+.yml | 4 +- custom_formats/Criterion Channel.yml | 4 +- custom_formats/Disney+.yml | 4 +- custom_formats/Full Disc (Quality Match).yml | 11 + custom_formats/HBO Max.yml | 4 +- custom_formats/HDR10 (Missing) (1080p).yml | 37 ++++ custom_formats/Hulu.yml | 4 +- custom_formats/Max.yml | 4 +- custom_formats/Movies Anywhere.yml | 4 +- custom_formats/Netflix.yml | 4 +- custom_formats/Paramount+.yml | 4 +- custom_formats/Peacock.yml | 4 +- custom_formats/Roku.yml | 4 +- custom_formats/UHD Bluray (Missing).yml | 53 +++++ custom_formats/UHD Bluray.yml | 79 ++++++++ custom_formats/Unwanted x265 Groups.yml | 55 +++++ custom_formats/iTunes.yml | 4 +- custom_formats/x265 (Missing).yml | 38 +++- profiles/1080p Balanced.yml | 4 + profiles/1080p Quality (HDR).yml | 190 ++++++++++++++++++ profiles/1080p Quality.yml | 4 + profiles/2160p Remux.yml | 2 + regex_patterns/Basic HDR Formats.yml | 110 ++++++++++ regex_patterns/MovieMan.yml | 16 ++ regex_patterns/SM737.yml | 16 ++ regex_patterns/UHD Blu-ray.yml | 16 ++ .../UHD Bluray (Missing Groups).yml | 16 ++ regex_patterns/x265.yml | 19 +- 29 files changed, 699 insertions(+), 40 deletions(-) create mode 100644 custom_formats/Full Disc (Quality Match).yml create mode 100644 custom_formats/HDR10 (Missing) (1080p).yml create mode 100644 custom_formats/UHD Bluray (Missing).yml create mode 100644 custom_formats/UHD Bluray.yml create mode 100644 custom_formats/Unwanted x265 Groups.yml create mode 100644 profiles/1080p Quality (HDR).yml create mode 100644 regex_patterns/Basic HDR Formats.yml create mode 100644 regex_patterns/MovieMan.yml create mode 100644 regex_patterns/SM737.yml create mode 100644 regex_patterns/UHD Blu-ray.yml create mode 100644 regex_patterns/UHD Bluray (Missing Groups).yml diff --git a/custom_formats/Amazon Prime.yml b/custom_formats/Amazon Prime.yml index 9f34976..0f4d296 100644 --- a/custom_formats/Amazon Prime.yml +++ b/custom_formats/Amazon Prime.yml @@ -12,13 +12,13 @@ conditions: type: release_title - name: WEBRip negate: true - required: false + required: true source: webrip type: source - name: x265 negate: true pattern: x265 - required: false + required: true type: release_title tests: - conditionResults: @@ -37,5 +37,24 @@ tests: expected: false id: 1 input: The Bad Guys (2022) (1080p AMZN Webrip x265 10bit EAC3 5 1 - ArcX)[TAoE] - lastRun: '2024-12-02T19:53:46.454146' + lastRun: '2025-01-14T09:45:16.007149' + passes: true +- conditionResults: + - matches: true + name: AMZN Regex + negate: false + pattern: Amazon Prime + required: true + type: release_title + - matches: true + name: x265 + negate: true + pattern: x265 + required: false + type: release_title + expected: false + id: 2 + input: Top Gun Maverick (2022) IMAX (1080p AMZN WEB-DL x265 SDR DDP Atmos 5.1 English + - Goki TAoE) + lastRun: '2025-01-14T09:45:16.007149' passes: true diff --git a/custom_formats/Apple TV+.yml b/custom_formats/Apple TV+.yml index dcbc2b0..f71e572 100644 --- a/custom_formats/Apple TV+.yml +++ b/custom_formats/Apple TV+.yml @@ -12,13 +12,13 @@ conditions: type: release_title - name: WEBRip negate: true - required: false + required: true source: webrip type: source - name: x265 negate: true pattern: x265 - required: false + required: true type: release_title tests: - conditionResults: diff --git a/custom_formats/Criterion Channel.yml b/custom_formats/Criterion Channel.yml index 2c39c4f..2166bf1 100644 --- a/custom_formats/Criterion Channel.yml +++ b/custom_formats/Criterion Channel.yml @@ -12,12 +12,12 @@ conditions: type: release_title - name: WEBRip negate: true - required: false + required: true source: webrip type: source - name: x265 negate: true pattern: x265 - required: false + required: true type: release_title tests: [] diff --git a/custom_formats/Disney+.yml b/custom_formats/Disney+.yml index ef1f466..6f8a86f 100644 --- a/custom_formats/Disney+.yml +++ b/custom_formats/Disney+.yml @@ -12,13 +12,13 @@ conditions: type: release_title - name: WEBRip negate: true - required: false + required: true source: webrip type: source - name: x265 negate: true pattern: x265 - required: false + required: true type: release_title tests: - conditionResults: diff --git a/custom_formats/Full Disc (Quality Match).yml b/custom_formats/Full Disc (Quality Match).yml new file mode 100644 index 0000000..db6b5cd --- /dev/null +++ b/custom_formats/Full Disc (Quality Match).yml @@ -0,0 +1,11 @@ +name: Full Disc (Quality Match) +description: Matches full discs using a quality modifier +tags: +- Storage +conditions: +- name: BRDISK + type: quality_modifier + required: true + negate: false + qualityModifier: brdisk +tests: [] diff --git a/custom_formats/HBO Max.yml b/custom_formats/HBO Max.yml index 97352b1..839f6e0 100644 --- a/custom_formats/HBO Max.yml +++ b/custom_formats/HBO Max.yml @@ -12,13 +12,13 @@ conditions: type: release_title - name: WEBRip negate: true - required: false + required: true source: webrip type: source - name: x265 negate: true pattern: x265 - required: false + required: true type: release_title tests: - conditionResults: diff --git a/custom_formats/HDR10 (Missing) (1080p).yml b/custom_formats/HDR10 (Missing) (1080p).yml new file mode 100644 index 0000000..52096a6 --- /dev/null +++ b/custom_formats/HDR10 (Missing) (1080p).yml @@ -0,0 +1,37 @@ +name: HDR10 (Missing) (1080p) +description: Attempts to match HDR10 in 1080p x265 Encodes labelled with x265 +tags: +- Colour Grade +- HDR +conditions: +- name: Not SDR + negate: true + pattern: SDR + required: true + type: release_title +- name: Not HDR10+ + negate: true + pattern: HDR10+ + required: true + type: release_title +- name: Not HDR10 + negate: true + pattern: HDR10 + required: true + type: release_title +- name: Dolby Vision + negate: false + pattern: Dolby Vision + required: true + type: release_title +- name: x265 + negate: false + pattern: x265 + required: true + type: release_title +- name: 1080p + negate: false + required: true + resolution: 1080p + type: resolution +tests: [] diff --git a/custom_formats/Hulu.yml b/custom_formats/Hulu.yml index 40e589e..148bb06 100644 --- a/custom_formats/Hulu.yml +++ b/custom_formats/Hulu.yml @@ -12,13 +12,13 @@ conditions: type: release_title - name: WEBRip negate: true - required: false + required: true source: webrip type: source - name: x265 negate: true pattern: x265 - required: false + required: true type: release_title tests: - conditionResults: diff --git a/custom_formats/Max.yml b/custom_formats/Max.yml index 53706e0..48240f9 100644 --- a/custom_formats/Max.yml +++ b/custom_formats/Max.yml @@ -12,13 +12,13 @@ conditions: type: release_title - name: WEBRip negate: true - required: false + required: true source: webrip type: source - name: x265 negate: true pattern: x265 - required: false + required: true type: release_title tests: - conditionResults: diff --git a/custom_formats/Movies Anywhere.yml b/custom_formats/Movies Anywhere.yml index 18288c4..dc65aad 100644 --- a/custom_formats/Movies Anywhere.yml +++ b/custom_formats/Movies Anywhere.yml @@ -12,12 +12,12 @@ conditions: type: release_title - name: WEBRip negate: true - required: false + required: true source: webrip type: source - name: x265 negate: true pattern: x265 - required: false + required: true type: release_title tests: [] diff --git a/custom_formats/Netflix.yml b/custom_formats/Netflix.yml index 30ca198..fb32912 100644 --- a/custom_formats/Netflix.yml +++ b/custom_formats/Netflix.yml @@ -12,13 +12,13 @@ conditions: type: release_title - name: WEBRip negate: true - required: false + required: true source: webrip type: source - name: x265 negate: true pattern: x265 - required: false + required: true type: release_title tests: - conditionResults: diff --git a/custom_formats/Paramount+.yml b/custom_formats/Paramount+.yml index 7a92204..23a0914 100644 --- a/custom_formats/Paramount+.yml +++ b/custom_formats/Paramount+.yml @@ -12,13 +12,13 @@ conditions: type: release_title - name: WEBRip negate: true - required: false + required: true source: webrip type: source - name: x265 negate: true pattern: x265 - required: false + required: true type: release_title tests: - conditionResults: diff --git a/custom_formats/Peacock.yml b/custom_formats/Peacock.yml index 5642380..5a23e14 100644 --- a/custom_formats/Peacock.yml +++ b/custom_formats/Peacock.yml @@ -12,13 +12,13 @@ conditions: type: release_title - name: WEBRip negate: true - required: false + required: true source: webrip type: source - name: x265 negate: true pattern: x265 - required: false + required: true type: release_title tests: - conditionResults: diff --git a/custom_formats/Roku.yml b/custom_formats/Roku.yml index 583a78f..bd9e26e 100644 --- a/custom_formats/Roku.yml +++ b/custom_formats/Roku.yml @@ -12,13 +12,13 @@ conditions: type: release_title - name: WEBRip negate: true - required: false + required: true source: webrip type: source - name: x265 negate: true pattern: x265 - required: false + required: true type: release_title tests: - conditionResults: diff --git a/custom_formats/UHD Bluray (Missing).yml b/custom_formats/UHD Bluray (Missing).yml new file mode 100644 index 0000000..4ab30b4 --- /dev/null +++ b/custom_formats/UHD Bluray (Missing).yml @@ -0,0 +1,53 @@ +name: UHD Bluray (Missing) +description: Attempts to match UHD Bluray as a source when not included in the release + title +tags: +- Source +- Storage +- 2160p +conditions: +- name: Release Groups + type: release_group + required: true + negate: false + pattern: UHD Bluray (Missing Groups) +- name: 1080p + negate: false + required: true + resolution: 1080p + type: resolution +- name: Not UHD Blu-ray + negate: true + pattern: UHD Blu-ray + required: true + type: release_title +- name: HDR + negate: false + pattern: Basic HDR Formats + required: true + type: release_title +tests: +- conditionResults: + - matches: true + name: Release Groups + negate: false + pattern: UHD Bluray (Missing Groups) + required: true + type: release_group + - matches: false + name: Not UHD Blu-ray + negate: true + pattern: UHD Blu-ray + required: true + type: release_title + - matches: true + name: HDR + negate: false + pattern: Basic HDR Formats + required: true + type: release_title + expected: true + id: 1 + input: Training Day 2001 1080p BluRay DDP 7 1 HDR x265-LEGi0N + lastRun: '2025-01-14T09:32:13.794103' + passes: true diff --git a/custom_formats/UHD Bluray.yml b/custom_formats/UHD Bluray.yml new file mode 100644 index 0000000..bf87f5b --- /dev/null +++ b/custom_formats/UHD Bluray.yml @@ -0,0 +1,79 @@ +name: UHD Bluray +description: UHD Blu-ray is a digital optical disc format released in 2016. It stores + 66GB on triple-layer discs or 100GB on quad-layer discs, compared to standard Blu-ray's + 25GB/50GB capacity. The format delivers 3840x2160 (4K) resolution video using HEVC + (H.265) encoding at bitrates up to 128Mbps. All UHD Blu-rays include HDR10 support, + with some releases adding Dolby Vision or HDR10+. The format uses the BT.2020 color + space and 10-bit color depth, while supporting audio formats like Dolby Atmos, DTS:X, + DTS-HD MA, and Dolby TrueHD. UHD Blu-ray players require HDMI 2.0a and HDCP 2.2 + compliant displays to show 4K HDR content. +tags: +- Source +- Storage +- 2160p +conditions: +- name: UHD Blu-ray + negate: false + pattern: UHD Blu-ray + required: true + type: release_title +- name: HDR + negate: false + pattern: Basic HDR Formats + required: true + type: release_title +tests: +- conditionResults: + - matches: false + name: UHD Blu-ray + negate: false + pattern: UHD Blu-ray + required: true + type: release_title + - matches: true + name: HDR + negate: false + pattern: Basic HDR Formats + required: true + type: release_title + expected: false + id: 2 + input: 'Avatar: The Way of Water [2022] 2160p HEVC WEB-DL HDR10+ -CMRG' + lastRun: '2025-01-13T08:53:49.334557' + passes: true +- conditionResults: + - matches: true + name: UHD Blu-ray + negate: false + pattern: UHD Blu-ray + required: true + type: release_title + - matches: true + name: HDR + negate: false + pattern: Basic HDR Formats + required: true + type: release_title + expected: true + id: 3 + input: Avatar.The.Way.of.Water.2022.1080p.UHD.BluRay.DDP7.1.HDR10.x265-GALAXY + lastRun: '2025-01-13T08:53:49.334557' + passes: true +- conditionResults: + - matches: true + name: UHD Blu-ray + negate: false + pattern: UHD Blu-ray + required: true + type: release_title + - matches: true + name: HDR + negate: false + pattern: Basic HDR Formats + required: true + type: release_title + expected: true + id: 4 + input: Blade Runner 2049 2017 1080p UHD BluRay DTS HDR x265 D-Z0N3 + lastRun: '2025-01-13T08:53:49.334557' + passes: true diff --git a/custom_formats/Unwanted x265 Groups.yml b/custom_formats/Unwanted x265 Groups.yml new file mode 100644 index 0000000..1788034 --- /dev/null +++ b/custom_formats/Unwanted x265 Groups.yml @@ -0,0 +1,55 @@ +name: Unwanted x265 Groups +description: '' +tags: +- Unwanted +- x265 +- Release Group +conditions: +- name: MovieMan + type: release_title + required: false + negate: false + pattern: MovieMan +- name: SM737 + negate: false + pattern: SM737 + required: false + type: release_title +tests: +- conditionResults: + - matches: true + name: MovieMan + negate: false + pattern: MovieMan + required: false + type: release_title + - matches: false + name: SM737 + negate: false + pattern: SM737 + required: false + type: release_title + expected: true + id: 1 + input: Blade.Runner.2049.2017.1080p.UHD.BluRay.HDR.x265.DDP.5.1-MovieMan + lastRun: '2025-01-14T10:06:40.600924' + passes: true +- conditionResults: + - matches: false + name: MovieMan + negate: false + pattern: MovieMan + required: false + type: release_title + - matches: true + name: SM737 + negate: false + pattern: SM737 + required: false + type: release_title + expected: true + id: 2 + input: Blade Runner 2049 (2017) (1080p UHD BluRay x265 DV HDR DDP Atmos 5.1 English + - SM737) [REPACK] + lastRun: '2025-01-14T10:06:40.600924' + passes: true diff --git a/custom_formats/iTunes.yml b/custom_formats/iTunes.yml index 294f2b0..3654b99 100644 --- a/custom_formats/iTunes.yml +++ b/custom_formats/iTunes.yml @@ -12,13 +12,13 @@ conditions: type: release_title - name: WEBRip negate: true - required: false + required: true source: webrip type: source - name: x265 negate: true pattern: x265 - required: false + required: true type: release_title tests: - conditionResults: diff --git a/custom_formats/x265 (Missing).yml b/custom_formats/x265 (Missing).yml index ede2f8a..707ac5e 100644 --- a/custom_formats/x265 (Missing).yml +++ b/custom_formats/x265 (Missing).yml @@ -4,23 +4,41 @@ tags: - x265 conditions: - name: 1080p - type: resolution - required: true negate: false + required: true resolution: 1080p + type: resolution - name: Bluray - type: source - required: true negate: false + required: true source: bluray + type: source - name: Not x265 - type: release_title - required: true - negate: false + negate: true pattern: x265 -- name: h265 - type: release_title required: true + type: release_title +- name: h265 negate: false pattern: h265 -tests: [] + required: true + type: release_title +tests: +- conditionResults: + - matches: false + name: Not x265 + negate: true + pattern: x265 + required: true + type: release_title + - matches: true + name: h265 + negate: false + pattern: h265 + required: true + type: release_title + expected: true + id: 1 + input: Training Day 2001 BluRay 10Bit 1080p DD5 1 H265-d3g + lastRun: '2025-01-14T09:03:52.278761' + passes: true diff --git a/profiles/1080p Balanced.yml b/profiles/1080p Balanced.yml index e58515e..0d1cf54 100644 --- a/profiles/1080p Balanced.yml +++ b/profiles/1080p Balanced.yml @@ -97,8 +97,12 @@ custom_formats: score: -9999 - name: Dolby Vision score: -9999 +- name: Extras + score: -9999 - name: Full Disc score: -9999 +- name: Full Disc (Quality Match) + score: -9999 - name: h265 score: -9999 - name: h265 (Missing) diff --git a/profiles/1080p Quality (HDR).yml b/profiles/1080p Quality (HDR).yml new file mode 100644 index 0000000..cda2bd6 --- /dev/null +++ b/profiles/1080p Quality (HDR).yml @@ -0,0 +1,190 @@ +name: 1080p Quality (HDR) +description: "This profile prioritises 'Transparent' encodes through a special metric\ + \ known as the Golden Popcorn Performance Index. This is a data-driven metric that\ + \ identifies and ranks release groups based on their propensity to release a 'Golden\ + \ Pocorn' - a very high quality encode. In addition to the transparent ranking.\ + \ special considerations for UHD encoded HDR releases has been implemented. \n\n\ + \nIn the case that a 1080p encode or WEB-DL is not available, the profile falls\ + \ back to DVD remuxes & encodes." +tags: +- 1080p +- Transparent +- GPPi +- x264 +- x265 +- HDR +- Dolby Vision +upgradesAllowed: true +minCustomFormatScore: 0 +upgradeUntilScore: 320 +minScoreIncrement: 10 +custom_formats: +- name: UHD Bluray + score: 350 +- name: UHD Bluray (Missing) + score: 350 +- name: 1080p Golden Popcorn + score: 120 +- name: 1080p Quality Tier 1 + score: 120 +- name: 1080p Quality Tier 2 + score: 110 +- name: 1080p Quality Tier 3 + score: 100 +- name: 1080p Quality Tier 4 + score: 90 +- name: 1080p Quality Tier 5 + score: 80 +- name: 1080p + score: 60 +- name: Amazon Prime + score: 60 +- name: Apple TV+ + score: 60 +- name: Disney+ + score: 60 +- name: Movies Anywhere + score: 60 +- name: 1080p Balanced Tier 1 + score: 50 +- name: Criterion Channel + score: 50 +- name: HBO Max + score: 50 +- name: Max + score: 50 +- name: Netflix + score: 50 +- name: Paramount+ + score: 50 +- name: Peacock + score: 50 +- name: 1080p Balanced Tier 2 + score: 40 +- name: DVD Remux + score: 40 +- name: Hulu + score: 40 +- name: iTunes + score: 40 +- name: iTunes (Missing) + score: 40 +- name: Roku + score: 40 +- name: Dolby Vision + score: 30 +- name: SD Golden Popcorn + score: 30 +- name: SD Quality Tier 1 + score: 30 +- name: HDR10+ + score: 20 +- name: Scene + score: 20 +- name: SD Quality Tier 2 + score: 20 +- name: Atmos + score: 10 +- name: Atmos (Missing) + score: 10 +- name: Blu-ray + score: 10 +- name: HDR10 + score: 10 +- name: HDR10 (Missing) + score: 10 +- name: HDR10 (Missing) (1080p) + score: 10 +- name: WEBRip + score: 10 +- name: x264 + score: 10 +- name: x265 + score: -90 +- name: 2160p + score: -9999 +- name: 3D + score: -9999 +- name: 720p + score: -9999 +- name: 720p Golden Popcorn + score: -9999 +- name: B&W + score: -9999 +- name: BeyondHD + score: -9999 +- name: Blu-ray Remux + score: -9999 +- name: Dolby Vision (Without Fallback) + score: -9999 +- name: Extras + score: -9999 +- name: Full Disc + score: -9999 +- name: Full Disc (Quality Match) + score: -9999 +- name: h265 + score: -9999 +- name: h265 (Missing) + score: -9999 +- name: Remux + score: -9999 +- name: SD Bluray Encodes + score: -9999 +- name: Unwanted x265 Groups + score: -9999 +- name: Upscaled + score: -9999 +- name: x265 (Missing) + score: -9999 +qualities: +- id: -1 + name: Transparent capable + description: All capable of being indistinguishable from source. WEB-DL included + to not allow unknown encode to trump known WEB-DL. + qualities: + - id: 10 + name: Bluray-1080p + - id: 9 + name: WEBDL-1080p + - id: 11 + name: WEBRip-1080p +- id: 12 + name: HDTV-1080p +- id: -2 + name: Fallbacks + description: SD Fallbacks + qualities: + - id: 19 + name: WEBDL-480p + - id: 20 + name: WEBRip-480p + - id: 22 + name: DVD + - id: 24 + name: SDTV +- id: -3 + name: Prereleases + description: 'Low quality releases that come out before physical discs / streaming + / VODs. Needs to be enabled for tweak to work. ' + qualities: + - id: 29 + name: CAM + - id: 26 + name: Telesync + - id: 25 + name: Telecine + - id: 23 + name: DVDSCR +upgrade_until: + id: -1 + name: Transparent capable + description: All capable of being indistinguishable from source. WEB-DL included + to not allow unknown encode to trump known WEB-DL. +language: must_original +tweaks: + preferFreeleech: false + allowLosslessAudio: true + allowDVNoFallback: false + allowBleedingEdgeCodecs: false + allowPrereleases: false diff --git a/profiles/1080p Quality.yml b/profiles/1080p Quality.yml index 3b045e3..b085d47 100644 --- a/profiles/1080p Quality.yml +++ b/profiles/1080p Quality.yml @@ -101,8 +101,12 @@ custom_formats: score: -9999 - name: Dolby Vision score: -9999 +- name: Extras + score: -9999 - name: Full Disc score: -9999 +- name: Full Disc (Quality Match) + score: -9999 - name: h265 score: -9999 - name: h265 (Missing) diff --git a/profiles/2160p Remux.yml b/profiles/2160p Remux.yml index e69e8db..48ddfbd 100644 --- a/profiles/2160p Remux.yml +++ b/profiles/2160p Remux.yml @@ -96,6 +96,8 @@ custom_formats: score: -9999 - name: Full Disc score: -9999 +- name: Full Disc (Quality Match) + score: -9999 - name: h265 score: -9999 - name: h265 (Missing) diff --git a/regex_patterns/Basic HDR Formats.yml b/regex_patterns/Basic HDR Formats.yml new file mode 100644 index 0000000..a3b41f4 --- /dev/null +++ b/regex_patterns/Basic HDR Formats.yml @@ -0,0 +1,110 @@ +name: Basic HDR Formats +pattern: (?:(?<=^(?!.*\b(HLG|PQ|SDR)(\b|\d)).*?)HDR)|\b(dv(?![ .](HLG|SDR))|dovi|dolby[ + .]?vision)\b +description: Matches Dolby Vision OR HDR10. Needed to better match UHD Blurays +tags: +- Enhancement +- Colour Grade +- HDR +tests: +- expected: true + id: 5 + input: MovieName.1080p.DV.mkv + lastRun: '2025-01-13T08:51:12.077354' + matchSpan: + end: 18 + start: 16 + matchedContent: DV + matchedGroups: + - null + - null + - DV + - null + passes: true +- expected: true + id: 6 + input: MovieName.4K.Dolby Vision.IMAX.mkv + lastRun: '2025-01-13T08:51:12.077354' + matchSpan: + end: 25 + start: 13 + matchedContent: Dolby Vision + matchedGroups: + - null + - null + - Dolby Vision + - null + passes: true +- expected: false + id: 7 + input: MovieName.2023.4K.DV.HLG.mkv + lastRun: '2025-01-13T08:51:12.077354' + matchSpan: null + matchedContent: null + matchedGroups: [] + passes: true +- expected: false + id: 8 + input: MovieName.2023.4K.DV.SDR.mkv + lastRun: '2025-01-13T08:51:12.077354' + matchSpan: null + matchedContent: null + matchedGroups: [] + passes: true +- expected: true + id: 9 + input: MovieName.4K.DV.SDR.Dovi.mkv + lastRun: '2025-01-13T08:51:12.077354' + matchSpan: + end: 24 + start: 20 + matchedContent: Dovi + matchedGroups: + - null + - null + - Dovi + - null + passes: true +- expected: true + id: 10 + input: Schindler's List (1993) 2160p UHD BluRay Hybrid REMUX HEVC DV HDR10+ TrueHD + Atmos 7.1 English-WiLDCAT + lastRun: '2025-01-13T08:51:12.077354' + matchSpan: + end: 61 + start: 59 + matchedContent: DV + matchedGroups: + - null + - null + - DV + - null + passes: true +- expected: true + id: 11 + input: 'Avatar: The Way of Water 2022 1080p UHD BluRay DDP 7.1 HDR10 x265-GALAXY' + lastRun: '2025-01-13T08:51:12.077354' + matchSpan: + end: 58 + start: 55 + matchedContent: HDR + matchedGroups: + - null + - null + - null + - null + passes: true +- expected: true + id: 12 + input: 'Avatar: The Way of Water [2022] 2160p HEVC WEB-DL HDR10+ -CMRG' + lastRun: '2025-01-13T08:51:12.077354' + matchSpan: + end: 53 + start: 50 + matchedContent: HDR + matchedGroups: + - null + - null + - null + - null + passes: true diff --git a/regex_patterns/MovieMan.yml b/regex_patterns/MovieMan.yml new file mode 100644 index 0000000..ba90215 --- /dev/null +++ b/regex_patterns/MovieMan.yml @@ -0,0 +1,16 @@ +name: MovieMan +pattern: (?<=^|[\s.-])MovieMan\b +description: '' +tags: +- Release Group +tests: +- expected: true + id: 1 + input: Blade.Runner.2049.2017.1080p.UHD.BluRay.HDR.x265.DDP.5.1-MovieMan + lastRun: '2025-01-14T10:00:33.086158' + matchSpan: + end: 65 + start: 57 + matchedContent: MovieMan + matchedGroups: [] + passes: true diff --git a/regex_patterns/SM737.yml b/regex_patterns/SM737.yml new file mode 100644 index 0000000..f1c7cd4 --- /dev/null +++ b/regex_patterns/SM737.yml @@ -0,0 +1,16 @@ +name: SM737 +pattern: SM737 +description: '' +tags: +- Release Group +tests: +- expected: true + id: 1 + input: Training.Day.2001.UHD.BluRay.1080p.DD+Atmos.5.1.DoVi.HDR10.x265-SM737 + lastRun: '2025-01-13T07:59:06.177271' + matchSpan: + end: 69 + start: 64 + matchedContent: SM737 + matchedGroups: [] + passes: true diff --git a/regex_patterns/UHD Blu-ray.yml b/regex_patterns/UHD Blu-ray.yml new file mode 100644 index 0000000..f5b5192 --- /dev/null +++ b/regex_patterns/UHD Blu-ray.yml @@ -0,0 +1,16 @@ +name: UHD Blu-ray +pattern: \buhd[- ._]bluray\b +description: Matches "UHD Bluray" with a hyphen, space, dot or underscore between + them +tags: [] +tests: +- expected: true + id: 1 + input: 'Avatar: The Way of Water 2022 1080p UHD BluRay DDP 7.1 HDR10 x265-GALAXY' + lastRun: '2025-01-13T06:32:22.686039' + matchSpan: + end: 46 + start: 36 + matchedContent: UHD BluRay + matchedGroups: [] + passes: true diff --git a/regex_patterns/UHD Bluray (Missing Groups).yml b/regex_patterns/UHD Bluray (Missing Groups).yml new file mode 100644 index 0000000..c9bea0d --- /dev/null +++ b/regex_patterns/UHD Bluray (Missing Groups).yml @@ -0,0 +1,16 @@ +name: UHD Bluray (Missing Groups) +pattern: (?<=^|[\s.-])LEGi0N\b +description: Match release groups who don't put UHD Bluray in their 1080p x265 HDR + encodes +tags: [] +tests: +- expected: true + id: 1 + input: Training Day 2001 1080p BluRay DDP 7 1 HDR x265-LEGi0N + lastRun: '2025-01-14T09:31:15.526804' + matchSpan: + end: 54 + start: 48 + matchedContent: LEGi0N + matchedGroups: [] + passes: true diff --git a/regex_patterns/x265.yml b/regex_patterns/x265.yml index 58842fe..34baa78 100644 --- a/regex_patterns/x265.yml +++ b/regex_patterns/x265.yml @@ -1,5 +1,5 @@ name: x265 -pattern: ^(?!.*(?i:remux))(?=.*(\b[x]\s?(\.?265)\b|HEVC|\bDS4K\b)).*$ +pattern: ^(?!.*(?i:remux))(?=.*([x]\s?(\.?265)\b|HEVC|\bDS4K\b)).*$ description: 'An open source encoder that produces H.265 videos. ' tags: - Encoder @@ -9,7 +9,7 @@ tests: id: 1 input: Aqua Teen Hunger Force (2000) S00E13 (480p DVD x265 SDR AAC 2.0 English - r00t QxR) - lastRun: '2024-12-12T06:07:21.505075' + lastRun: '2025-01-14T10:24:52.457470' matchSpan: end: 83 start: 0 @@ -22,7 +22,7 @@ tests: - expected: true id: 2 input: Planet Earth II S01 REPACK UHD BluRay 2160p DD5.1 HDR x265-BHDStudio - lastRun: '2024-12-12T06:07:21.505075' + lastRun: '2025-01-14T10:24:52.457470' matchSpan: end: 68 start: 0 @@ -31,3 +31,16 @@ tests: - x265 - '265' passes: true +- expected: true + id: 3 + input: Spider-Man Across the Spider-Verse 2023 1080p UHD BluRay DDP7 1 DoVi HDR10x265-c0kE + lastRun: '2025-01-14T10:24:52.457470' + matchSpan: + end: 83 + start: 0 + matchedContent: Spider-Man Across the Spider-Verse 2023 1080p UHD BluRay DDP7 1 + DoVi HDR10x265-c0kE + matchedGroups: + - x265 + - '265' + passes: true