#nullable disable
using MediaBrowser.Controller.Entities;
using MediaBrowser.Controller.Library;
using MediaBrowser.Controller.Resolvers;
namespace Emby.Server.Implementations.Library.Resolvers
{
///
/// Class FolderResolver.
///
public class FolderResolver : GenericFolderResolver
{
///
/// Gets the priority.
///
/// The priority.
public override ResolverPriority Priority => ResolverPriority.Last;
///
/// Resolves the specified args.
///
/// The args.
/// Folder.
protected override Folder Resolve(ItemResolveArgs args)
{
if (args.IsDirectory)
{
return new Folder();
}
return null;
}
}
}