mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-27 22:57:09 -04:00
Added: Importing extra files from downloaded movies and generate metadata such as .nfo (#2506)
Fixes #121, Fixes #167, Fixes #2262 and Fixes #1104
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
using System;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data.SQLite;
|
||||
using System.Linq;
|
||||
@@ -128,6 +128,11 @@ namespace NzbDrone.Core.MediaFiles
|
||||
{
|
||||
_logger.Error(ex, "Failed to rename file: " + oldMovieFilePath);
|
||||
}
|
||||
|
||||
if (renamed.Any())
|
||||
{
|
||||
_eventAggregator.PublishEvent(new MovieRenamedEvent(movie));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user