[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 - giftie - 2014-07-01 (2014-07-01, 20:46)hoobie7 Wrote:(2014-07-01, 06:05)giftie Wrote: Have you set the settings for the script? The problem is that since you pulled from the GitHub, the script has an issue in the sense you have it in a folder called script.cinema.experience-Gotham instead script.cinema.experience This might be causing the issue. RE: [RELEASE] Cinema Experience - the new Home Theater Experience Script - Batiatus - 2014-07-01 (2014-07-01, 06:05)giftie Wrote: The script gets the data from XBMC's database directly, the only time the drives would spin up is when the trailer is played. I know, but that means waiting between each video and watching the spinning wheel while the drives wake up. Easier to have them all in 1 drive that's already up to speed and not cause more delays. Even now if the movie I choose is on a sleeping drive there's no way that XBMC or CE cue ahead to get the video ready and wake up the sleeping drive. It's a cool feature that will work for some. Even adding the trailers to folders which can be scraped is something I didn't know before and might look into. But for CE I'm going to still use just 1 folder. Well 2, one for 2D and 1 for 3D. This way I can limit the trailers it has to select from as well, only keeping the ones I really enjoy seeing in the CE environment and not needing to see Hannah and Her Sisters before watching The Terminator, or something like that. RE: [RELEASE] Cinema Experience - the new Home Theater Experience Script - jer78 - 2014-07-02 Oh good, someone else has the same problem as I do. I can confirm that the error still occurs when the folder is renamed to script.cinema.experience. I thought maybe it was the skin but I get the same error on 3 skins I tried. Running Gotham 13.1 on a Mac. I also had no problem running the Cinema Experience from the XBMC repo. It's just the github gotham version that's breaking. (2014-07-01, 21:51)giftie Wrote:(2014-07-01, 20:46)hoobie7 Wrote:(2014-07-01, 06:05)giftie Wrote: Have you set the settings for the script? RE: [RELEASE] Cinema Experience - the new Home Theater Experience Script - jer78 - 2014-07-02 Here's the part in my log that cinema experience seems to fail... 21:00:02 T:4612272128 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<-- - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS! Error Type: <type 'exceptions.SyntaxError'> Error Contents: ('unexpected EOF while parsing', ('<string>', 0, 0, '')) Traceback (most recent call last): File "/Users/mediacenter/Library/Application Support/XBMC/addons/script.cinema.experience/addon.py", line 27, in <module> settings = settings() File "/Users/mediacenter/Library/Application Support/XBMC/addons/script.cinema.experience/resources/lib/settings.py", line 23, in __init__ self.start() File "/Users/mediacenter/Library/Application Support/XBMC/addons/script.cinema.experience/resources/lib/settings.py", line 54, in start "trailer_newest_only": eval( __addon__.getSetting( "trailer_newest_only" ) ), SyntaxError: ('unexpected EOF while parsing', ('<string>', 0, 0, '')) -->End of Python script error report<-- RE: [RELEASE] Cinema Experience - the new Home Theater Experience Script - hoobie7 - 2014-07-02 So I got the error with 4.0.13 to go away by using the "script.cinema.experience" folder from 4.0.10. Unfortunately while the script runs, EventGhost does not seem to be picking up any UDP broadcasts. LINK to the log. So, for testing purposes I switched back to 4.0.10. I got the broadcasts to show up in EG, but only with an odd work around. LOG is here, and the following is the basic steps I took line by line. 808 - Highlight movie and hit "i" for the info window. 827 - Start Cinema Experience script 1014 - Script Start triggers, this is seen in EG 1188 - The movie begins to play but there is no Movie trigger from CE. 1227 - I press the "s" key to bring up the shutdown menu. 1233 - The Movie trigger immediately goes off and is seen in EG. 1256 - I press "space" to pause the movie, no Pause trigger. 1263 - I resume playback, no Resume trigger. 1268 - I press "s" to bring up shutdown menu 1273 - Pause immediately triggers 1277 - Resume immediately triggers These both show in EG in rapid succession. Now I leave the Shutdown menu open and try pausing and resuming 1281 - I pause the movie. 1285 - CE immediately sees the pause and and reports Playback Paused. I had not seen this line before. 1288 - Pause triggered. ...and then I resume the movie and CE reacts immediately. This is with the Shutdown menu open on screen. It seems like CE gets stuck and the Shutdown menu unclogs it for some reason. Trying to get this to work has been fairly frustrating but alot of that may have to do with my own lack of understanding of this script and EventGhost and Python and zVirtualScenes and Z-Wave devices... I kind of dove into the deep end with this. I am eager to get this working so let me know if there is any other testing I can do to help. (2014-07-02, 02:23)jer78 Wrote: Oh good, someone else has the same problem as I do. I can confirm that the error still occurs when the folder is renamed to script.cinema.experience. I thought maybe it was the skin but I get the same error on 3 skins I tried. Running Gotham 13.1 on a Mac. I also had no problem running the Cinema Experience from the XBMC repo. It's just the github gotham version that's breaking. jer78 I believe the problem you're having is the same I had. Unfortunately, I don't think renaming the folder will cut it. If you look inside that folder I believe there will only be the settings.xml file. For some reason 4.0.13 does not appear to be populating the folder with the other bits. Specifically, the ha_scripts folder that contains the home_automation.py file. This is why I used the 4.0.10 script.cinema.experience folder that I mentioned in my previous post. Being diligent testers and trying to remove all trace of the old version before installing the new version seems to have bitten us both this time. Oh, and if you get 4.0.13 running let me know cuz I want it too! [RELEASE] Cinema Experience - the new Home Theater Experience Script - jer78 - 2014-07-03 You are right. It only creates the settings.xml I tried copying the HA folder over too and still the same problem. Looks like we will have to wait for a fix from Giftie. In the meantime I'll revert back to the old version. It mostly worked for me with the exception of not executing the ha script during pause and resume. RE: [RELEASE] Cinema Experience - the new Home Theater Experience Script - hoobie7 - 2014-07-05 (2014-07-03, 20:19)jer78 Wrote: You are right. It only creates the settings.xml Have you tried hitting 's' to bring up the shutdown menu? Like I said above this seems to unclog the tubes and the triggers work. RE: [RELEASE] Cinema Experience - the new Home Theater Experience Script - hoobie7 - 2014-07-05 The Problem So after a few days of trying to get the home automation working I was getting a bit frustrated. Before getting into CE I had been looking to figure out what software I wanted to use for my Z-Wave. I bought the Aeon Labs Z-Stick without thinking about how I was going to interface with it. I had looked at a couple open source options like OpenHAB and OSA, and zVirtualScenes because of CE. zVirtualScenes was the only one I actually got working and it worked pretty well but I never got around to getting EG to control it. I didn't like the idea of using EG as a middle man to receive one command just to send a different command to zVS. Plus EG had crashed on me several times and I had to redo some settings that weren't saved. On top of that the open source options just lacked a level of polish and ease of use that a pay for app would have. So I went looking for another solution. My solution(I hope.) I remembered one of the Amazon reviews for the Z-Stick mentioned a free version of a retail program called InControl. Link is here. It is limited to 10 devices but I only have two dimmers so that's fine by me. Plus it has a great looking Android app. With a little Google searching I found this page where there was a request of the company to integrate XBMC. While that has not panned out yet some one did post some code for how to integrate it DIY style. The best part is InControl can be remotely controlled via URL requests. So as a down and dirty test I grabbed one line out of the code, modified it to my setup, and dropped it in place of the UDP broadcast line. The result? ... It worked! First Attempt! Here's an example: Code: # Script Start With just that I was able to control my lights and with out any middle man. I think the urllib2 import for the SabNZBd code is what makes this such a copy\paste drop-in fix. I'm still working out the dim level and timing but it's looking real good so far. RE: [RELEASE] Cinema Experience - the new Home Theater Experience Script - jer78 - 2014-07-05 Tried that too. Still script failed error message (2014-07-05, 03:47)hoobie7 Wrote:(2014-07-03, 20:19)jer78 Wrote: You are right. It only creates the settings.xml RE: [RELEASE] Cinema Experience - the new Home Theater Experience Script - hoobie7 - 2014-07-06 Just to clarify I'm talking about the pause\resume problem you are having in 4.0.10. I had this issue in 4.0.10 and bringing up the shutdown menu caused the triggers to go through. So, movie is playing, hit space to pause, hit space to resume, nothing in EG, hit 's' and both pause and resume triggers show up in EG. Is this what you get or something different? (2014-07-05, 20:56)jer78 Wrote: Tried that too. Still script failed error message RE: [RELEASE] Cinema Experience - the new Home Theater Experience Script - greg_p - 2014-07-07 I apologize in advance if this was answered, but I am having issues with Cinema Experience working. I have had it working for years with no issue, but recently when I upgraded to Gotham it makes XBMC lock up when I try and use it to run a movie. I have to CTRL-ALT-DEL to close it out. I am not exactly sure how to fix it. I thought to delete it and re-install, but it won't let me do that, says that the add-on is in use by the theme (I'm using AEON MQ5) Any help or links to suggested fixes would be appreciated. RE: [RELEASE] Cinema Experience - the new Home Theater Experience Script - Batiatus - 2014-07-07 Hey Giftie, I know you've mentioned an new release coming down the pipeline for CE and I'm wondering if you have any update for it? I've not followed along with the githubs and such and only check in here from time-to-time. Just curious. RE: [RELEASE] Cinema Experience - the new Home Theater Experience Script - hoobie7 - 2014-07-07 (2014-07-07, 17:13)greg_p Wrote: I apologize in advance if this was answered, but I am having issues with Cinema Experience working. I have had it working for years with no issue, but recently when I upgraded to Gotham it makes XBMC lock up when I try and use it to run a movie. I have to CTRL-ALT-DEL to close it out. I am not exactly sure how to fix it. I thought to delete it and re-install, but it won't let me do that, says that the add-on is in use by the theme (I'm using AEON MQ5) The best place to start is always a debug log. You can use http://xbmclogs.com/ Also, I believe if it's crashing there should be a crash log in the same folder. Check section 3 here. RE: [RELEASE] Cinema Experience - the new Home Theater Experience Script - Batiatus - 2014-07-09 Whoops! Completely wrong thread. My bad. RE: [RELEASE] Cinema Experience - the new Home Theater Experience Script - ivwshane1 - 2014-07-10 I'm not sure what to search for but I'm having a couple of issues with this otherwise awesome program. I'm using black glass and the xbmc 13.1 I have CE set to: slideshow for 5 minutes with music outro random 1 video two apple trailers streaming The first issue is that while the slideshow is playing and the background music is playing, after about 3-4 minutes the music player will take focus of the screen and the slideshow can no longer be seen. however, pressing back brings focus to the slideshow where it proceeds as normal and then to the outro video and then trailers, where the 2nd issue happens. After playing the trailers the movie starts but I am kicked out to the movie selection screen. The movie continues to play so I have to exit out of the movies screen back to full screen mode. Any ideas on what my issues are? I don't know if it matters but all files are on another system, movies are in ISO format. |