@ -26,7 +26,6 @@ namespace NzbDrone.Core.Movies
private readonly IAlternativeTitleService _titleService ;
private readonly IAlternativeTitleService _titleService ;
private readonly ICreditService _creditService ;
private readonly ICreditService _creditService ;
private readonly IEventAggregator _eventAggregator ;
private readonly IEventAggregator _eventAggregator ;
private readonly IManageCommandQueue _commandQueueManager ;
private readonly IDiskScanService _diskScanService ;
private readonly IDiskScanService _diskScanService ;
private readonly ICheckIfMovieShouldBeRefreshed _checkIfMovieShouldBeRefreshed ;
private readonly ICheckIfMovieShouldBeRefreshed _checkIfMovieShouldBeRefreshed ;
private readonly IConfigService _configService ;
private readonly IConfigService _configService ;
@ -42,7 +41,6 @@ namespace NzbDrone.Core.Movies
IDiskScanService diskScanService ,
IDiskScanService diskScanService ,
IRadarrAPIClient apiClient ,
IRadarrAPIClient apiClient ,
ICheckIfMovieShouldBeRefreshed checkIfMovieShouldBeRefreshed ,
ICheckIfMovieShouldBeRefreshed checkIfMovieShouldBeRefreshed ,
IManageCommandQueue commandQueue ,
IConfigService configService ,
IConfigService configService ,
Logger logger )
Logger logger )
{
{
@ -52,7 +50,6 @@ namespace NzbDrone.Core.Movies
_creditService = creditService ;
_creditService = creditService ;
_eventAggregator = eventAggregator ;
_eventAggregator = eventAggregator ;
_apiClient = apiClient ;
_apiClient = apiClient ;
_commandQueueManager = commandQueue ;
_diskScanService = diskScanService ;
_diskScanService = diskScanService ;
_checkIfMovieShouldBeRefreshed = checkIfMovieShouldBeRefreshed ;
_checkIfMovieShouldBeRefreshed = checkIfMovieShouldBeRefreshed ;
_configService = configService ;
_configService = configService ;
@ -68,7 +65,7 @@ namespace NzbDrone.Core.Movies
try
try
{
{
var tuple = _movieInfo . GetMovieInfo ( movie . TmdbId , movie . Profile, movie . HasPreDBEntry) ;
var tuple = _movieInfo . GetMovieInfo ( movie . TmdbId , movie . HasPreDBEntry) ;
movieInfo = tuple . Item1 ;
movieInfo = tuple . Item1 ;
credits = tuple . Item2 ;
credits = tuple . Item2 ;
}
}
@ -87,7 +84,7 @@ namespace NzbDrone.Core.Movies
if ( movie . TmdbId ! = movieInfo . TmdbId )
if ( movie . TmdbId ! = movieInfo . TmdbId )
{
{
_logger . Warn ( "Movie '{0}' (Tmdb Id {1}) was replaced with '{2}' (TmdbI d {3}), because the original was a duplicate.", movie . Title , movie . TmdbId , movieInfo . Title , movieInfo . TmdbId ) ;
_logger . Warn ( "Movie '{0}' (Tmdb id {1}) was replaced with '{2}' (Tmdbi d {3}), because the original was a duplicate.", movie . Title , movie . TmdbId , movieInfo . Title , movieInfo . TmdbId ) ;
movie . TmdbId = movieInfo . TmdbId ;
movie . TmdbId = movieInfo . TmdbId ;
}
}