30 changed files with 2821 additions and 2851 deletions
@ -1,56 +0,0 @@ |
|||
from .main import Blackhole |
|||
from couchpotato.core.helpers.variable import getDownloadDir |
|||
|
|||
|
|||
def start(): |
|||
return Blackhole() |
|||
|
|||
config = [{ |
|||
'name': 'blackhole', |
|||
'order': 30, |
|||
'groups': [ |
|||
{ |
|||
'tab': 'downloaders', |
|||
'list': 'download_providers', |
|||
'name': 'blackhole', |
|||
'label': 'Black hole', |
|||
'description': 'Download the NZB/Torrent to a specific folder. <em>Note: Seeding and copying/linking features do <strong>not</strong> work with Black hole</em>.', |
|||
'wizard': True, |
|||
'options': [ |
|||
{ |
|||
'name': 'enabled', |
|||
'default': True, |
|||
'type': 'enabler', |
|||
'radio_group': 'nzb,torrent', |
|||
}, |
|||
{ |
|||
'name': 'directory', |
|||
'type': 'directory', |
|||
'description': 'Directory where the .nzb (or .torrent) file is saved to.', |
|||
'default': getDownloadDir() |
|||
}, |
|||
{ |
|||
'name': 'use_for', |
|||
'label': 'Use for', |
|||
'default': 'both', |
|||
'type': 'dropdown', |
|||
'values': [('usenet & torrents', 'both'), ('usenet', 'nzb'), ('torrent', 'torrent')], |
|||
}, |
|||
{ |
|||
'name': 'create_subdir', |
|||
'default': 0, |
|||
'type': 'bool', |
|||
'advanced': True, |
|||
'description': 'Create a sub directory when saving the .nzb (or .torrent).', |
|||
}, |
|||
{ |
|||
'name': 'manual', |
|||
'default': 0, |
|||
'type': 'bool', |
|||
'advanced': True, |
|||
'description': 'Disable this downloader for automated searches, but use it when I manually send a release.', |
|||
}, |
|||
], |
|||
} |
|||
], |
|||
}] |
@ -1,91 +0,0 @@ |
|||
from .main import Deluge |
|||
|
|||
|
|||
def start(): |
|||
return Deluge() |
|||
|
|||
config = [{ |
|||
'name': 'deluge', |
|||
'groups': [ |
|||
{ |
|||
'tab': 'downloaders', |
|||
'list': 'download_providers', |
|||
'name': 'deluge', |
|||
'label': 'Deluge', |
|||
'description': 'Use <a href="http://www.deluge-torrent.org/" target="_blank">Deluge</a> to download torrents.', |
|||
'wizard': True, |
|||
'options': [ |
|||
{ |
|||
'name': 'enabled', |
|||
'default': 0, |
|||
'type': 'enabler', |
|||
'radio_group': 'torrent', |
|||
}, |
|||
{ |
|||
'name': 'host', |
|||
'default': 'localhost:58846', |
|||
'description': 'Hostname with port. Usually <strong>localhost:58846</strong>', |
|||
}, |
|||
{ |
|||
'name': 'username', |
|||
}, |
|||
{ |
|||
'name': 'password', |
|||
'type': 'password', |
|||
}, |
|||
{ |
|||
'name': 'directory', |
|||
'type': 'directory', |
|||
'description': 'Download to this directory. Keep empty for default Deluge download directory.', |
|||
}, |
|||
{ |
|||
'name': 'completed_directory', |
|||
'type': 'directory', |
|||
'description': 'Move completed torrent to this directory. Keep empty for default Deluge options.', |
|||
'advanced': True, |
|||
}, |
|||
{ |
|||
'name': 'label', |
|||
'description': 'Label to add to torrents in the Deluge UI.', |
|||
}, |
|||
{ |
|||
'name': 'remove_complete', |
|||
'label': 'Remove torrent', |
|||
'type': 'bool', |
|||
'default': True, |
|||
'advanced': True, |
|||
'description': 'Remove the torrent from Deluge after it has finished seeding.', |
|||
}, |
|||
{ |
|||
'name': 'delete_files', |
|||
'label': 'Remove files', |
|||
'default': True, |
|||
'type': 'bool', |
|||
'advanced': True, |
|||
'description': 'Also remove the leftover files.', |
|||
}, |
|||
{ |
|||
'name': 'paused', |
|||
'type': 'bool', |
|||
'advanced': True, |
|||
'default': False, |
|||
'description': 'Add the torrent paused.', |
|||
}, |
|||
{ |
|||
'name': 'manual', |
|||
'default': 0, |
|||
'type': 'bool', |
|||
'advanced': True, |
|||
'description': 'Disable this downloader for automated searches, but use it when I manually send a release.', |
|||
}, |
|||
{ |
|||
'name': 'delete_failed', |
|||
'default': True, |
|||
'advanced': True, |
|||
'type': 'bool', |
|||
'description': 'Delete a release after the download has failed.', |
|||
}, |
|||
], |
|||
} |
|||
], |
|||
}] |
@ -1,77 +0,0 @@ |
|||
from .main import NZBGet |
|||
|
|||
|
|||
def start(): |
|||
return NZBGet() |
|||
|
|||
config = [{ |
|||
'name': 'nzbget', |
|||
'groups': [ |
|||
{ |
|||
'tab': 'downloaders', |
|||
'list': 'download_providers', |
|||
'name': 'nzbget', |
|||
'label': 'NZBGet', |
|||
'description': 'Use <a href="http://nzbget.sourceforge.net/Main_Page" target="_blank">NZBGet</a> to download NZBs.', |
|||
'wizard': True, |
|||
'options': [ |
|||
{ |
|||
'name': 'enabled', |
|||
'default': 0, |
|||
'type': 'enabler', |
|||
'radio_group': 'nzb', |
|||
}, |
|||
{ |
|||
'name': 'host', |
|||
'default': 'localhost:6789', |
|||
'description': 'Hostname with port. Usually <strong>localhost:6789</strong>', |
|||
}, |
|||
{ |
|||
'name': 'ssl', |
|||
'default': 0, |
|||
'type': 'bool', |
|||
'advanced': True, |
|||
'description': 'Use HyperText Transfer Protocol Secure, or <strong>https</strong>', |
|||
}, |
|||
{ |
|||
'name': 'username', |
|||
'default': 'nzbget', |
|||
'advanced': True, |
|||
'description': 'Set a different username to connect. Default: nzbget', |
|||
}, |
|||
{ |
|||
'name': 'password', |
|||
'type': 'password', |
|||
'description': 'Default NZBGet password is <i>tegbzn6789</i>', |
|||
}, |
|||
{ |
|||
'name': 'category', |
|||
'default': 'Movies', |
|||
'description': 'The category CP places the nzb in. Like <strong>movies</strong> or <strong>couchpotato</strong>', |
|||
}, |
|||
{ |
|||
'name': 'priority', |
|||
'advanced': True, |
|||
'default': '0', |
|||
'type': 'dropdown', |
|||
'values': [('Very Low', -100), ('Low', -50), ('Normal', 0), ('High', 50), ('Very High', 100)], |
|||
'description': 'Only change this if you are using NZBget 9.0 or higher', |
|||
}, |
|||
{ |
|||
'name': 'manual', |
|||
'default': 0, |
|||
'type': 'bool', |
|||
'advanced': True, |
|||
'description': 'Disable this downloader for automated searches, but use it when I manually send a release.', |
|||
}, |
|||
{ |
|||
'name': 'delete_failed', |
|||
'default': True, |
|||
'advanced': True, |
|||
'type': 'bool', |
|||
'description': 'Delete a release after the download has failed.', |
|||
}, |
|||
], |
|||
} |
|||
], |
|||
}] |
@ -1,57 +0,0 @@ |
|||
from .main import NZBVortex |
|||
|
|||
|
|||
def start(): |
|||
return NZBVortex() |
|||
|
|||
config = [{ |
|||
'name': 'nzbvortex', |
|||
'groups': [ |
|||
{ |
|||
'tab': 'downloaders', |
|||
'list': 'download_providers', |
|||
'name': 'nzbvortex', |
|||
'label': 'NZBVortex', |
|||
'description': 'Use <a href="http://www.nzbvortex.com/landing/" target="_blank">NZBVortex</a> to download NZBs.', |
|||
'wizard': True, |
|||
'options': [ |
|||
{ |
|||
'name': 'enabled', |
|||
'default': 0, |
|||
'type': 'enabler', |
|||
'radio_group': 'nzb', |
|||
}, |
|||
{ |
|||
'name': 'host', |
|||
'default': 'localhost:4321', |
|||
'description': 'Hostname with port. Usually <strong>localhost:4321</strong>', |
|||
}, |
|||
{ |
|||
'name': 'ssl', |
|||
'default': 1, |
|||
'type': 'bool', |
|||
'advanced': True, |
|||
'description': 'Use HyperText Transfer Protocol Secure, or <strong>https</strong>', |
|||
}, |
|||
{ |
|||
'name': 'api_key', |
|||
'label': 'Api Key', |
|||
}, |
|||
{ |
|||
'name': 'manual', |
|||
'default': False, |
|||
'type': 'bool', |
|||
'advanced': True, |
|||
'description': 'Disable this downloader for automated searches, but use it when I manually send a release.', |
|||
}, |
|||
{ |
|||
'name': 'delete_failed', |
|||
'default': True, |
|||
'advanced': True, |
|||
'type': 'bool', |
|||
'description': 'Delete a release after the download has failed.', |
|||
}, |
|||
], |
|||
} |
|||
], |
|||
}] |
@ -1,38 +0,0 @@ |
|||
from .main import Pneumatic |
|||
|
|||
|
|||
def start(): |
|||
return Pneumatic() |
|||
|
|||
config = [{ |
|||
'name': 'pneumatic', |
|||
'order': 30, |
|||
'groups': [ |
|||
{ |
|||
'tab': 'downloaders', |
|||
'list': 'download_providers', |
|||
'name': 'pneumatic', |
|||
'label': 'Pneumatic', |
|||
'description': 'Use <a href="http://forum.xbmc.org/showthread.php?tid=97657" target="_blank">Pneumatic</a> to download .strm files.', |
|||
'options': [ |
|||
{ |
|||
'name': 'enabled', |
|||
'default': 0, |
|||
'type': 'enabler', |
|||
}, |
|||
{ |
|||
'name': 'directory', |
|||
'type': 'directory', |
|||
'description': 'Directory where the .strm file is saved to.', |
|||
}, |
|||
{ |
|||
'name': 'manual', |
|||
'default': 0, |
|||
'type': 'bool', |
|||
'advanced': True, |
|||
'description': 'Disable this downloader for automated searches, but use it when I manually send a release.', |
|||
}, |
|||
], |
|||
} |
|||
], |
|||
}] |
@ -1,100 +0,0 @@ |
|||
from .main import rTorrent |
|||
|
|||
|
|||
def start(): |
|||
return rTorrent() |
|||
|
|||
config = [{ |
|||
'name': 'rtorrent', |
|||
'groups': [ |
|||
{ |
|||
'tab': 'downloaders', |
|||
'list': 'download_providers', |
|||
'name': 'rtorrent', |
|||
'label': 'rTorrent', |
|||
'description': '', |
|||
'wizard': True, |
|||
'options': [ |
|||
{ |
|||
'name': 'enabled', |
|||
'default': 0, |
|||
'type': 'enabler', |
|||
'radio_group': 'torrent', |
|||
}, |
|||
# @RuudBurger: How do I migrate this? |
|||
# { |
|||
# 'name': 'url', |
|||
# 'default': 'http://localhost:80/RPC2', |
|||
# 'description': 'XML-RPC Endpoint URI. Usually <strong>scgi://localhost:5000</strong> ' |
|||
# 'or <strong>http://localhost:80/RPC2</strong>' |
|||
# }, |
|||
{ |
|||
'name': 'host', |
|||
'default': 'localhost:80', |
|||
'description': 'RPC Communication URI. Usually <strong>scgi://localhost:5000</strong>, ' |
|||
'<strong>httprpc://localhost/rutorrent</strong> or <strong>localhost:80</strong>' |
|||
}, |
|||
{ |
|||
'name': 'ssl', |
|||
'default': 0, |
|||
'type': 'bool', |
|||
'advanced': True, |
|||
'description': 'Use HyperText Transfer Protocol Secure, or <strong>https</strong>', |
|||
}, |
|||
{ |
|||
'name': 'rpc_url', |
|||
'type': 'string', |
|||
'default': 'RPC2', |
|||
'advanced': True, |
|||
'description': 'Change if your RPC mount is at a different path.', |
|||
}, |
|||
{ |
|||
'name': 'username', |
|||
}, |
|||
{ |
|||
'name': 'password', |
|||
'type': 'password', |
|||
}, |
|||
{ |
|||
'name': 'label', |
|||
'description': 'Label to apply on added torrents.', |
|||
}, |
|||
{ |
|||
'name': 'directory', |
|||
'type': 'directory', |
|||
'description': 'Download to this directory. Keep empty for default rTorrent download directory.', |
|||
}, |
|||
{ |
|||
'name': 'remove_complete', |
|||
'label': 'Remove torrent', |
|||
'default': False, |
|||
'advanced': True, |
|||
'type': 'bool', |
|||
'description': 'Remove the torrent after it finishes seeding.', |
|||
}, |
|||
{ |
|||
'name': 'delete_files', |
|||
'label': 'Remove files', |
|||
'default': True, |
|||
'type': 'bool', |
|||
'advanced': True, |
|||
'description': 'Also remove the leftover files.', |
|||
}, |
|||
{ |
|||
'name': 'paused', |
|||
'type': 'bool', |
|||
'advanced': True, |
|||
'default': False, |
|||
'description': 'Add the torrent paused.', |
|||
}, |
|||
{ |
|||
'name': 'manual', |
|||
'default': 0, |
|||
'type': 'bool', |
|||
'advanced': True, |
|||
'description': 'Disable this downloader for automated searches, but use it when I manually send a release.', |
|||
}, |
|||
], |
|||
} |
|||
], |
|||
}] |
@ -1,79 +0,0 @@ |
|||
from .main import Sabnzbd |
|||
|
|||
|
|||
def start(): |
|||
return Sabnzbd() |
|||
|
|||
config = [{ |
|||
'name': 'sabnzbd', |
|||
'groups': [ |
|||
{ |
|||
'tab': 'downloaders', |
|||
'list': 'download_providers', |
|||
'name': 'sabnzbd', |
|||
'label': 'Sabnzbd', |
|||
'description': 'Use <a href="http://sabnzbd.org/" target="_blank">SABnzbd</a> (0.7+) to download NZBs.', |
|||
'wizard': True, |
|||
'options': [ |
|||
{ |
|||
'name': 'enabled', |
|||
'default': 0, |
|||
'type': 'enabler', |
|||
'radio_group': 'nzb', |
|||
}, |
|||
{ |
|||
'name': 'host', |
|||
'default': 'localhost:8080', |
|||
}, |
|||
{ |
|||
'name': 'ssl', |
|||
'default': 0, |
|||
'type': 'bool', |
|||
'advanced': True, |
|||
'description': 'Use HyperText Transfer Protocol Secure, or <strong>https</strong>', |
|||
}, |
|||
{ |
|||
'name': 'api_key', |
|||
'label': 'Api Key', |
|||
'description': 'Used for all calls to Sabnzbd.', |
|||
}, |
|||
{ |
|||
'name': 'category', |
|||
'label': 'Category', |
|||
'description': 'The category CP places the nzb in. Like <strong>movies</strong> or <strong>couchpotato</strong>', |
|||
}, |
|||
{ |
|||
'name': 'priority', |
|||
'label': 'Priority', |
|||
'type': 'dropdown', |
|||
'default': '0', |
|||
'advanced': True, |
|||
'values': [('Paused', -2), ('Low', -1), ('Normal', 0), ('High', 1), ('Forced', 2)], |
|||
'description': 'Add to the queue with this priority.', |
|||
}, |
|||
{ |
|||
'name': 'manual', |
|||
'default': False, |
|||
'type': 'bool', |
|||
'advanced': True, |
|||
'description': 'Disable this downloader for automated searches, but use it when I manually send a release.', |
|||
}, |
|||
{ |
|||
'name': 'remove_complete', |
|||
'advanced': True, |
|||
'label': 'Remove NZB', |
|||
'default': False, |
|||
'type': 'bool', |
|||
'description': 'Remove the NZB from history after it completed.', |
|||
}, |
|||
{ |
|||
'name': 'delete_failed', |
|||
'default': True, |
|||
'advanced': True, |
|||
'type': 'bool', |
|||
'description': 'Delete a release after the download has failed.', |
|||
}, |
|||
], |
|||
} |
|||
], |
|||
}] |
@ -1,53 +0,0 @@ |
|||
from .main import Synology |
|||
|
|||
|
|||
def start(): |
|||
return Synology() |
|||
|
|||
config = [{ |
|||
'name': 'synology', |
|||
'groups': [ |
|||
{ |
|||
'tab': 'downloaders', |
|||
'list': 'download_providers', |
|||
'name': 'synology', |
|||
'label': 'Synology', |
|||
'description': 'Use <a href="http://www.synology.com/dsm/home_home_applications_download_station.php" target="_blank">Synology Download Station</a> to download.', |
|||
'wizard': True, |
|||
'options': [ |
|||
{ |
|||
'name': 'enabled', |
|||
'default': 0, |
|||
'type': 'enabler', |
|||
'radio_group': 'nzb,torrent', |
|||
}, |
|||
{ |
|||
'name': 'host', |
|||
'default': 'localhost:5000', |
|||
'description': 'Hostname with port. Usually <strong>localhost:5000</strong>', |
|||
}, |
|||
{ |
|||
'name': 'username', |
|||
}, |
|||
{ |
|||
'name': 'password', |
|||
'type': 'password', |
|||
}, |
|||
{ |
|||
'name': 'use_for', |
|||
'label': 'Use for', |
|||
'default': 'both', |
|||
'type': 'dropdown', |
|||
'values': [('usenet & torrents', 'both'), ('usenet', 'nzb'), ('torrent', 'torrent')], |
|||
}, |
|||
{ |
|||
'name': 'manual', |
|||
'default': 0, |
|||
'type': 'bool', |
|||
'advanced': True, |
|||
'description': 'Disable this downloader for automated searches, but use it when I manually send a release.', |
|||
}, |
|||
], |
|||
} |
|||
], |
|||
}] |
@ -1,95 +0,0 @@ |
|||
from .main import Transmission |
|||
|
|||
|
|||
def start(): |
|||
return Transmission() |
|||
|
|||
config = [{ |
|||
'name': 'transmission', |
|||
'groups': [ |
|||
{ |
|||
'tab': 'downloaders', |
|||
'list': 'download_providers', |
|||
'name': 'transmission', |
|||
'label': 'Transmission', |
|||
'description': 'Use <a href="http://www.transmissionbt.com/" target="_blank">Transmission</a> to download torrents.', |
|||
'wizard': True, |
|||
'options': [ |
|||
{ |
|||
'name': 'enabled', |
|||
'default': 0, |
|||
'type': 'enabler', |
|||
'radio_group': 'torrent', |
|||
}, |
|||
{ |
|||
'name': 'host', |
|||
'default': 'localhost:9091', |
|||
'description': 'Hostname with port. Usually <strong>localhost:9091</strong>', |
|||
}, |
|||
{ |
|||
'name': 'rpc_url', |
|||
'type': 'string', |
|||
'default': 'transmission', |
|||
'advanced': True, |
|||
'description': 'Change if you don\'t run Transmission RPC at the default url.', |
|||
}, |
|||
{ |
|||
'name': 'username', |
|||
}, |
|||
{ |
|||
'name': 'password', |
|||
'type': 'password', |
|||
}, |
|||
{ |
|||
'name': 'directory', |
|||
'type': 'directory', |
|||
'description': 'Download to this directory. Keep empty for default Transmission download directory.', |
|||
}, |
|||
{ |
|||
'name': 'remove_complete', |
|||
'label': 'Remove torrent', |
|||
'default': True, |
|||
'advanced': True, |
|||
'type': 'bool', |
|||
'description': 'Remove the torrent from Transmission after it finished seeding.', |
|||
}, |
|||
{ |
|||
'name': 'delete_files', |
|||
'label': 'Remove files', |
|||
'default': True, |
|||
'type': 'bool', |
|||
'advanced': True, |
|||
'description': 'Also remove the leftover files.', |
|||
}, |
|||
{ |
|||
'name': 'paused', |
|||
'type': 'bool', |
|||
'advanced': True, |
|||
'default': False, |
|||
'description': 'Add the torrent paused.', |
|||
}, |
|||
{ |
|||
'name': 'manual', |
|||
'default': 0, |
|||
'type': 'bool', |
|||
'advanced': True, |
|||
'description': 'Disable this downloader for automated searches, but use it when I manually send a release.', |
|||
}, |
|||
{ |
|||
'name': 'stalled_as_failed', |
|||
'default': True, |
|||
'advanced': True, |
|||
'type': 'bool', |
|||
'description': 'Consider a stalled torrent as failed', |
|||
}, |
|||
{ |
|||
'name': 'delete_failed', |
|||
'default': True, |
|||
'advanced': True, |
|||
'type': 'bool', |
|||
'description': 'Delete a release after the download has failed.', |
|||
}, |
|||
], |
|||
} |
|||
], |
|||
}] |
@ -1,80 +0,0 @@ |
|||
from .main import uTorrent |
|||
|
|||
|
|||
def start(): |
|||
return uTorrent() |
|||
|
|||
config = [{ |
|||
'name': 'utorrent', |
|||
'groups': [ |
|||
{ |
|||
'tab': 'downloaders', |
|||
'list': 'download_providers', |
|||
'name': 'utorrent', |
|||
'label': 'uTorrent', |
|||
'description': 'Use <a href="http://www.utorrent.com/" target="_blank">uTorrent</a> (3.0+) to download torrents.', |
|||
'wizard': True, |
|||
'options': [ |
|||
{ |
|||
'name': 'enabled', |
|||
'default': 0, |
|||
'type': 'enabler', |
|||
'radio_group': 'torrent', |
|||
}, |
|||
{ |
|||
'name': 'host', |
|||
'default': 'localhost:8000', |
|||
'description': 'Port can be found in settings when enabling WebUI.', |
|||
}, |
|||
{ |
|||
'name': 'username', |
|||
}, |
|||
{ |
|||
'name': 'password', |
|||
'type': 'password', |
|||
}, |
|||
{ |
|||
'name': 'label', |
|||
'description': 'Label to add torrent as.', |
|||
}, |
|||
{ |
|||
'name': 'remove_complete', |
|||
'label': 'Remove torrent', |
|||
'default': True, |
|||
'advanced': True, |
|||
'type': 'bool', |
|||
'description': 'Remove the torrent from uTorrent after it finished seeding.', |
|||
}, |
|||
{ |
|||
'name': 'delete_files', |
|||
'label': 'Remove files', |
|||
'default': True, |
|||
'type': 'bool', |
|||
'advanced': True, |
|||
'description': 'Also remove the leftover files.', |
|||
}, |
|||
{ |
|||
'name': 'paused', |
|||
'type': 'bool', |
|||
'advanced': True, |
|||
'default': False, |
|||
'description': 'Add the torrent paused.', |
|||
}, |
|||
{ |
|||
'name': 'manual', |
|||
'default': 0, |
|||
'type': 'bool', |
|||
'advanced': True, |
|||
'description': 'Disable this downloader for automated searches, but use it when I manually send a release.', |
|||
}, |
|||
{ |
|||
'name': 'delete_failed', |
|||
'default': True, |
|||
'advanced': True, |
|||
'type': 'bool', |
|||
'description': 'Delete a release after the download has failed.', |
|||
}, |
|||
], |
|||
} |
|||
], |
|||
}] |
Loading…
Reference in new issue