mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 11:34:57 +02:00
25 lines
895 B
C#
25 lines
895 B
C#
using MediaBrowser.Controller.Entities;
|
|
using System.Threading;
|
|
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>
|
|
/// <param name="directoryService">The directory service.</param>
|
|
/// <param name="cancellationToken">The cancellation token.</param>
|
|
/// <returns>Task{MetadataResult{`0}}.</returns>
|
|
Task<LocalMetadataResult<TItemType>> GetMetadata(ItemInfo info,
|
|
IDirectoryService directoryService,
|
|
CancellationToken cancellationToken);
|
|
}
|
|
}
|