BaseItemDto.cs 26 KB

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