using MediaBrowser.Model.Entities; using System; using System.Collections.Generic; namespace MediaBrowser.Controller.Providers { public class ItemId : IHasProviderIds { /// /// Gets or sets the name. /// /// The name. public string Name { get; set; } /// /// Gets or sets the metadata language. /// /// The metadata language. public string MetadataLanguage { get; set; } /// /// Gets or sets the metadata country code. /// /// The metadata country code. public string MetadataCountryCode { get; set; } /// /// Gets or sets the provider ids. /// /// The provider ids. public Dictionary ProviderIds { get; set; } /// /// Gets or sets the year. /// /// The year. public int? Year { get; set; } public ItemId() { ProviderIds = new Dictionary(StringComparer.OrdinalIgnoreCase); } } public class AlbumId : ItemId { /// /// Gets or sets the album artist. /// /// The album artist. public string AlbumArtist { get; set; } /// /// Gets or sets the artist music brainz identifier. /// /// The artist music brainz identifier. public string ArtistMusicBrainzId { get; set; } } }