diff --git a/Shoko.Server/Commands/Import/CommandRequest_ValidateAllImages.cs b/Shoko.Server/Commands/Import/CommandRequest_ValidateAllImages.cs index 92cb0b627..0af9e8b8d 100644 --- a/Shoko.Server/Commands/Import/CommandRequest_ValidateAllImages.cs +++ b/Shoko.Server/Commands/Import/CommandRequest_ValidateAllImages.cs @@ -50,7 +50,7 @@ protected override void Process() UpdateProgress(Resources.Command_ValidateAllImages_TvDBEpisodes); Logger.LogInformation(ScanForType, "TvDB episodes"); var episodes = RepoFactory.TvDB_Episode.GetAll() - .Where(episode => Misc.IsImageValid(episode.GetFullImagePath())) + .Where(episode => !Misc.IsImageValid(episode.GetFullImagePath())) .ToList(); Logger.LogInformation(FoundCorruptedOfType, episodes.Count, episodes.Count == 1 ? "TvDB episode thumbnail" : "TvDB episode thumbnails");