mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-14 10:36:54 -07:00
Started adding Emby, Lots of backend work done. Need a few more services done and login and user management. #435
This commit is contained in:
parent
2ab7aaa4b9
commit
868301f552
43 changed files with 1495 additions and 18 deletions
24
Ombi.Services/Jobs/IEmbyAvailabilityChecker.cs
Normal file
24
Ombi.Services/Jobs/IEmbyAvailabilityChecker.cs
Normal file
|
@ -0,0 +1,24 @@
|
|||
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(EmbyContent[] embyMovies, string title, string year, string providerId);
|
||||
EmbyContent GetTvShow(EmbyContent[] embyShows, string title, string year, string providerId, int[] seasons = null);
|
||||
bool IsEpisodeAvailable(string theTvDbId, int season, int episode);
|
||||
bool IsMovieAvailable(EmbyContent[] embyMovies, string title, string year, string providerId);
|
||||
bool IsTvShowAvailable(EmbyContent[] embyShows, string title, string year, string providerId, int[] seasons = null);
|
||||
void Start();
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue