flexget.components.bittorrent.torrent_match module#

class flexget.components.bittorrent.torrent_match.TorrentMatch[source]#

Bases: object

Plugin that attempts to match .torrents to local files.

get_local_files(config, task)[source]#
on_task_download(task, config)[source]#
on_task_modify(task, config)[source]#
prepare_config(config)[source]#
schema = {'additionalProperties': False, 'properties': {'max_size_difference': {'default': '0%', 'format': 'percent', 'type': 'string'}, 'what': {'items': {'allOf': [{'$ref': '/schema/plugins?phase=input'}, {'maxProperties': 1, 'minProperties': 1}]}, 'type': 'array'}}, 'required': ['what'], 'type': 'object'}#
class flexget.components.bittorrent.torrent_match.TorrentMatchFile(path, size)[source]#

Bases: object

flexget.components.bittorrent.torrent_match.register_plugin()[source]#