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 - Tolriq - 2016-02-22 I mean reproduce user configuration and default keymaps. From Json since keymap often change at each version you'd need to have special handling for each Kodi version to have the same as the default for left / right. (and some other keys) And then you have the users that change their keymap because they for example (frequent) do not understand the new adaptive seek thing and want to force a specific jump. Users expect remotes to behave like they configured Kodi And currently we cannot access keymaps. And asking them to reconfigure a remote to behave the same is not very user friendly on small screen. Not talking about double work for them. Due to lot of demands I even switched Previous / Next / FF / RW to Event Server as it seems lot's of advanced users change them. RE: JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC - joethefox - 2016-02-22 Yep, understood what you mean. I've simplified with just the big-small/forward-backward for videos and music rating with up/down for music when needed. RE: JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC - claymic - 2016-02-22 Thanks guys, I have a idea of how I will handle this now. It will take a while until I start to create the remote control for my new IOS app, but I was curious about how to plan it. RE: JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC - juju37 - 2016-03-17 Hi Here is my purpose: I would like to know it when kodi runs automatically my screensaver (configured as: "black" after 5 minutes). This information is necessary to me in order send (or not) any wake-up request (example: a simple "ok" input) before sending a notification to Kodi from my home automation system. So, here is an example of request I use to get the ID of the current screen in Kodi: (as defined here: http://kodi.wiki/view/Window_IDs ) Code: http://192.168.1.xx/jsonrpc?request={%22jsonrpc%22:%20%222.0%22,%20%22method%22:%20%22GUI.GetProperties%22,%20%22params%22:%20{%22properties%22:%20[%22currentwindow%22]},%20%22id%22:%201} and... the server says as expected: Code: {"id":1,"jsonrpc":"2.0","result":{"currentwindow":{"id":10501,"label":"Musique / Fichiers"}}} Well, that's ok. Unfortunately when the screensaver is running, I still get the ID of the previous screen (here id = 10501) and not the id 12900 (screensaver) as expected. Is that a bug in Kodi ? Or is there any other way to get informed when this f*cking screensaver is automatically run ? Thks for answers NB: however it works well as expected when I jump to the screensaver screen directly by myself. Server says then: id = 12900 ! Code: http://192.168.1.xx/jsonrpc?request={%22jsonrpc%22:%20%222.0%22,%20%22method%22:%20%22GUI.ActivateWindow%22,%20%22params%22:%20{%22window%22:%22screensaver%22},%20%22id%22:%201} RE: JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC - Roman_V_M - 2016-03-18 Can I get TheMovieDB ID for a movie somehow? It seems that only IMDB ID can be returned for a movie via "imdbnumber" property. RE: JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC - Montellese - 2016-03-18 "imdbnumber" is a misleading name. It contains the id of whatever scraper was used. There's also "uniqueid" (or something like that) which is less misleading. RE: JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC - Roman_V_M - 2016-03-18 (2016-03-18, 14:55)Montellese Wrote: "imdbnumber" is a misleading name. It contains the id of whatever scraper was used. There's also "uniqueid" (or something like that) which is less misleading. The thing is that TheMovieDB scraper still stores IMDB ID in this field, not its own ID. And what is "uniqueid"? Kodi 16.0 consistently returns errors when I insert this field in the "properties" array. Without it everything works fine. RE: JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC - Tolriq - 2016-03-18 uniqueid is only for episodes unfortunately There's was discussion about adding a new field with a link between ids and scrapers but can't find it right now and was not implemented for the moment. RE: JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC - Regss - 2016-03-26 Hi. 'userrating' can be added to filter fields list? RE: JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC - blenni - 2016-05-29 Is there a possibility to change the "use fullscreen window" setting? RE: JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC - mikebzh44 - 2016-06-23 Hi. I'm running IMDB Update script on Krypton (latest release from today) and when this script try to update IMDB rate and votes via JSON, rows are deleted in Kodi database : http://forum.kodi.tv/showthread.php?tid=167754&pid=2363324#pid2363324 Is it a Krypton issue ? RE: JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC - Tolriq - 2016-06-23 Open another thread with full logs, if phate89 does not check it I'll ping him. May be related to all recent changes he made. RE: JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC - phate89 - 2016-06-23 Yes it's a bug.. The pr we discussed yesterday (Accidentally) fix it..Tomorrow's build should fix the bug RE: JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC - mikebzh44 - 2016-06-23 Great news. I will try again on monday morning. RE: JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC - mikebzh44 - 2016-06-24 Latest build of Krypton (KodiSetup-20160623-2731311-master) fix this issue : |