mirror of https://github.com/Radarr/Radarr
Fixed: Movies not getting unmonitored when folder gets deleted (#2588)
Fixes #1191, fixes #1590
This commit is contained in:
parent
b83f2ca0ee
commit
55dde613c2
|
@ -165,12 +165,7 @@ namespace NzbDrone.Core.MediaFiles
|
|||
if (movie.MovieFileId != 0)
|
||||
{
|
||||
//Since there is no folder, there can't be any files right?
|
||||
// Delete Movie from MovieFiles
|
||||
_movieFileRepository.Delete(movie.MovieFileId);
|
||||
|
||||
// Update Movie
|
||||
movie.MovieFileId = 0;
|
||||
_movieService.UpdateMovie(movie);
|
||||
_mediaFileTableCleanupService.Clean(movie, new List<string>());
|
||||
|
||||
_logger.Debug("Movies folder doesn't exist: {0}", movie.Path);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue