flexget.components.bittorrent.torrent_scrub module#

class flexget.components.bittorrent.torrent_scrub.TorrentScrub[source]#

Bases: object

Scrubs torrents from unwanted keys.

Example:
tasks:
rutorrent-fast-resume-infected-task:

torrent_scrub: resume

on_task_modify(task, config)[source]#

Scrub items that are torrents, if they’re affected.

RT_KEYS = ('libtorrent_resume', 'log_callback', 'err_callback', 'rtorrent')#
SCRUB_MODES = ('off', 'on', 'all', 'resume', 'rtorrent')#
SCRUB_PRIO = 245#
schema = {'oneOf': [{'type': 'boolean'}, {'enum': ['off', 'on', 'all', 'resume', 'rtorrent'], 'type': 'string'}, {'items': {'type': 'string'}, 'type': 'array'}]}#
flexget.components.bittorrent.torrent_scrub.register_plugin()[source]#