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 - gertjanzwartjes - 2012-12-11 (2012-12-11, 14:47)Montellese Wrote: I just checked the implementation of the player and seeking to a specific time or percentage is implemented but relative seeking is missing. Maybe I can get that working myself. Would be great, thanks! RE: JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC - Montellese - 2012-12-11 Fixed in master so will be in Frodo final. RE: JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC - claymic - 2012-12-11 Great news, very thanks Montellese. RE: JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC - N3MIS15 - 2012-12-16 (2012-12-11, 09:25)Montellese Wrote:(2012-12-11, 04:19)N3MIS15 Wrote: Using beta3, I cant seem to get AudioLibrary.SetArtistDetails "artist" field to work.. Other fields I've tried seem to be fine.I'll look into it when I got some time during this week. Here's a debug log just incase it will help.. http://xbmclogs.com/show.php?id=21589 "Type mismatch in type" seems to be a common theme. I hate to be that guy but i hope this can be fixed for frodo final. RE: JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC - Montellese - 2012-12-16 I remember now why the updating of these fields doesn't work. The problem is that when you update your music library the next time it will overwrite all the changes you made or rather it will add a new artist/album/... with the old details as they are stored in the ID3 tags. I can probably work around the problem that the values are not updated but there's no way to get around the problem that the data you change is invalidated during the next music library update. RE: JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC - Jason102 - 2012-12-21 Quick question about VideoLibrary.GetTVShows. I'm using a simple query to get all tv shows and some fields. I currently have: Code: {"jsonrpc": "2.0", "method": "VideoLibrary.GetTVShows", "params": {"properties":["studio", "genre"]}, "id": 1} This worked in Eden...all shows were returned with the title, tv network, and genre (or whatever fields I want). In Frodo, I only end up with the title though. A similar query with VideoLibrary.GetMovies still works. Has GetTVShows changed? RE: JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC - Montellese - 2012-12-21 (2012-12-21, 04:57)Jason102 Wrote: Quick question about VideoLibrary.GetTVShows. I'm using a simple query to get all tv shows and some fields. I currently have: Hm that exact request works perfectly fine here in my test library Code: { RE: JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC - Mizaki - 2012-12-21 Are you taking into account those are now an array? RE: JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC - Jason102 - 2012-12-21 My mistake, I was outputting my parsed version of the return data to the log instead of the raw data. Since the parsing is wrong for Frodo (because of the new arrays) I was getting junk. I see that the raw return data is correct. My bad. RE: JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC - wuench - 2012-12-28 (2012-11-27, 22:55)yallah Wrote: Hi, Same problem here. Bluray ISO files fail to play using JSONRPC on Frodo RC2, but play fine using GUI. Other files play fine using the same commands This worked in Eden.... JSON conversation Code: {"id":34,"jsonrpc":"2.0","method":"Player.Open","params":{"item":{"file":" smb://AV-NAS/media/Movies/The Amazing Spider-Man/The Amazing Spider-Man.ISO"}}} It would appear the crux of the issue is the GUI is doing some sort of conversion, selecting the index file, adding bluray://udf:// and URLEncoding it... or bluray detection is failing somehow. With the GUI you get the popup selection dialog for bluray, this doesn't happen in the JSONRPC case. XBMC Logs Code: From GUI: Ticket Opened #13842 (Logs Attached) RE: JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC - yallah - 2012-12-28 (2012-12-28, 17:40)wuench Wrote:(2012-11-27, 22:55)yallah Wrote: Hi, Hi, For me elupus repair my problem ( https://github.com/xbmc/xbmc/commit/96522a115781c883a731db0aa32e42d01e264e5d ) Iso is working, with json since this commit. RE: JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC - wuench - 2012-12-28 Is this in the nightlies? Because I just installed XBMCSetup-20121227-d4d9b3e-master.exe and it is still not working for me... RE: JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC - Martijn - 2012-12-28 (2012-12-28, 19:33)wuench Wrote: Is this in the nightlies? Because I just installed XBMCSetup-20121227-d4d9b3e-master.exe and it is still not working for me... Should have yes. add a full Debug Log to the ticket you made and i'll reopen it RE: JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC - wuench - 2012-12-28 (2012-12-28, 19:36)Martijn Wrote:(2012-12-28, 19:33)wuench Wrote: Is this in the nightlies? Because I just installed XBMCSetup-20121227-d4d9b3e-master.exe and it is still not working for me... Done. Looks pretty much the same as the RC2 log Yallah what version are you currently running where it is fixed for you? RE: JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC - yallah - 2012-12-28 Just install by exemple the 28-Dec-2012 nightly. Work very well, I use letter mapping and smb path. My exemple working very well: {"jsonrpc": "2.0", "method": "Player.Open", "params": {"item": {"file":"smb://DISKSTATION/video/Star Wars episode III - La Revanche des Sith (2005)/Star Wars episode III - La Revanche des Sith (2005).iso"}}, "id": 1} CAUTION: Must respect letter case (I don't know How can I explain in english ). By exemple are you sure it's .ISO and not .iso (can you change file and json command with lower case ?? and "perhaps" do another scan |