Add/Remove Favorite
#1
Is there an API to add/remove favorites in Kodi?

I'm trying to programatically add favorites to PlayMedia but I don't want to do it by writing directly to the favoruites.xml. Is there a method to do this?

Thanks.
Reply
#2
http://kodi.wiki/view/JSON-RPC_API/v6
If I have helped you or increased your knowledge, click the 'thumbs up' button to give thanks :) (People with less than 20 posts won't see the "thumbs up" button.)
Reply
#3
Since our JSON docs are a bit outdated, best is to start kodi webserver via settings and open "localhost:8080/jsonrpc" in your browser. You will find the needed methods there ("Favourites" namespace)
Donate: https://kodi.tv/contribute/donate (foundation), 146Gr48FqHM7TPB9q33HHv6uWpgQqdz1yk (BTC personal)
Estuary: Kodis new default skin - ExtendedInfo Script - KodiDevKit
Reply
#4
Thanks nickr and phil65. That's exactly what I needed.
Reply
#5
Fwiw there is nothing there regarding removing a favourite via json, wish there was, just adding and getting of course...
Reply

Logout Mark Read Team Forum Stats Members Help
Add/Remove Favorite0