C# Class RadioDld.Model.Download

Inheritance: Episode
Afficher le fichier Open project: ribbons/RadioDownloader Class Usage Examples

Méthodes publiques

Méthode Description
Add ( int epids ) : bool
BumpPlayCount ( int epid ) : void
Cleanup ( Status status, System.DateTime olderThan, int progid, bool orphans, bool played, bool noDeleteAudio ) : void
Compare ( int epid1, int epid2 ) : int
Count ( ) : long
CountErrored ( ) : long
CountNew ( ) : long
CreateSaveFileName ( string formatString, Programme progInfo, Episode epInfo ) : string
Download ( SQLiteMonDataReader reader ) : System
Download ( int epid ) : System
FetchAll ( ) : List
FetchLatest ( int count ) : List
FetchVisible ( DataSearch dataSearch ) : List
FindFreeSaveFileName ( string formatString, Programme progInfo, Episode epInfo, string baseSavePath ) : string
IsDownload ( int epid ) : bool
Remove ( int epid ) : void
ReportError ( int epid ) : void
Reset ( int epid ) : void
ResetAsync ( int epid, bool auto ) : void
SetComplete ( int epid, string fileName ) : void
SetErrorred ( int epid, ErrorType errorType, object details ) : void
UpdatePaths ( Status status, string newPath, string newFormat ) : void

Méthodes protégées

Méthode Description
FetchData ( SQLiteMonDataReader reader ) : void

Private Methods

Méthode Description
AddAsync ( int epids ) : void
BumpPlayCountAsync ( int epid ) : void
Download ( ) : System
Episode_Updated ( int epid ) : void
RemoveAsync ( int epid, bool auto ) : void

Method Details

Add() public static méthode

public static Add ( int epids ) : bool
epids int
Résultat bool

BumpPlayCount() public static méthode

public static BumpPlayCount ( int epid ) : void
epid int
Résultat void

Cleanup() public static méthode

public static Cleanup ( Status status, System.DateTime olderThan, int progid, bool orphans, bool played, bool noDeleteAudio ) : void
status Status
olderThan System.DateTime
progid int
orphans bool
played bool
noDeleteAudio bool
Résultat void

Compare() public static méthode

public static Compare ( int epid1, int epid2 ) : int
epid1 int
epid2 int
Résultat int

Count() public static méthode

public static Count ( ) : long
Résultat long

CountErrored() public static méthode

public static CountErrored ( ) : long
Résultat long

CountNew() public static méthode

public static CountNew ( ) : long
Résultat long

CreateSaveFileName() public static méthode

public static CreateSaveFileName ( string formatString, Programme progInfo, Episode epInfo ) : string
formatString string
progInfo Programme
epInfo Episode
Résultat string

Download() public méthode

public Download ( SQLiteMonDataReader reader ) : System
reader SQLiteMonDataReader
Résultat System

Download() public méthode

public Download ( int epid ) : System
epid int
Résultat System

FetchAll() public static méthode

public static FetchAll ( ) : List
Résultat List

FetchData() protected méthode

protected FetchData ( SQLiteMonDataReader reader ) : void
reader SQLiteMonDataReader
Résultat void

FetchLatest() public static méthode

public static FetchLatest ( int count ) : List
count int
Résultat List

FetchVisible() public static méthode

public static FetchVisible ( DataSearch dataSearch ) : List
dataSearch DataSearch
Résultat List

FindFreeSaveFileName() public static méthode

public static FindFreeSaveFileName ( string formatString, Programme progInfo, Episode epInfo, string baseSavePath ) : string
formatString string
progInfo Programme
epInfo Episode
baseSavePath string
Résultat string

IsDownload() public static méthode

public static IsDownload ( int epid ) : bool
epid int
Résultat bool

Remove() public static méthode

public static Remove ( int epid ) : void
epid int
Résultat void

ReportError() public static méthode

public static ReportError ( int epid ) : void
epid int
Résultat void

Reset() public static méthode

public static Reset ( int epid ) : void
epid int
Résultat void

ResetAsync() public static méthode

public static ResetAsync ( int epid, bool auto ) : void
epid int
auto bool
Résultat void

SetComplete() public static méthode

public static SetComplete ( int epid, string fileName ) : void
epid int
fileName string
Résultat void

SetErrorred() public static méthode

public static SetErrorred ( int epid, ErrorType errorType, object details ) : void
epid int
errorType ErrorType
details object
Résultat void

UpdatePaths() public static méthode

public static UpdatePaths ( Status status, string newPath, string newFormat ) : void
status Status
newPath string
newFormat string
Résultat void