Oops - still resolving metadata folder

This commit is contained in:
ebr11 Eric Reed spam 2012-09-18 16:07:17 -04:00
parent 0f078d8098
commit 0adc77209c
2 changed files with 1 additions and 6 deletions

View File

@ -60,11 +60,6 @@ namespace MediaBrowser.Controller.Resolvers
// Ignore any folders containing a file called .ignore
resolve = false;
}
else if (args.FileInfo.cFileName.Equals("metadata", StringComparison.OrdinalIgnoreCase))
{
// Ignore metadata folders
resolve = false;
}
return resolve;
}

View File

@ -14,7 +14,7 @@ namespace MediaBrowser.Controller.Resolvers
protected override Folder Resolve(ItemResolveEventArgs args)
{
if (args.IsDirectory)
if (args.IsDirectory && !args.FileInfo.cFileName.Equals("metadata",System.StringComparison.OrdinalIgnoreCase))
{
return new Folder() { PhysicalLocations = args.PhysicalLocations };
}