C# Class Jellyfin.Plugin.RPDB.Providers.MovieProvider

Inheritance: IRemoteImageProvider, IHasOrder
Exibir arquivo Open project: RatingPosterDB/Jellyfin.Plugin.RPDB

Public Methods

Method Description
GetImageResponse ( string url, CancellationToken cancellationToken ) : Task
GetImages ( BaseItem item, CancellationToken cancellationToken ) : Task>
GetSupportedImages ( BaseItem item ) : IEnumerable
MovieProvider ( IServerConfigurationManager config, IHttpClientFactory httpClientFactory, IFileSystem fileSystem ) : System
Supports ( BaseItem item ) : bool

Private Methods

Method Description
AddImages ( List list, string idType, string movieId, CancellationToken cancellationToken ) : Task
PopulateImages ( List list, string reqType, string idType, string movieId, ImageType type, int width, int height ) : void

Method Details

GetImageResponse() public method

public GetImageResponse ( string url, CancellationToken cancellationToken ) : Task
url string
cancellationToken CancellationToken
return Task

GetImages() public method

public GetImages ( BaseItem item, CancellationToken cancellationToken ) : Task>
item BaseItem
cancellationToken CancellationToken
return Task>

GetSupportedImages() public method

public GetSupportedImages ( BaseItem item ) : IEnumerable
item BaseItem
return IEnumerable

MovieProvider() public method

public MovieProvider ( IServerConfigurationManager config, IHttpClientFactory httpClientFactory, IFileSystem fileSystem ) : System
config IServerConfigurationManager
httpClientFactory IHttpClientFactory
fileSystem IFileSystem
return System

Supports() public method

public Supports ( BaseItem item ) : bool
item BaseItem
return bool