mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-16 02:02:55 -07:00
Try and clear up the issue #2998
This commit is contained in:
parent
e019402a03
commit
56c7cf973d
2 changed files with 0 additions and 20 deletions
|
@ -72,7 +72,6 @@ namespace Ombi.Schedule.Jobs.Ombi
|
|||
{
|
||||
_log.LogInformation("Starting the Metadata refresh from RecentlyAddedSync");
|
||||
var plexSettings = await _plexSettings.GetSettingsAsync();
|
||||
var embySettings = await _embySettings.GetSettingsAsync();
|
||||
try
|
||||
{
|
||||
if (plexSettings.Enable)
|
||||
|
@ -85,19 +84,6 @@ namespace Ombi.Schedule.Jobs.Ombi
|
|||
_log.LogError(e, "Exception when refreshing the Plex Metadata");
|
||||
throw;
|
||||
}
|
||||
finally
|
||||
{
|
||||
if (plexSettings.Enable)
|
||||
{
|
||||
await OmbiQuartz.TriggerJob(nameof(IPlexAvailabilityChecker), "Plex");
|
||||
}
|
||||
|
||||
if (embySettings.Enable)
|
||||
{
|
||||
await OmbiQuartz.TriggerJob(nameof(IEmbyAvaliabilityChecker), "Emby");
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private async Task StartPlexWithKnownContent(IEnumerable<int> contentids)
|
||||
|
|
|
@ -113,12 +113,6 @@ namespace Ombi.Schedule.Jobs.Plex
|
|||
await OmbiQuartz.TriggerJob(nameof(IRefreshMetadata), "System");
|
||||
}
|
||||
|
||||
if ((processedContent?.HasProcessedContent ?? false) && recentlyAddedSearch)
|
||||
{
|
||||
|
||||
await OmbiQuartz.TriggerJob(nameof(IPlexAvailabilityChecker), "Plex");
|
||||
}
|
||||
|
||||
Logger.LogInformation("Finished Plex Content Cacher, with processed content: {0}, episodes: {0}", processedContent?.Content?.Count() ?? 0, processedContent?.Episodes?.Count() ?? 0);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue