jellyfin/MediaBrowser.Controller/Providers/ICustomMetadataProvider.cs

23 lines
645 B
C#
Raw Normal View History

2014-02-07 03:10:13 +00:00
using MediaBrowser.Controller.Entities;
using MediaBrowser.Controller.Library;
using System.Threading;
2014-02-02 13:36:31 +00:00
using System.Threading.Tasks;
namespace MediaBrowser.Controller.Providers
{
public interface ICustomMetadataProvider : IMetadataProvider
{
}
public interface ICustomMetadataProvider<TItemType> : IMetadataProvider<TItemType>, ICustomMetadataProvider
where TItemType : IHasMetadata
{
2014-02-10 18:39:41 +00:00
Task<ItemUpdateType> FetchAsync(TItemType item, IDirectoryService directoryService, CancellationToken cancellationToken);
2014-02-02 13:36:31 +00:00
}
public interface IPreRefreshProvider : ICustomMetadataProvider
{
}
2014-02-02 13:36:31 +00:00
}