pull/2643/head
parent
ae4e727b24
commit
0fb78cf54b
@ -0,0 +1,45 @@
|
||||
namespace MediaBrowser.Controller.Providers
|
||||
{
|
||||
/// <summary>The specific media type of an <see cref="IExternalId"/>.</summary>
|
||||
public enum ExternalIdMediaType
|
||||
{
|
||||
/// <summary>There is no specific media type</summary>
|
||||
None,
|
||||
|
||||
/// <summary>A music album</summary>
|
||||
Album,
|
||||
|
||||
/// <summary>The artist of a music album</summary>
|
||||
AlbumArtist,
|
||||
|
||||
/// <summary>The artist of a media item</summary>
|
||||
Artist,
|
||||
|
||||
/// <summary>A boxed set of media</summary>
|
||||
BoxSet,
|
||||
|
||||
/// <summary>A series episode</summary>
|
||||
Episode,
|
||||
|
||||
/// <summary>A movie</summary>
|
||||
Movie,
|
||||
|
||||
/// <summary>An alternative artist apart from the main artist</summary>
|
||||
OtherArtist,
|
||||
|
||||
/// <summary>A person</summary>
|
||||
Person,
|
||||
|
||||
/// <summary>A release group</summary>
|
||||
ReleaseGroup,
|
||||
|
||||
/// <summary>A single season of a series</summary>
|
||||
Season,
|
||||
|
||||
/// <summary>A series</summary>
|
||||
Series,
|
||||
|
||||
/// <summary>A music track</summary>
|
||||
Track
|
||||
}
|
||||
}
|
@ -1,31 +1,30 @@
|
||||
#pragma warning disable CS1591
|
||||
|
||||
namespace MediaBrowser.Model.Providers
|
||||
{
|
||||
/// <summary>
|
||||
/// Represents the external id information for serialization to the client.
|
||||
/// </summary>
|
||||
public class ExternalIdInfo
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets the name.
|
||||
/// Gets or sets the name of the external id provider (IE: IMDB, MusicBrainz, etc).
|
||||
/// </summary>
|
||||
/// <value>The name.</value>
|
||||
public string Name { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the key.
|
||||
/// Gets or sets the unique key for this id. This key should be unique across all providers.
|
||||
/// </summary>
|
||||
/// <value>The key.</value>
|
||||
public string Key { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the type.
|
||||
/// Gets or sets the media type (Album, Artist, etc).
|
||||
/// This can be null if there is no specific type.
|
||||
/// This string is also used to localize the media type on the client.
|
||||
/// </summary>
|
||||
/// <value>The type.</value>
|
||||
public string Type { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the URL format string.
|
||||
/// </summary>
|
||||
/// <value>The URL format string.</value>
|
||||
public string UrlFormatString { get; set; }
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in new issue