C# Class TVSorter.Data.Tvdb.Tvdb

Manages accessing show data from the TVDB.
Inheritance: IDataProvider
Show file Open project: a-jackson/tvsorter

Public Properties

Property Type Description
CacheDirectory string
ImageDirectory string

Public Methods

Method Description
SearchShow ( string name ) : List

Search for a show.

Tvdb ( ) : System

Initializes a new instance of the Tvdb class.

UpdateShow ( TvShow show ) : void

Updates the specified show.

UpdateShows ( IList shows, IStorageProvider storageProvider ) : IEnumerable

Updates the collection of shows.

Private Methods

Method Description
BannerDownloadRequired ( object sender, BannerDownloadRequiredEventArgs e ) : void

Handles a Banner Download Required event.

Method Details

SearchShow() public method

Search for a show.
public SearchShow ( string name ) : List
name string /// The name to search for. ///
return List

Tvdb() public method

Initializes a new instance of the Tvdb class.
public Tvdb ( ) : System
return System

UpdateShow() public method

Updates the specified show.
public UpdateShow ( TvShow show ) : void
show TvShow /// The show to update. ///
return void

UpdateShows() public method

Updates the collection of shows.
public UpdateShows ( IList shows, IStorageProvider storageProvider ) : IEnumerable
shows IList /// The shows to update. ///
storageProvider IStorageProvider /// The storage provider to use. ///
return IEnumerable

Property Details

CacheDirectory public static property

The directory to cache data in.
public static string CacheDirectory
return string

ImageDirectory public static property

The directory to download images to.
public static string ImageDirectory
return string