aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Library/Validators/ArtistsValidator.cs
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2021-10-06 10:47:40 +0200
committerGitHub <noreply@github.com>2021-10-06 10:47:40 +0200
commita1246ba3a080cc20ff1c8e64b39a501065cc39b0 (patch)
treecec616f27606c5ab0e217f5192eb3e2a5e582a20 /Emby.Server.Implementations/Library/Validators/ArtistsValidator.cs
parentd245e45254057c62d058cfad3e56484a77093718 (diff)
parente0db541381a669ff5ba618e618e162ba0d0ef1c9 (diff)
Merge pull request #6649 from barronpm/implementations-warn2
Diffstat (limited to 'Emby.Server.Implementations/Library/Validators/ArtistsValidator.cs')
-rw-r--r--Emby.Server.Implementations/Library/Validators/ArtistsValidator.cs11
1 files changed, 7 insertions, 4 deletions
diff --git a/Emby.Server.Implementations/Library/Validators/ArtistsValidator.cs b/Emby.Server.Implementations/Library/Validators/ArtistsValidator.cs
index f9a3e2c64..40436d9c5 100644
--- a/Emby.Server.Implementations/Library/Validators/ArtistsValidator.cs
+++ b/Emby.Server.Implementations/Library/Validators/ArtistsValidator.cs
@@ -95,10 +95,13 @@ namespace Emby.Server.Implementations.Library.Validators
_logger.LogInformation("Deleting dead {2} {0} {1}.", item.Id.ToString("N", CultureInfo.InvariantCulture), item.Name, item.GetType().Name);
- _libraryManager.DeleteItem(item, new DeleteOptions
- {
- DeleteFileLocation = false
- }, false);
+ _libraryManager.DeleteItem(
+ item,
+ new DeleteOptions
+ {
+ DeleteFileLocation = false
+ },
+ false);
}
progress.Report(100);