Skip to content

The Free Software Media System - Server Backend & API

Backout non persistence of virtual folders. Doesn't address the real issue.

Eric Reed89e6124a5df3
diff --git a/MediaBrowser.Controller/Entities/Folder.cs b/MediaBrowser.Controller/Entities/Folder.cs
index b46447f5a6..ef34742df4 100644
--- a/MediaBrowser.Controller/Entities/Folder.cs
+++ b/MediaBrowser.Controller/Entities/Folder.cs
@@ -699,9 +699,9 @@ namespace MediaBrowser.Controller.Entities
await Task.WhenAll(saveTasks).ConfigureAwait(false);
- //and save children in repo... but never save virtual plugin folders as they will always be re-created by the plugin
+ //and save children in repo...
Logger.Info("*** Saving " + newChildren.Count + " children for " + Name);
- await Kernel.Instance.ItemRepository.SaveChildren(Id, newChildren.Where(c => !(c is BasePluginFolder)), CancellationToken.None).ConfigureAwait(false);
+ await Kernel.Instance.ItemRepository.SaveChildren(Id, newChildren, CancellationToken.None).ConfigureAwait(false);
}
if (changedArgs.HasChange)