diff --git a/Emby.Server.Implementations/Session/SessionManager.cs b/Emby.Server.Implementations/Session/SessionManager.cs index 6c679ea20..ad5bd63ff 100644 --- a/Emby.Server.Implementations/Session/SessionManager.cs +++ b/Emby.Server.Implementations/Session/SessionManager.cs @@ -428,6 +428,12 @@ namespace Emby.Server.Implementations.Session { session.NowPlayingQueue = nowPlayingQueue; } + + var itemIds = session.NowPlayingQueue.Select(queue => queue.Id).ToArray(); + + session.NowPlayingQueueFullItems = _dtoService.GetBaseItemDtos(_libraryManager.GetItemList(new InternalItemsQuery { + ItemIds = itemIds, + }), new DtoOptions(true)).ToArray(); } /// diff --git a/MediaBrowser.Controller/Session/SessionInfo.cs b/MediaBrowser.Controller/Session/SessionInfo.cs index 6134c0cf3..b7edb2c7c 100644 --- a/MediaBrowser.Controller/Session/SessionInfo.cs +++ b/MediaBrowser.Controller/Session/SessionInfo.cs @@ -221,6 +221,8 @@ namespace MediaBrowser.Controller.Session public QueueItem[] NowPlayingQueue { get; set; } + public BaseItemDto[] NowPlayingQueueFullItems { get; set; } + public bool HasCustomDeviceName { get; set; } public string PlaylistItemId { get; set; }