using MediaBrowser.Model.Dto;
using MediaBrowser.Model.Entities;
using System;
using System.Collections.Generic;
namespace MediaBrowser.Model.MediaInfo
{
public class MediaInfo : MediaSourceInfo, IHasProviderIds
{
private static readonly string[] EmptyStringArray = new string[] { };
public ChapterInfo[] Chapters { get; set; }
///
/// Gets or sets the album.
///
/// The album.
public string Album { get; set; }
///
/// Gets or sets the artists.
///
/// The artists.
public string[] Artists { get; set; }
///
/// Gets or sets the album artists.
///
/// The album artists.
public string[] AlbumArtists { get; set; }
///
/// Gets or sets the studios.
///
/// The studios.
public string[] Studios { get; set; }
public string[] Genres { get; set; }
public int? IndexNumber { get; set; }
public int? ParentIndexNumber { get; set; }
public int? ProductionYear { get; set; }
public DateTime? PremiereDate { get; set; }
public BaseItemPerson[] People { get; set; }
public Dictionary ProviderIds { get; set; }
///
/// Gets or sets the official rating.
///
/// The official rating.
public string OfficialRating { get; set; }
///
/// Gets or sets the official rating description.
///
/// The official rating description.
public string OfficialRatingDescription { get; set; }
///
/// Gets or sets the overview.
///
/// The overview.
public string Overview { get; set; }
public MediaInfo()
{
Chapters = new ChapterInfo[] { };
Artists = new string[] { };
AlbumArtists = EmptyStringArray;
Studios = new string[] { };
Genres = new string[] { };
People = new BaseItemPerson[] { };
ProviderIds = new Dictionary(StringComparer.OrdinalIgnoreCase);
}
}
}