Skip to content

Commit

Permalink
Merge pull request #1094 from LordFlashmeow/patch-1
Browse files Browse the repository at this point in the history
Fix image validation for TVDB episode images
  • Loading branch information
revam authored Nov 12, 2023
2 parents f3b44df + 0f1677c commit 5884f62
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 5884f62

Please sign in to comment.