2020-04-05 16:10:56 +00:00
|
|
|
#nullable disable
|
2020-02-04 00:49:27 +00:00
|
|
|
#pragma warning disable CS1591
|
|
|
|
|
2018-12-27 23:27:57 +00:00
|
|
|
using System;
|
|
|
|
using System.Collections.Generic;
|
2019-01-13 19:26:15 +00:00
|
|
|
using MediaBrowser.Model.Dto;
|
|
|
|
using MediaBrowser.Model.Entities;
|
2018-12-27 23:27:57 +00:00
|
|
|
|
|
|
|
namespace MediaBrowser.Model.MediaInfo
|
|
|
|
{
|
|
|
|
public class MediaInfo : MediaSourceInfo, IHasProviderIds
|
|
|
|
{
|
2021-02-20 22:13:04 +00:00
|
|
|
public MediaInfo()
|
|
|
|
{
|
|
|
|
Chapters = Array.Empty<ChapterInfo>();
|
|
|
|
Artists = Array.Empty<string>();
|
|
|
|
AlbumArtists = Array.Empty<string>();
|
|
|
|
Studios = Array.Empty<string>();
|
|
|
|
Genres = Array.Empty<string>();
|
|
|
|
People = Array.Empty<BaseItemPerson>();
|
|
|
|
ProviderIds = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase);
|
|
|
|
}
|
|
|
|
|
2018-12-27 23:27:57 +00:00
|
|
|
public ChapterInfo[] Chapters { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets the album.
|
|
|
|
/// </summary>
|
|
|
|
/// <value>The album.</value>
|
|
|
|
public string Album { get; set; }
|
2020-02-04 00:49:27 +00:00
|
|
|
|
2018-12-27 23:27:57 +00:00
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets the artists.
|
|
|
|
/// </summary>
|
|
|
|
/// <value>The artists.</value>
|
|
|
|
public string[] Artists { get; set; }
|
2020-02-04 00:49:27 +00:00
|
|
|
|
2018-12-27 23:27:57 +00:00
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets the album artists.
|
|
|
|
/// </summary>
|
|
|
|
/// <value>The album artists.</value>
|
|
|
|
public string[] AlbumArtists { get; set; }
|
2020-02-04 00:49:27 +00:00
|
|
|
|
2018-12-27 23:27:57 +00:00
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets the studios.
|
|
|
|
/// </summary>
|
|
|
|
/// <value>The studios.</value>
|
|
|
|
public string[] Studios { get; set; }
|
2020-06-15 21:43:52 +00:00
|
|
|
|
2018-12-27 23:27:57 +00:00
|
|
|
public string[] Genres { get; set; }
|
2020-06-15 21:43:52 +00:00
|
|
|
|
2020-02-17 13:56:31 +00:00
|
|
|
public string ShowName { get; set; }
|
2020-06-15 21:43:52 +00:00
|
|
|
|
2021-04-04 21:34:29 +00:00
|
|
|
public string ForcedSortName { get; set; }
|
|
|
|
|
2018-12-27 23:27:57 +00:00
|
|
|
public int? IndexNumber { get; set; }
|
2020-06-15 21:43:52 +00:00
|
|
|
|
2018-12-27 23:27:57 +00:00
|
|
|
public int? ParentIndexNumber { get; set; }
|
2020-06-15 21:43:52 +00:00
|
|
|
|
2018-12-27 23:27:57 +00:00
|
|
|
public int? ProductionYear { get; set; }
|
2020-06-15 21:43:52 +00:00
|
|
|
|
2018-12-27 23:27:57 +00:00
|
|
|
public DateTime? PremiereDate { get; set; }
|
2020-06-15 21:43:52 +00:00
|
|
|
|
2018-12-27 23:27:57 +00:00
|
|
|
public BaseItemPerson[] People { get; set; }
|
2020-06-15 21:43:52 +00:00
|
|
|
|
2018-12-27 23:27:57 +00:00
|
|
|
public Dictionary<string, string> ProviderIds { get; set; }
|
2020-02-04 00:49:27 +00:00
|
|
|
|
2018-12-27 23:27:57 +00:00
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets the official rating.
|
|
|
|
/// </summary>
|
|
|
|
/// <value>The official rating.</value>
|
|
|
|
public string OfficialRating { get; set; }
|
2020-02-04 00:49:27 +00:00
|
|
|
|
2018-12-27 23:27:57 +00:00
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets the official rating description.
|
|
|
|
/// </summary>
|
|
|
|
/// <value>The official rating description.</value>
|
|
|
|
public string OfficialRatingDescription { get; set; }
|
2020-02-23 11:11:43 +00:00
|
|
|
|
2018-12-27 23:27:57 +00:00
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets the overview.
|
|
|
|
/// </summary>
|
|
|
|
/// <value>The overview.</value>
|
|
|
|
public string Overview { get; set; }
|
|
|
|
}
|
2018-12-27 21:43:48 +00:00
|
|
|
}
|