Skip to content

Commit

Permalink
fix(sonarr): 🐛 Fixed an issue where we were sometimes incorrectly set…
Browse files Browse the repository at this point in the history
…ting the state of episodes that are already monitored in sonarr
  • Loading branch information
tidusjar committed Dec 16, 2021
1 parent a4105eb commit fd1acb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Ombi.Schedule/Jobs/Sonarr/SonarrSync.cs
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ public async Task Execute(IJobExecutionContext job)

foreach (var s in ids)
{
if (!s.Monitored || s.EpisodeFileCount == 0) // We have files
if (!s.Monitored && s.EpisodeFileCount == 0) // We have files
{
continue;
}
Expand Down

0 comments on commit fd1acb8

Please sign in to comment.