jellyfin-server/MediaBrowser.Controller/Providers/ICustomMetadataProvider.cs
2014-02-06 22:10:13 -05:00

18 lines
520 B
C#

using MediaBrowser.Controller.Entities;
using MediaBrowser.Controller.Library;
using System.Threading;
using System.Threading.Tasks;
namespace MediaBrowser.Controller.Providers
{
public interface ICustomMetadataProvider : IMetadataProvider
{
}
public interface ICustomMetadataProvider<TItemType> : IMetadataProvider<TItemType>, ICustomMetadataProvider
where TItemType : IHasMetadata
{
Task<ItemUpdateType> FetchAsync(TItemType item, CancellationToken cancellationToken);
}
}