mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-12-27 02:43:57 +02:00
Improve messaging for renamed episode files progress info
This commit is contained in:
parent
63fdf8ca8f
commit
5c2c490cb2
@ -164,8 +164,8 @@ public void Execute(RenameFilesCommand message)
|
||||
var episodeFiles = _mediaFileService.Get(message.Files);
|
||||
|
||||
_logger.ProgressInfo("Renaming {0} files for {1}", episodeFiles.Count, series.Title);
|
||||
RenameFiles(episodeFiles, series);
|
||||
_logger.ProgressInfo("Selected episode files renamed for {0}", series.Title);
|
||||
var renamedFiles = RenameFiles(episodeFiles, series);
|
||||
_logger.ProgressInfo("{0} selected episode files renamed for {1}", renamedFiles.Count, series.Title);
|
||||
|
||||
_eventAggregator.PublishEvent(new RenameCompletedEvent());
|
||||
}
|
||||
@ -179,8 +179,8 @@ public void Execute(RenameSeriesCommand message)
|
||||
{
|
||||
var episodeFiles = _mediaFileService.GetFilesBySeries(series.Id);
|
||||
_logger.ProgressInfo("Renaming all files in series: {0}", series.Title);
|
||||
RenameFiles(episodeFiles, series);
|
||||
_logger.ProgressInfo("All episode files renamed for {0}", series.Title);
|
||||
var renamedFiles = RenameFiles(episodeFiles, series);
|
||||
_logger.ProgressInfo("{0} episode files renamed for {1}", renamedFiles.Count, series.Title);
|
||||
}
|
||||
|
||||
_eventAggregator.PublishEvent(new RenameCompletedEvent());
|
||||
|
Loading…
Reference in New Issue
Block a user