flexget.plugins.clients.qbittorrent module#

class flexget.plugins.clients.qbittorrent.FromQBitTorrent[source]#

Bases: object

static client(host, port, username, password)[source]#

Import client or abort task.

Parameters:
on_task_input(task, config)[source]#
schema = {'additionalProperties': False, 'properties': {'category': {'type': 'string'}, 'completed': {'type': 'boolean'}, 'host': {'type': 'string'}, 'password': {'type': 'string'}, 'port': {'type': 'integer'}, 'username': {'type': 'string'}}, 'required': ['username', 'password', 'host', 'port'], 'type': 'object'}#
class flexget.plugins.clients.qbittorrent.OutputQBitTorrent[source]#

Bases: object

The QBitTorrent plugin.

Example:

qbittorrent:
  username: <USERNAME> (default: (none))
  password: <PASSWORD> (default: (none))
  host: <HOSTNAME> (default: localhost)
  port: <PORT> (default: 8080)
  use_ssl: <SSL> (default: False)
  verify_cert: <VERIFY> (default: True)
  path: <OUTPUT_DIR> (default: (none))
  incomplete_path: <INCOMPLETE_OUTPUT_DIR> (default: (none))
  label: <LABEL> (default: (none))
  tags: <TAGS> (default: (none))
  maxupspeed: <torrent upload speed limit> (default: 0)
  maxdownspeed: <torrent download speed limit> (default: 0)
  add_paused: <ADD_PAUSED> (default: False)
  ratio_limit: <RATIO_LIMIT> (default: -2)
  seeding_time_limit: <SEEDING_TIME_LIMIT> (default: -1)
static prepare_config(config)[source]#
_request(method, url, msg_on_fail=None, **kwargs)[source]#
add_entries(task, config)[source]#
add_torrent_file(entry, data, verify_cert)[source]#
add_torrent_url(entry, data, verify_cert)[source]#
check_api_version(msg_on_fail, verify=True)[source]#
check_torrent_exists(hash_torrent, verify_cert)[source]#
connect(config)[source]#

Connect to qBittorrent Web UI.

Username and password not necessary if ‘Bypass authentication for localhost’ is checked and host is ‘localhost’.

on_task_download(task, config)[source]#

Call download plugin to generate torrent files to load into qBittorrent.

on_task_output(task, config)[source]#

Add torrents to qBittorrent at exit.

schema = {'anyOf': [{'type': 'boolean'}, {'additionalProperties': False, 'properties': {'add_paused': {'type': 'boolean'}, 'fail_html': {'type': 'boolean'}, 'host': {'type': 'string'}, 'incomplete_path': {'type': 'string'}, 'label': {'type': 'string'}, 'maxdownspeed': {'type': 'integer'}, 'maxupspeed': {'type': 'integer'}, 'password': {'type': 'string'}, 'path': {'type': 'string'}, 'port': {'type': 'integer'}, 'ratio_limit': {'type': 'number'}, 'seeding_time_limit': {'format': 'interval', 'type': 'string'}, 'skip_check': {'type': 'boolean'}, 'tags': {'items': {'type': 'string'}, 'type': 'array'}, 'use_ssl': {'type': 'boolean'}, 'username': {'type': 'string'}, 'verify_cert': {'type': 'boolean'}}, 'type': 'object'}]}#
flexget.plugins.clients.qbittorrent.register_plugin()[source]#