2014-02-21, 00:54
This is what I use to pull all the movies:
This is what I'm using to play the movie:
The pull URL is just pulling from 0 to 25 for testing. I would like to limit this URL to a specific library
The play URL is just using whatever ID i'm selecting from the pull list.
I'm still trying to figure out how the JSON syntax works. Thanks for bearing with me.
Code:
{"jsonrpc":"2.0","method":"VideoLibrary.GetMovies","params":{"filter":{"field":"playcount","operator":"is","value":"0"},"limits":{"start":0,"end":25},"properties":["thumbnail","file","path"],"sort":{"order":"ascending","method":"label","ignorearticle":true}},"id":"libMovies"}'
This is what I'm using to play the movie:
Code:
{"jsonrpc":"2.0","method":"player.open","params":{"item":{"movieid":movieToPlay}},"id":"libMovies"}
The pull URL is just pulling from 0 to 25 for testing. I would like to limit this URL to a specific library
The play URL is just using whatever ID i'm selecting from the pull list.
I'm still trying to figure out how the JSON syntax works. Thanks for bearing with me.