1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-04-25 22:37:27 -04:00

Rename instances of Profile to QualityProfile

Closes #9337
This commit is contained in:
Bogdan
2023-11-01 12:28:14 +02:00
parent da41cb8840
commit 60d2df043b
9 changed files with 36 additions and 36 deletions
@@ -27,21 +27,21 @@ namespace NzbDrone.Core.IndexerSearch
private readonly IMakeDownloadDecision _makeDownloadDecision;
private readonly IMovieService _movieService;
private readonly IMovieTranslationService _movieTranslationService;
private readonly IQualityProfileService _profileService;
private readonly IQualityProfileService _qualityProfileService;
private readonly Logger _logger;
public ReleaseSearchService(IIndexerFactory indexerFactory,
IMakeDownloadDecision makeDownloadDecision,
IMovieService movieService,
IMovieTranslationService movieTranslationService,
IQualityProfileService profileService,
IQualityProfileService qualityProfileService,
Logger logger)
{
_indexerFactory = indexerFactory;
_makeDownloadDecision = makeDownloadDecision;
_movieService = movieService;
_movieTranslationService = movieTranslationService;
_profileService = profileService;
_qualityProfileService = qualityProfileService;
_logger = logger;
}
@@ -75,7 +75,7 @@ namespace NzbDrone.Core.IndexerSearch
InteractiveSearch = interactiveSearch
};
var wantedLanguages = _profileService.GetAcceptableLanguages(movie.QualityProfileId);
var wantedLanguages = _qualityProfileService.GetAcceptableLanguages(movie.QualityProfileId);
var translations = _movieTranslationService.GetAllTranslationsForMovieMetadata(movie.MovieMetadataId);
var queryTranslations = new List<string>