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 - Millencolin007 - 2013-05-11 Small inconsistency/bug with audio streams - When changing the audio stream over the xbmc ui, xbmc remembers the selected stream when the movie is resumed later on. - When changing the audio stream using json-rpc it falls back to the default stream after resume RE: JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC - Milhouse - 2013-05-11 Any thoughts on post #2860, @Montellese? When modifying the more common fields I'd have thought there might be some quick wins there... RE: JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC - Martix90 - 2013-05-15 Hello, how is it possible to access the *.m3u-Files in musicplaylists? Files.PrepareDownload doesn't work with "special://musicplaylists/somePlayist.m3u" as path. So I can't get the right download-path to access them over the vfs. Are there other possibilites? I love this feature of Yatse and I've always wondered, how Tolriq does it... Thanks RE: JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC - Tolriq - 2013-05-18 Another bug in recent Gotham concerning audio artists. Code: {"jsonrpc": "2.0", "method": "AudioLibrary.GetAlbumDetails", "params": { "albumid" : 3433, "properties" : ["artist","artistid"]} , "id": 1} returns Code: {"id":1,"jsonrpc":"2.0","result":{"albumdetails":{"albumid":3433,"artist":[""],"artistid":[2915],"label":"Best of 20eme Anniversaire"}}} Quick Edit : This is the same in the global GetAlbums too Notice the artistid that is correct but the artist field is empty. But : Code: {"jsonrpc": "2.0", "method": "AudioLibrary.GetArtistDetails", "params": { "artistid" : 2915 }, "id": 1} Returns : Code: {"id":1,"jsonrpc":"2.0","result":{"artistdetails":{"artist":"Kassav","artistid":2915,"label":"Kassav"}}} So correct Id and Correct artist name. Was not able to track down a change that may have generated that And all is still working in GUI. RE: JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC - Tolriq - 2013-05-18 Ok after some more checks this is way worse It seems the artistid and genreid are correctly populated from the corresponding tables but the artist and genre are get directly from the view strArtists / strGenres. Strange but why not. Recently a changed in Xbmc drop all the strArtists values so of course killing this. Xbmc asked for a rescan for art so since my library is very big I refused it but it seems this rescan is mandatory to refill the artists. So I started it. It does fill the strArtists but it also replace the strGenres with the artists .... Leading to things like : Code: {"jsonrpc": "2.0", "method": "AudioLibrary.GetAlbumDetails", "params": { "albumid" : 43, "properties" : ["artist","artistid","genre","genreid"]} , "id": 1} While the genre is of course not that. RE: JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC - Wanilton - 2013-05-18 @Tolriq, error in my opinion is in scraper for artists and albums (universal scrapers), I think support for musicbrainz, change structure music database in XBMC Gotham, and broken something, I report this errors for developer, but don´t have answer. In my tests field genre is now populate with artist name. I make clean install, and recreate my music collection, export music in nfo files, and check data, I discover troubles genre in albums and many artist info is wrong now, Before my collection was perfect. Maybe need wait developers fixes, for solve this. My collection is very well tagged. olympia don´t comment my post, look here for see album http://forum.xbmc.org/showthread.php?tid=133547&pid=1415549#pid1415549 and this post for artist http://forum.xbmc.org/showthread.php?tid=132623&pid=1415556#pid1415556 I don´t believe trouble is in Json, info is wrong in database. RE: JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC - Montellese - 2013-05-18 As Wanilton pointed out the problem is in the musicdb refactor to support musicbrainz etc and in the scrapers. Unfortunately night199uk (who made the musicdb refactor) can't be around right now due to personal problems. I'll try to get olympia to look into the genre issue though. RE: JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC - yallah - 2013-05-18 Hi, How can I know if Xbmc is playing pvr? Player.GetActivePlayers use same result for video and pvr stream. Thx for your help RE: JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC - Montellese - 2013-05-19 Anyone on windows with problems connecting to the TCP server on port 9090, please try again with commit https://github.com/xbmc/xbmc/commit/764c97b5a4cddb52a90fb5771543d74143ba4e09 which should bring back IPv4 functionality (alongside IPv6) except for Windows XP. I've brought the issue up on the PR that introduced this change so hopefully we'll find a solution for WinXP as well. RE: JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC - Tolriq - 2013-05-19 Work again here on W8 x64 on last master since all is merged. RE: JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC - Tolriq - 2013-05-19 I've opened http://trac.xbmc.org/ticket/14344 for a strange Xbmc crash with youtube my users reports. I don't know if it's pure JSON problem but it seems so, but since I can't reproduce don't know how I can help identifying more the problem. RE: JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC - Tolriq - 2013-05-20 Another one that is also not really related to JSON but since it can only be reproduced with it On some OS like Ubuntu in some case like with external USB or NFS then Playlist.Add adds the files in the reverse order. Reading code seems I can't find where the folders in Playlists are expanded in files, so I guess this is directly in the player code that I don't know where to look at :p But in the meantime it seems the GUI is not touched using the P key on the folder does not invert order. RE: JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC - claymic - 2013-05-20 Hi I am trying to run a addon with some params, works fine with the keymap Quote:RunScript(script.cavplus,showhidewatched=true)but with json nothing heppens, i have a function to mount the json request (works for everything). Quote:self.rpc("Addons.ExecuteAddon", { "addonid":"script.cavplus","params":["showhidewatched=true"]}, self.logReplyData);If i run the script without the params works well Quote:self.rpc("Addons.ExecuteAddon", { "addonid":"script.cavplus"}, self.logReplyData);If i try to do with {} i will get a error in my javascript code: Quote:self.rpc("Addons.ExecuteAddon", { "addonid":"script.cavplus","params":{"showhidewatched=true"}}, self.logReplyData);Any tip ? Thanks RE: JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC - Tolriq - 2013-05-20 Use the search function in the forum The best tip ever man http://forum.xbmc.org/showthread.php?tid=151216&pid=1290830 With sample on how to pass arguments. RE: JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC - claymic - 2013-05-20 Yes, i read this already, and tried every single tip before post here. No works for me. If i tried to use like Montellese suggest in the topic i will get a error in my javascript, even in the chrome simple rest its not working. I am missing something Thanks for your help Clayton |