mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-16 14:03:03 +03:00
More cleanup
This commit is contained in:
committed by
Cody Robibero (Rebase PR Action)
parent
4441513ca4
commit
ea8f40e84a
@@ -109,7 +109,7 @@ namespace Emby.Server.Implementations.Dto
|
||||
}
|
||||
});
|
||||
|
||||
SetItemByNameInfo(item, dto, libraryItems, user);
|
||||
SetItemByNameInfo(item, dto, libraryItems);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -153,8 +153,7 @@ namespace Emby.Server.Implementations.Dto
|
||||
new DtoOptions(false)
|
||||
{
|
||||
EnableImages = false
|
||||
}),
|
||||
user);
|
||||
}));
|
||||
}
|
||||
|
||||
return dto;
|
||||
@@ -311,13 +310,13 @@ namespace Emby.Server.Implementations.Dto
|
||||
|
||||
if (taggedItems != null && options.ContainsField(ItemFields.ItemCounts))
|
||||
{
|
||||
SetItemByNameInfo(item, dto, taggedItems, user);
|
||||
SetItemByNameInfo(item, dto, taggedItems);
|
||||
}
|
||||
|
||||
return dto;
|
||||
}
|
||||
|
||||
private static void SetItemByNameInfo(BaseItem item, BaseItemDto dto, IList<BaseItem> taggedItems, User user = null)
|
||||
private static void SetItemByNameInfo(BaseItem item, BaseItemDto dto, IList<BaseItem> taggedItems)
|
||||
{
|
||||
if (item is MusicArtist)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user