mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-19 21:03:17 -07:00
Fixed #2371
This commit is contained in:
parent
fe590004d2
commit
5eaa5cf78c
1 changed files with 6 additions and 1 deletions
|
@ -255,7 +255,12 @@ namespace Ombi.Core.Senders
|
||||||
{
|
{
|
||||||
// We have the same amount of requests as all of the episodes in the season.
|
// We have the same amount of requests as all of the episodes in the season.
|
||||||
var existingSeason =
|
var existingSeason =
|
||||||
result.seasons.First(x => x.seasonNumber == season.SeasonNumber);
|
result.seasons.FirstOrDefault(x => x.seasonNumber == season.SeasonNumber);
|
||||||
|
if (existingSeason == null)
|
||||||
|
{
|
||||||
|
Logger.LogError("The sonarr ep count was the same as out request count, but could not match the season number {0}", season.SeasonNumber);
|
||||||
|
continue;
|
||||||
|
}
|
||||||
existingSeason.monitored = true;
|
existingSeason.monitored = true;
|
||||||
seriesChanges = true;
|
seriesChanges = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue