C# Класс TVSorter.Data.Tvdb.TvdbDownload

Downloads the XML files from the TVDB.
Показать файл Открыть проект

Private Properties

Свойство Тип Описание
DownloadXml System.IO.StringReader
InitialiseMirror string
TvdbDownload System

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
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.

Описание методов

DownloadBanner() публичный статический Метод

Downloads the banner for the specified show.
public static DownloadBanner ( TvShow tvShow ) : void
tvShow TvShow /// The show to download the banner for. ///
Результат void

DownloadShowEpisodes() публичный статический Метод

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. ///
Результат string

DownloadUpdates() публичный статический Метод

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. ///
Результат System.IO.StringReader

GetServerTime() публичный статический Метод

Gets the server time from the TVDB.
public static GetServerTime ( ) : System.DateTime
Результат System.DateTime

SearchShow() публичный статический Метод

Searches for the specified show.
public static SearchShow ( string name ) : StringReader
name string /// The name of the show to search. ///
Результат System.IO.StringReader