mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-06 07:48:50 +01:00
added ability to track web sockets per session
This commit is contained in:
@@ -832,6 +832,7 @@ namespace MediaBrowser.Controller.Dto
|
||||
{
|
||||
Id = GetClientItemId(item),
|
||||
Name = item.Name,
|
||||
MediaType = item.MediaType,
|
||||
Type = item.GetType().Name,
|
||||
IsFolder = item.IsFolder,
|
||||
RunTimeTicks = item.RunTimeTicks
|
||||
@@ -844,16 +845,6 @@ namespace MediaBrowser.Controller.Dto
|
||||
info.PrimaryImageTag = Kernel.Instance.ImageManager.GetImageCacheTag(item, ImageType.Primary, imagePath);
|
||||
}
|
||||
|
||||
if (item.BackdropImagePaths != null && item.BackdropImagePaths.Count > 0)
|
||||
{
|
||||
imagePath = item.BackdropImagePaths[0];
|
||||
|
||||
if (!string.IsNullOrEmpty(imagePath))
|
||||
{
|
||||
info.BackdropImageTag = Kernel.Instance.ImageManager.GetImageCacheTag(item, ImageType.Backdrop, imagePath);
|
||||
}
|
||||
}
|
||||
|
||||
return info;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user