Change type of PlaylistItemId to Guid

This commit is contained in:
Ionut Andrei Oanca
2020-12-04 20:15:16 +01:00
parent b7eb4da04e
commit cbf70e7a03
20 changed files with 63 additions and 69 deletions

View File

@@ -11,11 +11,9 @@ namespace MediaBrowser.Model.SyncPlay
/// Initializes a new instance of the <see cref="QueueItem"/> class.
/// </summary>
/// <param name="itemId">The item identifier.</param>
/// <param name="playlistItemId">The playlist identifier of the item.</param>
public QueueItem(Guid itemId, string playlistItemId)
public QueueItem(Guid itemId)
{
ItemId = itemId;
PlaylistItemId = playlistItemId;
}
/// <summary>
@@ -28,6 +26,6 @@ namespace MediaBrowser.Model.SyncPlay
/// Gets the playlist identifier of the item.
/// </summary>
/// <value>The playlist identifier of the item.</value>
public string PlaylistItemId { get; }
public Guid PlaylistItemId { get; } = Guid.NewGuid();
}
}