Fix build and clean up

This commit is contained in:
Cody Robibero
2022-01-14 08:12:45 -07:00
parent 5df6058a8e
commit ee46754238
2 changed files with 10 additions and 9 deletions

View File

@@ -39,6 +39,8 @@ namespace MediaBrowser.Controller.Session
AdditionalUsers = Array.Empty<SessionUserInfo>();
PlayState = new PlayerStateInfo();
SessionControllers = Array.Empty<ISessionController>();
NowPlayingQueue = Array.Empty<QueueItem>();
NowPlayingQueueFullItems = Array.Empty<BaseItemDto>();
}
public PlayerStateInfo PlayState { get; set; }
@@ -219,9 +221,9 @@ namespace MediaBrowser.Controller.Session
}
}
public QueueItem[] NowPlayingQueue { get; set; }
public IReadOnlyList<QueueItem> NowPlayingQueue { get; set; }
public BaseItemDto[] NowPlayingQueueFullItems { get; set; }
public IReadOnlyList<BaseItemDto> NowPlayingQueueFullItems { get; set; }
public bool HasCustomDeviceName { get; set; }