mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-17 22:43:07 +03:00
support plot keywords
This commit is contained in:
@@ -698,6 +698,20 @@ namespace MediaBrowser.Server.Implementations.Dto
|
||||
}
|
||||
}
|
||||
|
||||
if (fields.Contains(ItemFields.Keywords))
|
||||
{
|
||||
var hasTags = item as IHasKeywords;
|
||||
if (hasTags != null)
|
||||
{
|
||||
dto.Keywords = hasTags.Keywords;
|
||||
}
|
||||
|
||||
if (dto.Keywords == null)
|
||||
{
|
||||
dto.Keywords = new List<string>();
|
||||
}
|
||||
}
|
||||
|
||||
if (fields.Contains(ItemFields.ProductionLocations))
|
||||
{
|
||||
SetProductionLocations(item, dto);
|
||||
|
||||
Reference in New Issue
Block a user