![]() |
|
JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC - Printable Version +- XBMC Community Forum (http://forum.xbmc.org) +-- Forum: Development (/forumdisplay.php?fid=32) +--- Forum: Development (/forumdisplay.php?fid=93) +---- Forum: JSON-RPC (/forumdisplay.php?fid=174) +---- Thread: JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC (/showthread.php?tid=68263) Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 |
- nrgizer - 2011-07-11 11:00 OK, that's great to hear. Of course validation is always nice to have, so it's probably a good way to go. As long as the "future" comes before the final HTTP API removal, I'm all happy then ![]() Thanks for the reply. -NRG [windows] - jasonvp - 2011-07-16 12:54 Hi Guys, New to this but I have XBMC on my laptop (windows XP) and have been testing JSON RPC commands using a TPC connection to port 9090 with Hercules. I have had success with most commands I have tested but can't get any of the "Input" commands to work. Command e.g. Code: {"jsonrpc":"2.0","id": 3,"method":"Input.Home"}Response Code: {Am I doing something wrong? Cheers Jason - Montellese - 2011-07-16 16:22 jasonvp Wrote:Am I doing something wrong? What version of XBMC are you using? Looks like you are either using the latest stable Dharma release or a very old pre-eden nightly build. The Input methods have been added a few weeks ago and are therefore only available in latest pre-eden nightly builds. - jasonvp - 2011-07-16 16:31 Thanks for replying. I am using 10.1 Dharma found here. I'll try the latest build. Cheers Jason - jasonvp - 2011-07-16 16:48 Working now. Thanks again. - Romep - 2011-07-17 15:19 Is there a way to get all possible elements of VideoLibrary.Fields.TVShow? They are not in the wiki. - Montellese - 2011-07-17 15:47 Romep Wrote:Is there a way to get all possible elements of VideoLibrary.Fields.TVShow? They are not in the wiki. Yes they are defined in the response from JSONRPC.Introspect. You can even try Code: { "jsonrpc": "2.0", "method": "JSONRPC.Introspect", "params": { "filter": { "id": "VideoLibrary.Fields.TVShow", "type": "type" } }, "id": 1 }- Romep - 2011-07-17 16:12 Oh, i didn't see them. Several remotes offer a banner list of all tv shows. Thumbnail and fanart are too large for a banner. Do i have to get them manually or were they just not downloaded by my scraper? - jasonvp - 2011-07-19 03:22 Can someone please give me an example of the parameters needed for "AudioLibrary.GetAlbumDetails" and "AudioLibrary.GetAlbums "? How do you know what the "Library.Id" is? I have looked at the Introspect but I am struggling with it. Any help would great. Cheers Jason - Montellese - 2011-07-19 08:39 "Library.Id" is a custom type that is defined in the json schema returned by JSONRPC.Introspect as well. What you can do is execute Code: { "jsonrpc": "2.0", "method": "JSONRPC.Introspect", "params": { "filter": { "id": "Library.Id", "type": "type" } }, "id": 1 }AudioLibrary.GetAlbums does not require any parameters but it can take the ID of an artist (retrieved through AudioLibrary.GetArtists) to only list the albums of a specific artist. AudioLibrary.GetAlbumDetails requires the ID of a specific album as a parameter. |