2
0

BaseItemDto.cs 25 KB

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