mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 03:26:07 +02:00
fixes #225 - MediaServer Root Drive
This commit is contained in:
parent
68bc39fe4e
commit
b67a0dfe03
1 changed files with 9 additions and 0 deletions
|
@ -44,6 +44,15 @@ namespace MediaBrowser.Server.Implementations.Library
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Drives will sometimes be hidden
|
||||||
|
if (args.Path.EndsWith(":\\", StringComparison.OrdinalIgnoreCase))
|
||||||
|
{
|
||||||
|
if (new DriveInfo(args.Path).IsReady)
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue