Files
database/README.md
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

58 lines
1.5 KiB
Markdown

# Dictionary Database Repository
This repository hosts Dictionary's database containing:
- Regex Patterns
- Custom Formats
- Quality Profiles
The database serves two main purposes:
1. Powers our website and wiki documentation
2. Provides import files for the Profilarr application
## Branches
### Stable
Contains thoroughly tested and verified database entries ready for production use. All entries have gone through our quality assurance process.
### Dev
Contains the latest updates and additions that are pending formal verification. May include experimental patterns and profiles that require further testing.
## Scripts
The repository includes utility scripts to help maintain and generate database entries.
### Tier Creator
A Python script that generates Custom Formats and Regex Patterns from tier data files.
**Location**: `/scripts/tierCreator.py`
**Usage**:
```bash
python tierCreator.py <json_file> --resolution <resolution> --type <type> [--dry-run]
```
**Arguments**:
- `json_file`: Path to a JSON file in `/tiers` containing release group tier data
- `--resolution`: One of: SD, 720p, 1080p, 2160p
- `--type`: One of: Quality, Balanced
- `--dry-run`: Optional flag to preview changes without writing files
**Example**:
```bash
python tierCreator.py ../tiers/2160p_quality.json --resolution 2160p --type Quality
```
The script will:
1. Read the tier data from the specified JSON file
2. Create regex patterns in `/regex_patterns` for any release groups that don't have one
3. Generate custom formats in `/custom_formats` for each tier