2014-01-29 06:17:58 +01:00
|
|
|
|
using MediaBrowser.Model.Entities;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
|
|
|
|
namespace MediaBrowser.Controller.Providers
|
|
|
|
|
{
|
|
|
|
|
public class ItemId : IHasProviderIds
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the name.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The name.</value>
|
|
|
|
|
public string Name { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the metadata language.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The metadata language.</value>
|
|
|
|
|
public string MetadataLanguage { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the metadata country code.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The metadata country code.</value>
|
|
|
|
|
public string MetadataCountryCode { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the provider ids.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The provider ids.</value>
|
|
|
|
|
public Dictionary<string, string> ProviderIds { get; set; }
|
2014-01-30 22:23:54 +01:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the year.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The year.</value>
|
|
|
|
|
public int? Year { get; set; }
|
2014-01-29 06:17:58 +01:00
|
|
|
|
|
|
|
|
|
public ItemId()
|
|
|
|
|
{
|
|
|
|
|
ProviderIds = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase);
|
|
|
|
|
}
|
|
|
|
|
}
|
2014-01-31 20:55:21 +01:00
|
|
|
|
|
|
|
|
|
public class AlbumId : ItemId
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the album artist.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The album artist.</value>
|
|
|
|
|
public string AlbumArtist { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the artist music brainz identifier.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The artist music brainz identifier.</value>
|
|
|
|
|
public string ArtistMusicBrainzId { get; set; }
|
|
|
|
|
}
|
2014-01-29 06:17:58 +01:00
|
|
|
|
}
|