JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC - 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) +---- Forum: JSON-RPC (https://forum.kodi.tv/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
|
RE: JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC - claymic - 2013-10-06 Hi Montellese, very thanks for your help. I found a way to manage this with a script, XBMC.GetInfoLabels and a javascript code my interface. Thanks for your help Clayton RE: JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC - Songokute - 2013-10-08 May I ask some question? How can I get all songs that was performed by various artists? This request: Code: {"jsonrpc":"2.0","id":"getsongofalbum","method":"AudioLibrary.GetSongs","params":{"properties":["title","artist","genre","track","duration","year","rating","playcount"],"filter":{"artistid":1}}} RE: JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC - Milhouse - 2013-10-08 (2013-10-08, 04:53)Songokute Wrote: May I ask some question? For a single condition: Code: {"jsonrpc":"2.0","id":"getsongofalbum","method":"AudioLibrary.GetSongs","params":{"properties":["title","artist","genre","track","duration","year","rating","playcount"], "filter": {"operator": "contains", "field": "artist", "value": "david"}}} and for either/or: Code: {"jsonrpc":"2.0","id":"getsongofalbum","method":"AudioLibrary.GetSongs","params":{"properties":["title","artist","genre","track","duration","year","rating","playcount"], See API for different operator values. RE: JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC - Milhouse - 2013-10-10 There is no "VideoLibrary.SetSeason" method, so it's impossible to set or change Season artwork using JSON, unless I've overlooked some other solution? RE: JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC - Montellese - 2013-10-10 Correct. RE: JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC - Milhouse - 2013-10-10 Bummer. Any chance of you making a note of it on your (no doubt very long) "to do" list? RE: JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC - KenshiHH - 2013-10-12 hi, anyone knows why the VideoLibrary.Scan checks only the Subfolders for Movie Librarys and not for TV Shows? {"jsonrpc": "2.0", "method": "VideoLibrary.Scan", "params": {"directory":"/home/movies/DVD"},"id": 1} RE: - claymic - 2013-10-12 Hi guys Is there a way to use JSON to play a video file (will be a trailer) in a small window ? I look in the Player.Open options, but i dont found any option to do this. Thanks Clayton RE: JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC - Montellese - 2013-10-13 (2013-10-12, 17:45)claymic Wrote: Hi guys Nope, that's not possible. AFAIK this is something skin specific (the smaller trailer windows). RE: JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC - emveepee - 2013-10-26 I have XBMC configured to use the client channels numbers but sing PVR.GetChannels in Gotham, the call return returns the XBMC channe numbers If it is configured for client numbers I think the JSON should return iClientChannelNumber Martin RE: JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC - Milhouse - 2013-10-29 (2013-10-05, 09:09)Montellese Wrote: Supporting null (and empty strings) in the interface is certainly possible. The question is how to pass the null value on to CVideoDatabase since it expects a map<string,string>. @Montellese, do you think it will be possible to add this before the next API version bump? Happy to help test as soon as anything is available (PR etc.). RE: JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC - Montellese - 2013-10-29 (2013-10-29, 10:58)MilhouseVH Wrote:(2013-10-05, 09:09)Montellese Wrote: Supporting null (and empty strings) in the interface is certainly possible. The question is how to pass the null value on to CVideoDatabase since it expects a map<string,string>. See PR3519 and let me know if it works. RE: JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC - Milhouse - 2013-10-29 Initial testing of PR:3519 is looking good - many thanks. RE: JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC - tiago - 2013-10-29 Hi everyone, I'm a Ph.D. student in the Netherlands researching the evolution and maintenance of web APIs. The XBMC project got my attention when I noticed that there's actually a JSONRPC API and a few Android (and I presume iOS) clients which connect to it. What I was wondering is whether the developers who are the most familiar with the JSON-RPC API would be willing to do a 30~45 minute Skype interview with me on the design choices of the XBMC web API. Is this something the devs would be willing to participate on? Also, similarly, if there's any client developers in this thread, the invitation is also extended to them as we would like to get insight from both the developers of the server-side code as well as those on the client-side. Thanks in advance for your cooperation! Best, Tiago RE: JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC - Milhouse - 2013-11-05 (Testing with latest Gotham master, API v6.12.0) I'm trying to retrieve details of all movie files that are members of a movie set: Code: {"jsonrpc": "2.0", "params": {"filter": {"field": "set", ""operator": "isnot", value": ""}, "properties": ["file", "set"]}, "method": "VideoLibrary.GetMovies", "id": "libMoviesSets"} however the above is returning ALL movies, those with set == "" and those with set != "", which suggests the "isnot" filter isn't working for the "set" property. The only working filters are "contains" and "doesnotcontain", so I've had to use the following to achieve the above functionality: Code: {"jsonrpc": "2.0", "params": "filter": {"field": "set", "operator": "doesnotcontain", "value": "@@ ie. specify a (hopefully) bogus value, which isn't very nice but at least it returns only those movies that are members of a set. |