Hello everyone, this is my first post here!
Situation: I developed a script in order to print on my LCD 16x2 connected to my RPi 3 the name of the song playing and the artist. I first wrote my (Python) script when I was running Rune Audio (basically osmc but only for music (http://www.runeaudio.com/), and now I’d like to do the same thing with Kodi. The good part about Rune is that it uses MPD to stream audio and can be easily controlled through Python with the “mpd” library, but that doesn’t seem to be the case in Kodi as it doesn’t use mpd (isn’t it?), therefore I’m quite lost. All I need is a way to get information about the song playing in Kodi, via Python! Isn’t there a library for that? Something that simply gives me info about what Kodi is playing? I found out about something called xbmc-json, but I haven’t really understood how it works and I’d like someone to help me find an easy way to get the info I need…
Thank you very much people, have a nice day!