mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-23 06:45:19 -07:00
Hopefully fixes a lot of null reference bugs in BulkImport
This commit is contained in:
parent
85843efcb0
commit
07ff6558d1
1 changed files with 9 additions and 3 deletions
|
@ -132,11 +132,17 @@ namespace NzbDrone.Api.Movie
|
|||
}
|
||||
|
||||
mappedMovie = _searchProxy.MapMovieToTmdbMovie(m);
|
||||
|
||||
if (mappedMovie != null)
|
||||
{
|
||||
mappedMovie.Monitored = true;
|
||||
|
||||
_mappedMovies.Set(f.Name, mappedMovie, TimeSpan.FromDays(2));
|
||||
|
||||
return mappedMovie;
|
||||
}
|
||||
|
||||
return null;
|
||||
});
|
||||
|
||||
return new PagingResource<MovieResource>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue