jellyfin/MediaBrowser.Controller/Providers/ILocalMetadataProvider.cs

26 lines
882 B
C#
Raw Normal View History

using System.Threading;
2018-12-27 16:27:57 -07:00
using System.Threading.Tasks;
using MediaBrowser.Controller.Entities;
2018-12-27 16:27:57 -07:00
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>
2019-01-07 16:27:46 -07:00
Task<MetadataResult<TItemType>> GetMetadata(ItemInfo info,
2018-12-27 16:27:57 -07:00
IDirectoryService directoryService,
CancellationToken cancellationToken);
}
}