You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
904 B
27 lines
904 B
#pragma warning disable CS1591
|
|
|
|
using System.Threading;
|
|
using System.Threading.Tasks;
|
|
using MediaBrowser.Controller.Entities;
|
|
using MediaBrowser.Controller.Library;
|
|
|
|
namespace MediaBrowser.Controller.Providers
|
|
{
|
|
public interface ICustomMetadataProvider : IMetadataProvider
|
|
{
|
|
}
|
|
|
|
public interface ICustomMetadataProvider<TItemType> : IMetadataProvider<TItemType>, ICustomMetadataProvider
|
|
where TItemType : BaseItem
|
|
{
|
|
/// <summary>
|
|
/// Fetches the metadata asynchronously.
|
|
/// </summary>
|
|
/// <param name="item">The item.</param>
|
|
/// <param name="options">The options.</param>
|
|
/// <param name="cancellationToken">The cancellation token.</param>
|
|
/// <returns>Task{ItemUpdateType}.</returns>
|
|
Task<ItemUpdateType> FetchAsync(TItemType item, MetadataRefreshOptions options, CancellationToken cancellationToken);
|
|
}
|
|
}
|