The Free Software Media System - Server Backend & API
Related media according to genre
Yordany Rodriguez Esquirol3734c95fd498
diff --git a/Jellyfin.Api/Controllers/LibraryController.cs b/Jellyfin.Api/Controllers/LibraryController.csindex 0be853ca4f..b3c6fac7c8 100644--- a/Jellyfin.Api/Controllers/LibraryController.cs+++ b/Jellyfin.Api/Controllers/LibraryController.cs@@ -739,6 +739,7 @@ namespace Jellyfin.Api.Controllersvar query = new InternalItemsQuery(user){+ Genres = item.Genres, // Passing items' genres to obtain a more accurate list of its related mediaLimit = limit,IncludeItemTypes = includeItemTypes.ToArray(),SimilarTo = item,