mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-03-15 22:56:18 +00:00
update i/o methods
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -129,9 +129,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;
|
||||
|
||||
Reference in New Issue
Block a user