There is now a new Job in ombi that will clear out the Plex/Emby data and recache. This will prevent the issues going forward that we have when Ombi and the Media server fall out of sync with deletions/updates #2641 #2362 #1566

This commit is contained in:
TidusJar 2019-01-09 13:10:38 +00:00
parent dcc28ff26e
commit b375dd888b
18 changed files with 151 additions and 3 deletions

View file

@ -65,7 +65,10 @@ namespace Ombi.Settings.Settings.Models
{
return Get(s.RetryRequests, Cron.Daily(6));
}
public static string MediaDatabaseRefresh(JobSettings s)
{
return Get(s.MediaDatabaseRefresh, Cron.DayInterval(5));
}
private static string Get(string settings, string defaultCron)
{
return settings.HasValue() ? settings : defaultCron;