Fixed an issue where shows that have no aired, episodes are not marked as monitored in Sonarr

pull/3200/head
tidusjar 5 years ago
parent e2c92fb230
commit ad6e1fb4a1

@ -346,6 +346,11 @@ namespace Ombi.Core.Senders
existingSeason.monitored = true;
seriesChanges = true;
}
// Now update the episodes that need updating
foreach (var epToUpdate in episodesToUpdate.Where(x => x.seasonNumber == season.SeasonNumber))
{
await SonarrApi.UpdateEpisode(epToUpdate, s.ApiKey, s.FullUri);
}
}
else
{

Loading…
Cancel
Save