Skip to content

Instantly share code, notes, and snippets.

@alkaline9500 alkaline9500/-
Created Mar 5, 2017

Embed
What would you like to do?
diff --git a/src/NzbDrone.Core/NetImport/NetImportSearchService.cs b/src/NzbDrone.Core/NetImport/NetImportSearchService.cs
index 2c3f257..8600c19 100644
--- a/src/NzbDrone.Core/NetImport/NetImportSearchService.cs
+++ b/src/NzbDrone.Core/NetImport/NetImportSearchService.cs
@@ -158,6 +158,8 @@ public void Execute(NetImportSyncCommand message)
var mapped = _movieSearch.MapMovieToTmdbMovie(movie);
if ((mapped != null) && shouldAdd)
{
+ mapped.AddOptions = new AddMovieOptions();
+ mapped.AddOptions.SearchForMovie = true;
_movieService.AddMovie(mapped);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.