using System.Threading; using System.Threading.Tasks; using MediaBrowser.Controller.Entities; namespace MediaBrowser.Controller.Providers { public interface ILocalMetadataProvider : IMetadataProvider { } public interface ILocalMetadataProvider : IMetadataProvider, ILocalMetadataProvider where TItemType : IHasMetadata { /// /// Gets the metadata. /// /// The information. /// The cancellation token. /// Task{MetadataResult{`0}}. Task> GetMetadata(ItemInfo info, CancellationToken cancellationToken); } public class ItemInfo { public string Path { get; set; } public bool IsInMixedFolder { get; set; } } }