couchpotato.core.downloaders.pneumatic module

class couchpotato.core.downloaders.pneumatic.Pneumatic[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

protocol = ['nzb']
status_support = False
strm_syntax = 'plugin://plugin.program.pneumatic/?mode=strm&type=add_file&nzb=%s&nzbname=%s'
test()

Check if connection works :return: bool