From 4e70a80324a4fec0ebc1a805e31ab83d455168a4 Mon Sep 17 00:00:00 2001 From: Bogdan Date: Sun, 3 Dec 2023 22:27:48 +0200 Subject: [PATCH] Prevent false notification for moving artist when editing --- .../Music/Services/MoveArtistService.cs | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/src/NzbDrone.Core/Music/Services/MoveArtistService.cs b/src/NzbDrone.Core/Music/Services/MoveArtistService.cs index 867084001..e0b847f4b 100644 --- a/src/NzbDrone.Core/Music/Services/MoveArtistService.cs +++ b/src/NzbDrone.Core/Music/Services/MoveArtistService.cs @@ -46,13 +46,16 @@ namespace NzbDrone.Core.Music return; } - if (index != null && total != null) + if (moveFiles) { - _logger.ProgressInfo("Moving {0} from '{1}' to '{2}' ({3}/{4})", artist.Name, sourcePath, destinationPath, index + 1, total); - } - else - { - _logger.ProgressInfo("Moving {0} from '{1}' to '{2}'", artist.Name, sourcePath, destinationPath); + if (index != null && total != null) + { + _logger.ProgressInfo("Moving {0} from '{1}' to '{2}' ({3}/{4})", artist.Name, sourcePath, destinationPath, index + 1, total); + } + else + { + _logger.ProgressInfo("Moving {0} from '{1}' to '{2}'", artist.Name, sourcePath, destinationPath); + } } try