mirror of
https://github.com/Radarr/Radarr
synced 2025-02-25 15:43:08 +00:00
Cleanup Movie Scanned Handler
This commit is contained in:
parent
19dceb35fa
commit
a12395b468
1 changed files with 1 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
|||
using System.Collections.Generic;
|
||||
using System.Collections.Generic;
|
||||
using NLog;
|
||||
using NzbDrone.Core.IndexerSearch;
|
||||
using NzbDrone.Core.MediaFiles.Events;
|
||||
|
@ -28,13 +28,11 @@ private void HandleScanEvents(Movie movie)
|
|||
{
|
||||
if (movie.AddOptions == null)
|
||||
{
|
||||
//_episodeAddedService.SearchForRecentlyAdded(movie.Id);
|
||||
return;
|
||||
}
|
||||
|
||||
_logger.Info("[{0}] was recently added, performing post-add actions", movie.Title);
|
||||
|
||||
//_episodeMonitoredService.SetEpisodeMonitoredStatus(movie, movie.AddOptions);
|
||||
if (movie.AddOptions.SearchForMovie)
|
||||
{
|
||||
_commandQueueManager.Push(new MoviesSearchCommand { MovieIds = new List<int> { movie.Id } });
|
||||
|
|
Loading…
Reference in a new issue