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 - Martijn - 2012-10-03 (2012-10-03, 16:13)yallah Wrote: I use default settings for mysql (from synology in same network that player), Why I don't undestand is before 1 octobber everything was perfect. Did you try and go back to that version now? RE: JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC - yallah - 2012-10-03 I m not developper but when I stop video after that and go check phpmyadmin (my board for mysql), he don't give me any access (must close xbmc to access to phpmyadmin). Perhaps (sorry for my noob level developper ), the connexion for json is not closed when I send methods, and mysql keep in memory until max... (2012-10-03, 17:30)Martijn Wrote:(2012-10-03, 16:13)yallah Wrote: I use default settings for mysql (from synology in same network that player), Why I don't undestand is before 1 octobber everything was perfect. yep before this date It's working perfectly. RE: JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC - yallah - 2012-10-03 Ok some news, I fork on my Git last build of XBMC(from this afternoon), I juste remove commit (commit b4654aa), come back also to 151 max connexion in my sql. Now I watch full movie without any prob (in phpmyadmin, no more that 6 connexions in same time). Just prob with compatibility between commit b4654aa and mysql RE: JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC - Montellese - 2012-10-03 I think I know where the problem is located. Will do a commit that hopefully fixes your problem ASAP. RE: JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC - Montellese - 2012-10-03 OK https://github.com/xbmc/xbmc/commit/f9c7e415f4935cba66167addff034f798e397fbf should fix your problem. It was the numerous calls to Player.GetItem that caused both a memory and a SQL connection leak. Let me know if you have any more problems. RE: JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC - yallah - 2012-10-03 Humm Thx Montellese, look like good RE: JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC - Montellese - 2012-10-04 Most likely the last changes to the JSON-RPC API for Frodo: Thursday, October 4nd 2012: Commits: 552580d9007b1959c500
There will be a change to the VFS handler to make it more secure by only allowing access to files that are part of a source (video, music, files, ...) defined in XBMC which is IMO a better solution than removing the VFS handler completely until there is a better replacement for it. RE: JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC - Mizaki - 2012-10-04 Just like to say thanks for your work Montellese and everyone else ofc but I don't really bother them I know there probably isn't much that can be done at this stage but, the lack of JSONRPC for LiveTV is rather disappointing and I should imagine people who create remotes are going to be asked why it isn't in their remotes, time and again. RE: JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC - Tolriq - 2012-10-04 I can only +1 this one this is one of the most asked feature for Yatse RE: JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC - N3MIS15 - 2012-10-06 +1 for livetv/pvr support. I also noticed when watching live TV Player.GetItem returns the channel name as label and empty string as title. Any chance we could get the programme name returned? RE: JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC - Montellese - 2012-10-06 I repeat myself I don't have any access to any PVR functionality so I can't make any changes/additions to JSON-RPC in that area. The "problem" with Player.GetItem for PVR channels is because it needs special handling so we'll need to wait until someone with access to PVR does the work. There's an outdated PR which needs some fixes. While I could make those fixes I can't test them so I couldn't be certain if it would actually work or not and I'm not gonna commit something to mainline if I don't even know whether it works or not. RE: JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC - Tolriq - 2012-10-06 What do you need for PVR testing ? I have no problem sending you an usb or other needed card for that?. RE: JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC - Mizaki - 2012-10-06 I hope you realise this wasn't really aimed at anyone, especially not you Montellese It was a hope that if anything could be put in after freeze, it would be JSONRPC PVR. Or, throw it in now and fix it up as "bug" fixes. With that said, I'm happy to test any patches, I use TVHeadend but I don't think it matters with which backend it is tested on? RE: JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC - Montellese - 2012-10-06 (2012-10-06, 11:47)Tolriq Wrote: What do you need for PVR testing ?Thanks for the offer. I never watch TV so I never really cared about PVR but I did some investigation concerning what I'd need to get PVR on my dev machine and it turns out that my provider (UPC Cablecom Switzerland) only provides encrypted channels and (in additiona to a DVB-C tuner) I'd need either a CI+ module or a receiver box (we have one for the TV but I can't really use that because then nobody else can watch TV) which would cost extra as well. Maybe I can get someone to provide me with a way to access their PVR backend which seems a lot easier (and obviously a lot cheaper). I don't wanna watch TV with it (I don't wanna watch TV at all ever). (2012-10-06, 12:58)Mizaki Wrote: I hope you realise this wasn't really aimed at anyone, especially not you Montellese It was a hope that if anything could be put in after freeze, it would be JSONRPC PVR. Or, throw it in now and fix it up as "bug" fixes. I'll see if I can fix up the existing patches and point you to them so you can test them. RE: JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC - Tolriq - 2012-10-06 (2012-10-06, 13:21)Montellese Wrote:(2012-10-06, 11:47)Tolriq Wrote: What do you need for PVR testing ?Thanks for the offer. I never watch TV so I never really cared about PVR but I did some investigation concerning what I'd need to get PVR on my dev machine and it turns out that my provider (UPC Cablecom Switzerland) only provides encrypted channels and (in additiona to a DVB-C tuner) I'd need either a CI+ module or a receiver box (we have one for the TV but I can't really use that because then nobody else can watch TV) which would cost extra as well. Well this effectively is more complicated and if you never use this then invest would not be very useful Reading Wiki I suppose I can easily add one of the 3 supported Windows backend to my server and gives you an access to it. I just need to find a supported card, I suppose basic TNT suppose would be quite enough for all the testing ? |