BaseItemDto.cs 26 KB

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