diff options
| author | Cody Robibero <cody@robibe.ro> | 2022-01-14 08:12:45 -0700 |
|---|---|---|
| committer | Cody Robibero <cody@robibe.ro> | 2022-01-14 08:14:31 -0700 |
| commit | ee46754238a38e84ef9e96795ee454cec33eed5a (patch) | |
| tree | 1367be385b291f3a4cfe58bf780c61932f4753a6 /MediaBrowser.Controller/Session/SessionInfo.cs | |
| parent | 5df6058a8e9024bcf323b03a411631fd1c538611 (diff) | |
Fix build and clean up
Diffstat (limited to 'MediaBrowser.Controller/Session/SessionInfo.cs')
| -rw-r--r-- | MediaBrowser.Controller/Session/SessionInfo.cs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/MediaBrowser.Controller/Session/SessionInfo.cs b/MediaBrowser.Controller/Session/SessionInfo.cs index b7edb2c7c..c2ca23386 100644 --- a/MediaBrowser.Controller/Session/SessionInfo.cs +++ b/MediaBrowser.Controller/Session/SessionInfo.cs @@ -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; } |
