mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-14 03:30:25 +01:00
Patch data-races and minor changes in SyncPlay
This commit is contained in:
@@ -19,9 +19,7 @@ namespace MediaBrowser.Controller.SyncPlay.PlaybackRequests
|
||||
/// <param name="startPositionTicks">The start position ticks.</param>
|
||||
public PlayGroupRequest(Guid[] playingQueue, int playingItemPosition, long startPositionTicks)
|
||||
{
|
||||
var list = new List<Guid>();
|
||||
list.AddRange(playingQueue);
|
||||
PlayingQueue = list;
|
||||
PlayingQueue = playingQueue ?? Array.Empty<Guid>();
|
||||
PlayingItemPosition = playingItemPosition;
|
||||
StartPositionTicks = startPositionTicks;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user