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

This commit is contained in:
tidusjar 2021-12-16 16:09:04 +00:00
commit fd1acb88cb

View file

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