mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-16 14:03:03 +03:00
fixes #225 - MediaServer Root Drive
This commit is contained in:
@@ -44,6 +44,15 @@ namespace MediaBrowser.Server.Implementations.Library
|
||||
return false;
|
||||
}
|
||||
|
||||
// Drives will sometimes be hidden
|
||||
if (args.Path.EndsWith(":\\", StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
if (new DriveInfo(args.Path).IsReady)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user