using MediaBrowser.Controller.Entities;
using MediaBrowser.Controller.Library;
using MediaBrowser.Controller.Providers;
using System.Collections.Generic;
using MediaBrowser.Controller.IO;
using MediaBrowser.Model.IO;
namespace MediaBrowser.Controller.Resolvers
{
///
/// Interface IItemResolver
///
public interface IItemResolver
{
///
/// Resolves the path.
///
/// The args.
/// BaseItem.
BaseItem ResolvePath(ItemResolveArgs args);
///
/// Gets the priority.
///
/// The priority.
ResolverPriority Priority { get; }
}
public interface IMultiItemResolver
{
MultiItemResolverResult ResolveMultiple(Folder parent,
List files,
string collectionType,
IDirectoryService directoryService);
}
public class MultiItemResolverResult
{
public List Items { get; set; }
public List ExtraFiles { get; set; }
public MultiItemResolverResult()
{
Items = new List();
ExtraFiles = new List();
}
}
}