PlaybackStopInfo.cs 1.9 KB

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