mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-14 01:02:57 -07:00
Added a bit more logging into the recently added scan
This commit is contained in:
parent
6866289895
commit
2bbaba2e1e
1 changed files with 3 additions and 2 deletions
|
@ -83,7 +83,7 @@ namespace Ombi.Schedule.Jobs.Plex
|
|||
return;
|
||||
}
|
||||
var processedContent = new ProcessedContent();
|
||||
Logger.LogInformation("Starting Plex Content Cacher");
|
||||
Logger.LogInformation($"Starting Plex Content Cacher {(recentlyAddedSearch ? "Recently Added Scan" : "")}");
|
||||
try
|
||||
{
|
||||
if (recentlyAddedSearch)
|
||||
|
@ -109,11 +109,12 @@ namespace Ombi.Schedule.Jobs.Plex
|
|||
|
||||
if ((processedContent?.HasProcessedContent ?? false) && recentlyAddedSearch)
|
||||
{
|
||||
Logger.LogInformation("Starting Metadata refresh");
|
||||
// Just check what we send it
|
||||
await OmbiQuartz.TriggerJob(nameof(IRefreshMetadata), "System");
|
||||
}
|
||||
|
||||
Logger.LogInformation("Finished Plex Content Cacher, with processed content: {0}, episodes: {0}", processedContent?.Content?.Count() ?? 0, processedContent?.Episodes?.Count() ?? 0);
|
||||
Logger.LogInformation("Finished Plex Content Cacher, with processed content: {0}, episodes: {1}. Recently Added Scan: {2}", processedContent?.Content?.Count() ?? 0, processedContent?.Episodes?.Count() ?? 0, recentlyAddedSearch);
|
||||
}
|
||||
|
||||
private async Task<ProcessedContent> StartTheCache(PlexSettings plexSettings, bool recentlyAddedSearch)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue