PlaybackStopInfo.cs 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. using System;
  2. using MediaBrowser.Model.Dto;
  3. namespace MediaBrowser.Model.Session
  4. {
  5. /// <summary>
  6. /// Class PlaybackStopInfo.
  7. /// </summary>
  8. public class PlaybackStopInfo
  9. {
  10. /// <summary>
  11. /// Gets or sets the item.
  12. /// </summary>
  13. /// <value>The item.</value>
  14. public BaseItemDto Item { get; set; }
  15. /// <summary>
  16. /// Gets or sets the item identifier.
  17. /// </summary>
  18. /// <value>The item identifier.</value>
  19. public Guid ItemId { get; set; }
  20. /// <summary>
  21. /// Gets or sets the session id.
  22. /// </summary>
  23. /// <value>The session id.</value>
  24. public string SessionId { get; set; }
  25. /// <summary>
  26. /// Gets or sets the media version identifier.
  27. /// </summary>
  28. /// <value>The media version identifier.</value>
  29. public string MediaSourceId { get; set; }
  30. /// <summary>
  31. /// Gets or sets the position ticks.
  32. /// </summary>
  33. /// <value>The position ticks.</value>
  34. public long? PositionTicks { get; set; }
  35. /// <summary>
  36. /// Gets or sets the live stream identifier.
  37. /// </summary>
  38. /// <value>The live stream identifier.</value>
  39. public string LiveStreamId { get; set; }
  40. /// <summary>
  41. /// Gets or sets the play session identifier.
  42. /// </summary>
  43. /// <value>The play session identifier.</value>
  44. public string PlaySessionId { get; set; }
  45. /// <summary>
  46. /// Gets or sets a value indicating whether this <see cref="PlaybackStopInfo"/> is failed.
  47. /// </summary>
  48. /// <value><c>true</c> if failed; otherwise, <c>false</c>.</value>
  49. public bool Failed { get; set; }
  50. public string NextMediaType { get; set; }
  51. public string PlaylistItemId { get; set; }
  52. public QueueItem[] NowPlayingQueue { get; set; }
  53. }
  54. }