mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 05:47:14 -04:00
Add keywords as tags
This commit is contained in:
parent
3df2a95cac
commit
f4d49eff9b
@ -190,6 +190,14 @@ namespace MediaBrowser.Providers.Plugins.Tmdb.Movies
|
|||||||
movie.AddGenre(genre);
|
movie.AddGenre(genre);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (movieResult.Keywords.Keywords != null)
|
||||||
|
{
|
||||||
|
for (var i = 0; i < movieResult.Keywords.Keywords.Count; i++)
|
||||||
|
{
|
||||||
|
movie.AddTag(movieResult.Keywords.Keywords[i].Name);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (movieResult.Credits?.Cast != null)
|
if (movieResult.Credits?.Cast != null)
|
||||||
{
|
{
|
||||||
// TODO configurable
|
// TODO configurable
|
||||||
|
Loading…
Reference in New Issue
Block a user