[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
|
[RELEASE] Cinema Experience - the new Home Theater Experience Script - giftie - 2010-12-14 Cinema Experience Formerly known as Home Theatre Experience or HTE Visit the Wiki page: http://wiki.xbmc.org/index.php?title=Add-on:Cinema_Experience A few of us, along with help from Nuka1195, are now maintaining the script to work with Dharma, and beyond if need be. This new thread will hopefully help old and new users... Post any questions, problems, or discoveries on this thread. I will try to post all relevant information from the old thread here. What is Cinema Experience?(for those who never used HTE) This scripts will add the wow factor to your home theatre and give you the true cinema experience you deserve(except you still have to supply the popcorn and drinks) This script allows you to play slides, previews(trailers) and other videos that give the full cinema feel(Intro's and Outro's) Slides can consist in almost any jpg picture(many Movie Q&A, Movie Stills, Movie Fact packs already exist). The Feature Presentation Movie(s) must be in your Video Library. It integrates with the script Apple Movie Trailers to stream trailers directly from the web, or play locally stored trailer that are on you system. Skins that have built-in integration: Transparency! - http://forum.xbmc.org/showthread.php?tid=82435 http://forum.xbmc.org/showthread.php?tid=83643 Night - http://forum.xbmc.org/showthread.php?tid=82628 The Carmichael - http://forum.xbmc.org/showthread.php?tid=84970 Neon - http://forum.xbmc.org/showthread.php?tid=83337 Night Purity - http://forum.xbmc.org/showthread.php?tid=86753 Alaska Revisited - http://forum.xbmc.org/showthread.php?tid=87399 Backrow - http://forum.xbmc.org/showthread.php?tid=63773 - http://forum.xbmc.org/showthread.php?tid=87387You will need to disable 'Enable Music Now Playing Screen' in Skin Options Aeon MQ 2 - http://forum.xbmc.org/showthread.php?tid=81601 Cirrus Extended - http://forum.xbmc.org/showthread.php?tid=90693 Metropolis - http://forum.xbmc.org/forumdisplay.php?fid=162 Any others, please post so I can add to this message How to Get it? 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.57 -> https://www.dropbox.com/s/9xqnclvosuhm2o1/script.cinema.experience.2.0.57.zip Frodo Version 3.0.6 -> Available from the Official Repo home_automation.py for triggering EventGhost(for version 3.0.1 to 3.0.6 of the script) -> http://www.mediafire.com/file/j84f35o85du8rm3/home_automation(2).py - be sure to place this in the userdata/addon_data/script.cinema.experience/ha_scripts folder and named home_automation.py Test/Development Versions Frodo ver. 3.0.8 -> https://www.dropbox.com/s/eb2jvilntjkpms1/script.cinema.experience-3.0.8.zip Gotham ver.4.0.8 -> https://www.dropbox.com/s/gpxg1uqz1v5zvw4/script.cinema.experience-4.0.8.zip home_automation.py repo - Check branches for different versions( 3.0.7/4.0.7 and up ) https://github.com/Giftie/home_automation.py Cinema Experience Sequence - Thanks SlaveUnit for posting this 1. Trivia Intro Video(s) 2. Slides w/ music playlist 3. Trivia Outro Video(s) 4. Movie Theater Intro Video(s) 5. Coming Attractions Intro Video(s) 6. Trailer(s) 7. Coming Attractions Outro Video(s) 8. Feature Presentation Intro Video(s) 9. Rating 10. Audio (DD/DTS/THX etc) 11. Countdown Video 12. Movie Starts 13. Intermission Video(s) - If selected 14. Rating Video - if selected 15. Audio Format Video - if selected 16. Next Movie Starts . . The last three can repeat up to 3 more times . 17. Feature Presentation Outro Video(s) 18. Movie Theatre Outro Video(s) RE: [RELEASE] Cinema Experience - the new Home Theater Experience Script - giftie - 2010-12-14 For a large selection of trivia, slides and various videos, please visit CinemaVision Interesting threads Full Packs - Slides and Videos Slave Unit's HTE Pack(a lot of good stuff here) http://forum.xbmc.org/showthread.php?tid=69270 Video Packs Slide Packs RagnaroktA's Slides -> http://forum.xbmc.org/showthread.php?tid=156908 Tips and Tricks How to add Cinema Experience to Confluence (Thanks Harro) http://forum.xbmc.org/showthread.php?tid=87883 Related Websites HD-Trailers.net Downloader:- improved by ljourneaux http://hdtrailersdler.codeplex.com/ Demo-world - good selection of Audio Format Videos, trailers and much more You can find DD, DTS, DTS-MA and THX Videos here http://www.demo-world.eu/ I'll try to keep any files available as well here - http://www.mediafire.com/?5qsgsgm6ugqcs RE: [RELEASE] Cinema Experience - the new Home Theater Experience Script - giftie - 2010-12-14 Steps for reporting problems/bugs I'm not trying to be rude, or negative, but when reporting a bug or a problem you are having please follow the following.... Step 1: Put XBMC into Debug Mode - link Step 2: Restart XBMC Step 3: If you have addons that run automatically at start of XBMC(Sharethe.TV, Weather.com Plus, etc.) wait a few minutes for these scripts to run Step 4: Run Cinema Experience Step 5: Upload your FULL xbmc.log file to pastebin.com(or similar) Method 1: Use the Debug Log Script Method 2: Manually locate your xbmc.log file - see Here for location Copy and paste xbmc.log to pastebin.com(or similar) If you feel you have private information that you don't want the public be able to see, setup an account on pastebin.com and store it as a private paste. Step 6: Create a new forum message on this thread, which contains steps to reproduce, your pastebin url Using these steps will allow me to find the problem and repair it for the next release. RE: [RELEASE] Cinema Experience - the new Home Theater Experience Script - giftie - 2010-12-14 Videos Trivia Slide XMLs These are important files when using quizzes. They allow the quizzes to follow the proper order: Question -> Clue -> Answer or Question -> Answer(depending on how they need to flow) PHP Code: <slides> <slide rating=> - allows the ability to specify a 'age' rating similar to movies, this can be used to match the rating of the movie being played or to set a limit on which slides are played based on value set in the Settings) <question format= /> - provides the format that matches slides as a question slide <clue format= /> - provides the format that matches slides as a clue slide <answer format= /> - provides the format that matches slides as an answer slide Breakdown of ".([0-9]{1,3})+_q.jpg" . <- provides matching of any alpha characters(letters) ie: matches "stills" in "stills20_q.jpg" ([0-9]{1,3}) <- provides matching of any number from 0 - 999 ie: matches "20" in "stills20_q.jpg" +_q <- allows the script to determine if it is a question ie: "stills20_q.jpg" is a question, but "stills20_c" is not. ^ this can be any letter or combination of letters as long as the pattern is kept. For example: <question format=".([0-9]{1,3})+a.jpg" /> - the question <clue format=".([0-9]{1,3})+b.jpg" /> - the clue <answer format=".([0-9]{1,3})+c.jpg" /> - the answer The next example of a slides.xml is for a two part trivia question(question and answer): PHP Code: <slides> If your Q&A do not have any ordering numbers (ie slide1_q, the 1 is the ordering number) just use the following: PHP Code: <slides> Trailer videos Trailer Scraper(found in Settings) Modes: - Apple Movie Trailers (database) Uses the Apple Movie Trailers Video Addon(not Lite) to find and then streams the trailers - Apple Movie Trailers (newest) Requests the newest trailers from Apple Movie Trailers(the site) and then streams the trailers - Local Folder Selects trailers from your downloaded trailers(which can be obtained many different ways) and plays the trailers Local Folder(downloaded trailers) The saved video files used for trailers need to have "-trailer" as part of the file name. For example: The Girl Who Kicked the Hornet's Nest-trailer.mov Trailer .nfo sample - for Local Folder to match genre/rating Code: <?xml version="1.0" encoding="utf-8" standalone="yes"?> RE: [RELEASE] Cinema Experience - the new Home Theater Experience Script - giftie - 2010-12-14 Integration...(these instructions still need some work) The script has been modified to allow the script to be integrated better into XBMC. Using the following the script can be started at a specific window of the Movie Library. The movie needs to be queue into a play list for the script to start. This also allows the ability to queue up multiple movies(see Feature Presentation settings) Code: RunScript(script.cinema.experience,WINDOW) The script still has the ability to be run from the DialogVideoInfo.xml file using RunScript(script.cinema.experience), though this button should be hidden if the script is started using the command above. I think ronie has the best layout by adding an option to the Skin Settings that allows the user to Enable/Disable the Home Window integration. I have also added the ability for web remotes to start specific movies using the following: Special way to start the script from HTTP API: Using the argument 'command<li>movie_title=' a specific movie can selected. For example: ExecBuiltIn(RunScript(script.cinema.experience,command<li>movie_title=Avatar) will start the movie Avatar. Important note: movie name must match how movie is found in the Database Queuing of multiple movies, separate the movies by <li>: ExecBuiltIn(RunScript(script.cinema.experience,command<li>movie_title=Avatar<li>Titanic<li>The%20Terminator) will queue up the movies Avatar, Titanic and The Terminator Home Automation(home_automation.py) http://forum.xbmc.org/showthread.php?tid=87563&pid=790523#pid790523 New Skin Property Available I have added a method to the script to inform skins that it is running. This can be used to disable the Busy/Buffering dialog that some users feel that it breaks the flow of the script. It can also be used to disable TV Tunes(the only script I have found that Cinema Experience does not play well with) while Cinema Experience is running. Skin Developers take note: The property is called 'CinemaExperienceRunning'. To test to see if CE is running: Code: SubString(Window(10025).Property(CinemaExperienceRunning),True) For example, to disable TV Tunes being run when window is loaded: (taken from Transparency!) Code: <onload condition="Skin.HasSetting(TvTunes) + !SubString(Window(10025).Property(CinemaExperienceRunning),True)">RunScript(script.tvtunes,backend=True)</onload> Things That Are Not Working:The bad list..... As Of 6/23/2011 - Streamed Trailers may fail if there is a video played before they are If you spot anything please post... Important Links to Important information: Home Automation Setup - Using Event Ghost Adding Support in to Skins without built-in Support - giftie - 2010-12-14 Cinema Experience Skin Support How to add support for Cinema Experience to your skin Introduction To make the end-user experience seamless, skinners can add support for Cinema Experience directly to their skins. Details We recommend that you add a button to DialogVideoInfo?.xml similar to this (taken from Night skin) old method(still works) PHP Code: <control type="button" id="49"> New method(Frodo version 3.0.1+) PHP Code: <control type="button" id="49"> Additional Discussion mcborzu started a discussion regarding the recommended way for skinners to integrate this script into their themes: http://forum.xbmc.org/showthread.php?tid=87945 Harro posts a mod for Confluence to add support for Cinema Experience: http://forum.xbmc.org/showthread.php?tid=87883&highlight=Cinema+Experience Steppedup has posted a mod for Media Stream Redux to add support for Cinema Experience, including a modified DialogVideoInfo.xml that you can download for easy install: http://forum.xbmc.org/showthread.php?p=683875#post683875 - acegutta22 - 2010-12-14 i just installed it how do i get it working i am willing to change skins i am currently using dharma rc2 and aeon 65 skin - rflores2323 - 2010-12-14 what skins does this work on with no modding/hacking? that should be a question/answer in the first post i think. just a suggestion. - quebert - 2010-12-14 rflores2323 Wrote:what skins does this work on with no modding/hacking? that should be a question/answer in the first post i think. just a suggestion. You can set a shortcut in keyboard.xml and it'll work with any skin with the following XBMC.RunScript(script.cinema.experience) - giftie - 2010-12-14 We need a new Icon for this script. Who wants to take a stab at it - Harro - 2010-12-14 I had just started playing around with this script a couple of days ago and had many questions on how to get it to run. Like most people i downloaded the zip from http://xbmc-addons.googlecode.com/svn/packages/repository.googlecode.xbmc-addons.zip and installed from the addons in xbmc through install from zip file. I proceeded to then enable and install the Home Cinema Experience addon in xbmc under the program addons. Once installed I then looked at all the stuff I could configure in it. Seeing the run script before video under the misc section I assumed I needed to click that and point it toward the Home Cimema Experience script., which I located under Home/ addons then script.cinema.experience and finally addon.py. I left the configure screen and proceeded to start up a video and see what would happen. Nothing. So I close off XBMC and head on over to the forums searching for some answers. Before I go on I will state that I am running XBMC Darma RC2 on a Windows Vista 64 bit machine using the Confluence skin which is the default skin. After reading most of 1 day with 80 plus pages on the HTE, I dove in and started to grap some files. First off I grapped http://www.megaupload.com/?d=8G4FPFMR from the links by "Slaveunit". Thanks by the way. In that file which is the first part of 8, I found the Folder Structure.png and DialogVideoInfo.xml. Looking at the Folder Structure made me create a new folder in my C:\Users\urname\AppData\Roaming\XBMC\ Which I called XBMC Home Theater Experience. Inside of that folder (XBMC Home Theater Experience) I created folders called Intros and Trivia. In the Intros folder I the created folders called Audio, Misc, and Ratings. In the Trivia folder I created folders called Q&A and Stills. Now with the file I had from "Slaveunit" (XBMC Home Theater Experience script.part01.rar) which is http://www.megaupload.com/?d=8G4FPFMR once extracted gave me audio files which i put in the Audio folder i just created. But these were not enough stuff to fill up my needs for a complete HTE, so I grabbed http://www.megaupload.com/?d=9L74YR27 from "steppedup" ( Thank you). In short this file is a condensed version of what Slaveunit posted. Now with this file I had a good start with all my needs Intros, Outro's, advertisement, trivia, all sorts of goodies. Placing all the files in the needed folders I had created under my C:\Users\urname\AppData\Roaming\XBMC\XBMC Home Theater Experience folder I now thought I was ready to use the HTE addon. Opened up XBMC and went to system/addons/enable addons/program addons/Cinema Experience, clicked on it then hit the configure button. filled in all the stuff i thought I needed by pointing the trivia folder, into's, outro's etc etc to the files i put in my home folder under XBMC Home Theater Experience folder accoding to the names that were called for in the config section. I still had in the misc section pointing to the addon.py file which I assumed would launch HTE before watching a movie. So off I go to launch a flick. I choose " It's a Wonderful Life" and hit the play button. Wow wth the movie just starts no HTE for me. SO now I think the HTE is fubar. In a last ditch effort I create a custom button under programs on the main screen to point to the HTE script and run it once clicked. Once created I try it out and WOW the script is running in all it's glory. Trivia starts off then goes on to previews then trailers start to play and finally the presentation intro, but no main movie. Sigh. Close off XBMC and search forums again. I am bound and determined to get this to work. Came across some info that started me to think that I may need to adjust some xml files. In the XBMC Home Theater Experience script.part01.rar (http://www.megaupload.com/?d=8G4FPFMR) I find "DialogVideoInfo.xml". I open the xml up and take a look at it, toward the end of the file I find <control type="button" id="13"> <description>Home Theater Experience</description> <include>ButtonInfoDialogsCommonValues</include> <label>Theater</label> <onclick>Dialog.Close(MovieInformation)</onclick> <onclick>Playlist.Clear</onclick> <onclick>RunScript(special://home/scripts/Home Theater Experience/default.py)</onclick> </control> Now I am thinking that this is the answer. I copy the xml and find out where it is to go. I find that in C:\Program Files (x86)\XBMC\addons\skin.confluence\720p is where there is the same xml file so I rename the original in the 720 folder and paste the other in , to replace the original. fire XBMC back up and lo and behold i now have a "Theater" button in my info screen of movies. i click it and still nothing. Open the DialogVideoInfo.xml which I just put in C:\Program Files (x86)\XBMC\addons\skin.confluence\720p and replace this line <onclick>RunScript(special://home/scripts/Home Theater Experience/default.py)</onclick> with this line <onclick>RunScript(special://home/addons/script.cinema.experience/addon.py)</onclick> Back to XBMC and try again. Open up an info screen on a movie and click the theater button and YAH BABY works. Now the only short fall that I have come up with is that HTE will not play the Trivia Q&A's slides, It will play the Trivia Stills . so that is where I sit as of tonite. If anyone has other pointers on other skins to help this out I am sure it would be much appreciated by all. - SlaveUnit - 2010-12-14 giftie Wrote:We need a new Icon for this script. Who wants to take a stab at it Who complained about the other one? Although I have seen it out there before. - SlaveUnit - 2010-12-14 Nice writeup Harro. Good to see you are someone who likes to investigate and isn't afraid to get your hands dirty. I stand where you stand at the moment as I mentioned in the old thread. Also you have to realize that some of those files and notes from my larger 6gb pack are from the old script. So parts may be outdated. Also, the smaller pack you got from steppedup was my pack in 2/2/2010. He just grouped everything together that I had posted. Then, as you can see, for the next 2 months I was on quite the search for more material. I found over 5 more gbs and grouped them and posted in the first thread. It became quite the obsession. I loved having so many things for people to see. People that came over for a movie night loved this. I do thank Nuka and everyone else that worked on this and I, as well as others, are very excited this is starting to take off again. XBMC is growing and its great. There is even a 4 page article in Maximum PC this month on it. Crazy! Once these last few things are cleaned up within the script and it's working 100% I will clean up the "Theater Pack for Nuka1195's "Home Theater Experience" Script" thread. I'll check all the links and add more to it from what I have now. Bottom line is that I am very happy to have this going again and thanks to everyone, past and present, involved. - mad-max - 2010-12-14 Hey Guys, what about locking the old thread regarding HTE? It seems as both threads are updated and discussed...quite hard to have a clear look at all the posts... As this is the new thread for the dharma-version, I think it is justified Maybe a suggestion from a moderator? cheers, mad-max - quebert - 2010-12-14 Giftie, just a suggestion but you could post in the OP what works and what doesn't, reading thru the original thread I take it trivia doesn't work for anyone, just the single stills. The same with the trivia intro/outro files. Telling the people what works and what doesn't should keep at least some people from asking the same "does [whatever] work, or am I doing something wrong?" Also I don't if this is a new bug in 1.01 or just something screwy with my XBMC, but when I press esc to end the trivia before the times up the screen goes black and it goes back to my main screen (Alaska Revisited) Before 1.01 when I pressed esc it would end the trivia and move on to the next thing in line in CE. Also something I noticed, at least on mine after the trivia it plays the movie theater intro clip then the previews, even though I have a movie theater outro clip set. Is it suppose to go in that order? |