Posts: 134
Joined: Jun 2011
Reputation:
5
Is there currently any way to manage sets and genres (adding new and deleting existing) using JSON? I don't see any methods in the API, but figured I'd ask. If there isn't currently any way of doing this, is this an enhancement that is planned?
Posts: 5,184
Joined: Jan 2009
Reputation:
131
You can add sets and genres directly to videos using the VideoLibrary.SetFooDetails methods. But make sure to always pass in the full information so if you have a movie with "Action" and "Crime" genre and you also want to add the "Thriller" genre you need to pass in all three genres, not just the new one. By leaving existing ones out, you remove that genre from the video item.
Always read the
online manual (wiki),
FAQ (wiki) and search the forum before posting.
Do not e-mail Team Kodi members directly asking for support. Read/follow the
forum rules (wiki).
Please read the pages on
troubleshooting (wiki) and
bug reporting (wiki) before reporting issues.