fix(sonarr): 🐛 Fixed an issue where we were sometimes incorrectly setting the state of episodes that are already monitored in sonarr

pull/4445/head
tidusjar 3 years ago
parent a4105eb18e
commit fd1acb88cb

@ -108,7 +108,7 @@ namespace Ombi.Schedule.Jobs.Sonarr
foreach (var s in ids) foreach (var s in ids)
{ {
if (!s.Monitored || s.EpisodeFileCount == 0) // We have files if (!s.Monitored && s.EpisodeFileCount == 0) // We have files
{ {
continue; continue;
} }

Loading…
Cancel
Save