mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-15 18:08:53 -07:00
Oops - still resolving metadata folder
This commit is contained in:
parent
0f078d8098
commit
0adc77209c
@ -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;
|
||||
}
|
||||
|
@ -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 };
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user