2014-02-06 20:10:13 -07:00
|
|
|
|
using MediaBrowser.Controller.Entities;
|
|
|
|
|
using MediaBrowser.Controller.Library;
|
2014-02-04 13:19:29 -07:00
|
|
|
|
using System.Threading;
|
2014-02-02 06:36:31 -07: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 11:39:41 -07:00
|
|
|
|
Task<ItemUpdateType> FetchAsync(TItemType item, IDirectoryService directoryService, CancellationToken cancellationToken);
|
2014-02-02 06:36:31 -07:00
|
|
|
|
}
|
2014-02-28 21:13:22 -07:00
|
|
|
|
|
|
|
|
|
public interface IPreRefreshProvider : ICustomMetadataProvider
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
}
|
2014-02-02 06:36:31 -07:00
|
|
|
|
}
|