[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
|
Eureka!!!! - Invincer - 2011-10-31 No offense Giftie, but that post was almost solely responsible for me destroying my Harmony controller by throwing it into the wall.. I kept trying all of what was posted there but could not get the XBMC/Cinema Experience to talk to EventGhost the way described. Jitterjames posted that he couldn't get thart part to work, and after I posted in the X10 Commander Lights thread Shoop_NL said he developed that plugin when he could not get this one to work too. So then I tried thinking about it from a different angle. During this weekend the big difficulty has been the communication from XBMC to EventGhost in what I have tried, there have been numerous macro attempts in EventGhost that seemed to work fine when pressing the test button in EG. On these threads[url=http://forum.xbmc.org/showthread.php?tid=10 are where I got this idea... 1300]http://forum.xbmc.org/showthread.php?tid=101300[/url] and http://forum.melloware.com/viewtopic.php?f=13&t=7718&start=0. Since it seemed to work in EG as a Python script macro event, I thought why not just call the line straight from your cinema experience script (which is in python) and skip having to use EventGhost at all? I installed X10 Commander from here http://melloware.com/download/ , and now I seem to have it working perfectly. On the top of your home_automation.py file I added urllib2 in the import lines and for the action codes I used Code: urllib2.urlopen('http://localhost:8086/?x10command=DEVICE~sendrf~"A2 OFF"') I will post my whole working code here, A1 are multicolored strobe lights on my mantel, A2 is my lamp Code: # This module's future home should be inside userdata/addon_data/script.cinema.experience/ha_scripts - boblinds - 2011-11-04 My CinEx had stopped playing the feature (I'm using pre-Eden nightlies) but that pre-Eden build got me running again in time to showoff for a Hollywood studio friend who's coming to visit this weekend. However, for whatever reason, I've never been able to get streaming to work from Apple Trailers. I have AT Lite installed but no joy. Further, it won't download either, the system just locks. Too lazy to look through 175pp. of previous posts, so let me "bum-out" and ask if anyone else has had and solved this issue. And thanks Giftie! You can bet that my friend will be green-eyed when he sees CinEx in operation and I intend to gloat for all its worth. Movie don't play after initial cinema experience videos - darkzone - 2011-11-05 Hi, First off I just want to say that Cinema Experience really rocks! Unfortunately I'm having a issue when I want to play a movie in cinema experience, it will play my cinema intro video and the countdown video (These are the only videos I have it setup to play), after that when the movie should start play it jumps back to my movie library. If I now press to play the movie it will start play right away without the cinema experience. Here is my log file: http://pastebin.com/bgJfA3aN Thank you for looking into this and hopefully can figure out what is going wrong. - giftie - 2011-11-07 You would have only needed to read the first page, fifth message. There is a problem with playing a streamed video in a playlist when there is a local video preceding the streamed video. The only work around is to disable any local videos playing before the streamed trailers, or use one of the local trailer options. In regards of the download not working, I would need a debug log to see what is going on. boblinds Wrote:My CinEx had stopped playing the feature (I'm using pre-Eden nightlies) but that pre-Eden build got me running again in time to showoff for a Hollywood studio friend who's coming to visit this weekend. - giftie - 2011-11-07 About two pages back there is a post about the test versions. I want these tested out as there can be problems. You'll need the 2.0.53 version as you are on Eden Here are some new test versions... Dharma Version 1.0.53 -> http://www.mediafire.com/file/6r7d1pqnfeib7xx/script.cinema.experience.1.0.53.zip Eden Version 2.0.53 -> http://www.mediafire.com/file/3s3l2g3pvmenk02/script.cinema.experience.2.0.53.zip darkzone Wrote:Hi, - giftie - 2011-11-07 That is why the file is pretty much empty, for users to build upon it. Any chance you can post the full file to pastebin, as the code posted is incomplete(probably due to forum rules)? I'm sure others would want to use it, or build from it. Thanks Invincer Wrote:No offense Giftie, but that post was almost solely responsible for me destroying my Harmony controller by throwing it into the wall.. I kept trying all of what was posted there but could not get the XBMC/Cinema Experience to talk to EventGhost the way described. - xm41907 - 2011-11-08 I'm on the Openelec Eden nightly and when I try installing Cinema Experience version 2.0.53 it says it can't install do to a dependency. - giftie - 2011-11-08 xm41907 Wrote:I'm on the Openelec Eden nightly and when I try installing Cinema Experience version 2.0.53 it says it can't install do to a dependency. Ok. found the uneeded module import. please download and try to install it again. http://www.mediafire.com/file/3s3l2g3pvmenk02/script.cinema.experience.2.0.53.zip Problem with Apple Movie Trailers - jingai - 2011-11-08 First of all, thank you for the excellent plugin! Unfortunately, I've got a problem with getting the movie trailer to play. I've got Cinema Experience 2.0.53 (latest copy from Post #175) installed on a build of Eden from 2011/10/11. It is configured to download the trailer instead of stream it, which it does do successfully, but the trailer never plays. The relevant bits from the log file appear to be: Code: 16:19:08 T:2956513280 NOTICE: [('4574', u"Marvel's The Avengers", 'http://trailers.apple.com/movies/marvel/theavengers/avengers-tlr1_h640w.mov|User-Agent=QuickTime%2F7.6.5+%28qtver%3D7.6.5%3Bos%3DWindows+NT+5.1Service+Pack+3%29', 'http://trailers.apple.com/trailers/marvel/avengers/images/poster-xlarge.jpg|User-Agent=QuickTime%2F7.6.5+%28qtver%3D7.6.5%3Bos%3DWindows+NT+5.1Service+Pack+3%29', u'Marvel Studios presents in association with Paramount Pictures \u201cMarvel\u2019s The Avengers\u201d\u2014the Super Hero team up of a lifetime, featuring iconic Marvel Super Heroes Iron Man, The Incredible Hulk, Thor, Captain America, Hawkeye and Black Widow. When an unexpected enemy emerges that threatens global safety and security, Nick Fury, Director of the international peacekeeping agency known as S.H.I.E.L.D., finds himself in need of a team to pull the world back from the brink of disaster. Spanning the globe, a daring recruitment effort begins. Starring Robert Downey Jr., Chris Evans, Mark Ruffalo, Chris Hemsworth, Scarlett Johansson, Jeremy Renner and Samuel L. Jackson, and directed by Joss Whedon, \u201cMarvel\u2019s The Avengers\u201d is based on the ever-popular Marvel comic book series \u201cThe Avengers,\u201d first published in 1963 and a comics institution ever since. Prepare yourself for an exciting event movie, packed with action and spectacular special effects, when \u201cMarvel\u2019s The Avengers\u201d assemble in summer 2012. In \u201cMarvel\u2019s The Avengers,\u201d superheroes team up to pull the world back from the brink of disaster when an unexpected enemy threatens global security.', '2:03', 'Not yet rated', '2012-05-04', u'Marvel Studios', 'Science Fiction / Action and Adventure', u'Movie Trailer', u'Joss Whedon')] I'm not sure what I'm doing wrong. Everything else appears to play as configured. Here is the log file from this session. Thanks in advance, -j - jingai - 2011-11-09 Figured it out.. apparently if you've got the MPAA rating limit set it just looks through the previously downloaded files for one that matches, and skips playing a trailer if it doesn't find one. It'd be nice if it would choose to download one that matches the rating of the current movie, but I'm not sure Apple provides enough info before the download to do so? That said, did you intend for us to store the trailers on the local filesystem pretty much indefinitely? That's not a huge issue for me, but I'm curious because I currently clear out that directory once per month via cron. -j - jingai - 2011-11-09 Also, forgot to mention, it seems the script sends Pause and Resume commands after each intro/outro video finishes. This is only an issue if you're using the home automation triggers as it will blink my lights on and off. I could simply ignore Pause and Resume, but it is kind of nice to bring up the lights automatically when the movie is paused. Is there a way to detect within the script whether or not we're currently playing the feature or the intros? - giftie - 2011-11-09 jingai Wrote:Also, forgot to mention, it seems the script sends Pause and Resume commands after each intro/outro video finishes. This is only an issue if you're using the home automation triggers as it will blink my lights on and off. The pause trigger is somewhat separate from the other triggers. It tests to see if there has been any change in the video time, if there is not a change for about 1.5 seconds the script thinks it is paused. Are your intro/outdo videos stored on a network share? If so, that would explain it, as it can take a short time to start playback. I could add a setting that would allow the user to select this time(still have the default @ 1.5 seconds, just allow for a change ie sensitivity) And the resume trigger always follows the pause, so fixing the delay before a pause is triggered will fix that as well. - jingai - 2011-11-10 giftie Wrote:The pause trigger is somewhat separate from the other triggers. It tests to see if there has been any change in the video time, if there is not a change for about 1.5 seconds the script thinks it is paused. Are your intro/outdo videos stored on a network share? If so, that would explain it, as it can take a short time to start playback. I could add a setting that would allow the user to select this time(still have the default @ 1.5 seconds, just allow for a change ie sensitivity) Ah, yes, all of my videos are on a network share. Making the delay user-configurable seems like the way to go then. Thanks! -j - jitterjames - 2011-11-10 jingai Wrote:Ah, yes, all of my videos are on a network share. Making the delay user-configurable seems like the way to go then.doesn't XBMC send out a pause event by itself anyway? For me it sends: <b>OnPlayBackPaused;1</b> and then <b>OnPlayBackResumed;1</b> - jingai - 2011-11-10 jitterjames Wrote:doesn't XBMC send out a pause event by itself anyway? I haven't actually looked at the code for the plugin, but I presume these Pause/Resume events are different than the ones XBMC sends out. We're talking specifically for the Home Automation scripting that gets called when the video is Paused, which he has said occurs after that 1.5 second delay. -j |