mirror of
https://github.com/lidarr/Lidarr
synced 2025-01-31 11:22:06 +00:00
Prevent false notification for moving artist when editing
This commit is contained in:
parent
0655a9aa72
commit
4e70a80324
1 changed files with 9 additions and 6 deletions
|
@ -46,13 +46,16 @@ private void MoveSingleArtist(Artist artist, string sourcePath, string destinati
|
|||
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
|
||||
|
|
Loading…
Reference in a new issue