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 - Montellese - 2012-10-11 I don't follow. Where do you have { "type": "shuffle/repeat" } from? RE: JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC - Mizaki - 2012-10-11 Sorry. That was my logging. I'm not getting any notification on shuffle or repeat which is why I confused the message. RE: JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC - Montellese - 2012-10-14 (2012-10-10, 02:27)yallah Wrote: Hi, Fixed with https://github.com/xbmc/xbmc/commit/c9196f38488ccaa6477e6d7ab3212d9793dae7e3 RE: JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC - Montellese - 2012-10-16 Tuesday, October 16th 2012: Commits: 504e9c41f6720ed6edfc
Remember this is just very basic support to be able to control PVR channels i.e. list groups/channels, start a channel and control its playback. Anything else is most likely out of scope for Frodo because we are already in feature freeze so please hold your horses on any (wild) feature requests. I'll open an extra thread for feature suggestions on PVR for Frodo+1. RE: JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC - Tolriq - 2012-10-16 Great Is there thumb support also for channels ? in getItem ? RE: JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC - Montellese - 2012-10-16 Ah yeah "thumbnail" should give you the icon or whatever is available. Forgot to mention it in the list. RE: JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC - Mizaki - 2012-10-16 Yeah, you get the channel logo if it shows in the GUI of course Thanks for getting this in. Has anyone tried accessing the EPG via videodb:// or similar? RE: JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC - Montellese - 2012-10-16 I haven't found a VFS URL that maps to EPG entries so most likely not possible right now. RE: JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC - Mizaki - 2012-10-16 It was a long shot I think it's fair enough to expect the backend to have the EPG available anyway. RE: JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC - yallah - 2012-10-16 ehehh THX for PVR Json RE: JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC - Ayla - 2012-10-19 What is the correct way to navigate the PVR OSD with JSON-RPC commands? For example, I send this command to bring up the OSD Channels window (which works correctly): {"jsonrpc":"2.0","id": 1,"method":"GUI.ActivateWindow", "params": {"window":"pvrosdchannels"}, "id": "1"}} Then, I try to navigate the list with: {"jsonrpc":"2.0","method":"Input.Up","id":1} Or with: {"jsonrpc":"2.0","id": 1,"method":"Input.ExecuteAction", "params": {"action": "up"}, "id": "1"} Neither works… I'm using the latest Frodo nightly from today. RE: JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC - Jasp - 2012-10-19 (2012-10-19, 18:30)Ayla Wrote: What is the correct way to navigate the PVR OSD with JSON-RPC commands? After seeing that GUI.ActivateWindow was added I've updated to the latest as well. I can't seem to navigate to Movies from TV Shows and vice versa. whenever I send the following command I get sent to the one I was previously at: Code: {"jsonrpc":"2.0","id": 1,"method":"GUI.ActivateWindow", "params": {"window":"video"}, "id": "1"}} Is there a way to go directly to Movies or TV Shows? RE: JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC - Montellese - 2012-10-20 (2012-10-19, 18:30)Ayla Wrote: What is the correct way to navigate the PVR OSD with JSON-RPC commands?Will have to give this a try. (2012-10-19, 22:52)Jasp Wrote: After seeing that GUI.ActivateWindow was added I've updated to the latest as well. You can pass a specific node in the "parameters" parameter which will be passed on to the activated window and open that node. If you e.g. want to go directly to the list of movie titles you need to do Code: { "jsonrpc": "2.0", "method": "GUI.ActivateWindow", "params": { "window": "video", "parameters": [ "MovieTitles" ] }, "id": 1 } RE: JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC - Montellese - 2012-10-21 (2012-10-19, 18:30)Ayla Wrote: What is the correct way to navigate the PVR OSD with JSON-RPC commands? I just tested this and it works for me. But there are two things that might cause this problem:
RE: JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC - Ayla - 2012-10-21 (2012-10-21, 10:57)Montellese Wrote:(2012-10-19, 18:30)Ayla Wrote: What is the correct way to navigate the PVR OSD with JSON-RPC commands? Thanks for the help! The first point sounds like that could be the problem, how can I avoid that, can I call the "pvrosdchannels" dialog/window with another command? I'm still trying to figure out this JSON-RPC stuff, I don't quite understand the command-structure/what each element in a command means |