couchpotato.core.downloaders.nzbget module¶
-
class
couchpotato.core.downloaders.nzbget.
NZBGet
[source]¶ Bases:
couchpotato.core._base.downloader.main.DownloaderBase
-
download
(data=None, media=None, filedata=None)¶ Send a torrent/nzb file to the downloader
Parameters: - data – dict returned from provider Contains the release information
- media – media dict with information Used for creating the filename when possible
- filedata – downloaded torrent/nzb filedata The file gets downloaded in the searcher and send to this function This is done to have failed checking before using the downloader, so the downloader doesn’t need to worry about that
Returns: boolean One faile returns false, but the downloaded should log his own errors
-
getAllDownloadStatus
(ids)¶ Get status of all active downloads
Parameters: ids – list of (mixed) downloader ids Used to match the releases for this downloader as there could be other downloaders active that it should ignore Returns: list of releases
-
getRPC
()¶
-
protocol
= ['nzb']¶
-
removeFailed
(release_download)¶
-
rpc
= 'xmlrpc'¶
-
test
()¶ Check if connection works :return: bool
-