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
|
- dann0 - 2011-08-12 topfs2 Wrote:yeah that was what I wanted but with just a different syntax Unless I'm missunderstanding you? I like the way you're thinking here, that flag you mention (your topic tangent) would also be useful when using GetAlbums(); Bear in mind that if you implement as you suggest, you will probably still want 'various' to appear in the list when calling GetArtist(album_artist=false), couple that with a parameter you could pass to GetAlbums() that forced it to return only VA albums and you would have good control of your Various Artist albums. something like GetAlbums(VA_only = true); - jasonvp - 2011-08-19 Hi Guys, Can "artistid","albumid","genreid" be added to "Audio.Fields.Song"? Or is it only possible to use "musicbrainz" for multiple id requests? Cheers Jason - topfs2 - 2011-08-19 jasonvp Wrote:Hi Guys, Please feature request it and cc me and montellese, I'm not sure how easily its done but its surely a valid feature! - jasonvp - 2011-08-19 topfs2 Wrote:Please feature request it and cc me and montellese, I'm not sure how easily its done but its surely a valid feature! Thanks topfs2. Ticket #11863 I have some other JSON RPC request...well quite a few. Should I submit a feature for each individually or keep them in groups e.g. AudioPlaylist, Input, AudioPlayer etc or just one big list? Cheers Jason - Montellese - 2011-08-28 jasonvp Wrote:Thanks topfs2. Hey jason Please create one feature request ticket for every single idea/request. That makes it much easier for us to integrate them seperately. You can always post a link to a related ticket in the description of a new ticket if needed. Please always remember to CC topfs2 and me in the tickets so we get notified about your requests. - dann0 - 2011-09-01 nevermind - Montellese - 2011-09-01 Hey everyone For the ones wondering why not much has happend in the JSONRPC department during the last few weeks here are finally some updates. I was on a long holiday trip but now I'm back in the game and working hard on improving JSONRPC again. Commits: ae691d390c87365087ff, 491764e6aa4f8a96ab7b
- rflores2323 - 2011-09-01 Hey guys.. this thread is way over my head however I am having trouble with xbmc connecting to remote server. I get a pop up when I start xbmc that shows this. download log here XBMC log Code: NOTICE: Trakt Utilities: [Notification Service] Telnet too soon? (61) Connection refused I just updated to the latest atv2 build built on sept 1 a and still the problem is there. Any help please. I have all the below settings enabled in my network settings. Share video and music libraries through UPnP Allow control of XBMC via UPnP Allow control of XBMC via HTTP - Port - Username - Password Web interface Allow programs on this system to control XBMC Allow programs on other systems to control XBMC - samdret - 2011-09-01 Is there a way to get a database identifier based on a filename? Because when XBMC.Play is utilized with a filename, the info returned by System.GetInfoLabels differs from when that same file is played via XBMC (presumably via id). - Montellese - 2011-09-01 rflores2323 Wrote:Hey guys.. this thread is way over my head however I am having trouble with xbmc connecting to remote server. I get a pop up when I start xbmc that shows this. Did you change the default port (9090) of XBMC's TCP server in your advancedsettings or do you have any other app running on your atv2 that is using port 9090? Because in the log it says which might be because that port is already in use: Code: 18:03:08 T:221143040 DEBUG: Thread JSONRPC::CTCPServer 221143040 terminating samdret Wrote:Is there a way to get a database identifier based on a filename? Because when XBMC.Play is utilized with a filename, the info returned by System.GetInfoLabels differs from when that same file is played via XBMC (presumably via id).Not directly but what you can try is to call Files.GetDirectory with the path to the directory in which your file is. You will also have to provide the media type of the file so that JSONRPC is able to check the right database for the details of the file. - rflores2323 - 2011-09-02 Montellese Wrote:Did you change the default port (9090) of XBMC's TCP server in your advancedsettings or do you have any other app running on your atv2 that is using port 9090? Because in the log it says which might be because that port is already in use: Montellese, I do not have an adavancedsetting.xml setup on this atv2. how do I check what programs are running on port 9090. I have three xbmcs in my house and all 3 of them have the exact settings enabled in network settings. They all three are setup with same username and password and to run on port 8080. Do I need to change this? Should I leave me main xbmc to run on port 8080 and change the others to run on different ports like 8090 and 8091? maybe that is why Im getting an error. Wanted to check here before I changed it and then did a port forward on these ports. Thanks - Montellese - 2011-09-02 Having multiple XBMC boxes shouldn't be a problem because a port always works together with an IP address and every one of your XBMC boxes must have a different IP address anyways. To check what ports are being used on your atv2 you need to log into your atv2 over ssh and then run netstat -a which should provide you with a list of all TCP and UDP ports in use. I don't have an atv2 (or any other apple product) so I can't provide more detailed instructions. - rflores2323 - 2011-09-02 Montellese Wrote:Having multiple XBMC boxes shouldn't be a problem because a port always works together with an IP address and every one of your XBMC boxes must have a different IP address anyways. ok this is my output Code: login as: root - Montellese - 2011-09-02 rflores2323 Wrote:ok this is my output I'm not 100% sure but this one is probably the bad guy. IIRC WebSM uses TCP port 9090. Did you run netstat while XBMC was running or without it running? Can you run netstat again without XBMC running and this time please execute "netstat -ln". This will only show the listening ports and it will resolve all those odd names into real port numbers. Then we should see for certain whether "websm" is the name of port 9090 or not. - rflores2323 - 2011-09-02 Montellese Wrote:I'm not 100% sure but this one is probably the bad guy. IIRC WebSM uses TCP port 9090. Did you run netstat while XBMC was running or without it running? Can you run netstat again without XBMC running and this time please execute "netstat -ln". This will only show the listening ports and it will resolve all those odd names into real port numbers. Then we should see for certain whether "websm" is the name of port 9090 or not. I was running xbmc before. Closed it and did what you said above. here you go below. Code: login as: root |