flexget.plugins.metainfo.assume_quality module#
- class flexget.plugins.metainfo.assume_quality.AssumeQuality[source]#
Bases:
objectApply 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 increasing precision (ie “720p h264” is more precise than “1080p” so gets tested first), and applied as matches are found. Using the simple configuration is the same as specifying an “any” rule.
Examples:: assume_quality: 1080p webdl 10bit truehd
- assume_quality:
hdtv: 720p 720p hdtv: 10bit ‘!ac3 !mp3’: flac any: 720p h264
- schema = {'oneOf': [{'format': 'quality', 'title': 'simple config', 'type': 'string'}, {'additionalProperties': {'format': 'quality', 'type': 'string'}, 'title': 'advanced config', 'type': 'object'}]}#