Kodi Community Forum

Full Version: [RELEASE] Cinema Experience - the new Home Theater Experience Script
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Cinema Experience
Formerly known as Home Theatre Experience or HTE

Visit the Wiki page: http://wiki.xbmc.org/index.php?title=Add...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/6r7d1pqnfe...1.0.53.zip
Eden Version 2.0.57 -> https://www.dropbox.com/s/9xqnclvosuhm2o...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/j84f35o85d...tion(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/eb2jvilntjkpms...-3.0.8.zip
Gotham ver.4.0.8 -> https://www.dropbox.com/s/gpxg1uqz1v5zvw...-4.0.8.zip

home_automation.py repo - Check branches for different versions( 3.0.7/4.0.7 and up )

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)
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)

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)

Related Websites

HD-Trailers.net Downloader:- improved by ljourneaux

Demo-world - good selection of Audio Format Videos, trailers and much more You can find DD, DTS, DTS-MA and THX Videos here

I'll try to keep any files available as well here - http://www.mediafire.com/?5qsgsgm6ugqcs
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.



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:
slide rating="R">
question format=".([0-9]{1,3})+_q.jpg" />
clue format=".([0-9]{1,3})+_c.jpg" />
answer format=".([0-9]{1,2})+_a.jpg" />

<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:
slide rating="R">
question format=".([0-9]{1,3})+_q.jpg" />
clue format="N/A" />
answer format=".([0-9]{1,2})+_a.jpg" />

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:
slide rating="G">
question format=".+_a.jpg" />
clue format="N/A" />
answer format=".+_b.jpg" />
This works for the Screenshot Shot Quiz( Pack 0.1 and Pack 2 0.2 Alpha) contained in one or more of the stills pack available for download.

Trailer videos

Trailer Scraper(found in Settings)


- 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
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<movieinfo id="5961">
    <title>A Good Day to Die Hard</title>
    <genre>Action and Adventure</genre>
    <studio>20th Century Fox</studio>
    <director>John Moore</director>
    <plot>Iconoclastic, take-no-prisoners cop John McClane, for the first time, finds himself on foreign soil after traveling to Moscow to help his wayward son Jack, unaware that Jack is really a highly-trained CIA operative out to stop a nuclear weapons heist. With the Russian underworld in pursuit, and battling a countdown to war, the two McClanes discover that their opposing methods make them unstoppable heroes.</plot>
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)

      WINDOW can be:

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:
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>:
will queue up the movies Avatar, Titanic and The Terminator

Home Automation(home_automation.py)


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:

For example, to disable TV Tunes being run when window is loaded: (taken from Transparency!)
<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
Cinema Experience Skin Support

How to add support for Cinema Experience to your skin

To make the end-user experience seamless, skinners can add support for Cinema Experience directly to their skins.


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">
description>Home Theatre</description>
visible>system.hasaddon(script.cinema.experience) + Container.Content(movies)</visible>

New method(Frodo version 3.0.1+)
PHP Code:
<control type="button" id="49">
description>Home Theatre</description>
visible>system.hasaddon(script.cinema.experience) + Container.Content(movies)</visible>

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...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=6...post683875
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
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.
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

We need a new Icon for this script. Who wants to take a stab at itHuh
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/pa...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>
<onclick>RunScript(special://home/scripts/Home Theater Experience/default.py)</onclick>

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

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.
giftie Wrote:We need a new Icon for this script. Who wants to take a stab at itHuh


Who complained about the other one? Although I have seen it out there before.
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.
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?

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?