PlayQueueUpdate.cs 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. #nullable disable
  2. using System.Collections.Generic;
  3. namespace MediaBrowser.Model.SyncPlay
  4. {
  5. /// <summary>
  6. /// Class PlayQueueUpdate.
  7. /// </summary>
  8. public class PlayQueueUpdate
  9. {
  10. /// <summary>
  11. /// Gets or sets the request type that originated this update.
  12. /// </summary>
  13. /// <value>The reason for the update.</value>
  14. public PlayQueueUpdateReason Reason { get; set; }
  15. /// <summary>
  16. /// Gets or sets the UTC time of the last change to the playing queue.
  17. /// </summary>
  18. /// <value>The UTC time of the last change to the playing queue.</value>
  19. public string LastUpdate { get; set; }
  20. /// <summary>
  21. /// Gets or sets the playlist.
  22. /// </summary>
  23. /// <value>The playlist.</value>
  24. public IReadOnlyList<QueueItem> Playlist { get; set; }
  25. /// <summary>
  26. /// Gets or sets the playing item index in the playlist.
  27. /// </summary>
  28. /// <value>The playing item index in the playlist.</value>
  29. public int PlayingItemIndex { get; set; }
  30. /// <summary>
  31. /// Gets or sets the start position ticks.
  32. /// </summary>
  33. /// <value>The start position ticks.</value>
  34. public long StartPositionTicks { get; set; }
  35. /// <summary>
  36. /// Gets or sets the shuffle mode.
  37. /// </summary>
  38. /// <value>The shuffle mode.</value>
  39. public GroupShuffleMode ShuffleMode { get; set; }
  40. /// <summary>
  41. /// Gets or sets the repeat mode.
  42. /// </summary>
  43. /// <value>The repeat mode.</value>
  44. public GroupRepeatMode RepeatMode { get; set; }
  45. }
  46. }