mirror of
https://github.com/Radarr/Radarr.git
synced 2024-11-06 11:02:40 +01:00
Fix notification text on rename
This commit is contained in:
parent
d67d405024
commit
f65697a705
@ -122,13 +122,13 @@ public void Execute(RenameMovieFilesCommand message)
|
|||||||
|
|
||||||
public void Execute(RenameMovieCommand message)
|
public void Execute(RenameMovieCommand message)
|
||||||
{
|
{
|
||||||
_logger.Debug("Renaming all files for selected movie");
|
_logger.Debug("Renaming movie files for selected movie");
|
||||||
var moviesToRename = _movieService.GetMovies(message.MovieIds);
|
var moviesToRename = _movieService.GetMovies(message.MovieIds);
|
||||||
|
|
||||||
foreach(var movie in moviesToRename)
|
foreach(var movie in moviesToRename)
|
||||||
{
|
{
|
||||||
var movieFiles = _mediaFileService.GetFilesByMovie(movie.Id);
|
var movieFiles = _mediaFileService.GetFilesByMovie(movie.Id);
|
||||||
_logger.ProgressInfo("Renaming all files in movie: {0}", movie.Title);
|
_logger.ProgressInfo("Renaming movie files for {0}", movie.Title);
|
||||||
RenameFiles(movieFiles, movie);
|
RenameFiles(movieFiles, movie);
|
||||||
_logger.ProgressInfo("All movie files renamed for {0}", movie.Title);
|
_logger.ProgressInfo("All movie files renamed for {0}", movie.Title);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user