The Free Software Media System - Server Backend & API
fixes #225 - MediaServer Root Drive
Luke Pulverentib67a0dfe0355
diff --git a/MediaBrowser.Server.Implementations/Library/CoreResolutionIgnoreRule.cs b/MediaBrowser.Server.Implementations/Library/CoreResolutionIgnoreRule.csindex 3caa9ac88a..a801aef4ee 100644--- a/MediaBrowser.Server.Implementations/Library/CoreResolutionIgnoreRule.cs+++ b/MediaBrowser.Server.Implementations/Library/CoreResolutionIgnoreRule.cs@@ -44,6 +44,15 @@ namespace MediaBrowser.Server.Implementations.Libraryreturn false;}+ // Drives will sometimes be hidden+ if (args.Path.EndsWith(":\\", StringComparison.OrdinalIgnoreCase))+ {+ if (new DriveInfo(args.Path).IsReady)+ {+ return false;+ }+ }+return true;}