BaseItemDto.cs 25 KB

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