[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
|
- TomPiXX - 2011-03-21 Would somebody tell me about the Home Automation feature? What is it? - giftie - 2011-03-21 OniFactor Wrote:is this working with the iOS build? it keeps saying "error script failed! : addon.py" when i try to run it. ATV2 running 10.4, the latest stable release for iOS, with Night as my skin. I can't make any promises that it will/will not work on ATV2, as I don't have one. There is a different version of Python use in the ATV2 vs the version used as default for all other systems(this should change for Eden) The script also does not run from the Addons Window, it will always error out. If you use Night, it needs to be Night SVN, because I don't think the last stable version had the script functioning(I could be wrong) - giftie - 2011-03-21 icky Wrote:Now....... this is maybe where the boundaries are pushed, I might be able to incorporate something along those lines.. Even if the download does not finish your trailers before the script build's it's playlist, it continues to download and then they are available for the next go around. - misterhek - 2011-03-21 Trailers for me still did not work in latest version. I had to edit resources\scrapers\local\scraper.py to get it working. I added this to line 21: Code: _S_ = _A_.getSetting Then in fetch_trailers I changed Code: self.tmp_trailers = dirEntries( self.settings[ "trailer_folder" ] , "video", "TRUE", "-trailer" ) Code: self.tmp_trailers = dirEntries( _S_("trailer_folder") , "video", "TRUE", "-trailer" ) Not sure if this is the best method, but seems to work now. - icky - 2011-03-21 giftie Wrote:I might be able to incorporate something along those lines.. Even if the download does not finish your trailers before the script build's it's playlist, it continues to download and then they are available for the next go around. and not to make the trailer side of the script too technical... can the trailers be deleted by the script when they have been watched - giftie - 2011-03-21 TomPiXX Wrote:Would somebody tell me about the Home Automation feature? Though it is not yet fully functional, the script will have the ability to perform tasks at key points through out the running of the script. These tasks are not going to be programmed by me(for the most part, I will help though) are contained in a file call home_automation.py(it's not included yet as I'm trying to think of a place to put it so it will not be erased when ever the script is updated.) How it works. Inside this file is programming areas for each of these tasks. The user, or some one helping the user, will put the necessary code to trigger the tasks they want. It should be to interface with almost any type of home automation systems(lighting control for the most part) For example: If user would want the lights to dim to off at the start of the movie, the user needs the approprate code for their system placed in the code block for Movie(inside the file home_automation.py) and turn on the Option in the setting in the Home automation settings. When it is integrated I will give examples for some available systems... - giftie - 2011-03-21 icky Wrote:and not to make the trailer side of the script too technical... can the trailers be deleted by the script when they have been watched I haven't added a delete feature(Windows 7 seems to freak every time I try to delete files from a script) but it does keep track of watched videos. It doesn't take long to download all the most recent trailers from Apple Trailers(I think I ended up doing that in the first day of testing though I was also asking for 10 at a time ) If the script realizes that it has downloaded all of the availble trailers, it restarts and goes through the list again. I will not download again(though it may update the NFO file if new inforamation is found(ie MPAA Ratings) I also tried to incorporate an 'equivalent' mpaa rating for users that have BBFC ratings for their movies(it's not exact, but should work fairly well) If I can figure out Windows 7 and deleting files, I'll add the option. - giftie - 2011-03-21 misterhek Wrote:Trailers for me still did not work in latest version. I had to edit resources\scrapers\local\scraper.py to get it working. Strange.. It should work(tested with both Download sources(AMT Db and AMT Site) The change you made will work, except it plays from the local folder(which can be different then the download folder) I'll double check the code that sets - self.settings[ "trailer_folder" ] - before calling the local scraper. Thanks for the heads up... - PatOso - 2011-03-21 When playing the trailer with the latest version of "cinema experience" when I press "O" appears as the DXVA enabled but the cpu consumption is 70%, with version 1.0 the cpu is 20%. This is very rare. - OniFactor - 2011-03-22 giftie Wrote:I can't make any promises that it will/will not work on ATV2, as I don't have one. There is a different version of Python use in the ATV2 vs the version used as default for all other systems(this should change for Eden) The script also does not run from the Addons Window, it will always error out. If you use Night, it needs to be Night SVN, because I don't think the last stable version had the script functioning(I could be wrong) okay, got it running after installing the SVN version.. just trying to get all the media i'd like for the add-on to use, now. one question though, after selecting 'cinema' from the movie's page, it takes probably 45 seconds to a minute after dumping back a folder (where the rest of the movies are as well), then advances 1 movie, and then starts to play. is this 'normal' behaviour? - barcoboy - 2011-03-22 giftie Wrote:Made it by about 15 mins... lol...Oh oh... it seems like I've lost all my Trivia music. http://pastebin.com/28SZB4av - giftie - 2011-03-22 PatOso Wrote:When playing the trailer with the latest version of "cinema experience" when I press "O" appears as the DXVA enabled but the cpu consumption is 70%, with version 1.0 the cpu is 20%. This is very rare. The script is now running in the background(since version 1.0.31), where on 1.0 it ended as soon as the video started to play. I'm not sure it's 100% accurate either, since mine shows 100% which would mean it should stutter even on the skin(Aeon MQ2 testing right now) and it's smooth. But the Higher CPU rate is because the script is running in the background. - foghat - 2011-03-22 So after uninstalling and reinstalling the newest version, I seem to be good. I am going to try out HD-Trailers.NET Downloader for trailers. The feature list says it can create xbmc .nfo files, however the config file does not have this tag. Does anyone happen to know what this tag should be? I've also posted at http://hdtrailersdler.codeplex.com, but doesn't seem to be a lot of activity over there. - giftie - 2011-03-22 barcoboy Wrote:Oh oh... it seems like I've lost all my Trivia music. The strange thing is that I had music the first two times I ran the script today then nothing for the next five.. I removed code that would rebuild the Music if it ended(slide show longer than the music play list. ) I add it back, and it works every time..(quick test about 5 times) I'll have a fixed version up soon... - KiSUAN - 2011-03-22 Spanish Translation Update strings.xml r2056 |