diff options
Diffstat (limited to 'MediaBrowser.Controller/IO/FileData.cs')
| -rw-r--r-- | MediaBrowser.Controller/IO/FileData.cs | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/MediaBrowser.Controller/IO/FileData.cs b/MediaBrowser.Controller/IO/FileData.cs index 0d253beba..2a62d98d0 100644 --- a/MediaBrowser.Controller/IO/FileData.cs +++ b/MediaBrowser.Controller/IO/FileData.cs @@ -52,14 +52,10 @@ namespace MediaBrowser.Controller.IO if (data.Exists) { - // Find out if the shortcut is pointing to a directory or file - if (data.Attributes.HasFlag(FileAttributes.Directory)) + // add to our physical locations + if (args != null) { - // add to our physical locations - if (args != null) - { - args.AddAdditionalLocation(newPath); - } + args.AddAdditionalLocation(newPath); } dict[data.FullName] = data; |
