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 - Samtronic - 2013-07-20 HI ! Is it possible to retrieve by a json command a message send by the json command 'GUI.ShowNotification'. Thanks Steven RE: JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC - Milhouse - 2013-07-31 Just mentioning it here in case it goes unnoticed, but in Frodo (OpenELEC 3.1.5) calling VideoLibrary.GetEpisodes and requesting the runtime property always returns a value of zero, unless streamdetails is also specified. I've opened a ticket, #14524. RE: JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC - mikebzh44 - 2013-08-06 Small question about Music Videos. How to play musicvideo from JSONRPC ? This code did not play the music video but the movie with the same id : Code: xbmc.executeJSONRPC('{ "jsonrpc": "2.0", "method": "Player.Open", "params": { "item": { "musicvideoid": %d } }, "id": 1 }' % int(params.get("musicvideoid"))) musicvideoid = 1 RE: JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC - Montellese - 2013-08-07 Sounds like a bug, I'll look into it. RE: JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC - Montellese - 2013-08-07 (2013-08-06, 10:57)mikebzh44 Wrote: Small question about Music Videos. I tried it myself and it works as expected. I used "musicvideoid": 10 and it played the musicvideo with the ID 10. There is also a movie with the ID 10 but that didn't change anything. What version of JSON-RPC and/or XBMC are you using? RE: JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC - mikebzh44 - 2013-08-07 XBMC (12.2 Git:20130502-32b1a5e) How to know JSON version ? RE: JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC - Martijn - 2013-08-07 (2013-08-07, 09:38)mikebzh44 Wrote: XBMC (12.2 Git:20130502-32b1a5e)http://wiki.xbmc.org/index.php?title=JSON-RPC_API/v6#JSONRPC.Version but it's also clear from the XBMC version RE: JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC - Montellese - 2013-08-07 OK I tried with the latest development version. Will try with Frodo 12.2 later on. RE: JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC - mikebzh44 - 2013-08-07 I will give a try with Gotham Alpha 6 RE: JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC - mikebzh44 - 2013-08-07 It's OK with Gotham Alpha 7 but also with Frodo 12.2 It's a skin issue. I'm running Aeon Nox 4.1.9 and if I create a custom menu with custom command : RunScript(script.randomandlastitems,musicvideoid=1) Then the right music video file is played. But the same command send by a widget play the movie with the same ID. So everything is OK with JSON-RPC. Sorry RE: JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC - dsiggi - 2013-08-11 Hi guy. I would like to start the PartyMode(music) over json. But I dont' know why. Can you help me? Tanks. RE: JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC - Montellese - 2013-08-11 (2013-08-11, 13:40)dsiggi Wrote: Hi guy. There are two ways to do this. Either if a player is already active you can use Player.SetPartyMode or you can use Player.Open and pass in the "partymode" property as part of the "item" parameter i.e. Code: { "jsonrpc": "2.0", "method": "Player.Open", "params": { "item": { "partymode": "music" } }, "id": 1 } RE: JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC - thica - 2013-08-26 Hello, can't find it in the API reference. Is here a way to direct switch to a TV channel (PVR) using a json command? RE: JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC - Montellese - 2013-08-27 (2013-08-26, 21:59)thica Wrote: Hello, Player.Open can take a "channelid" property in the "item" parameter. RE: JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC - Milhouse - 2013-08-31 Would it be possible to add support for the "file" param on SetFoo, so you could change the path for a file via JSON (you can change the paths of all other attributes, eg. artwork, but not the media file itself). |