Presets are named bundles of ranking model values and settings that give you a sensible starting point without manually specifying every field. Riven ships with one built-in preset —Documentation Index
Fetch the complete documentation index at: https://mintlify.com/rivenmedia/riven-ts/llms.txt
Use this file to discover all available pages before exploring further.
default — and supports fully custom ranking models for users who want complete control over how torrents are scored.
Available Presets
default
The built-in balanced preset. Prioritises lossless remuxes and high-quality web sources, strongly prefers Dolby Vision and HDR10+, and rewards lossless audio (TrueHD / DTS-HD MA). Heavily penalises rips and HDTV sources.
custom
No built-in values — you provide every field in the
rankingModel object. Any field you omit defaults to null, which rejects torrents with that attribute. Full control with full responsibility.The Default Preset
Thedefault preset is designed for a 4K-first, quality-focused library. Its opinionated hierarchy is:
- Source: Remux (10,000) ≫ Web-DL (200) > Web / Blu-ray (100) ≫ HDTV (−5,000) ≫ rips (−10,000)
- HDR: Dolby Vision (3,000) > HDR10+ (2,100) > HDR (2,000) > 10-bit (100) > SDR (0)
- Audio: TrueHD / DTS-Lossless (2,000) > Atmos (1,000) > DDP (150) > AAC / DTS Lossy (100) > DD (50) > FLAC / Stereo (0)
- Codec: HEVC / AVC / AV1 are all equal (500); lower-quality codecs are left at
null - Resolution: Only
r2160p: trueis set in the default preset’s settings block; schema defaults (r1080p: true,r720p: true,unknown: true) remain active, so 4K, 1080p, 720p, and unknown-resolution torrents are all allowed
Using the Default Preset
SetrankingModel to the string "default" in your config file. You can still layer settings overrides on top — they are merged after the preset is loaded:
When
rankingModel is "default", the preset’s settings and your settings block are shallow-merged (top-level keys only). This means if you specify resolutions, your entire resolutions object replaces the preset’s — so always include every resolution key you want enabled, including r2160p, when providing a resolutions override.Default Preset Full Values
The table below shows every value set by thedefault preset. Fields not listed are null in the schema defaults (not set by the preset), meaning torrents with those attributes are rejected unless you add them via a settings override or a custom model.
- Quality
- Codec
- HDR
- Audio
- Extras
- Settings
| Field | Value | Notes |
|---|---|---|
remux | 10000 | Blu-ray / UHD remux — highest quality source |
webdl | 200 | Web-DL from streaming services |
web | 100 | Generic web source |
bluray | 100 | Standard Blu-ray encode |
hdtv | −5000 | HDTV broadcast — penalised |
brrip | −10000 | Blu-ray rip — heavily penalised |
hdrip | −10000 | HD rip — heavily penalised |
webrip | −1000 | Web rip — moderately penalised |
dvd, vhs, bdrip, dvdrip, etc.) are null — those torrents are rejected.Custom Preset
When you need scoring logic that deviates significantly from the default, setrankingModel to an object. The preset is bypassed entirely — every field you omit will be null.
Partial Override Pattern
If you only want to change a handful of scores while keeping the rest of the default preset’s logic, use the string"default" for rankingModel and do not put your overrides in settings. Instead, file a bug — there is no partial-override merge for rankingModel; preset vs. custom is a binary choice.
For targeted score adjustments, the recommended approach is to copy the default preset values and modify only the fields you care about: