Thread Rating:
  • 0 Vote(s) - 0 Average
Getting TV show fan art from the JSONRPC API
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
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??
Example TV show call:
{"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:

Lots more examples
AWXi - Ajax web interface. Wiki
That is very cool! Thank you very much for your prompt response Mizaki, i've just tried it and all is working well.

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