diff --git a/src/NzbDrone.Core/IndexerSearch/ReleaseSearchService.cs b/src/NzbDrone.Core/IndexerSearch/ReleaseSearchService.cs index a47310977..e59a9ca2d 100644 --- a/src/NzbDrone.Core/IndexerSearch/ReleaseSearchService.cs +++ b/src/NzbDrone.Core/IndexerSearch/ReleaseSearchService.cs @@ -68,7 +68,7 @@ public async Task> MovieSearch(Movie movie, bool userInvo private TSpec Get(Movie movie, bool userInvokedSearch, bool interactiveSearch) where TSpec : SearchCriteriaBase, new() { - var spec = new TSpec() + var spec = new TSpec { Movie = movie, UserInvokedSearch = userInvokedSearch, @@ -78,7 +78,7 @@ private TSpec Get(Movie movie, bool userInvokedSearch, bool interactiveSe var wantedLanguages = _profileService.GetAcceptableLanguages(movie.QualityProfileId); var translations = _movieTranslationService.GetAllTranslationsForMovieMetadata(movie.MovieMetadataId); - var queryTranlations = new List + var queryTranslations = new List { movie.MovieMetadata.Value.Title, movie.MovieMetadata.Value.OriginalTitle @@ -87,10 +87,10 @@ private TSpec Get(Movie movie, bool userInvokedSearch, bool interactiveSe // Add Translation of wanted languages to search query foreach (var translation in translations.Where(a => wantedLanguages.Contains(a.Language))) { - queryTranlations.Add(translation.Title); + queryTranslations.Add(translation.Title); } - spec.SceneTitles = queryTranlations.Distinct().Where(t => t.IsNotNullOrWhiteSpace()).ToList(); + spec.SceneTitles = queryTranslations.Distinct().Where(t => t.IsNotNullOrWhiteSpace()).ToList(); return spec; }