aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Server.Implementations/Library/LibraryManager.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2015-01-12 00:07:19 -0500
committerLuke Pulverenti <luke.pulverenti@gmail.com>2015-01-12 00:07:19 -0500
commitf45e16660416a44b75716e9f33621fb711c98b5b (patch)
tree7975c90600d4fbb2ba1b71938141bcf58676073f /MediaBrowser.Server.Implementations/Library/LibraryManager.cs
parent231e89e4b91c95efbff4a75396e6a0426d409271 (diff)
update nlog
Diffstat (limited to 'MediaBrowser.Server.Implementations/Library/LibraryManager.cs')
-rw-r--r--MediaBrowser.Server.Implementations/Library/LibraryManager.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/MediaBrowser.Server.Implementations/Library/LibraryManager.cs b/MediaBrowser.Server.Implementations/Library/LibraryManager.cs
index ab72d89fd..597dcd9af 100644
--- a/MediaBrowser.Server.Implementations/Library/LibraryManager.cs
+++ b/MediaBrowser.Server.Implementations/Library/LibraryManager.cs
@@ -577,7 +577,7 @@ namespace MediaBrowser.Server.Implementations.Library
var fullPath = fileInfo.FullName;
- if (string.IsNullOrWhiteSpace(collectionType))
+ if (string.IsNullOrWhiteSpace(collectionType) && parent != null)
{
collectionType = GetContentTypeOverride(fullPath, true);
}