29 lines
926 B
C#
29 lines
926 B
C#
#pragma warning disable CS1591
|
|
|
|
using System.Threading;
|
|
using System.Threading.Tasks;
|
|
using MediaBrowser.Controller.Entities;
|
|
|
|
namespace MediaBrowser.Controller.Providers
|
|
{
|
|
public interface ILocalMetadataProvider : IMetadataProvider
|
|
{
|
|
}
|
|
|
|
public interface ILocalMetadataProvider<TItemType> : IMetadataProvider<TItemType>, ILocalMetadataProvider
|
|
where TItemType : BaseItem
|
|
{
|
|
/// <summary>
|
|
/// Gets the metadata.
|
|
/// </summary>
|
|
/// <param name="info">The information.</param>
|
|
/// <param name="directoryService">The directory service.</param>
|
|
/// <param name="cancellationToken">The cancellation token.</param>
|
|
/// <returns>Task{MetadataResult{0}}.</returns>
|
|
Task<MetadataResult<TItemType>> GetMetadata(
|
|
ItemInfo info,
|
|
IDirectoryService directoryService,
|
|
CancellationToken cancellationToken);
|
|
}
|
|
}
|