I have installed channel logo’s for my TV channels, and I want to show them when a channels is currently displaying.
Via jsonrpc I’m obtaining the thumbnail location which is pointing to the location on the server running Kodi (RPi3, OpenElec, 6.0.3).
Is there a way to obtain the channel logo’s from the Kodi server, preferably via http?
I’m using the following jsonrpc request:
Code:
http://<host>:<port>/jsonrpc?request={"jsonrpc": "2.0", "method": "Player.GetItem", "params": {"properties": ["title", "album", "artist", "season", "episode", "duration", "showtitle", "tvshowid", "thumbnail", "fanart"], "playerid":1}, "id": 1}
The response:
Code:
{"id":1,"jsonrpc":"2.0","result":{"item":{"fanart":"","id":100,"label":"RTL 5","thumbnail":"image://%2fstorage%2f.kodi%2fsystem%2frtl%205.png/","title":"De grote improvisatieshow","type":"channel"}}}
So the thumnail location:
image:///storage/.kodi/system/rtl 5.png/