BaseItemDto.cs 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794
  1. #nullable disable
  2. #pragma warning disable CS1591
  3. using System;
  4. using System.Collections.Generic;
  5. using Jellyfin.Data.Enums;
  6. using MediaBrowser.Model.Drawing;
  7. using MediaBrowser.Model.Entities;
  8. using MediaBrowser.Model.Library;
  9. using MediaBrowser.Model.LiveTv;
  10. using MediaBrowser.Model.Providers;
  11. namespace MediaBrowser.Model.Dto
  12. {
  13. /// <summary>
  14. /// This is strictly used as a data transfer object from the api layer.
  15. /// This holds information about a BaseItem in a format that is convenient for the client.
  16. /// </summary>
  17. public class BaseItemDto : IHasProviderIds, IItemDto, IHasServerId
  18. {
  19. /// <summary>
  20. /// Gets or sets the name.
  21. /// </summary>
  22. /// <value>The name.</value>
  23. public string Name { get; set; }
  24. public string OriginalTitle { get; set; }
  25. /// <summary>
  26. /// Gets or sets the server identifier.
  27. /// </summary>
  28. /// <value>The server identifier.</value>
  29. public string ServerId { get; set; }
  30. /// <summary>
  31. /// Gets or sets the id.
  32. /// </summary>
  33. /// <value>The id.</value>
  34. public Guid Id { get; set; }
  35. /// <summary>
  36. /// Gets or sets the etag.
  37. /// </summary>
  38. /// <value>The etag.</value>
  39. public string Etag { get; set; }
  40. /// <summary>
  41. /// Gets or sets the type of the source.
  42. /// </summary>
  43. /// <value>The type of the source.</value>
  44. public string SourceType { get; set; }
  45. /// <summary>
  46. /// Gets or sets the playlist item identifier.
  47. /// </summary>
  48. /// <value>The playlist item identifier.</value>
  49. public string PlaylistItemId { get; set; }
  50. /// <summary>
  51. /// Gets or sets the date created.
  52. /// </summary>
  53. /// <value>The date created.</value>
  54. public DateTime? DateCreated { get; set; }
  55. public DateTime? DateLastMediaAdded { get; set; }
  56. public string ExtraType { get; set; }
  57. public int? AirsBeforeSeasonNumber { get; set; }
  58. public int? AirsAfterSeasonNumber { get; set; }
  59. public int? AirsBeforeEpisodeNumber { get; set; }
  60. public bool? CanDelete { get; set; }
  61. public bool? CanDownload { get; set; }
  62. public bool? HasLyrics { get; set; }
  63. public bool? HasSubtitles { get; set; }
  64. public string PreferredMetadataLanguage { get; set; }
  65. public string PreferredMetadataCountryCode { get; set; }
  66. /// <summary>
  67. /// Gets or sets a value indicating whether [supports synchronize].
  68. /// </summary>
  69. public bool? SupportsSync { get; set; }
  70. public string Container { get; set; }
  71. /// <summary>
  72. /// Gets or sets the name of the sort.
  73. /// </summary>
  74. /// <value>The name of the sort.</value>
  75. public string SortName { get; set; }
  76. public string ForcedSortName { get; set; }
  77. /// <summary>
  78. /// Gets or sets the video3 D format.
  79. /// </summary>
  80. /// <value>The video3 D format.</value>
  81. public Video3DFormat? Video3DFormat { get; set; }
  82. /// <summary>
  83. /// Gets or sets the premiere date.
  84. /// </summary>
  85. /// <value>The premiere date.</value>
  86. public DateTime? PremiereDate { get; set; }
  87. /// <summary>
  88. /// Gets or sets the external urls.
  89. /// </summary>
  90. /// <value>The external urls.</value>
  91. public ExternalUrl[] ExternalUrls { get; set; }
  92. /// <summary>
  93. /// Gets or sets the media versions.
  94. /// </summary>
  95. /// <value>The media versions.</value>
  96. public MediaSourceInfo[] MediaSources { get; set; }
  97. /// <summary>
  98. /// Gets or sets the critic rating.
  99. /// </summary>
  100. /// <value>The critic rating.</value>
  101. public float? CriticRating { get; set; }
  102. public string[] ProductionLocations { get; set; }
  103. /// <summary>
  104. /// Gets or sets the path.
  105. /// </summary>
  106. /// <value>The path.</value>
  107. public string Path { get; set; }
  108. public bool? EnableMediaSourceDisplay { get; set; }
  109. /// <summary>
  110. /// Gets or sets the official rating.
  111. /// </summary>
  112. /// <value>The official rating.</value>
  113. public string OfficialRating { get; set; }
  114. /// <summary>
  115. /// Gets or sets the custom rating.
  116. /// </summary>
  117. /// <value>The custom rating.</value>
  118. public string CustomRating { get; set; }
  119. /// <summary>
  120. /// Gets or sets the channel identifier.
  121. /// </summary>
  122. /// <value>The channel identifier.</value>
  123. public Guid? ChannelId { get; set; }
  124. public string ChannelName { get; set; }
  125. /// <summary>
  126. /// Gets or sets the overview.
  127. /// </summary>
  128. /// <value>The overview.</value>
  129. public string Overview { get; set; }
  130. /// <summary>
  131. /// Gets or sets the taglines.
  132. /// </summary>
  133. /// <value>The taglines.</value>
  134. public string[] Taglines { get; set; }
  135. /// <summary>
  136. /// Gets or sets the genres.
  137. /// </summary>
  138. /// <value>The genres.</value>
  139. public string[] Genres { get; set; }
  140. /// <summary>
  141. /// Gets or sets the community rating.
  142. /// </summary>
  143. /// <value>The community rating.</value>
  144. public float? CommunityRating { get; set; }
  145. /// <summary>
  146. /// Gets or sets the cumulative run time ticks.
  147. /// </summary>
  148. /// <value>The cumulative run time ticks.</value>
  149. public long? CumulativeRunTimeTicks { get; set; }
  150. /// <summary>
  151. /// Gets or sets the run time ticks.
  152. /// </summary>
  153. /// <value>The run time ticks.</value>
  154. public long? RunTimeTicks { get; set; }
  155. /// <summary>
  156. /// Gets or sets the play access.
  157. /// </summary>
  158. /// <value>The play access.</value>
  159. public PlayAccess? PlayAccess { get; set; }
  160. /// <summary>
  161. /// Gets or sets the aspect ratio.
  162. /// </summary>
  163. /// <value>The aspect ratio.</value>
  164. public string AspectRatio { get; set; }
  165. /// <summary>
  166. /// Gets or sets the production year.
  167. /// </summary>
  168. /// <value>The production year.</value>
  169. public int? ProductionYear { get; set; }
  170. /// <summary>
  171. /// Gets or sets a value indicating whether this instance is place holder.
  172. /// </summary>
  173. /// <value><c>null</c> if [is place holder] contains no value, <c>true</c> if [is place holder]; otherwise, <c>false</c>.</value>
  174. public bool? IsPlaceHolder { get; set; }
  175. /// <summary>
  176. /// Gets or sets the number.
  177. /// </summary>
  178. /// <value>The number.</value>
  179. public string Number { get; set; }
  180. public string ChannelNumber { get; set; }
  181. /// <summary>
  182. /// Gets or sets the index number.
  183. /// </summary>
  184. /// <value>The index number.</value>
  185. public int? IndexNumber { get; set; }
  186. /// <summary>
  187. /// Gets or sets the index number end.
  188. /// </summary>
  189. /// <value>The index number end.</value>
  190. public int? IndexNumberEnd { get; set; }
  191. /// <summary>
  192. /// Gets or sets the parent index number.
  193. /// </summary>
  194. /// <value>The parent index number.</value>
  195. public int? ParentIndexNumber { get; set; }
  196. /// <summary>
  197. /// Gets or sets the trailer urls.
  198. /// </summary>
  199. /// <value>The trailer urls.</value>
  200. public IReadOnlyCollection<MediaUrl> RemoteTrailers { get; set; }
  201. /// <summary>
  202. /// Gets or sets the provider ids.
  203. /// </summary>
  204. /// <value>The provider ids.</value>
  205. public Dictionary<string, string> ProviderIds { get; set; }
  206. /// <summary>
  207. /// Gets or sets a value indicating whether this instance is HD.
  208. /// </summary>
  209. /// <value><c>null</c> if [is HD] contains no value, <c>true</c> if [is HD]; otherwise, <c>false</c>.</value>
  210. public bool? IsHD { get; set; }
  211. /// <summary>
  212. /// Gets or sets a value indicating whether this instance is folder.
  213. /// </summary>
  214. /// <value><c>true</c> if this instance is folder; otherwise, <c>false</c>.</value>
  215. public bool? IsFolder { get; set; }
  216. /// <summary>
  217. /// Gets or sets the parent id.
  218. /// </summary>
  219. /// <value>The parent id.</value>
  220. public Guid? ParentId { get; set; }
  221. /// <summary>
  222. /// Gets or sets the type.
  223. /// </summary>
  224. /// <value>The type.</value>
  225. public BaseItemKind Type { get; set; }
  226. /// <summary>
  227. /// Gets or sets the people.
  228. /// </summary>
  229. /// <value>The people.</value>
  230. public BaseItemPerson[] People { get; set; }
  231. /// <summary>
  232. /// Gets or sets the studios.
  233. /// </summary>
  234. /// <value>The studios.</value>
  235. public NameGuidPair[] Studios { get; set; }
  236. public NameGuidPair[] GenreItems { get; set; }
  237. /// <summary>
  238. /// Gets or sets whether the item has a logo, this will hold the Id of the Parent that has one.
  239. /// </summary>
  240. /// <value>The parent logo item id.</value>
  241. public Guid? ParentLogoItemId { get; set; }
  242. /// <summary>
  243. /// Gets or sets whether the item has any backdrops, this will hold the Id of the Parent that has one.
  244. /// </summary>
  245. /// <value>The parent backdrop item id.</value>
  246. public Guid? ParentBackdropItemId { get; set; }
  247. /// <summary>
  248. /// Gets or sets the parent backdrop image tags.
  249. /// </summary>
  250. /// <value>The parent backdrop image tags.</value>
  251. public string[] ParentBackdropImageTags { get; set; }
  252. /// <summary>
  253. /// Gets or sets the local trailer count.
  254. /// </summary>
  255. /// <value>The local trailer count.</value>
  256. public int? LocalTrailerCount { get; set; }
  257. /// <summary>
  258. /// Gets or sets the user data for this item based on the user it's being requested for.
  259. /// </summary>
  260. /// <value>The user data.</value>
  261. public UserItemDataDto UserData { get; set; }
  262. /// <summary>
  263. /// Gets or sets the recursive item count.
  264. /// </summary>
  265. /// <value>The recursive item count.</value>
  266. public int? RecursiveItemCount { get; set; }
  267. /// <summary>
  268. /// Gets or sets the child count.
  269. /// </summary>
  270. /// <value>The child count.</value>
  271. public int? ChildCount { get; set; }
  272. /// <summary>
  273. /// Gets or sets the name of the series.
  274. /// </summary>
  275. /// <value>The name of the series.</value>
  276. public string SeriesName { get; set; }
  277. /// <summary>
  278. /// Gets or sets the series id.
  279. /// </summary>
  280. /// <value>The series id.</value>
  281. public Guid? SeriesId { get; set; }
  282. /// <summary>
  283. /// Gets or sets the season identifier.
  284. /// </summary>
  285. /// <value>The season identifier.</value>
  286. public Guid? SeasonId { get; set; }
  287. /// <summary>
  288. /// Gets or sets the special feature count.
  289. /// </summary>
  290. /// <value>The special feature count.</value>
  291. public int? SpecialFeatureCount { get; set; }
  292. /// <summary>
  293. /// Gets or sets the display preferences id.
  294. /// </summary>
  295. /// <value>The display preferences id.</value>
  296. public string DisplayPreferencesId { get; set; }
  297. /// <summary>
  298. /// Gets or sets the status.
  299. /// </summary>
  300. /// <value>The status.</value>
  301. public string Status { get; set; }
  302. /// <summary>
  303. /// Gets or sets the air time.
  304. /// </summary>
  305. /// <value>The air time.</value>
  306. public string AirTime { get; set; }
  307. /// <summary>
  308. /// Gets or sets the air days.
  309. /// </summary>
  310. /// <value>The air days.</value>
  311. public DayOfWeek[] AirDays { get; set; }
  312. /// <summary>
  313. /// Gets or sets the tags.
  314. /// </summary>
  315. /// <value>The tags.</value>
  316. public string[] Tags { get; set; }
  317. /// <summary>
  318. /// Gets or sets the primary image aspect ratio, after image enhancements.
  319. /// </summary>
  320. /// <value>The primary image aspect ratio.</value>
  321. public double? PrimaryImageAspectRatio { get; set; }
  322. /// <summary>
  323. /// Gets or sets the artists.
  324. /// </summary>
  325. /// <value>The artists.</value>
  326. public IReadOnlyList<string> Artists { get; set; }
  327. /// <summary>
  328. /// Gets or sets the artist items.
  329. /// </summary>
  330. /// <value>The artist items.</value>
  331. public NameGuidPair[] ArtistItems { get; set; }
  332. /// <summary>
  333. /// Gets or sets the album.
  334. /// </summary>
  335. /// <value>The album.</value>
  336. public string Album { get; set; }
  337. /// <summary>
  338. /// Gets or sets the type of the collection.
  339. /// </summary>
  340. /// <value>The type of the collection.</value>
  341. public string CollectionType { get; set; }
  342. /// <summary>
  343. /// Gets or sets the display order.
  344. /// </summary>
  345. /// <value>The display order.</value>
  346. public string DisplayOrder { get; set; }
  347. /// <summary>
  348. /// Gets or sets the album id.
  349. /// </summary>
  350. /// <value>The album id.</value>
  351. public Guid? AlbumId { get; set; }
  352. /// <summary>
  353. /// Gets or sets the album image tag.
  354. /// </summary>
  355. /// <value>The album image tag.</value>
  356. public string AlbumPrimaryImageTag { get; set; }
  357. /// <summary>
  358. /// Gets or sets the series primary image tag.
  359. /// </summary>
  360. /// <value>The series primary image tag.</value>
  361. public string SeriesPrimaryImageTag { get; set; }
  362. /// <summary>
  363. /// Gets or sets the album artist.
  364. /// </summary>
  365. /// <value>The album artist.</value>
  366. public string AlbumArtist { get; set; }
  367. /// <summary>
  368. /// Gets or sets the album artists.
  369. /// </summary>
  370. /// <value>The album artists.</value>
  371. public NameGuidPair[] AlbumArtists { get; set; }
  372. /// <summary>
  373. /// Gets or sets the name of the season.
  374. /// </summary>
  375. /// <value>The name of the season.</value>
  376. public string SeasonName { get; set; }
  377. /// <summary>
  378. /// Gets or sets the media streams.
  379. /// </summary>
  380. /// <value>The media streams.</value>
  381. public MediaStream[] MediaStreams { get; set; }
  382. /// <summary>
  383. /// Gets or sets the type of the video.
  384. /// </summary>
  385. /// <value>The type of the video.</value>
  386. public VideoType? VideoType { get; set; }
  387. /// <summary>
  388. /// Gets or sets the part count.
  389. /// </summary>
  390. /// <value>The part count.</value>
  391. public int? PartCount { get; set; }
  392. public int? MediaSourceCount { get; set; }
  393. /// <summary>
  394. /// Gets or sets the image tags.
  395. /// </summary>
  396. /// <value>The image tags.</value>
  397. public Dictionary<ImageType, string> ImageTags { get; set; }
  398. /// <summary>
  399. /// Gets or sets the backdrop image tags.
  400. /// </summary>
  401. /// <value>The backdrop image tags.</value>
  402. public string[] BackdropImageTags { get; set; }
  403. /// <summary>
  404. /// Gets or sets the screenshot image tags.
  405. /// </summary>
  406. /// <value>The screenshot image tags.</value>
  407. public string[] ScreenshotImageTags { get; set; }
  408. /// <summary>
  409. /// Gets or sets the parent logo image tag.
  410. /// </summary>
  411. /// <value>The parent logo image tag.</value>
  412. public string ParentLogoImageTag { get; set; }
  413. /// <summary>
  414. /// Gets or sets whether the item has fan art, this will hold the Id of the Parent that has one.
  415. /// </summary>
  416. /// <value>The parent art item id.</value>
  417. public Guid? ParentArtItemId { get; set; }
  418. /// <summary>
  419. /// Gets or sets the parent art image tag.
  420. /// </summary>
  421. /// <value>The parent art image tag.</value>
  422. public string ParentArtImageTag { get; set; }
  423. /// <summary>
  424. /// Gets or sets the series thumb image tag.
  425. /// </summary>
  426. /// <value>The series thumb image tag.</value>
  427. public string SeriesThumbImageTag { get; set; }
  428. /// <summary>
  429. /// Gets or sets the blurhashes for the image tags.
  430. /// Maps image type to dictionary mapping image tag to blurhash value.
  431. /// </summary>
  432. /// <value>The blurhashes.</value>
  433. public Dictionary<ImageType, Dictionary<string, string>> ImageBlurHashes { get; set; }
  434. /// <summary>
  435. /// Gets or sets the series studio.
  436. /// </summary>
  437. /// <value>The series studio.</value>
  438. public string SeriesStudio { get; set; }
  439. /// <summary>
  440. /// Gets or sets the parent thumb item id.
  441. /// </summary>
  442. /// <value>The parent thumb item id.</value>
  443. public Guid? ParentThumbItemId { get; set; }
  444. /// <summary>
  445. /// Gets or sets the parent thumb image tag.
  446. /// </summary>
  447. /// <value>The parent thumb image tag.</value>
  448. public string ParentThumbImageTag { get; set; }
  449. /// <summary>
  450. /// Gets or sets the parent primary image item identifier.
  451. /// </summary>
  452. /// <value>The parent primary image item identifier.</value>
  453. public string ParentPrimaryImageItemId { get; set; }
  454. /// <summary>
  455. /// Gets or sets the parent primary image tag.
  456. /// </summary>
  457. /// <value>The parent primary image tag.</value>
  458. public string ParentPrimaryImageTag { get; set; }
  459. /// <summary>
  460. /// Gets or sets the chapters.
  461. /// </summary>
  462. /// <value>The chapters.</value>
  463. public List<ChapterInfo> Chapters { get; set; }
  464. /// <summary>
  465. /// Gets or sets the type of the location.
  466. /// </summary>
  467. /// <value>The type of the location.</value>
  468. public LocationType? LocationType { get; set; }
  469. /// <summary>
  470. /// Gets or sets the type of the iso.
  471. /// </summary>
  472. /// <value>The type of the iso.</value>
  473. public IsoType? IsoType { get; set; }
  474. /// <summary>
  475. /// Gets or sets the type of the media.
  476. /// </summary>
  477. /// <value>The type of the media.</value>
  478. public string MediaType { get; set; }
  479. /// <summary>
  480. /// Gets or sets the end date.
  481. /// </summary>
  482. /// <value>The end date.</value>
  483. public DateTime? EndDate { get; set; }
  484. /// <summary>
  485. /// Gets or sets the locked fields.
  486. /// </summary>
  487. /// <value>The locked fields.</value>
  488. public MetadataField[] LockedFields { get; set; }
  489. /// <summary>
  490. /// Gets or sets the trailer count.
  491. /// </summary>
  492. /// <value>The trailer count.</value>
  493. public int? TrailerCount { get; set; }
  494. /// <summary>
  495. /// Gets or sets the movie count.
  496. /// </summary>
  497. /// <value>The movie count.</value>
  498. public int? MovieCount { get; set; }
  499. /// <summary>
  500. /// Gets or sets the series count.
  501. /// </summary>
  502. /// <value>The series count.</value>
  503. public int? SeriesCount { get; set; }
  504. public int? ProgramCount { get; set; }
  505. /// <summary>
  506. /// Gets or sets the episode count.
  507. /// </summary>
  508. /// <value>The episode count.</value>
  509. public int? EpisodeCount { get; set; }
  510. /// <summary>
  511. /// Gets or sets the song count.
  512. /// </summary>
  513. /// <value>The song count.</value>
  514. public int? SongCount { get; set; }
  515. /// <summary>
  516. /// Gets or sets the album count.
  517. /// </summary>
  518. /// <value>The album count.</value>
  519. public int? AlbumCount { get; set; }
  520. public int? ArtistCount { get; set; }
  521. /// <summary>
  522. /// Gets or sets the music video count.
  523. /// </summary>
  524. /// <value>The music video count.</value>
  525. public int? MusicVideoCount { get; set; }
  526. /// <summary>
  527. /// Gets or sets a value indicating whether [enable internet providers].
  528. /// </summary>
  529. /// <value><c>true</c> if [enable internet providers]; otherwise, <c>false</c>.</value>
  530. public bool? LockData { get; set; }
  531. public int? Width { get; set; }
  532. public int? Height { get; set; }
  533. public string CameraMake { get; set; }
  534. public string CameraModel { get; set; }
  535. public string Software { get; set; }
  536. public double? ExposureTime { get; set; }
  537. public double? FocalLength { get; set; }
  538. public ImageOrientation? ImageOrientation { get; set; }
  539. public double? Aperture { get; set; }
  540. public double? ShutterSpeed { get; set; }
  541. public double? Latitude { get; set; }
  542. public double? Longitude { get; set; }
  543. public double? Altitude { get; set; }
  544. public int? IsoSpeedRating { get; set; }
  545. /// <summary>
  546. /// Gets or sets the series timer identifier.
  547. /// </summary>
  548. /// <value>The series timer identifier.</value>
  549. public string SeriesTimerId { get; set; }
  550. /// <summary>
  551. /// Gets or sets the program identifier.
  552. /// </summary>
  553. /// <value>The program identifier.</value>
  554. public string ProgramId { get; set; }
  555. /// <summary>
  556. /// Gets or sets the channel primary image tag.
  557. /// </summary>
  558. /// <value>The channel primary image tag.</value>
  559. public string ChannelPrimaryImageTag { get; set; }
  560. /// <summary>
  561. /// Gets or sets the start date of the recording, in UTC.
  562. /// </summary>
  563. public DateTime? StartDate { get; set; }
  564. /// <summary>
  565. /// Gets or sets the completion percentage.
  566. /// </summary>
  567. /// <value>The completion percentage.</value>
  568. public double? CompletionPercentage { get; set; }
  569. /// <summary>
  570. /// Gets or sets a value indicating whether this instance is repeat.
  571. /// </summary>
  572. /// <value><c>true</c> if this instance is repeat; otherwise, <c>false</c>.</value>
  573. public bool? IsRepeat { get; set; }
  574. /// <summary>
  575. /// Gets or sets the episode title.
  576. /// </summary>
  577. /// <value>The episode title.</value>
  578. public string EpisodeTitle { get; set; }
  579. /// <summary>
  580. /// Gets or sets the type of the channel.
  581. /// </summary>
  582. /// <value>The type of the channel.</value>
  583. public ChannelType? ChannelType { get; set; }
  584. /// <summary>
  585. /// Gets or sets the audio.
  586. /// </summary>
  587. /// <value>The audio.</value>
  588. public ProgramAudio? Audio { get; set; }
  589. /// <summary>
  590. /// Gets or sets a value indicating whether this instance is movie.
  591. /// </summary>
  592. /// <value><c>true</c> if this instance is movie; otherwise, <c>false</c>.</value>
  593. public bool? IsMovie { get; set; }
  594. /// <summary>
  595. /// Gets or sets a value indicating whether this instance is sports.
  596. /// </summary>
  597. /// <value><c>true</c> if this instance is sports; otherwise, <c>false</c>.</value>
  598. public bool? IsSports { get; set; }
  599. /// <summary>
  600. /// Gets or sets a value indicating whether this instance is series.
  601. /// </summary>
  602. /// <value><c>true</c> if this instance is series; otherwise, <c>false</c>.</value>
  603. public bool? IsSeries { get; set; }
  604. /// <summary>
  605. /// Gets or sets a value indicating whether this instance is live.
  606. /// </summary>
  607. /// <value><c>true</c> if this instance is live; otherwise, <c>false</c>.</value>
  608. public bool? IsLive { get; set; }
  609. /// <summary>
  610. /// Gets or sets a value indicating whether this instance is news.
  611. /// </summary>
  612. /// <value><c>true</c> if this instance is news; otherwise, <c>false</c>.</value>
  613. public bool? IsNews { get; set; }
  614. /// <summary>
  615. /// Gets or sets a value indicating whether this instance is kids.
  616. /// </summary>
  617. /// <value><c>true</c> if this instance is kids; otherwise, <c>false</c>.</value>
  618. public bool? IsKids { get; set; }
  619. /// <summary>
  620. /// Gets or sets a value indicating whether this instance is premiere.
  621. /// </summary>
  622. /// <value><c>true</c> if this instance is premiere; otherwise, <c>false</c>.</value>
  623. public bool? IsPremiere { get; set; }
  624. /// <summary>
  625. /// Gets or sets the timer identifier.
  626. /// </summary>
  627. /// <value>The timer identifier.</value>
  628. public string TimerId { get; set; }
  629. /// <summary>
  630. /// Gets or sets the LUFS value.
  631. /// </summary>
  632. /// <value>The LUFS Value.</value>
  633. public float? LUFS { get; set; }
  634. /// <summary>
  635. /// Gets or sets the current program.
  636. /// </summary>
  637. /// <value>The current program.</value>
  638. public BaseItemDto CurrentProgram { get; set; }
  639. }
  640. }