using System.Threading; using System.Threading.Tasks; namespace MediaBrowser.Controller.Providers { public interface ILocalMetadataProvider : IMetadataProvider { /// /// Determines whether [has local metadata] [the specified item]. /// /// The item. /// true if [has local metadata] [the specified item]; otherwise, false. bool HasLocalMetadata(IHasMetadata item); } public interface ILocalMetadataProvider : IMetadataProvider, ILocalMetadataProvider where TItemType : IHasMetadata { /// /// Gets the metadata. /// /// The path. /// The cancellation token. /// Task{MetadataResult{`0}}. Task> GetMetadata(string path, CancellationToken cancellationToken); } }