| | 1 | | #nullable disable |
| | 2 | | #pragma warning disable CS1591 |
| | 3 | |
|
| | 4 | | using System; |
| | 5 | | using System.Collections.Generic; |
| | 6 | | using MediaBrowser.Model.Dto; |
| | 7 | | using MediaBrowser.Model.Entities; |
| | 8 | |
|
| | 9 | | namespace MediaBrowser.Model.MediaInfo |
| | 10 | | { |
| | 11 | | public class MediaInfo : MediaSourceInfo, IHasProviderIds |
| | 12 | | { |
| 26 | 13 | | public MediaInfo() |
| | 14 | | { |
| 26 | 15 | | Chapters = Array.Empty<ChapterInfo>(); |
| 26 | 16 | | Artists = Array.Empty<string>(); |
| 26 | 17 | | AlbumArtists = Array.Empty<string>(); |
| 26 | 18 | | Studios = Array.Empty<string>(); |
| 26 | 19 | | Genres = Array.Empty<string>(); |
| 26 | 20 | | People = Array.Empty<BaseItemPerson>(); |
| 26 | 21 | | ProviderIds = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase); |
| 26 | 22 | | } |
| | 23 | |
|
| | 24 | | public ChapterInfo[] Chapters { get; set; } |
| | 25 | |
|
| | 26 | | /// <summary> |
| | 27 | | /// Gets or sets the album. |
| | 28 | | /// </summary> |
| | 29 | | /// <value>The album.</value> |
| | 30 | | public string Album { get; set; } |
| | 31 | |
|
| | 32 | | /// <summary> |
| | 33 | | /// Gets or sets the artists. |
| | 34 | | /// </summary> |
| | 35 | | /// <value>The artists.</value> |
| | 36 | | public string[] Artists { get; set; } |
| | 37 | |
|
| | 38 | | /// <summary> |
| | 39 | | /// Gets or sets the album artists. |
| | 40 | | /// </summary> |
| | 41 | | /// <value>The album artists.</value> |
| | 42 | | public string[] AlbumArtists { get; set; } |
| | 43 | |
|
| | 44 | | /// <summary> |
| | 45 | | /// Gets or sets the studios. |
| | 46 | | /// </summary> |
| | 47 | | /// <value>The studios.</value> |
| | 48 | | public string[] Studios { get; set; } |
| | 49 | |
|
| | 50 | | public string[] Genres { get; set; } |
| | 51 | |
|
| | 52 | | public string ShowName { get; set; } |
| | 53 | |
|
| | 54 | | public string ForcedSortName { get; set; } |
| | 55 | |
|
| | 56 | | public int? IndexNumber { get; set; } |
| | 57 | |
|
| | 58 | | public int? ParentIndexNumber { get; set; } |
| | 59 | |
|
| | 60 | | public int? ProductionYear { get; set; } |
| | 61 | |
|
| | 62 | | public DateTime? PremiereDate { get; set; } |
| | 63 | |
|
| | 64 | | public BaseItemPerson[] People { get; set; } |
| | 65 | |
|
| | 66 | | public Dictionary<string, string> ProviderIds { get; set; } |
| | 67 | |
|
| | 68 | | /// <summary> |
| | 69 | | /// Gets or sets the official rating. |
| | 70 | | /// </summary> |
| | 71 | | /// <value>The official rating.</value> |
| | 72 | | public string OfficialRating { get; set; } |
| | 73 | |
|
| | 74 | | /// <summary> |
| | 75 | | /// Gets or sets the official rating description. |
| | 76 | | /// </summary> |
| | 77 | | /// <value>The official rating description.</value> |
| | 78 | | public string OfficialRatingDescription { get; set; } |
| | 79 | |
|
| | 80 | | /// <summary> |
| | 81 | | /// Gets or sets the overview. |
| | 82 | | /// </summary> |
| | 83 | | /// <value>The overview.</value> |
| | 84 | | public string Overview { get; set; } |
| | 85 | | } |
| | 86 | | } |