mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-24 06:55:23 -07:00
Update PlexContentSync.cs
Fix incorrect logging and notification
This commit is contained in:
parent
ae414f4815
commit
ff1fded38a
1 changed files with 3 additions and 3 deletions
|
@ -121,9 +121,9 @@ namespace Ombi.Schedule.Jobs.Plex
|
|||
}
|
||||
var processedCont = processedContent?.Content?.Count() ?? 0;
|
||||
var processedEp = processedContent?.Episodes?.Count() ?? 0;
|
||||
Logger.LogInformation("Finished Plex Content Cacher, with processed content: {0}, episodes: {1}. Recently Added Scan: {2}", processedCont, processedEp, recentlyAddedSearch);
|
||||
Logger.LogInformation("Finished Plex Content Cacher, with processed content: movies: {0}, episodes: {1}. Recently Added Scan: {2}", processedCont, processedEp, recentlyAddedSearch);
|
||||
|
||||
await NotifyClient(recentlyAddedSearch ? $"Plex Recently Added Sync Finished, We processed {processedCont}, and {processedEp} Episodes" : "Plex Content Sync Finished");
|
||||
await NotifyClient(recentlyAddedSearch ? $"Plex Recently Added Sync Finished, We processed {processedCont} Movies, and {processedEp} Episodes" : "Plex Content Sync Finished");
|
||||
|
||||
}
|
||||
|
||||
|
@ -702,4 +702,4 @@ namespace Ombi.Schedule.Jobs.Plex
|
|||
GC.SuppressFinalize(this);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue