mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-14 02:26:55 -07:00
#150 start caching plex media as well. refactored the availability checker. NEEDS TESTING. also, we need to make the Requests hit the plex api directly rather than hitting the cache as it does now.
This commit is contained in:
parent
e707837bf5
commit
718e8868c1
16 changed files with 808 additions and 601 deletions
|
@ -24,11 +24,19 @@
|
|||
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
// ************************************************************************/
|
||||
#endregion
|
||||
using PlexRequests.Services.Models;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace PlexRequests.Services.Interfaces
|
||||
{
|
||||
public interface IAvailabilityChecker
|
||||
{
|
||||
void CheckAndUpdateAll(long check);
|
||||
bool IsAvailable(string title, string year, string artist, PlexType type);
|
||||
List<PlexMovie> GetPlexMovies();
|
||||
bool IsMovieAvailable(PlexMovie[] plexMovies, string title, string year);
|
||||
List<PlexTvShow> GetPlexTvShows();
|
||||
bool IsTvShowAvailable(PlexTvShow[] plexShows, string title, string year);
|
||||
List<PlexAlbum> GetPlexAlbums();
|
||||
bool IsAlbumAvailable(PlexAlbum[] plexAlbums, string title, string year, string artist);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue