2014-02-08 21:52:52 -07:00
|
|
|
|
using MediaBrowser.Controller.Entities;
|
|
|
|
|
using System.Threading;
|
2014-01-31 12:55:21 -07:00
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace MediaBrowser.Controller.Providers
|
|
|
|
|
{
|
|
|
|
|
public interface ILocalMetadataProvider : IMetadataProvider
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public interface ILocalMetadataProvider<TItemType> : IMetadataProvider<TItemType>, ILocalMetadataProvider
|
|
|
|
|
where TItemType : IHasMetadata
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets the metadata.
|
|
|
|
|
/// </summary>
|
2014-02-05 21:39:16 -07:00
|
|
|
|
/// <param name="info">The information.</param>
|
2014-10-25 11:32:58 -07:00
|
|
|
|
/// <param name="directoryService">The directory service.</param>
|
2014-01-31 12:55:21 -07:00
|
|
|
|
/// <param name="cancellationToken">The cancellation token.</param>
|
|
|
|
|
/// <returns>Task{MetadataResult{`0}}.</returns>
|
2015-08-02 10:31:08 -07:00
|
|
|
|
Task<MetadataResult<TItemType>> GetMetadata(ItemInfo info,
|
2014-10-25 11:32:58 -07:00
|
|
|
|
IDirectoryService directoryService,
|
|
|
|
|
CancellationToken cancellationToken);
|
2014-02-05 21:39:16 -07:00
|
|
|
|
}
|
2014-01-31 12:55:21 -07:00
|
|
|
|
}
|