From 0f1677cddc04c61065f84c6d1d9ba3e0c5f1721e Mon Sep 17 00:00:00 2001 From: Dash <33206210+LordFlashmeow@users.noreply.github.com> Date: Sun, 12 Nov 2023 11:10:35 -0800 Subject: [PATCH] Fix image validation for TVDB episode images --- .../Commands/Import/CommandRequest_ValidateAllImages.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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");