[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
|
[Request] - t2ffn - 2011-04-11 Would it be possible to remove the "Working" dialog that XBMC shows when running the script? I have a small intro video, then another video, then another, then feature film begins for instance, and I briefly see the dialog in between each video. This to me makes it a little less fluid, like it is buffering each time. To that end, would it be possible to remove the dialog, or add a much longer delay of 5 seconds (?) so that you would not see it when it is switching videos, unless it takes much longer and may look like a crash? Thanks - bluenote - 2011-04-11 Hey giftie. Should have really included logs to begin with, sorry. Here's one where all 3 streams-from-local-library are skipped. http://pastebin.com/XmXv2eAW Browsing through I noticed some RTMP not supported messages, msg: 'import site' failed; and I also noticed some 'an unreleased information object was encountered at address (xxyz) when destorying the associated plug-in context. I'm afraid thats the best I can do for scanning through and interpreting what I'm seeing as a possible problem. Here's the main problem I'm having, although I had to (oddly) try once or twice to recreate it. Sorry about that, there's a couple successful runs included. http://pastebin.com/d4qrbj4Y This demonstrates the hangs I'm talking about. I'm not sure if this is indicative but I noticed this: Code: 14:05:05 T:4520 M:2095316992 NOTICE: [script.cinema.experience] - Item From Trigger List: Coming Attractions Intro thanks for any help you can offer! - giftie - 2011-04-12 t2ffn Wrote:Would it be possible to remove the "Working" dialog that XBMC shows when running the script? That's sort of what XBMC is doing(buffering). You would need to remove the proper XML file from your skin(s) - I believe it is the DialogBusy.xml file. The script does not control this window.. - t2ffn - 2011-04-12 Yeah I believe that to be tru, just seems it shouldn't show during swapping videos in such short timeframe. I will see if I can edit the file, if not, delete it is. Thanks - giftie - 2011-04-12 The 'local' streams are not skipped.. I believe the streams may not be vaild any more.. I just checked through a few of mine(using a database view to find movies that have a trailer stream) then I tried the movie one that is quite recent(12 Rounds) and this trailer failed in XBMC it self(tried playing the trailer from the info menu) It's the problem using urls for the trailers - the host site may change them(often they do) The script can't tell if it is a valid trailer. XBMC tries to play them, but can not connect to the stream. Not much I can do on the script side. You probably will get the odd one to play. I'm not sure what that 'import site' error is about. It's not the script, because it does happen before XBMC actually starts the script. Probably an error on XBMC's built in Python module. The 'WARNING: XFILE::CFileFactory::CreateLoader - Unsupported protocol(rtmp)' error you see is just the script looking for Thumbnails in the path of the trailer(rtmp streams are not valid paths, which I should error trap If I can) The other error - 'an unreleased information object was encountered at address' is just info from XBMC - I don't think its a problem, definitely not one with Cinema Experience at least. When you see the hanging, is it when a trailer should start to play.. I see XBMC having problems getting the file from TotalClips.. It's enough of a hang up for XBMC to say that the playback has stopped(a little different than playback has ended) and the script end(properly as well) If it is hanging when trailers are supposed to play there might be a problem with the stream(could be the script messing with the url, though I did test a few from your log and they did seem to work correctly in Firefox...) Hmmm... bluenote Wrote:Hey giftie. Should have really included logs to begin with, sorry. - giftie - 2011-04-12 t2ffn Wrote:Yeah I believe that to be tru, just seems it shouldn't show during swapping videos in such short timeframe. I will see if I can edit the file, if not, delete it is. Ask for a feature request on the XBMC Feature Request forum... I agree as well. I also have found that it does not always occur on some skins, where others it is always happening.. - bluenote - 2011-04-12 giftie Wrote:The 'local' streams are not skipped.. I believe the streams may not be vaild any more.. I just checked through a few of mine(using a database view to find movies that have a trailer stream) then I tried the movie one that is quite recent(12 Rounds) and this trailer failed in XBMC it self(tried playing the trailer from the info menu) It's the problem using urls for the trailers - the host site may change them(often they do) The script can't tell if it is a valid trailer. XBMC tries to play them, but can not connect to the stream. Not much I can do on the script side. You probably will get the odd one to play. Hey giftie Thanks a lot for taking the time to look through my logs. About old/invalid url's for trailers because of being old, if this is the case I can live with it. I will just have to pester someone about the scrapers for updating trailer metadata. Is there some way I can confirm that this is the problem first though? When I looked at the log I could not figure out what URL to try and what movie in XBMC to try the 'trailer' option for. Could you point out if the info is there at all? (movie name for where trailer is from I guess is what I need?) I wonder if you can get feedback from XBMC that a clip did not play? Then the script could add another trailer? Even if you can't tell if it is a valid stream beforehand, maybe you can tell if it successfully played or not afterward ? Or will this not work because it is just a playlist being played and script's work is done? This problem with totalclips is the main thing I would like to solve because it was happening near continuous for me on the weekend. My impression is that it sits there indefinitely until I use the escape key to back out, but maybe I can get a more useful log if I let it sit there for 5 - 10 minutes and see if it ever naturally ends or continues? What do you think? Or is there some other useful troubleshooting I could do? thanks so much for providing your time to help and for programming this! - giftie - 2011-04-12 bluenote Wrote:Hey giftie I noticed that you use MySQL for your database. You should be able to view your database and view your Trailer paths. Then you can try those movies(then edit your database to get rid of the non working ones) Quote:I wonder if you can get feedback from XBMC that a clip did not play? Then the script could add another trailer? Even if you can't tell if it is a valid stream beforehand, maybe you can tell if it successfully played or not afterward ? Or will this not work because it is just a playlist being played and script's work is done?You got it right in the end, the script builds a playlist, then sits in the background triggering events when they need to happen(Home Automation triggers) Quote:This problem with totalclips is the main thing I would like to solve because it was happening near continuous for me on the weekend. My impression is that it sits there indefinitely until I use the escape key to back out, but maybe I can get a more useful log if I let it sit there for 5 - 10 minutes and see if it ever naturally ends or continues? What do you think? Or is there some other useful troubleshooting I could do? You can try that. I'll put the links in my test script and try to figure out what might be going wrong... - andrewf - 2011-04-12 t2ffn Wrote:Yeah I believe that to be tru, just seems it shouldn't show during swapping videos in such short timeframe. I will see if I can edit the file, if not, delete it is. t2ffn - have you made any progress with this. I thought it was just my PC 'catching' itself up but if it can be corrected. It is a little bothersome when you see the buffering sign between every different clip. Cheers Andy PS Giftie - i've been looking at your cdART thread too. Just to offer my appreciation on all your efforts. PPS Hope to run a debug and post sometime soon as still cannot get the music to run during the slides Everythign else is spot on. - nelsonamen - 2011-04-13 Can i put Cinema Experience always on? I have to go to information of the film always to play this? im using aeon mq 2 - nelsonamen - 2011-04-13 mymovies with media center starts automatically - ezechiel1917 - 2011-04-13 There is <busydialogdelay> setting in advancedsettings.xml. Try to increase it, I have not tested it yet, but hopefully it should work. giftie Wrote:That's sort of what XBMC is doing(buffering). You would need to remove the proper XML file from your skin(s) - I believe it is the DialogBusy.xml file. t2ffn Wrote:Yeah I believe that to be tru, just seems it shouldn't show during swapping videos in such short timeframe. I will see if I can edit the file, if not, delete it is. andrewf Wrote:t2ffn - have you made any progress with this. I thought it was just my PC 'catching' itself up but if it can be corrected. It is a little bothersome when you see the buffering sign between every different clip. - nelsonamen - 2011-04-13 Can i put Cinema Experience always on? I have to go to information of the film always to play this? im using aeon mq 2 - andrewf - 2011-04-13 nelsonamen Wrote:Can i put Cinema Experience always on? I use this skin and having installed the cinema program have 'cinema' as a menu alongside 'movies'. Check in the Menu set up function that you haven't disabled the function Selecting this takes you to the same screen you see in 'movies' and sends you into the 'experience' simply by pressing 'Q' or '0' (if I recall right) - andrewf - 2011-04-13 ezechiel1917 Wrote:There is <busydialogdelay> setting in advancedsettings.xml. Try to increase it, I have not tested it yet, but hopefully it should work. Thanks for this but to ask a dumb question...how do I amend xml files. I've tried to figure this out before without any luck. I'm using XBMC live if that makes a difference. Cheers Andy |