using System.Collections.Generic; using System.Threading.Tasks; using Ombi.Store.Models.Emby; using Quartz; namespace Ombi.Services.Jobs { public interface IEmbyAvailabilityChecker { void CheckAndUpdateAll(); void Execute(IJobExecutionContext context); IEnumerable GetEmbyMovies(IEnumerable content); IEnumerable GetEmbyMusic(IEnumerable content); IEnumerable GetEmbyTvShows(IEnumerable content); Task> GetEpisodes(); Task> GetEpisodes(int theTvDbId); EmbyContent GetMovie(IEnumerable embyMovies, string title, string year, string providerId); EmbyContent GetTvShow(IEnumerable embyShows, string title, string year, string providerId, int[] seasons = null); bool IsEpisodeAvailable(string theTvDbId, int season, int episode); bool IsMovieAvailable(IEnumerable embyMovies, string title, string year, string providerId); bool IsTvShowAvailable(IEnumerable embyShows, string title, string year, string providerId, int[] seasons = null); void Start(); } }