1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2025-09-16 09:26:36 +02:00

Fixed: Prevent series without IMDB ID from being removed erroneously

This commit is contained in:
Michael Peleshenko
2025-06-09 20:15:36 -04:00
committed by Mark McDowall
parent bb954a7424
commit 2b2b973b30

View File

@@ -305,7 +305,7 @@ namespace NzbDrone.Core.ImportLists
{
var seriesExists = allListItems.Where(l =>
l.TvdbId == series.TvdbId ||
l.ImdbId == series.ImdbId ||
(l.ImdbId.IsNotNullOrWhiteSpace() && series.ImdbId.IsNotNullOrWhiteSpace() && l.ImdbId == series.ImdbId) ||
l.TmdbId == series.TmdbId ||
series.MalIds.Contains(l.MalId) ||
series.AniListIds.Contains(l.AniListId)).ToList();