Kodi Community Forum
json Player.GetItem "tvshow poster" - 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: json Player.GetItem "tvshow poster" (/showthread.php?tid=187655)



json Player.GetItem "tvshow poster" - tytherman - 2014-02-27

I am trying to integrate posters into Demopad and have a small query, I want to display the movie or tv show now playing poster. Movies works fine as the poster is always called "Thumbnail" however with tvshows "thumbnail" is the episode image no tthe tv show poster.

the command I am using is

jsonrpc? {"jsonrpc": "2.0", "method": "Player.GetItem", "params": { "properties": ["title", "album", "artist", "season", "episode", "runtime", "showtitle","tvshowid", "thumbnail", "file", "fanart"], "playerid": 1 }, "id": "1"}

could someone tell me if there is an additional parameter to call the tv show "poster"?

thanks


RE: json Player.GetItem "tvshow poster" - Montellese - 2014-02-27

That depends on the version of XBMC you are using. Try getting the "art" property. It is an object with one or more properties like "fanart", "thumb", "poster" and for episodes there's also "tvshow.poster", "tvshow.banner" etc.


RE: json Player.GetItem "tvshow poster" - tytherman - 2014-02-27

I am using 12.3.

so if I replace "thumbnail" and "fanart" in the query with "art" this will pull all associated art locations?


RE: json Player.GetItem "tvshow poster" - Montellese - 2014-02-27

Yes


RE: json Player.GetItem "tvshow poster" - tytherman - 2014-02-27

thanks perfect!