diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2015-11-13 15:45:19 -0500 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2015-11-13 15:45:19 -0500 |
| commit | 3e5bb74fccf02d5d540cbe4b9132a012ae7530a3 (patch) | |
| tree | 5b40df9a4e2375b6d864b2c5a2932a8d18c22597 /MediaBrowser.Controller/Entities/AggregateFolder.cs | |
| parent | ba3f23bad4b3956a3d42bb04d21dc3f24d0384c3 (diff) | |
update i/o methods
Diffstat (limited to 'MediaBrowser.Controller/Entities/AggregateFolder.cs')
| -rw-r--r-- | MediaBrowser.Controller/Entities/AggregateFolder.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/MediaBrowser.Controller/Entities/AggregateFolder.cs b/MediaBrowser.Controller/Entities/AggregateFolder.cs index 14f8c1617..f843b10e4 100644 --- a/MediaBrowser.Controller/Entities/AggregateFolder.cs +++ b/MediaBrowser.Controller/Entities/AggregateFolder.cs @@ -94,9 +94,9 @@ namespace MediaBrowser.Controller.Entities // Example: if \\server\movies exists, then strip out \\server\movies\action if (isPhysicalRoot) { - var paths = LibraryManager.NormalizeRootPathList(fileSystemDictionary.Keys); + var paths = LibraryManager.NormalizeRootPathList(fileSystemDictionary.Values); - fileSystemDictionary = paths.Select(FileSystem.GetDirectoryInfo).ToDictionary(i => i.FullName); + fileSystemDictionary = paths.ToDictionary(i => i.FullName); } args.FileSystemDictionary = fileSystemDictionary; |
