Which fields are available as parameters for Videos.GetMovies?
#1
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?
Reply
#2
You can find most information in this file :

http://trac.xbmc.org/browser/trunk/xbmc/...andler.cpp
Reply
#3
Here's what I am using so far....

Code:
var obj = {
        jsonrpc: "2.0",
        method: "VideoLibrary.GetMovies",
        params: {
                fields: [
                "genre",
                "director",
                "trailer",
                "tagline",
                "plot",
                "plotoutline",
                "title",
                "originaltitle",
                "lastplayed",
                "season",
                "runtime",
                "year",
                "playcount",
                "rating",
                "file"
            ]
        },
        id: 1
    };

Cheers,
Kabooga
I am an expert at acting like an expert ---- WC Fields.

XBMC Web Control Interface - https://github.com/mthiels/webinterface.xrc
Reply
#4
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!)!!
Reply
#5
Feel free to start documenting it in that case. We'd be greatly appreciative as I'm sure many others will be.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply

Logout Mark Read Team Forum Stats Members Help
Which fields are available as parameters for Videos.GetMovies?0