mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-14 02:26:55 -07:00
Added the watchlist import for movies
This commit is contained in:
parent
df59b46a78
commit
f41eea89a0
55 changed files with 1824 additions and 136 deletions
|
@ -7,6 +7,7 @@ namespace Ombi.Core.Settings.Models.External
|
|||
public sealed class PlexSettings : Ombi.Settings.Settings.Models.Settings
|
||||
{
|
||||
public bool Enable { get; set; }
|
||||
public bool EnableWatchlistImport { get; set; }
|
||||
/// <summary>
|
||||
/// This is the ClientId for OAuth
|
||||
/// </summary>
|
||||
|
|
|
@ -19,5 +19,6 @@
|
|||
public string RetryRequests { get; set; }
|
||||
public string MediaDatabaseRefresh { get; set; }
|
||||
public string AutoDeleteRequests { get; set; }
|
||||
public string PlexWatchlistImport { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
|
@ -54,6 +54,11 @@ namespace Ombi.Settings.Settings.Models
|
|||
{
|
||||
return ValidateCron(Get(s.UserImporter, Cron.Daily()));
|
||||
}
|
||||
|
||||
public static string PlexWatchlistImport(JobSettings s)
|
||||
{
|
||||
return ValidateCron(Get(s.PlexWatchlistImport, Cron.Daily()));
|
||||
}
|
||||
|
||||
public static string Newsletter(JobSettings s)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue