Cleanup Movie Scanned Handler

This commit is contained in:
Taloth Saldono 2019-09-13 14:23:01 +02:00 committed by Qstick
parent 19dceb35fa
commit a12395b468
1 changed files with 1 additions and 3 deletions

View File

@ -1,4 +1,4 @@
using System.Collections.Generic; using System.Collections.Generic;
using NLog; using NLog;
using NzbDrone.Core.IndexerSearch; using NzbDrone.Core.IndexerSearch;
using NzbDrone.Core.MediaFiles.Events; using NzbDrone.Core.MediaFiles.Events;
@ -28,13 +28,11 @@ namespace NzbDrone.Core.Movies
{ {
if (movie.AddOptions == null) if (movie.AddOptions == null)
{ {
//_episodeAddedService.SearchForRecentlyAdded(movie.Id);
return; return;
} }
_logger.Info("[{0}] was recently added, performing post-add actions", movie.Title); _logger.Info("[{0}] was recently added, performing post-add actions", movie.Title);
//_episodeMonitoredService.SetEpisodeMonitoredStatus(movie, movie.AddOptions);
if (movie.AddOptions.SearchForMovie) if (movie.AddOptions.SearchForMovie)
{ {
_commandQueueManager.Push(new MoviesSearchCommand { MovieIds = new List<int> { movie.Id } }); _commandQueueManager.Push(new MoviesSearchCommand { MovieIds = new List<int> { movie.Id } });