update xml parsing

This commit is contained in:
Luke Pulverenti
2016-12-02 15:10:35 -05:00
parent 12ff39eeaf
commit aef79a796d
9 changed files with 203 additions and 79 deletions

View File

@@ -1069,6 +1069,11 @@ namespace Emby.Server.Implementations.Library
{
_logger.Info("Validating media library");
// Ensure these objects are lazy loaded.
// Without this there is a deadlock that will need to be investigated
var rootChildren = RootFolder.Children.ToList();
rootChildren = GetUserRootFolder().Children.ToList();
await RootFolder.RefreshMetadata(cancellationToken).ConfigureAwait(false);
progress.Report(.5);