mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-31 03:50:08 -07:00
feat(emby): ✨ Added a emby recently added sync!
This commit is contained in:
parent
d9ee25b575
commit
a0e14068f4
16 changed files with 234 additions and 95 deletions
|
@ -3,6 +3,7 @@
|
|||
public class JobSettings : Settings
|
||||
{
|
||||
public string EmbyContentSync { get; set; }
|
||||
public string EmbyRecentlyAddedSync { get; set; }
|
||||
public string JellyfinContentSync { get; set; }
|
||||
public string SonarrSync { get; set; }
|
||||
public string RadarrSync { get; set; }
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
using System;
|
||||
using Ombi.Helpers;
|
||||
using Ombi.Helpers;
|
||||
using Quartz;
|
||||
|
||||
namespace Ombi.Settings.Settings.Models
|
||||
|
@ -18,7 +17,12 @@ namespace Ombi.Settings.Settings.Models
|
|||
|
||||
public static string EmbyContent(JobSettings s)
|
||||
{
|
||||
return ValidateCron(Get(s.EmbyContentSync, Cron.Hourly(5)));
|
||||
return ValidateCron(Get(s.EmbyContentSync, Cron.Daily(2)));
|
||||
}
|
||||
|
||||
public static string EmbyRecentlyAddedSync(JobSettings s)
|
||||
{
|
||||
return ValidateCron(Get(s.EmbyRecentlyAddedSync, Cron.Hourly(30)));
|
||||
}
|
||||
|
||||
public static string JellyfinContent(JobSettings s)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue