From 3734c95fd498414c2fcc3a8c46f5cddd14515258 Mon Sep 17 00:00:00 2001 From: Yordany Rodriguez Esquirol <35172997+yresquirol@users.noreply.github.com> Date: Thu, 18 Nov 2021 15:23:47 -0500 Subject: [PATCH] Related media according to genre --- Jellyfin.Api/Controllers/LibraryController.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Jellyfin.Api/Controllers/LibraryController.cs b/Jellyfin.Api/Controllers/LibraryController.cs index 0be853ca4f..b3c6fac7c8 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,