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 int? IndexNumber { get; set; } public int? ParentIndexNumber { 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 provider ids. /// /// The artist provider ids. public Dictionary ArtistProviderIds { get; set; } public AlbumId() { ArtistProviderIds = new Dictionary(StringComparer.OrdinalIgnoreCase); } } public class GameId : ItemId { /// /// Gets or sets the game system. /// /// The game system. public string GameSystem { get; set; } } public class GameSystemId : ItemId { /// /// Gets or sets the path. /// /// The path. public string Path { get; set; } } public class EpisodeId : ItemId { public Dictionary SeriesProviderIds { get; set; } public int? IndexNumberEnd { get; set; } public EpisodeId() { SeriesProviderIds = new Dictionary(StringComparer.OrdinalIgnoreCase); } } }