Which fields are available as parameters for Videos.GetMovies? - 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) +--- Thread: Which fields are available as parameters for Videos.GetMovies? (/showthread.php?tid=75635) |
Which fields are available as parameters for Videos.GetMovies? - jbrennan - 2010-06-14 I'm using the jsonrpc api to pull down all the movies from XBMC, but I can't figure out what's available to me. Using JSONRPC.Introspect I can see "plot" as a possible field parameter, but what else can I pull down? Ideally I'm looking for a way to find genre, duration, cast, year and possibly a few others. Are these documented anywhere? - Tolriq - 2010-06-14 You can find most information in this file : http://trac.xbmc.org/browser/trunk/xbmc/lib/libjsonrpc/FileItemHandler.cpp - Kabooga - 2010-06-14 Here's what I am using so far.... Code: var obj = { Cheers, Kabooga - jbrennan - 2010-06-15 Thanks so much to both of you! It kind of sucks that the only "documentation" is "read the sourcecode" but I appreciate the help (I'd be lost otherwise!)!! - jmarshall - 2010-06-16 Feel free to start documenting it in that case. We'd be greatly appreciative as I'm sure many others will be. |