aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Controllers/LibraryController.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Jellyfin.Api/Controllers/LibraryController.cs')
-rw-r--r--Jellyfin.Api/Controllers/LibraryController.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/Jellyfin.Api/Controllers/LibraryController.cs b/Jellyfin.Api/Controllers/LibraryController.cs
index 0be853ca4..b3c6fac7c 100644
--- a/Jellyfin.Api/Controllers/LibraryController.cs
+++ b/Jellyfin.Api/Controllers/LibraryController.cs
@@ -739,6 +739,7 @@ namespace Jellyfin.Api.Controllers
var query = new InternalItemsQuery(user)
{
+ Genres = item.Genres, // Passing items' genres to obtain a more accurate list of its related media
Limit = limit,
IncludeItemTypes = includeItemTypes.ToArray(),
SimilarTo = item,