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 - 2012-09-27 Thanks for both RE: JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC - DerPate - 2012-09-30 Hello, while developing my new .Net Client API (http://forum.xbmc.org/showthread.php?tid=141604) I discovered a bug in the JSON schema returned by JSONRPC.Introspect: It reports the type “string” for the property “country” on type “List.Item.All”. But the API actually returns “string[]”. That’s why the most Windows Phone and Window 8 XBMC apps are broken on Frodo. Is this a known bug? Can I do something to get the schema fixed? Regards Steve RE: JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC - Montellese - 2012-09-30 Just letting me know is enough for it to get fixed. I probably missed that one when I changed the JSON schema to an array of strings. Thanks for the hint. RE: JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC - Montellese - 2012-09-30 (2012-09-30, 14:50)DerPate Wrote: Hello, Fixed with https://github.com/xbmc/xbmc/commit/356b8fbb571d5f7c03b3a67c28f0e3eca00caf6f and thanks again for reporting it. RE: JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC - DerPate - 2012-09-30 Thank you. Now my auto generated API client work without any manual modifications. RE: JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC - mrXBMC - 2012-09-30 (2012-03-22, 13:15)Montellese Wrote: You can send any URL to XBMC through Player.Open using the "file" property of the "item" parameter I'm desperately trying to get a slave xbmc (actually raspbmc) to switch from playing either a shared file on a public windows 2008 r2 server folder OR a stream from a IP Camera. I understand I place the IP camera settings into a *.strm file and add it to the playlist. BUT I want to test the xbmc box with a url like the one quoted above but i cant get it going....anyone got a working JSON RPC call to a random movie stream that I can test out? (the quoted one above doesnt work when url is replaced by one of my own choosing - maybe url issues or maybe syntax issues as i keep getting errors). Please help RE: JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC - Montellese - 2012-10-01 New merge window (and last one before Frodo feature freeze) is open: Monday, October 1st 2012: Commits: d3d0cfebc02a0c5d2b5c, fee57ef73122697d5c12, a31cdbdba90b973420ce, 79e7c0c205b0fc91ca78, ef7f03ee93acdef40b34
More to come during the next 10 days. RE: JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC - yallah - 2012-10-01 you think that we will didn't get Json-rpc about LiveTv in playerid methods before freeze? RE: JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC - Tolriq - 2012-10-01 Any chance for a Player.SetRandomMode too ? And a way to add items to playlist in non random mode (when in random mode) to be able to start the correct item ? (Check my previouses unanswered posts ) Or a way to add items to queue with a play parameter so it start the item as it's added ? RE: JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC - Mizaki - 2012-10-01 Sorry to add to the questions but is image transform out for Frodo? RE: JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC - Mizaki - 2012-10-01 Just about to add audio and subtitle menus when I noticed the "name" isn't returned for audio or subtitles. For example GetItem or GetMovieDetails gives: Code: "streamdetails": { "audio": [ { "channels": 6,"codec": "dca","language": "eng" } Code: "currentaudiostream": { "bitrate": 0,"channels": 6,"codec": "dca","index": 0,"language": "eng","name": "DTS 5.1 @ 1510 kbps - DTS 5.1" } I'll have a look and see if I can do it myself but you can probably do it in 5 minutes RE: JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC - Montellese - 2012-10-01 (2012-10-01, 18:25)yallah Wrote: you think that we will didn't get Json-rpc about LiveTv in playerid methods before freeze?I don't have any PVR equipment or installation so I don't use it myself and can't write the JSON-RPC interface for it either. There's a PR on github which adds basic support for PVR to JSON-RPC but it needs some changes before it can get included into mainline and the author hasn't responded yet. (2012-10-01, 18:46)Tolriq Wrote: Any chance for a Player.SetRandomMode too ? And a way to add items to playlist in non random mode (when in random mode) to be able to start the correct item ? (Check my previouses unanswered posts )Uhm we have Player.Shuffle and Player.Unshuffle (which will soon be merged into Player.SetShuffle) which should work well enough. Adding an item to a playlist and directly playing it will most likely not be supported because we want to keep the playlist seperate from the player (is this even possible in xbmc?). Concerning your other question maybe I can alter Playlist.Add/Insert so that it returns the position of the new item which would then allow you to use that to start it. Would that be good enough? (2012-10-01, 20:19)Mizaki Wrote: Sorry to add to the questions but is image transform out for Frodo?Most likely not. I looked into it and while the webserver part of the implementation is very easy I have no knowledge of either the texture cache or the image loading/caching and jmarshall is very busy ATM and doesn't have time to look into it either. RE: JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC - Montellese - 2012-10-01 (2012-10-01, 21:03)Mizaki Wrote: Just about to add audio and subtitle menus when I noticed the "name" isn't returned for audio or subtitles. For example GetItem or GetMovieDetails gives: That's not possible right now because XBMC only retrieves that information when an item is played but not when it reads the basic streamdetails of a file. Don't ask me why it's just how it is right now. So it would require several changes in different parts of the code (with which I'm not familiar with) to get it working. RE: JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC - Mizaki - 2012-10-01 Okay. I'll just have to stick to next and previous. Typical I only notice now. RE: JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC - Montellese - 2012-10-01 BTW I'm sure you guys noticed that JSON-RPC has it's own subforum now so if you have a feature request (which can't be posted on trac anymore) feel free to create a new thread for it. That makes it much easier to track for me than if everything is posted in this thread. You can still post things in here etc if you like though. I'll see if we can get some tags like [Feature Request] and [Bug] and [Solved] etc which would make it even easier. |