Kodi Community Forum
[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)



- Invincer - 2011-11-14

timdog82001 Wrote:very cool, invincer! any chance you might upload the video files you used in your cinema experience? at least the modified ones?

This is the best one, it's the first one, the one to especially wow anyone who may have not seen the script in action before. It lays the ground work for what is about to happen with the lead in of trivia, a pre short film or cartoon, previews of coming attractions, and then the movie. It tells them to get popcorn now, and then intros the trivia beginning...

Youtube of it in action... http://youtu.be/3XnXTA9a1po

There are programs to DL from youtube, but it may be easier getting from megaupload, so i put it up there to DL as well

DL from MegaUpload... http://www.megaupload.com/?d=RUIRS9QX

If there is somewhere better to put it to give people access to it I am open to suggestions


- Invincer - 2011-11-14

m0v1em4n Wrote:Hi Invincer

Thanks for posting your script.

If I could ask you a few questions
At the moment I am using another xbmc plugin and Homeseer to control my light when a movie is played and paused, But the problem with it is when CE goes from trailers to intros etc. the light raise and lower, presume because of the pauses between them, would this script do the same?
.
also if I wanted to edit the script to say have nothing happen under Trivia intro would I change "true" for none

Code:
# Trivia Intro
    elif trigger == _L_( 32609 ) and _S_( "ha_trivia_intro" ) == "true":
        xbmc.log( "[script.cinema.experience] - [ home_automation.py ] - %s Triggered" % _L_( 32609 ), level=xbmc.LOGNOTICE )
        # place code below this line
        urllib2.urlopen('http://localhost:8086/?x10command=DEVICE~sendrf~"A1 ON"')

or would it be ok to just delete



Also when a movie is paused presume the lights would come on to dim?

hope you don't mind the questions I am a script new B Huh

Unfortunately I really won't be able to answer your questions. I am going to assume you are talking about the X10 Commander Light script, which helped me get some ideas to get this script working using X10 Commander. Since I use X10 products, X10 devices are all I have experience with, so i know absolutely nothing about Homeseer. Also, to get this script working, until the X10 Commander script can differentiate between movies and TV shows, I had to disable the X10 Commander script on my set up as well...


- giftie - 2011-11-14

m0v1em4n Wrote:Hi Invincer

Thanks for posting your script.

If I could ask you a few questions
At the moment I am using another xbmc plugin and Homeseer to control my light when a movie is played and paused, But the problem with it is when CE goes from trailers to intros etc. the light raise and lower, presume because of the pauses between them, would this script do the same?
.
This problem of the lights coming on and off would still happen with this home_automation.py file(or any others) since the main part of CE is does the triggering. I am going to add an adjustable time for the script to detect if there is a pause. Invincer probably has his videos stored locally(not on a network drive) so the default time of 1 second is fine...

Quote:also if I wanted to edit the script to say have nothing happen under Trivia intro would I change "true" for none
If you don't want anything to happen at the Trivia Intro, just turn off 'Trigger as start of the Trivia Intro(s)' in CE's Home Automation settings.


- Invincer - 2011-11-14

If anyone wants to include any of my videos in any of the offered packs for Cinema Experience users, feel free. I will be glad to know i am not the only one making use of them Smile

This is a breakdown of how my videos display, both to give access to the modified or customized ones and to show how i have gotten cartoons/short films added perfectly into Gifties repertoire without him having to add anymore stuff to the script. It just took a custom splicing in one area on one modified video making an outro combine with an intro...

Trivia Intro:
Posted a couple posts back, sets it all up

Youtube of it in action... http://youtu.be/3XnXTA9a1po

DL from MegaUpload... http://www.megaupload.com/?d=RUIRS9QX

Trivia:
Trivia for 5 minutes, random, from folders, playing random music from top 100 movie orchestrated themes of all time in it's own folder also.

Trivia Outro:
Another modified video here. A very important one actually as I wanted an outro for the trivia, but also wanted a lead in for a cartoon or short film. So what i did was made one custom which does both as one video. If you want to use the Movie Theatre Intro video as your short film or cartoon then this lead in would be invaluable; or give you an idea of making something similar to use maybe, so here ya go...

Youtube of it in action... http://youtu.be/AOg-4X9Cx3s

DL from MegaUpload... http://www.megaupload.com/?d=YZV9LMFO

Movie Theatre Intro:
After the last video being a combined outro from the trivia and a lead-in to a short film or cartoon, now this can be the cartoon or short film. I have a folder set up with about 500 five to seven minute looney toon or similar cartoons and pixar animated shorts along with a few others. The script simply selects one at random and plays it...

Coming Attractions Intro
A short short video explaing movie previews are about to begin of coming attractions. I have one main video I am using presently, but have others and sometimes switch back and forth or let the script choose one at random. Don't see any real need to upload this one as there are bunches out there for pre-coming attraction lead-ins...

Trailers
Here I have 4 trailers play of coming attractions streaming from Apple. I know some people have issues getting this to work, and at one point I did as well. Now it seems to work perfectly fine, so I can't complain Smile

Coming Attractions Outro
Nothing custom here. This is where I have a folder of assorted message type videos to the assorted guests, on my home automation video you may have seen the one with the singing frog telling people no cell phones no kicking seats etc from the Robinsons (love that one, it's hilarious). Anyways, sometimes i leave it on that one or choose a random one from a folder.

Feature Presentation Intro
Okay, here we are into the home stretch. For me, at my house, when there are a few people over, sometimes kids are playing games on the arcade, some people socializing, popcorn getting finished, getting snacks, drinks, maybe pizza delivered, whatever. This is the time for the movie montage as the movie is about to begin and I have a sign that displays that the movie will begin in less than 5 minutes. I had found this montage online a while back and it had been almost perfect, except someone had made it to fit their exact setup as it mentioned a 100 inch screen and exact stereo components. So I spliced in some custom parts to more generalize it and added a countdown timer to again remind people at the end that the movie is about to begin (although the rating and audio part play afterwards, but those only last usually a few seconds at most).

Youtube of it in action... http://youtu.be/wIXBZEIyVbU

DL from MegaUpload... http://www.megaupload.com/?d=FT2EVKSW

MPAA Rating
Normal rating G PG R etc 5 sec video here

Audio Format
Here of course the audio dolby, DLS, etc; depending on the movie's audio type and it dsiplays a random video from appropriate folder

Countdown
Custom Invincer's Home Theater video in Fox or Star Wars or Disney style goes here, this is about the custom type lead in-to-the-movie for me, I already did the countdown to get everybody in their seats at the end of the montage on the feature intro, which usually was a minute or two from actually working... by now everybody better be in their damn seats.... maybe I should experiment with an X10 carpet zapper to electrocute anyone not seated as the movie starts... maybe that might be going too far, I don't know... but I digress.. Smile

Movie
Movie? Can't for the life of me figure out what goes here.... Tongue

If the links get killed on MegaUpload or stop working i will upload elsewhere if anyone has suggestions where would be a better place. You should be able to DL from youtube to with some programs, though the quality won't be as good.

Enjoy!


Dumb Question About Order of Features - Mistcrawler - 2011-11-18

I just accidentally set all my previous settings 'feature presentation intro, trailers, etc' to default and now I can't get the program to run (it skips directly to the video instead). I remember reading a year ago when I set it up that certain features had to be enabled/disabled for it to run, but I can't remember what they are. After all, I know this was running yesterday before I set everything to default. Any help would be MUCH appreciated, as this is my favorite feature of XBMC by far!!!!


- timdog82001 - 2011-11-19

Awesome. Thanks invincer!


- ederson - 2011-11-19

I can`t get it work with pre-eden

i have only enabled 1 intro video and 1 trailer
almost everytime it hangs after the intro video
as you can in the log there is an sql error
Quote:#
ERROR: SQL: Undefined MySQL error: Code (1062)
#
Query: insert into path (idPath, strPath, strContent, strScraper) values (NULL,'D:\\HomeTheaterExperience\\INTRO\\','','')
#
09:09:26 T:5572 ERROR: CVideoDatabase::AddPath unable to addpath (insert into path (idPath, strPath, strContent, strScraper) values (NULL,'D:\\HomeTheaterExperience\\INTRO\\','',''))

Could it be because i use mysql ??

http://pastebin.com/1gky1YC4


- giftie - 2011-11-19

ederson Wrote:I can`t get it work with pre-eden

i have only enabled 1 intro video and 1 trailer
almost everytime it hangs after the intro video
as you can in the log there is an sql error


Could it be because i use mysql ??

http://pastebin.com/1gky1YC4

The problem is that Streamed trailers fail when a video is played before the streamed trailers(this is posted under the Does not work section on the first page of this thread)


- Invincer - 2011-11-22

Okay, made some adjustments and add ons to the home automation script to make sure everything starts more timely. Now after the previews play as the Feature Presentation Intro starts an audio recording plays in all other rooms of the house over the intercom stating that the movie will begin in less than 5 minutes.

As the Movie Rating short video plays, lights flicker off and on briefly throughout the house (this includes the bathroom, garage, and outside lights)

As the Audio video plays, time to get serious. The intercom speaks throughout the house to say "you were warned, the movie is about to begin now". All game systems and other TVs are powered down. All other PCs are switched to sleep mode. The kitchen lights go down. Garage door slowly closes (get in or you will be locked out that means). Bathroom toilets automatically flush...

Countdown video begins, okay, no more Mr nice guy here. Automatic cell phone jammer comes on so no calls during the movie, the main phone is switched to silent answering machine mode. Front and back door close and lock. Anyone in the bathroom will find after the automatic toilet flushing (and air freshener dispenser spray) that the toilet paper is on an electric roller and it will retract, and the door will open.

Time for the movie... YaY.... Can't wait to try this out Thanksgiving night


LOL

Just kidding of course... how far did ya get get before you knew I was pulling your legs on the additions here? heh heh...


Trivia Slides - kirk9225 - 2011-11-23

Hi,

I love this script! Just a quick question

I have many trivia slides and can not get them to play in order. They are in separate folders and are numbered correctly. How can i configure the script to play them i order?


Thanks

I just found it, you need to add the slides.xml file...


- giftie - 2011-11-23

kirk9225 Wrote:Hi,

I love this script! Just a quick question

I have many trivia slides and can not get them to play in order. They are in separate folders and are numbered correctly. How can i configure the script to play them i order?


Thanks

Are you talking trivia slides(Question, clue, answer or question / answer)? If so, do you have the proper XML file in the folder? See the first page regrading the xml files.

Otherwise the slides are shuffled(actually 5 times to insure randomness)


- foghat - 2011-11-25

I take it nothing later than 1.0.46 will work with Dharma?


- giftie - 2011-11-25

foghat Wrote:I take it nothing later than 1.0.46 will work with Dharma?

There is a test version, 1.0.53 available(see the very first post in the thread for the link) I haven't put it on the repo since it is untested.


- m0v1em4n - 2011-11-25

Hi Guys,

can anyone help me,

I have a 10 second movie intro, believe its in mp4 format, But for some reason I get sound and black screen for the first 3 second then the picture appears, only by this time most of the intro as played Rolleyes

here is the intro .mp4]http://www.filesonic.com/file/4005461945/Vipid-Feature-Presentation-Orange[www.savevid.com].mp4

any one have any ideas


- foghat - 2011-11-25

giftie Wrote:There is a test version, 1.0.53 available(see the very first post in the thread for the link) I haven't put it on the repo since it is untested.

Thx. I will hold off then. Just looking forward to the genre fix. where if multiple genres in the nfo, CE is not parsing and re-building properly.

Outside of this CE is working perfectly for me and I'd like to keep it that way. Smile