1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-04 10:02:40 +01:00

Revert "Small changes to list sync (#1179)"

This reverts commit f10af08f95.
This commit is contained in:
Devin Buhl 2017-03-14 23:27:36 -04:00
parent f10af08f95
commit 2b1023e768

View File

@ -71,7 +71,7 @@ public List<Movie> MovieListSearch(int listId, bool onlyEnableAuto = false)
if (onlyEnableAuto)
{
lists = lists.Where(a => ((NetImportDefinition)a.Definition).EnableAuto);
lists = importLists.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