diff options
| author | Vasily <JustAMan@users.noreply.github.com> | 2020-03-02 12:54:17 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-03-02 12:54:17 +0300 |
| commit | 13d30a0a793de09862a725e6c7581fa70c10e034 (patch) | |
| tree | 27fdaf07b1de49c406b7dd2db184ccb38b0a3506 /Emby.Server.Implementations/Library/LibraryManager.cs | |
| parent | 0b0c5984f99343897b750509752f37b88ce1c96a (diff) | |
| parent | 49f6809254afa6d50a081df444594a803af65492 (diff) | |
Merge pull request #2436 from dkanada/music
Add config options for MusicBrainz
Diffstat (limited to 'Emby.Server.Implementations/Library/LibraryManager.cs')
| -rw-r--r-- | Emby.Server.Implementations/Library/LibraryManager.cs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Emby.Server.Implementations/Library/LibraryManager.cs b/Emby.Server.Implementations/Library/LibraryManager.cs index 5d16a9050..5f7f5b2f0 100644 --- a/Emby.Server.Implementations/Library/LibraryManager.cs +++ b/Emby.Server.Implementations/Library/LibraryManager.cs @@ -944,7 +944,6 @@ namespace Emby.Server.Implementations.Library IncludeItemTypes = new[] { typeof(T).Name }, Name = name, DtoOptions = options - }).Cast<MusicArtist>() .OrderBy(i => i.IsAccessedByName ? 1 : 0) .Cast<T>() @@ -1080,7 +1079,7 @@ namespace Emby.Server.Implementations.Library var innerProgress = new ActionableProgress<double>(); - innerProgress.RegisterAction(pct => progress.Report(pct * pct * 0.96)); + innerProgress.RegisterAction(pct => progress.Report(pct * 0.96)); // Validate the entire media library await RootFolder.ValidateChildren(innerProgress, cancellationToken, new MetadataRefreshOptions(new DirectoryService(_fileSystem)), recursive: true).ConfigureAwait(false); |
