2018-11-05, 14:09
Hi guys,
Few months ago I've started learning Python, by building a Kodi addon. I've built a really simple Python wrapper for moonlight-embedded, and right now I'm able to retrieve the game list from the host, close Kodi, start the streaming of a game and restart Kodi once the streaming is over.
The next step will be retrieve the infos of available games from IGDB, save them in Kodi and build a source list. Here I'm getting lost. I cannot find a guide that explain me how to save infos in Kodi. I've read the Romanvm's guide, but that infos seems to be hardcoded in main.py file. The Database wiki page says that Kodi maintains databases on it's own, and a developer should not write to them. So, where should I save my game infos, and how I'm supposed to retrieve those infos and build a list? For infos I mean game name, artworks, rating, etc. etc.
Thanks in advance!
Few months ago I've started learning Python, by building a Kodi addon. I've built a really simple Python wrapper for moonlight-embedded, and right now I'm able to retrieve the game list from the host, close Kodi, start the streaming of a game and restart Kodi once the streaming is over.
The next step will be retrieve the infos of available games from IGDB, save them in Kodi and build a source list. Here I'm getting lost. I cannot find a guide that explain me how to save infos in Kodi. I've read the Romanvm's guide, but that infos seems to be hardcoded in main.py file. The Database wiki page says that Kodi maintains databases on it's own, and a developer should not write to them. So, where should I save my game infos, and how I'm supposed to retrieve those infos and build a list? For infos I mean game name, artworks, rating, etc. etc.
Thanks in advance!