Thread Rating:
  • 0 Vote(s) - 0 Average
Getting TV show fan art from the JSONRPC API
#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
Reply
#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??
Reply
#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.tbn

Lots more examples https://github.com/frolick/AWX-Eden/blob...ib.xbmc.js
Image
AWXi - Ajax web interface. Wiki
Reply
#4
That is very cool! Thank you very much for your prompt response Mizaki, i've just tried it and all is working well.
Reply



Logout Mark Read Team Forum Stats Members Help
Getting TV show fan art from the JSONRPC API00