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
|
namespace MediaBrowser.Model.Providers
|
||||||
{
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Represents the external id information for serialization to the client.
|
||||||
|
/// </summary>
|
||||||
public class ExternalIdInfo
|
public class ExternalIdInfo
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the name.
|
/// Gets or sets the name of the external id provider (IE: IMDB, MusicBrainz, etc).
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <value>The name.</value>
|
|
||||||
public string Name { get; set; }
|
public string Name { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the key.
|
/// Gets or sets the unique key for this id. This key should be unique across all providers.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <value>The key.</value>
|
|
||||||
public string Key { get; set; }
|
public string Key { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <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>
|
/// </summary>
|
||||||
/// <value>The type.</value>
|
|
||||||
public string Type { get; set; }
|
public string Type { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the URL format string.
|
/// Gets or sets the URL format string.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <value>The URL format string.</value>
|
|
||||||
public string UrlFormatString { get; set; }
|
public string UrlFormatString { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in new issue