2019-01-13 20:01:16 +00:00
|
|
|
using MediaBrowser.Model.Entities;
|
2018-12-27 23:27:57 +00:00
|
|
|
|
|
|
|
namespace MediaBrowser.Controller.Providers
|
|
|
|
{
|
|
|
|
public interface IExternalId
|
|
|
|
{
|
|
|
|
string Name { get; }
|
|
|
|
|
|
|
|
string Key { get; }
|
|
|
|
|
2020-03-22 19:58:53 +00:00
|
|
|
ExternalIdType Type { get; }
|
|
|
|
|
2018-12-27 23:27:57 +00:00
|
|
|
string UrlFormatString { get; }
|
|
|
|
|
|
|
|
bool Supports(IHasProviderIds item);
|
|
|
|
}
|
2020-03-22 19:58:53 +00:00
|
|
|
|
|
|
|
public enum ExternalIdType
|
|
|
|
{
|
|
|
|
None,
|
|
|
|
Album,
|
|
|
|
AlbumArtist,
|
|
|
|
Artist,
|
|
|
|
BoxSet,
|
|
|
|
Episode,
|
|
|
|
Movie,
|
|
|
|
OtherArtist,
|
|
|
|
Person,
|
|
|
|
ReleaseGroup,
|
|
|
|
Season,
|
|
|
|
Series,
|
|
|
|
Track
|
|
|
|
}
|
2018-12-27 23:27:57 +00:00
|
|
|
}
|