created a separate gallery page

This commit is contained in:
Luke Pulverenti
2013-05-31 21:48:41 -04:00
parent 434a9e28b2
commit f82085b21e
3 changed files with 10 additions and 7 deletions

View File

@@ -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;