SyncPlayQueueItem.cs 847 B

12345678910111213141516171819202122232425262728293031
  1. using System;
  2. namespace MediaBrowser.Model.SyncPlay
  3. {
  4. /// <summary>
  5. /// Class QueueItem.
  6. /// </summary>
  7. public class SyncPlayQueueItem
  8. {
  9. /// <summary>
  10. /// Initializes a new instance of the <see cref="SyncPlayQueueItem"/> class.
  11. /// </summary>
  12. /// <param name="itemId">The item identifier.</param>
  13. public SyncPlayQueueItem(Guid itemId)
  14. {
  15. ItemId = itemId;
  16. }
  17. /// <summary>
  18. /// Gets the item identifier.
  19. /// </summary>
  20. /// <value>The item identifier.</value>
  21. public Guid ItemId { get; }
  22. /// <summary>
  23. /// Gets the playlist identifier of the item.
  24. /// </summary>
  25. /// <value>The playlist identifier of the item.</value>
  26. public Guid PlaylistItemId { get; } = Guid.NewGuid();
  27. }
  28. }