1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-09-17 15:02:34 +02:00

Small changes to list sync (#1179)

This commit is contained in:
Devin Buhl 2017-03-14 23:22:36 -04:00 committed by GitHub
parent 18fcda5fd6
commit f10af08f95

View File

@ -71,7 +71,7 @@ public List<Movie> MovieListSearch(int listId, bool onlyEnableAuto = false)
if (onlyEnableAuto)
{
lists = importLists.Where(a => ((NetImportDefinition)a.Definition).EnableAuto);
lists = lists.Where(a => ((NetImportDefinition)a.Definition).EnableAuto);
}
foreach (var list in lists)
@ -121,7 +121,7 @@ public void Execute(NetImportSyncCommand message)
if (mapped != null && !importExclusions.Any(x => x == mapped.TmdbId.ToString()))
{
//List<DownloadDecision> decisions;
//mapped.AddOptions = new AddMovieOptions {SearchForMovie = true};
mapped.AddOptions = new AddMovieOptions { SearchForMovie = true };
_movieService.AddMovie(mapped);
//// Search for movie