Prevent false notification for moving artist when editing

This commit is contained in:
Bogdan 2023-12-03 22:27:48 +02:00
commit 4e70a80324

View file

@ -46,13 +46,16 @@ namespace NzbDrone.Core.Music
return; 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); if (index != null && total != null)
} {
else _logger.ProgressInfo("Moving {0} from '{1}' to '{2}' ({3}/{4})", artist.Name, sourcePath, destinationPath, index + 1, total);
{ }
_logger.ProgressInfo("Moving {0} from '{1}' to '{2}'", artist.Name, sourcePath, destinationPath); else
{
_logger.ProgressInfo("Moving {0} from '{1}' to '{2}'", artist.Name, sourcePath, destinationPath);
}
} }
try try