2012-08-09, 10:17
(2012-08-09, 00:59)Martijn Wrote:What he said.(2012-08-09, 00:55)dwagner Wrote:(2012-08-06, 13:37)Montellese Wrote: THESE CHANGES BREAK BACKWARDS COMPATIBILITY WITH VERSION 4 OF JSON-RPC API!!!I grew to like the old "/" separated arrays I wish you would have made a parameter option to query using the old delimited array or rather the other way around so as not to completely break backward compatibility. I cache this data to a file in my remotes, so adding a loop for multiple parameters in each movie is more costly (thankfully this is only done once).
- a lot of properties which were returned as a concatenated string with a "/" seperator are now returned as arrays of strings instead. This should make parsing the response a lot easier for clients.
Keeping both is just a no-go code wise. Just to messy.
Beside some more things will probably break in coming months
(2012-08-09, 01:11)N3MIS15 Wrote: is there any way to set thumbnail/fanart for movie sets and seasons over json api?No there isn't. I'll have to look into it but I can't promise anything as both movie sets and seasons are special concepts (in the way they are implemented) in XBMC.
(2012-08-09, 02:44)dwagner Wrote: I'm getting a crash every time I try run JSONRPC.Introspect (latest build: xbmc-20120808-0531bbf-master-x86_64)Just tried it with the latest nightly build and I didn't have any problems. Concerning Trac your username should be the same as in the forums. Not sure about the password but might be the same as well.
Code:{"method":"JSONRPC.Introspect","id":1,"jsonrpc":"2.0"}
I wanted to file this in trac, but it seems I've somehow forgotten my username and password and for the life of me I can't find an option to reset it. Not to mention that clicking Help/Guide goes to a page not found.
(2012-08-09, 03:55)dwagner Wrote: I have a question regarding the new image URL's provided by JSON API 5. Are these URL's temporary. In other words, if I query a movie save the URL, and only try retrieve the image via the image:// URL a few days and many other queries later, will it still work.They are valid as long as the image doesn't change. The image path you get from JSON-RPC is the path to where the image actually came from. If you change the image it is very likely that it will come from a different origin and therefore the path will change.
In my remote I cache all these URL's and retrieve the images only when needed.
(2012-08-09, 07:14)N3MIS15 Wrote: The introspect shows year, originaltitle and imdbnumber as valid properties for VideoLibrary.SetTVShowDetails but none of them seem to work. Are they even sure they're supposed to be in there?
Maybe 'tvdbnumber' could be used for tv shows? Or both?
You are right that year doesn't make sense for tvshows. But originaltitle and imdbnumber (which in this case is most likely an identifier from tvdb) should be set when you provide it. I just tested it and it seems like none of the properties can currently be changed with SetDetailsForTVShow (haven't tried the others yet). I'll look into it ASAP.