mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-21 13:53:19 -07:00
#254 Removed the cache, we are now storing the plex information into the database.
There is a big structure change around this, also increased the default check time to be in hours.
This commit is contained in:
parent
af1c93620f
commit
2608e53399
29 changed files with 479 additions and 170 deletions
|
@ -26,6 +26,9 @@
|
|||
#endregion
|
||||
using PlexRequests.Services.Models;
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
using PlexRequests.Store.Models;
|
||||
|
||||
namespace PlexRequests.Services.Interfaces
|
||||
{
|
||||
|
@ -43,12 +46,12 @@ namespace PlexRequests.Services.Interfaces
|
|||
/// Gets the episode's stored in the cache.
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
HashSet<PlexEpisodeModel> GetEpisodeCache();
|
||||
Task<IEnumerable<PlexEpisodes>> GetEpisodes();
|
||||
/// <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);
|
||||
Task<IEnumerable<PlexEpisodes>> GetEpisodes(int theTvDbId);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue