C# 클래스 TVSorter.Data.Tvdb.TvdbDownload

Downloads the XML files from the TVDB.
파일 보기 프로젝트 열기: a-jackson/tvsorter

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