mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-26 18:54:48 +03:00
optimize FindByPath
This commit is contained in:
@@ -664,7 +664,7 @@ namespace MediaBrowser.Server.Implementations.IO
|
||||
|
||||
while (item == null && !string.IsNullOrEmpty(path))
|
||||
{
|
||||
item = LibraryManager.RootFolder.FindByPath(path);
|
||||
item = LibraryManager.FindByPath(path);
|
||||
|
||||
path = Path.GetDirectoryName(path);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user