jellyfin/MediaBrowser.Model/SyncPlay/SyncPlayQueueItem.cs

32 lines
847 B
C#
Raw Normal View History

using System;
namespace MediaBrowser.Model.SyncPlay
{
/// <summary>
/// Class QueueItem.
/// </summary>
public class SyncPlayQueueItem
{
/// <summary>
/// Initializes a new instance of the <see cref="SyncPlayQueueItem"/> class.
/// </summary>
/// <param name="itemId">The item identifier.</param>
public SyncPlayQueueItem(Guid itemId)
{
ItemId = itemId;
}
/// <summary>
/// Gets the item identifier.
/// </summary>
2020-10-21 14:42:57 +00:00
/// <value>The item identifier.</value>
public Guid ItemId { get; }
/// <summary>
/// Gets the playlist identifier of the item.
/// </summary>
2020-10-21 14:42:57 +00:00
/// <value>The playlist identifier of the item.</value>
2020-12-04 19:15:16 +00:00
public Guid PlaylistItemId { get; } = Guid.NewGuid();
}
}