BaseItemDto.cs 25 KB

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