mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-14 02:26:55 -07:00
Some performance improvements around the new TV stuff
This commit is contained in:
parent
4bccb8fcf0
commit
53f806fc71
4 changed files with 225 additions and 179 deletions
|
@ -39,5 +39,16 @@ namespace PlexRequests.Services.Interfaces
|
|||
List<PlexAlbum> GetPlexAlbums();
|
||||
bool IsAlbumAvailable(PlexAlbum[] plexAlbums, string title, string year, string artist);
|
||||
bool IsEpisodeAvailable(string theTvDbId, int season, int episode);
|
||||
/// <summary>
|
||||
/// Gets the episode's stored in the cache.
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
IEnumerable<PlexEpisodeModel> GetEpisodeCache();
|
||||
/// <summary>
|
||||
/// Gets the episode's stored in the cache and then filters on the TheTvDBId.
|
||||
/// </summary>
|
||||
/// <param name="theTvDbId">The tv database identifier.</param>
|
||||
/// <returns></returns>
|
||||
IEnumerable<PlexEpisodeModel> GetEpisodeCache(int theTvDbId);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue