Related media according to genre

This commit is contained in:
Yordany Rodriguez Esquirol 2021-11-18 15:23:47 -05:00
parent fa366f0099
commit 3734c95fd4

View File

@ -739,6 +739,7 @@ namespace Jellyfin.Api.Controllers
var query = new InternalItemsQuery(user) var query = new InternalItemsQuery(user)
{ {
Genres = item.Genres, // Passing items' genres to obtain a more accurate list of its related media
Limit = limit, Limit = limit,
IncludeItemTypes = includeItemTypes.ToArray(), IncludeItemTypes = includeItemTypes.ToArray(),
SimilarTo = item, SimilarTo = item,