aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/IO/FileData.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2013-05-31 21:48:41 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2013-05-31 21:48:41 -0400
commitf82085b21e8ab19d7316876c365b01e61995ebc7 (patch)
treea4580f9575b06bcb83962442854d399c7b78703f /MediaBrowser.Controller/IO/FileData.cs
parent434a9e28b27bd4df8d7d7ec9413f59f701f83c8f (diff)
created a separate gallery page
Diffstat (limited to 'MediaBrowser.Controller/IO/FileData.cs')
-rw-r--r--MediaBrowser.Controller/IO/FileData.cs10
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;