PlaybackStopInfo.cs 2.0 KB

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