1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-03-05 13:21:25 -05:00

Fixed: Handling movies with empty IMDB IDs in lists clean library

This commit is contained in:
Michael Peleshenko
2025-06-07 04:35:44 -04:00
committed by GitHub
parent ac33b15048
commit a95b1f2992

View File

@@ -196,7 +196,9 @@ namespace NzbDrone.Core.ImportLists
foreach (var movie in moviesInLibrary)
{
var movieExists = listMovies.Any(c => c.TmdbId == movie.TmdbId || c.ImdbId == movie.ImdbId);
var movieExists = listMovies.Any(c =>
c.TmdbId == movie.TmdbId ||
(c.ImdbId.IsNotNullOrWhiteSpace() && movie.ImdbId.IsNotNullOrWhiteSpace() && c.ImdbId == movie.ImdbId));
if (!movieExists)
{