mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-13 00:32:57 -07:00
24 lines
No EOL
1.2 KiB
C#
24 lines
No EOL
1.2 KiB
C#
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<EmbyContent> GetEmbyMovies(IEnumerable<EmbyContent> content);
|
|
IEnumerable<EmbyContent> GetEmbyMusic(IEnumerable<EmbyContent> content);
|
|
IEnumerable<EmbyContent> GetEmbyTvShows(IEnumerable<EmbyContent> content);
|
|
Task<IEnumerable<EmbyEpisodes>> GetEpisodes();
|
|
Task<IEnumerable<EmbyEpisodes>> GetEpisodes(int theTvDbId);
|
|
EmbyContent GetMovie(IEnumerable<EmbyContent> embyMovies, string title, string year, string providerId);
|
|
EmbyContent GetTvShow(IEnumerable<EmbyContent> embyShows, string title, string year, string providerId, int[] seasons = null);
|
|
bool IsEpisodeAvailable(string theTvDbId, int season, int episode);
|
|
bool IsMovieAvailable(IEnumerable<EmbyContent> embyMovies, string title, string year, string providerId);
|
|
bool IsTvShowAvailable(IEnumerable<EmbyContent> embyShows, string title, string year, string providerId, int[] seasons = null);
|
|
void Start();
|
|
}
|
|
} |