jellyfin/MediaBrowser.Controller/Providers/ILocalMetadataProvider.cs

26 lines
895 B
C#
Raw Normal View History

2014-02-09 04:52:52 +00:00
using MediaBrowser.Controller.Entities;
using System.Threading;
2014-01-31 19:55:21 +00: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>
/// <param name="info">The information.</param>
2014-10-25 18:32:58 +00:00
/// <param name="directoryService">The directory service.</param>
2014-01-31 19:55:21 +00:00
/// <param name="cancellationToken">The cancellation token.</param>
/// <returns>Task{MetadataResult{`0}}.</returns>
2014-10-25 18:32:58 +00:00
Task<LocalMetadataResult<TItemType>> GetMetadata(ItemInfo info,
IDirectoryService directoryService,
CancellationToken cancellationToken);
}
2014-01-31 19:55:21 +00:00
}