mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-08-27 04:16:47 +00:00
Remove the unused NowPlayingQueueFullItems session property from session DTOs and associated references
This commit is contained in:
parent
2a95223c67
commit
a3b2b9c07f
4 changed files with 3 additions and 28 deletions
|
|
@ -453,18 +453,6 @@ namespace Emby.Server.Implementations.Session
|
|||
session.PlayState.RepeatMode = info.RepeatMode;
|
||||
session.PlayState.PlaybackOrder = info.PlaybackOrder;
|
||||
session.PlaylistItemId = info.PlaylistItemId;
|
||||
|
||||
var nowPlayingQueue = info.NowPlayingQueue;
|
||||
|
||||
if (nowPlayingQueue?.Length > 0 && !nowPlayingQueue.SequenceEqual(session.NowPlayingQueue))
|
||||
{
|
||||
session.NowPlayingQueue = nowPlayingQueue;
|
||||
|
||||
var itemIds = Array.ConvertAll(nowPlayingQueue, queue => queue.Id);
|
||||
session.NowPlayingQueueFullItems = _dtoService.GetBaseItemDtos(
|
||||
_libraryManager.GetItemList(new InternalItemsQuery { ItemIds = itemIds }),
|
||||
new DtoOptions(true));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
@ -1217,7 +1205,6 @@ namespace Emby.Server.Implementations.Session
|
|||
SupportsMediaControl = sessionInfo.SupportsMediaControl,
|
||||
SupportsRemoteControl = sessionInfo.SupportsRemoteControl,
|
||||
NowPlayingQueue = sessionInfo.NowPlayingQueue,
|
||||
NowPlayingQueueFullItems = sessionInfo.NowPlayingQueueFullItems,
|
||||
HasCustomDeviceName = sessionInfo.HasCustomDeviceName,
|
||||
PlaylistItemId = sessionInfo.PlaylistItemId,
|
||||
ServerId = sessionInfo.ServerId,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue