mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-14 02:26:55 -07:00
Fixed #3563
This commit is contained in:
parent
3d5e4383d9
commit
ebd370e59b
1 changed files with 5 additions and 1 deletions
|
@ -214,11 +214,15 @@ namespace Ombi.Schedule.Jobs.Plex
|
|||
await ProcessTvShow(servers, show, contentToAdd, contentProcessed);
|
||||
if (contentToAdd.Any())
|
||||
{
|
||||
await Repo.AddRange(contentToAdd, false);
|
||||
await Repo.AddRange(contentToAdd, recentlyAddedSearch ? true : false);
|
||||
if (recentlyAddedSearch)
|
||||
{
|
||||
foreach (var plexServerContent in contentToAdd)
|
||||
{
|
||||
if (plexServerContent.Id <= 0)
|
||||
{
|
||||
Logger.LogInformation($"Item '{plexServerContent.Title}' has an Plex ID of {plexServerContent.Id} and a Plex Key of {plexServerContent.Key}");
|
||||
}
|
||||
contentProcessed.Add(plexServerContent.Id, plexServerContent.Key);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue