Getting TV show fan art from the JSONRPC API - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32) +--- Forum: Kodi Application (https://forum.kodi.tv/forumdisplay.php?fid=93) +---- Forum: JSON-RPC (https://forum.kodi.tv/forumdisplay.php?fid=174) +---- Thread: Getting TV show fan art from the JSONRPC API (/showthread.php?tid=77149) |
Getting TV show fan art from the JSONRPC API - jbrennan - 2010-07-14 I can't seem to find out how to get fan art for tv shows over the JSON RPC. Does anyone know how to do this? I can pull the poster banners for the tv series themselves, but fan art I can't seem to figure out RE: Getting TV show fan art from the JSONRPC API - cptbucky - 2012-04-14 I'm trying to do something similar with movies, how did you get the poster banners? i look at the fanart property of a movie and it gives me a local path, i then try Files.Download and it tells me that it doesn't recognise the Method... can anyone help with getting images off of the api?? RE: Getting TV show fan art from the JSONRPC API - Mizaki - 2012-04-14 Example TV show call: Code: {"jsonrpc": "2.0", "method": "VideoLibrary.GetTVShows", "params": { "properties": ["genre", "plot", "title", "originaltitle", "year", "rating", "thumbnail", "playcount", "file", "fanart"], "id": 1} The easiest way to display the images is to use the vfs that the above returns (although you may need to use Files.PrepareDownload at a later date). Example: Code: http://<ip>:8080/vfs/special://masterprofile/Thumbnails/Video/5/5352a6cc.tbn Lots more examples https://github.com/frolick/AWX-Eden/blob/master/js/lib.xbmc.js RE: Getting TV show fan art from the JSONRPC API - cptbucky - 2012-04-14 That is very cool! Thank you very much for your prompt response Mizaki, i've just tried it and all is working well. |