Logo Search packages:      
Sourcecode: hellanzb version File versions  Download package

Hellanzb::NZBLeecher::NZBModel::NZB Class Reference

Inheritance diagram for Hellanzb::NZBLeecher::NZBModel::NZB:

Hellanzb::PostProcessorUtil::Archive

List of all members.


Detailed Description

Representation of an nzb file -- the root <nzb> tag 

Definition at line 24 of file NZBModel.py.


Public Member Functions

def __init__
def __init__
def cancel
def cleanStats
def finalize
def fromStateXML
def getETA
def getName
def getPercentDownloaded
def getSkippedParSubjects
def getStateAttribs
def isAllPars
def isCanceled
def isSkippedParSubject
def logSkippedPars
def postpone
def smartRequeue
def toStateXML

Public Attributes

 allParsMode
 Whether or not this is an NZB that contains all par files.
 archiveName
 assembleLock
 Acquired during assembly of an NZBFile.
 canceled
 A cancelled NZB is marked for death.
 canceledLock
 destDir
 Where the nzb files will be downloaded.
 downloadStartTime
 Time this NZB began downloading.
 downloadTime
 Amount of time taken to download the NZB.
 firstSegmentsDownloaded
 id
 isParRecovery
 Whether or not this NZB is downloading in par recovery mode.
 msgid
 neededBlocks
 The number of par blocks (or par files for par1 mode), queued to download recovery blocks, the par version, and the par prefix for the current par recovery download.
 nzbFileName
 NZB file general information.
 nzbFiles
 overwriteZeroByteFiles
 Whether or not we should redownload NZBFile and NZBSegment files on disk that are 0 bytes in size.
 parPrefix
 parType
 postProcessor
 queuedBlocks
 self.neededBlocks = 0 # ?
 rarPassword
 skippedParFiles
 skippedParSubjects
 Skipped par file's subjects are kept here, in a list, during post processing.
 totalBytes
 Total bytes this NZB represents.
 totalReadBytes
 How many bytes have been downloaded for this NZB.
 totalSkippedBytes
 How many bytes were skipped for downloading.

Static Public Attributes

tuple fromStateXML = staticmethod(fromStateXML)

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index