Getting TV show fan art from the JSONRPC API
jbrennan
Junior Member Posts: 11 Joined: May 2010 Reputation: 0 |
2010-07-14 02:37
Post: #1
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
|
| find quote |
cptbucky
Junior Member Posts: 3 Joined: Mar 2012 Reputation: 0 |
2012-04-14 00:48
Post: #2
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?? |
| find quote |
Mizaki
Fan Joined: Apr 2011 Reputation: 12 |
2012-04-14 00:59
Post: #3
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.tbnLots more examples https://github.com/frolick/AWX-Eden/blob...ib.xbmc.js |
| find quote |
cptbucky
Junior Member Posts: 3 Joined: Mar 2012 Reputation: 0 |
2012-04-14 16:50
Post: #4
That is very cool! Thank you very much for your prompt response Mizaki, i've just tried it and all is working well.
|
| find quote |

![[Image: watched-clearlogo.jpg]](http://trakt.tv/user/jinxy/widget/watched-clearlogo.jpg)
Search
Help