jellyfin-server/MediaBrowser.Controller/Providers/IExternalId.cs

35 lines
575 B
C#
Raw Normal View History

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; }
ExternalIdType Type { get; }
2018-12-27 23:27:57 +00:00
string UrlFormatString { get; }
bool Supports(IHasProviderIds item);
}
public enum ExternalIdType
{
None,
Album,
AlbumArtist,
Artist,
BoxSet,
Episode,
Movie,
OtherArtist,
Person,
ReleaseGroup,
Season,
Series,
Track
}
2018-12-27 23:27:57 +00:00
}