Commit Graph

4 Commits

Author SHA1 Message Date
Samuel Chau
5d303f9d39 refactor(everything): various improvements from seraphys' working branch (#62)
- create(profile): 720p Quality
- create(format): 720p Quality tiers based on 720p GPPi data
- create(format): Unwanted groups for WEBRip, remux and general
- create(format): HDR formats for HLG, PQ
- create(format): Streaming services (Hotstar, IQIYI, Kocowa, Now, Showtime, TVING, VIKI, VIU, WAVVE, WeTV)
- create(format): Remux tiers
- create(format): WEBDL tiers
- create(format): Season Pack
- create(format): VP9 codec
- create(regex): Various release groups, notably Remux and WEBDL 

- tweak(format): Change from web-dl negation to bluray requirement inside group tiers
- tweak(format): Manual group ranking tweaks for 2160p quality
- tweak(format): Improved sorting. Tags / conditions are now alphabetical
- tweak(format): Add source negations to full disc to stop it from matching remuxes and web stuff
- tweak(format): Add streaming service rename conditions
- tweak(format): Revised x265/h265 usage to negate unwanted stuff rather than uprank wanted stuff

- remove(format): BeyondHD. Added to unwanted groups
- remove(format): Scene. Scoring now treats scene encodes as unknown and defaults to indexer priority. 

Co-authored-by: Seraphys <156842860+xshatterx@users.noreply.github.com>
2025-06-19 12:07:18 +09:30
santiagosayshey
5682c46233 New Profile: 2160p Quality (#19)
create(script): Add tierCreator script for generating group tier custom formats + release group regex patterns

fix(tierCreator): Update YAML handling and improve template processing for group tiers

remove(template): release group condition placeholder

create(format): 2160p Quality Tiers
- 69 new release group regex patterns
- 6 new tiers for 2160p Quality

create(data): Add 2160p Quality Tiers JSON file with detailed statistics and scoring

docs(README): Update README to include utility scripts and tier creator usage instructions

fix(tierCreator): Improve output message to indicate whether a file is being created or overwritten

feat(tierCreator): Add show_preview option for dry run mode to display regex patterns and custom formats

add(tier): more data for 2160p Quality

add(tiers): new regex patterns for various groups, tweaks to 2160p quality tiers

tweak(format): add WOU and MALUS to unwanted x265

tweak(format): Seperate streaming services into 1080p / 2160p
- Existing ones still exist, there are just needed for the 2160p Quality profile since it needs different scores based on the resolution

create(format): Standard Dynamic Range

create(format): Match x265 only for 1080p
- Used to get rid of 1080p x265 encodes for 2160p Quality (since x265 is needed for 2160p Encodes)

tweak(regex): DTS & X can now be seperated by a colon

tweak(format): Add STRiKE to missing HDR Groups

create(profile): Initialise 2160p Quality

tweak(tier): adjustments to scoring algorithm
- hard limits on efficiency delta / num releases for tier 3+

tweaks(tier): new groups / tier adjustments for 2160p quality

add(format): x264 (1080p) 
- Match x264 2160p encodes

tweak(profile): Various improvements
- Remove UHD Bluray scores, they bloat the scoring logic
- Reduce SDR WEBs to below tier ~4
- Add some notes on scoring logic to description

fix(tier): Remove bad data

fix(tier): remove groups added via bad data

tweak(tier): target 55% efficiency, new data for SA89, Mainframe

add(profile): x265 (Missing 2160p)
- Append x265 to 2160 Blu-ray encodes that are not explicitly labelled x264

tweak(profile): Various improvements / tweaks
- Remove required groups for HDR missing CF
- New CF for unknown lossless audio
- New 2160p Balanced tiers
- Normalise lossless audio / quality tier scores

tweak(profile): Adjust fallbacks / improve descriptions 
- Removed HDTV for 1080p profiles
- Renamed 'fallbacks' to 'SD'

tweak(profile): Finalise 2160p Quality v1
- Set upgrade until to 2160p Transparent, score = 800, min score increment = 5
- Add comprehensive description
2025-01-18 17:27:44 +10:30
santiagosayshey
7833789f87 New Profile: 2160p Remux (#17)
* fix(format): Add required negation to remux regex

* Improvement(format): Better h265 parsing

- Only match 1080p + WEB
- Don't match remuxes / full discs

* feat(profile): New Profile: 2160p Remux

- Profile initialisation
- Still needs to be tested

* fix(format): Fix required negations for Atmos and HDR10

* feat(format): New 'codec' CF

- Matches Remux as a codec, not a source. Either h265 or h264.
- Need a better descriptor for this

* improvement(format): Parse for BTN Atmos labelling

- Instead of 'Atmos', match a singular 'A' after 'TrueHD' or 'DDP'
- The.Last.of.Us.S01.2160p.UHD.BluRay.Remux.TrueHDA7.1.H.265-PmP

* fix(format): required negations for TrueHD

* fix(format): don't match encodes / remuxes

* improvement(regex): Regex patterns for prior Atmos improvements

* improvement(format): Add more missing groups for HDR10, TrueHD

- TekMUX for HDR
- PmP for TrueHD

* feat(format): new CF: Encodes from Blu-ray

- Matches encodes from a Blu-ray, needed to drop score of 4k encodes

* feat(format): New CF: Non Retail HDR

- Matches releases with non retail HDR from specific release groups (notably from torrentleech)

* improvement(profile): Various scoring fixes for 2160p Remux

- Negate non-retail HDR
- Negate Bluray encodes
- Add missing TrueHD scores
- Add remux (codec) score
- Update until still broken

* fix(profile): Restore Prefer Freeleech

* fix(profile): Fix Quality Cutoff

- Now back to 2160p Remux
- Mapping wasn't properly resolving to Sonarr IDs

* tweak(profile): Scoring Changes

- Upgrade until -> 350 represents a 2160p Remux with DV + HDR10+, TrueHD + Atmos
- Min score increment -> 10 to stop upgrades between freleech

* tweak(regex): Add 'jennaortegaUHD' to Non Retail HDR Groups

- Releases appear to have injected HDR10+ / DoVi
- Unclear if this is non retail, but no other groups have these layers

* tweak(format): Add DVD negation to Remux CF

* fix(format): Fixed BTN Atmos Condition

- Wasn't set properly due to rename bug
- Add basic tests

* add(format): SDR Negation in HDR (Missing)

- Negate HDR when SDR is explicitly

* tweak(regex): Optional seperator between TrueHDA and 7.1

* tweak(regex): Add HDS to Missing HDR groups

* add(profile): Match and negate remuxes from UHDBits

- release titles never include audio

* tweak(regex): Add Aisha to missing HDR Groups

* tweak(regex): make @RFX Optional in Aisha match
2025-01-12 03:49:35 +10:30
santiagosayshey
a900cdeea6 feat(Regex + Format): Add Patterns and Formats for HDR types 2024-12-13 10:52:10 +10:50