C# Class TVSorter.Data.Tvdb.TvdbDownload

Downloads the XML files from the TVDB.
显示文件 Open project: a-jackson/tvsorter

Private Properties

Property Type Description
DownloadXml System.IO.StringReader
InitialiseMirror string
TvdbDownload System

Public Methods

Method Description
DownloadBanner ( TvShow tvShow ) : void

Downloads the banner for the specified show.

DownloadShowEpisodes ( TvShow show ) : string

Downloads the data for the specified show and returns the path to the file.

DownloadUpdates ( System.DateTime time ) : StringReader

Downloads the shows that have been updated since the specified time.

GetServerTime ( ) : System.DateTime

Gets the server time from the TVDB.

SearchShow ( string name ) : StringReader

Searches for the specified show.

Private Methods

Method Description
DownloadXml ( string url ) : StringReader

Downloads the specified XML file.

InitialiseMirror ( ) : string

Initialises the mirror to use.

TvdbDownload ( ) : System

Initializes static members of the TvdbDownload class.

Method Details

DownloadBanner() public static method

Downloads the banner for the specified show.
public static DownloadBanner ( TvShow tvShow ) : void
tvShow TvShow /// The show to download the banner for. ///
return void

DownloadShowEpisodes() public static method

Downloads the data for the specified show and returns the path to the file.
public static DownloadShowEpisodes ( TvShow show ) : string
show TvShow /// The show to download data for. ///
return string

DownloadUpdates() public static method

Downloads the shows that have been updated since the specified time.
public static DownloadUpdates ( System.DateTime time ) : StringReader
time System.DateTime /// The time to get updates from. ///
return System.IO.StringReader

GetServerTime() public static method

Gets the server time from the TVDB.
public static GetServerTime ( ) : System.DateTime
return System.DateTime

SearchShow() public static method

Searches for the specified show.
public static SearchShow ( string name ) : StringReader
name string /// The name of the show to search. ///
return System.IO.StringReader