[RELEASE] Cinema Experience - the new Home Theater Experience Script - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27) +---- Forum: Program Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=151) +---- Thread: [RELEASE] Cinema Experience - the new Home Theater Experience Script (/showthread.php?tid=87563) 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
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
|
RE: [RELEASE] Cinema Experience - the new Home Theater Experience Script - Cassiel - 2013-01-24 (2013-01-23, 16:21)keisuji Wrote: Hi thanks for the frodo update it works great but I have one problem I canĀ“t use localy stored trailer. I play a movie and the movie starts with the feature presentation. same problem here. gifti could you please fix it? RE: [RELEASE] Cinema Experience - the new Home Theater Experience Script - hunkyn - 2013-01-24 Thanks giftie works great on Frodo. RE: [RELEASE] Cinema Experience - the new Home Theater Experience Script - giftie - 2013-01-24 It's going to take a bit to get Trailers from XBMC's Library working. I need to figure it out the fastest method to pull the trailers from the Library RE: [RELEASE] Cinema Experience - the new Home Theater Experience Script - adamsey - 2013-01-24 I don't know if I can be of any assistance, but I looked up some of the new JSON-API to try to help with this issue: Unfortunately the filtering in Frodo does not include filtering by MPAA rating, otherwise this would be a lot simpler. Executing a query like Code: xbmc.executeJSONRPC('{"jsonrpc": "2.0", "method": "VideoLibrary.GetMovies", "params": { "filter": {"field": "genre", "operator": "contains", "value": "%s"}, "properties" : ["trailer","mpaa"]}, "id": 1}' % movie_genre) would find all movies with a similar genre to the feature presentation. You could then parse the result, look at the returned "mpaa" value, for movies with the relevant value, and get their trailer from the value in the "trailer" field. I hope this is of some help and not redundant to you. RE: [RELEASE] Cinema Experience - the new Home Theater Experience Script - Tomkun - 2013-01-24 Does the home automation stuff still work with the Frodo version? I can't seem to get it to work, but I don't know if it's because of me or not. RE: [RELEASE] Cinema Experience - the new Home Theater Experience Script - giftie - 2013-01-24 Thanks for the help, definitely not redundant(pointed me in the right direction actually)... Actually the MPAA rating is filterable('mpaarating') along with 'playcount'(for unwatched movies), 'hastrailer'(don't need to fetch movies with out trailers.) This is probably the call I will be using as I can control all aspects: Code: jsonquery = '''{"jsonrpc": "2.0", "method": "VideoLibrary.GetMovies", "params": { "properties" : ["trailer","mpaa", "genre"], "filter": { "and": [ { "field": "playcount", "operator": "is", "value": "%s" }, { "field": "mpaarating", "operator": "contains", "value": "%s" }, { "field": "genre", "operator": "contains", "value": "%s" }, { "field": "hastrailer", "operator": "true", "value": "true" } ] } }, "id": 1}''' % ( unwatched, movie_mpaa, movie_genre ) Having any of them blank, basically disables the filter. Thanks again. (2013-01-24, 08:24)Tomkun Wrote: Does the home automation stuff still work with the Frodo version? I can't seem to get it to work, but I don't know if it's because of me or not. Only if it does not use the old HTTPAPI for function calls... RE: [RELEASE] Cinema Experience - the new Home Theater Experience Script - adamsey - 2013-01-24 Oh wow, giftie, that's really cool. I did not see those things in the API doc, and that's actually pretty cool; thank you. Only playing trailers for unwatched movies will make this option really useful. Good luck getting the methods reworked; I'm really enjoying the script on Frodo. Re: [RELEASE] Cinema Experience - the new Home Theater Experience Script - dbldown768 - 2013-01-24 Thanks for the update ! Everything's working but apple trailers but that seems like a separate issue. Some reason that add on doesn't work for me at all on frodo. Log shows XML exception for main or something like that. The lite version works but I guess isn't compatible with CE. RE: [RELEASE] Cinema Experience - the new Home Theater Experience Script - Tomkun - 2013-01-24 (2013-01-24, 08:46)giftie Wrote:(2013-01-24, 08:24)Tomkun Wrote: Does the home automation stuff still work with the Frodo version? I can't seem to get it to work, but I don't know if it's because of me or not. I'm certainly no expert, but I assume that the line: xbmc.executehttpapi Strongly suggests the httpapi is in use, right? What is the equivalent line is JSON, does anybody know? Would it be a simple cut'n'paste job to fix? Pleaseohpleaseohplease! RE: [RELEASE] Cinema Experience - the new Home Theater Experience Script - Smthkd - 2013-01-24 Thanks giftie, Im a noob but so far CE has worked pretty good for me, even getting Apple Trailers to work. The only issue I have experience is the occassional skipping of some local trailers after the slide-show. But thats only been a couple of times, other than that it has been flawless. Really nice to have CE on Frodo! Your the best! RE: [RELEASE] Cinema Experience - the new Home Theater Experience Script - giftie - 2013-01-25 (2013-01-24, 16:00)Tomkun Wrote:(2013-01-24, 08:46)giftie Wrote:(2013-01-24, 08:24)Tomkun Wrote: Does the home automation stuff still work with the Frodo version? I can't seem to get it to work, but I don't know if it's because of me or not. Are you using EventGhost to control your Home automation? RE: [RELEASE] Cinema Experience - the new Home Theater Experience Script - jitterjames - 2013-01-25 A few lines of python code are all that you need to broadcast these events to EventGhost using udp. Let me know if I can help. RE: [RELEASE] Cinema Experience - the new Home Theater Experience Script - giftie - 2013-01-25 (2013-01-25, 00:34)jitterjames Wrote: A few lines of python code are all that you need to broadcast these events to EventGhost using udp. Let me know if I can help. Some of that would be good to have for getting the VoxCommando Broadcast back RE: [RELEASE] Cinema Experience - the new Home Theater Experience Script - Theta - 2013-01-25 (2013-01-25, 00:34)jitterjames Wrote: A few lines of python code are all that you need to broadcast these events to EventGhost using udp. Let me know if I can help. Yes, please! This would help! RE: [RELEASE] Cinema Experience - the new Home Theater Experience Script - Tomkun - 2013-01-25 (2013-01-25, 00:28)giftie Wrote:(2013-01-24, 16:00)Tomkun Wrote:(2013-01-24, 08:46)giftie Wrote: Only if it does not use the old HTTPAPI for function calls... I am indeed, using the instructions provided by yourself here:http://forum.xbmc.org/showthread.php?tid=87563&pid=790523#pid790523 |