mirror of
https://github.com/Radarr/Radarr.git
synced 2024-11-10 13:02:47 +01:00
Small changes to list sync (#1179)
This commit is contained in:
parent
18fcda5fd6
commit
f10af08f95
@ -71,7 +71,7 @@ public List<Movie> MovieListSearch(int listId, bool onlyEnableAuto = false)
|
|||||||
|
|
||||||
if (onlyEnableAuto)
|
if (onlyEnableAuto)
|
||||||
{
|
{
|
||||||
lists = importLists.Where(a => ((NetImportDefinition)a.Definition).EnableAuto);
|
lists = lists.Where(a => ((NetImportDefinition)a.Definition).EnableAuto);
|
||||||
}
|
}
|
||||||
|
|
||||||
foreach (var list in lists)
|
foreach (var list in lists)
|
||||||
@ -121,7 +121,7 @@ public void Execute(NetImportSyncCommand message)
|
|||||||
if (mapped != null && !importExclusions.Any(x => x == mapped.TmdbId.ToString()))
|
if (mapped != null && !importExclusions.Any(x => x == mapped.TmdbId.ToString()))
|
||||||
{
|
{
|
||||||
//List<DownloadDecision> decisions;
|
//List<DownloadDecision> decisions;
|
||||||
//mapped.AddOptions = new AddMovieOptions {SearchForMovie = true};
|
mapped.AddOptions = new AddMovieOptions { SearchForMovie = true };
|
||||||
_movieService.AddMovie(mapped);
|
_movieService.AddMovie(mapped);
|
||||||
|
|
||||||
//// Search for movie
|
//// Search for movie
|
||||||
|
Loading…
Reference in New Issue
Block a user