mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-21 13:53:19 -07:00
Done #627
This commit is contained in:
parent
7fc26df599
commit
ea52fa3dc3
24 changed files with 419 additions and 32 deletions
|
@ -34,6 +34,7 @@ namespace Ombi.Services.Interfaces
|
|||
{
|
||||
public interface IAvailabilityChecker
|
||||
{
|
||||
void Start();
|
||||
void CheckAndUpdateAll();
|
||||
IEnumerable<PlexContent> GetPlexMovies(IEnumerable<PlexContent> content);
|
||||
bool IsMovieAvailable(PlexContent[] plexMovies, string title, string year, string providerId = null);
|
||||
|
|
10
Ombi.Services/Interfaces/IPlexContentCacher.cs
Normal file
10
Ombi.Services/Interfaces/IPlexContentCacher.cs
Normal file
|
@ -0,0 +1,10 @@
|
|||
using Quartz;
|
||||
|
||||
namespace Ombi.Services.Jobs
|
||||
{
|
||||
public interface IPlexContentCacher
|
||||
{
|
||||
void CacheContent();
|
||||
void Execute(IJobExecutionContext context);
|
||||
}
|
||||
}
|
11
Ombi.Services/Interfaces/IRecentlyAdded.cs
Normal file
11
Ombi.Services/Interfaces/IRecentlyAdded.cs
Normal file
|
@ -0,0 +1,11 @@
|
|||
using Quartz;
|
||||
|
||||
namespace Ombi.Services.Jobs
|
||||
{
|
||||
public interface IRecentlyAdded
|
||||
{
|
||||
void Execute(IJobExecutionContext context);
|
||||
void Test();
|
||||
void Start();
|
||||
}
|
||||
}
|
10
Ombi.Services/Interfaces/IStoreBackup.cs
Normal file
10
Ombi.Services/Interfaces/IStoreBackup.cs
Normal file
|
@ -0,0 +1,10 @@
|
|||
using Quartz;
|
||||
|
||||
namespace Ombi.Services.Jobs
|
||||
{
|
||||
public interface IStoreBackup
|
||||
{
|
||||
void Start();
|
||||
void Execute(IJobExecutionContext context);
|
||||
}
|
||||
}
|
10
Ombi.Services/Interfaces/IStoreCleanup.cs
Normal file
10
Ombi.Services/Interfaces/IStoreCleanup.cs
Normal file
|
@ -0,0 +1,10 @@
|
|||
using Quartz;
|
||||
|
||||
namespace Ombi.Services.Jobs
|
||||
{
|
||||
public interface IStoreCleanup
|
||||
{
|
||||
void Execute(IJobExecutionContext context);
|
||||
void Start();
|
||||
}
|
||||
}
|
16
Ombi.Services/Interfaces/IUserRequestLimitResetter.cs
Normal file
16
Ombi.Services/Interfaces/IUserRequestLimitResetter.cs
Normal file
|
@ -0,0 +1,16 @@
|
|||
using System.Collections.Generic;
|
||||
using Ombi.Core.SettingModels;
|
||||
using Ombi.Store.Models;
|
||||
using Quartz;
|
||||
|
||||
namespace Ombi.Services.Jobs
|
||||
{
|
||||
public interface IUserRequestLimitResetter
|
||||
{
|
||||
void AlbumLimit(PlexRequestSettings s, IEnumerable<RequestLimit> allUsers);
|
||||
void Execute(IJobExecutionContext context);
|
||||
void MovieLimit(PlexRequestSettings s, IEnumerable<RequestLimit> allUsers);
|
||||
void Start();
|
||||
void TvLimit(PlexRequestSettings s, IEnumerable<RequestLimit> allUsers);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue