Skip to content

Latest commit

 

History

History
48 lines (40 loc) · 1.44 KB

assume_quality.md

File metadata and controls

48 lines (40 loc) · 1.44 KB
title description published date tags editor dateCreated
assume_quality
true
2022-09-18 05:02:28 UTC
markdown
2022-09-18 05:02:25 UTC

Assume Quality

Applies quality components to entries that match specified quality requirements. When a quality is applied, any components which are unknown in the entry are filled from the applied quality. Quality requirements are tested in order of decreasing precision (the number of components matched, i.e. "720p h264" is more precise than "1080p" so gets tested first), and applied as matches are found. A pseudo-requirement "any" is also supported, which will match all qualities and be tested last. Using the simple configuration is the same as specifying an "any" rule.

Examples

Simple configuration

assume_quality: 1080p webdl 10bit truehd

This will set the resolution of any entries without a resolution to '1080p', the source of any entries without a source to 'webdl', and so on.

Advanced configuration

assume_quality:
  hdtv: 720p
  720p hdtv: 10bit
  '!ac3 !mp3': bluray
  any: 720p h264

Results:

An entry matching... Will be set to
hdtv 720p
720p and hdtv 10bit
Neither ac3 nor mp3 bluray
any 720p h264

Usage

example task:
  rss: http://idontbelieve.in/qualitiesinfilenames.rss
  assume_quality: 720p
  template: tv