public interface ITvShowMetadataProvider extends IMediaProvider
ITvShowMetadataProvider
. To provide metadata for TV shows/episodesModifier and Type | Method and Description |
---|---|
List<MediaMetadata> |
getEpisodeList(MediaScrapeOptions options)
Gets an episode list for the given TV show
|
MediaMetadata |
getMetadata(MediaScrapeOptions options)
Gets the metadata for the given TV show
|
List<MediaSearchResult> |
search(MediaSearchOptions options)
Search for a TV show
|
afterInitialization, getProviderInfo
MediaMetadata getMetadata(MediaScrapeOptions options) throws ScrapeException, MissingIdException, NothingFoundException, UnsupportedMediaTypeException
options
- the scrape options (containing the type (TV_SHOW or TV_EPISODE) and the ID of the TV show)ScrapeException
- any exception which can be thrown while scrapingMissingIdException
- indicates that there was no usable id to scrapeNothingFoundException
- indicated that nothing has been foundUnsupportedMediaTypeException
- indicates that the requested media type is not supportedList<MediaSearchResult> search(MediaSearchOptions options) throws ScrapeException, UnsupportedMediaTypeException
options
- the optionsScrapeException
- any exception which can be thrown while scrapingUnsupportedMediaTypeException
- indicates that the requested media type is not supportedList<MediaMetadata> getEpisodeList(MediaScrapeOptions options) throws ScrapeException, MissingIdException, UnsupportedMediaTypeException
options
- scrape options (containing the ID of the TV show)ScrapeException
- any exception which can be thrown while scrapingMissingIdException
- indicates that there was no usable id to scrapeUnsupportedMediaTypeException
- indicates that the requested media type is not supportedCopyright © 2012–2019 tinyMediaManager. All rights reserved.