BaseItemDto.cs 25 KB

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