mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-11 18:20:23 +01:00
updated nuget
This commit is contained in:
@@ -105,6 +105,12 @@ namespace MediaBrowser.Api
|
||||
throw new ArgumentNullException("Path");
|
||||
}
|
||||
|
||||
// If it's not a drive trim trailing slashes.
|
||||
if (!path.EndsWith(":\\"))
|
||||
{
|
||||
path = path.TrimEnd('\\');
|
||||
}
|
||||
|
||||
if (path.StartsWith(NetworkPrefix, StringComparison.OrdinalIgnoreCase) && path.LastIndexOf('\\') == 1)
|
||||
{
|
||||
return ToOptimizedResult(GetNetworkShares(path).OrderBy(i => i.Path).ToList());
|
||||
|
||||
Reference in New Issue
Block a user