C# Class TraktPlugin.Cache.TmdbCache

显示文件 Open project: trakt/Trakt-for-Mediaportal

Private Properties

Property Type Description
AddEpisodeImagesToCache void
AddMovieImagesToCache void
AddPeopleImagesToCache void
AddSeasonImagesToCache void
AddShowImagesToCache void
GetTmdbConfiguration void
LoadFileCache string
LocalisedImage TraktPlugin.TmdbAPI.DataStructures.TmdbImage
RemoveEpisodeImagesFromCache void
RemoveMovieImagesFromCache void
RemovePeopleImagesFromCache void
RemoveSeasonImagesFromCache void
RemoveShowImagesFromCache void
SaveFileCache void

Public Methods

Method Description
DeInit ( ) : void
GetEpisodeImages ( int id, int season, int episode, bool forceUpdate = false ) : TmdbEpisodeImages
GetEpisodeThumbFilename ( TmdbEpisodeImages images ) : string
GetEpisodeThumbUrl ( TmdbEpisodeImages images ) : string
GetMovieBackdropFilename ( TmdbMovieImages images ) : string
GetMovieBackdropUrl ( TmdbMovieImages images ) : string
GetMovieImages ( int id, bool forceUpdate = false ) : TmdbMovieImages
GetMoviePosterFilename ( TmdbMovieImages images ) : string
GetMoviePosterUrl ( TmdbMovieImages images ) : string
GetPersonHeadshotFilename ( TmdbPeopleImages images ) : string
GetPersonHeadshotUrl ( TmdbPeopleImages images ) : string
GetPersonImages ( int id, bool forceUpdate = false ) : TmdbPeopleImages
GetSeasonImages ( int id, int season, bool forceUpdate = false ) : TmdbSeasonImages
GetSeasonPosterFilename ( TmdbSeasonImages images ) : string
GetSeasonPosterUrl ( TmdbSeasonImages images ) : string
GetShowBackdropFilename ( TmdbShowImages images, bool logo = false ) : string
GetShowBackdropUrl ( TmdbShowImages images, bool logo = false ) : string
GetShowImages ( int id, bool forceUpdate = false ) : TmdbShowImages
GetShowPosterFilename ( TmdbShowImages images ) : string
GetShowPosterUrl ( TmdbShowImages images ) : string
Init ( ) : void

Private Methods

Method Description
AddEpisodeImagesToCache ( TmdbEpisodeImages images, int id, int season, int episode ) : void
AddMovieImagesToCache ( TmdbMovieImages images ) : void
AddPeopleImagesToCache ( TmdbPeopleImages images ) : void
AddSeasonImagesToCache ( TmdbSeasonImages images, int id, int season ) : void
AddShowImagesToCache ( TmdbShowImages images ) : void
GetTmdbConfiguration ( ) : void
LoadFileCache ( string filename, string defaultValue ) : string
LocalisedImage ( this images ) : TmdbImage
RemoveEpisodeImagesFromCache ( TmdbEpisodeImages images, int season, int episode ) : void
RemoveMovieImagesFromCache ( TmdbMovieImages images ) : void
RemovePeopleImagesFromCache ( TmdbPeopleImages images ) : void
RemoveSeasonImagesFromCache ( TmdbSeasonImages images, int season ) : void
RemoveShowImagesFromCache ( TmdbShowImages images ) : void
SaveFileCache ( string filename, string value ) : void

Method Details

DeInit() public static method

public static DeInit ( ) : void
return void

GetEpisodeImages() public static method

public static GetEpisodeImages ( int id, int season, int episode, bool forceUpdate = false ) : TmdbEpisodeImages
id int
season int
episode int
forceUpdate bool
return TraktPlugin.TmdbAPI.DataStructures.TmdbEpisodeImages

GetEpisodeThumbFilename() public static method

public static GetEpisodeThumbFilename ( TmdbEpisodeImages images ) : string
images TraktPlugin.TmdbAPI.DataStructures.TmdbEpisodeImages
return string

GetEpisodeThumbUrl() public static method

public static GetEpisodeThumbUrl ( TmdbEpisodeImages images ) : string
images TraktPlugin.TmdbAPI.DataStructures.TmdbEpisodeImages
return string

GetMovieBackdropFilename() public static method

public static GetMovieBackdropFilename ( TmdbMovieImages images ) : string
images TraktPlugin.TmdbAPI.DataStructures.TmdbMovieImages
return string

GetMovieBackdropUrl() public static method

public static GetMovieBackdropUrl ( TmdbMovieImages images ) : string
images TraktPlugin.TmdbAPI.DataStructures.TmdbMovieImages
return string

GetMovieImages() public static method

public static GetMovieImages ( int id, bool forceUpdate = false ) : TmdbMovieImages
id int
forceUpdate bool
return TraktPlugin.TmdbAPI.DataStructures.TmdbMovieImages

GetMoviePosterFilename() public static method

public static GetMoviePosterFilename ( TmdbMovieImages images ) : string
images TraktPlugin.TmdbAPI.DataStructures.TmdbMovieImages
return string

GetMoviePosterUrl() public static method

public static GetMoviePosterUrl ( TmdbMovieImages images ) : string
images TraktPlugin.TmdbAPI.DataStructures.TmdbMovieImages
return string

GetPersonHeadshotFilename() public static method

public static GetPersonHeadshotFilename ( TmdbPeopleImages images ) : string
images TraktPlugin.TmdbAPI.DataStructures.TmdbPeopleImages
return string

GetPersonHeadshotUrl() public static method

public static GetPersonHeadshotUrl ( TmdbPeopleImages images ) : string
images TraktPlugin.TmdbAPI.DataStructures.TmdbPeopleImages
return string

GetPersonImages() public static method

public static GetPersonImages ( int id, bool forceUpdate = false ) : TmdbPeopleImages
id int
forceUpdate bool
return TraktPlugin.TmdbAPI.DataStructures.TmdbPeopleImages

GetSeasonImages() public static method

public static GetSeasonImages ( int id, int season, bool forceUpdate = false ) : TmdbSeasonImages
id int
season int
forceUpdate bool
return TraktPlugin.TmdbAPI.DataStructures.TmdbSeasonImages

GetSeasonPosterFilename() public static method

public static GetSeasonPosterFilename ( TmdbSeasonImages images ) : string
images TraktPlugin.TmdbAPI.DataStructures.TmdbSeasonImages
return string

GetSeasonPosterUrl() public static method

public static GetSeasonPosterUrl ( TmdbSeasonImages images ) : string
images TraktPlugin.TmdbAPI.DataStructures.TmdbSeasonImages
return string

GetShowBackdropFilename() public static method

public static GetShowBackdropFilename ( TmdbShowImages images, bool logo = false ) : string
images TraktPlugin.TmdbAPI.DataStructures.TmdbShowImages
logo bool
return string

GetShowBackdropUrl() public static method

public static GetShowBackdropUrl ( TmdbShowImages images, bool logo = false ) : string
images TraktPlugin.TmdbAPI.DataStructures.TmdbShowImages
logo bool
return string

GetShowImages() public static method

public static GetShowImages ( int id, bool forceUpdate = false ) : TmdbShowImages
id int
forceUpdate bool
return TraktPlugin.TmdbAPI.DataStructures.TmdbShowImages

GetShowPosterFilename() public static method

public static GetShowPosterFilename ( TmdbShowImages images ) : string
images TraktPlugin.TmdbAPI.DataStructures.TmdbShowImages
return string

GetShowPosterUrl() public static method

public static GetShowPosterUrl ( TmdbShowImages images ) : string
images TraktPlugin.TmdbAPI.DataStructures.TmdbShowImages
return string

Init() public static method

public static Init ( ) : void
return void