jellyfin-server/MediaBrowser.Model/MediaInfo/MediaInfo.cs

71 lines
2.5 KiB
C#
Raw Normal View History

2015-04-04 19:35:29 +00:00
using MediaBrowser.Model.Dto;
2015-04-05 15:01:57 +00:00
using MediaBrowser.Model.Entities;
2015-04-04 19:35:29 +00:00
using System;
using System.Collections.Generic;
2015-04-05 15:01:57 +00:00
namespace MediaBrowser.Model.MediaInfo
{
2015-04-04 19:35:29 +00:00
public class MediaInfo : MediaSourceInfo, IHasProviderIds
{
2015-04-04 19:35:29 +00:00
public List<ChapterInfo> Chapters { get; set; }
/// <summary>
2015-04-04 19:35:29 +00:00
/// Gets or sets the album.
/// </summary>
2015-04-04 19:35:29 +00:00
/// <value>The album.</value>
public string Album { get; set; }
/// <summary>
/// Gets or sets the artists.
/// </summary>
/// <value>The artists.</value>
public List<string> Artists { get; set; }
/// <summary>
/// Gets or sets the album artists.
/// </summary>
/// <value>The album artists.</value>
public List<string> AlbumArtists { get; set; }
/// <summary>
/// Gets or sets the studios.
/// </summary>
/// <value>The studios.</value>
public List<string> Studios { get; set; }
public List<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 List<BaseItemPerson> People { get; set; }
public Dictionary<string, string> ProviderIds { get; set; }
/// <summary>
/// Gets or sets the official rating.
/// </summary>
/// <value>The official rating.</value>
public string OfficialRating { get; set; }
/// <summary>
2016-02-18 02:55:15 +00:00
/// Gets or sets the official rating description.
/// </summary>
/// <value>The official rating description.</value>
public string OfficialRatingDescription { get; set; }
/// <summary>
2015-04-04 19:35:29 +00:00
/// Gets or sets the overview.
/// </summary>
/// <value>The overview.</value>
public string Overview { get; set; }
2016-02-24 19:29:49 +00:00
/// <summary>
/// Gets or sets the short overview.
/// </summary>
/// <value>The short overview.</value>
public string ShortOverview { get; set; }
public MediaInfo()
{
2015-04-04 19:35:29 +00:00
Chapters = new List<ChapterInfo>();
Artists = new List<string>();
AlbumArtists = new List<string>();
Studios = new List<string>();
Genres = new List<string>();
People = new List<BaseItemPerson>();
ProviderIds = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase);
}
}
}