2014-01-31 19:55:21 +00:00
|
|
|
|
using System.Threading;
|
|
|
|
|
using System.Threading.Tasks;
|
2014-02-07 03:10:13 +00:00
|
|
|
|
using MediaBrowser.Controller.Entities;
|
2014-01-31 19:55:21 +00:00
|
|
|
|
|
|
|
|
|
namespace MediaBrowser.Controller.Providers
|
|
|
|
|
{
|
|
|
|
|
public interface IRemoteMetadataProvider : IMetadataProvider
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
2014-02-07 03:10:13 +00:00
|
|
|
|
public interface IRemoteMetadataProvider<TItemType, in TLookupInfoType> : IMetadataProvider<TItemType>, IRemoteMetadataProvider
|
|
|
|
|
where TItemType : IHasMetadata, IHasLookupInfo<TLookupInfoType>
|
|
|
|
|
where TLookupInfoType : ItemLookupInfo, new()
|
2014-01-31 19:55:21 +00:00
|
|
|
|
{
|
2014-02-07 03:10:13 +00:00
|
|
|
|
Task<MetadataResult<TItemType>> GetMetadata(TLookupInfoType info, CancellationToken cancellationToken);
|
2014-01-31 19:55:21 +00:00
|
|
|
|
}
|
|
|
|
|
}
|