mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-31 14:33:54 -04: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
|
// Ignore any folders containing a file called .ignore
|
||||||
resolve = false;
|
resolve = false;
|
||||||
}
|
}
|
||||||
else if (args.FileInfo.cFileName.Equals("metadata", StringComparison.OrdinalIgnoreCase))
|
|
||||||
{
|
|
||||||
// Ignore metadata folders
|
|
||||||
resolve = false;
|
|
||||||
}
|
|
||||||
|
|
||||||
return resolve;
|
return resolve;
|
||||||
}
|
}
|
||||||
|
@ -14,7 +14,7 @@ namespace MediaBrowser.Controller.Resolvers
|
|||||||
|
|
||||||
protected override Folder Resolve(ItemResolveEventArgs args)
|
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 };
|
return new Folder() { PhysicalLocations = args.PhysicalLocations };
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user