Guest - Testers are needed for the reworked CDateTime core component. See... https://forum.kodi.tv/showthread.php?tid=378981 (September 29) x
Poll: Most Desired Feature To Be Added
You do not have permission to vote in this poll.
Other Movie Ratings
5.45%
Download Movie Trailers
28.04%
Home Automation scripting
24.22%
Other Movie Streaming Location
9.04%
Trivia Intro Fixed
11.24%
Cartoon Video Option
14.72%
More Videos for before Feature(s) - Specify how many
7.30%
Total
863 vote(s)
100%
* You voted for this item.

  • 1
  • 261
  • 262
  • 263(current)
  • 264
  • 265
  • 285
[RELEASE] Cinema Experience - the new Home Theater Experience Script
I'm trying to integrate Cinema Experience into an Aeon5 skin and my home automation. I've changed the home automation script so that lights goes out when the trailers start. This works perfectly (I can control my lights by calling an URL through python).

But I've also added a line when the script pauses, resumes and ends. My goal is in case the movie pauses, lights goes on, when the movie resumes, lights goes out and when the movie ends, lights goes on. But contrary to the automation when the trailers start, nothing happens when I pause the movie, resume or end the movie.

Am I missing something?

Ivan
Reply
(2014-11-03, 21:45)rubbens16 Wrote: I'm trying to integrate Cinema Experience into an Aeon5 skin and my home automation. I've changed the home automation script so that lights goes out when the trailers start. This works perfectly (I can control my lights by calling an URL through python).

But I've also added a line when the script pauses, resumes and ends. My goal is in case the movie pauses, lights goes on, when the movie resumes, lights goes out and when the movie ends, lights goes on. But contrary to the automation when the trailers start, nothing happens when I pause the movie, resume or end the movie.

Am I missing something?

Ivan

How did you do this? I've been asking for some direction but can't seem to get any. Too much info is old or says it doesn't work and I'm stuck. Any help would be appreciated.
Reply
In userdata/addon_data/script.cinema.experience/ha_scripts/home_automation.py I've put the following code

PHP Code:
# Feature Presentation Intro
        
elif trigger == "Feature Presentation Intro" and ha_settings"ha_fpv_intro" ]: 
            
# place code below this line
            
urllib2.urlopen("http://192.168.1.134/include/process.php?gad=startMovie&action=0")
            
pass
        elif trigger 
== "Script End" and ha_settings"ha_script_end" ]:
            
# place code below this line
            
urllib2.urlopen("http://192.168.1.134/include/process.php?gad=stopMovie&action=1")
            
pass 

This works for "Feature Presentation Intro", but not when the moving ends (so "Script End"). It didn't work for the trigger "Pause", but I've made a typo, so I have to retest it.

Of course, the correct code will depend on the way you have automated your lights. I have a KNX system at home and created some PHP scripts that work on top of eibd and linknx.
Reply
I've retested the Pause trigger after correcting my typo, but the system doesn't do anything when I pauses the movie.
Reply
So I changed the folder structure to match the wiki but im still getting the same error saying a file could not play then all my file/folder locations get changed with the addition of "&amp" in the script settings.


anyone?
here are the logs
http://xbmclogs.com/show.php?id=343807
Reply
(2014-04-14, 11:55)Mungo Wrote: I changed "intro's", to "intros", recreated the file path's again and everything stuck and worked as expected. Quick fix, but figured it may also be a quick internal fix as well to cope with apostrophe's

lol changed the root folder from "Trailers & Intros etc" to "Trailers Intros etc" and that fixed it....
Reply
(2014-11-04, 09:18)rubbens16 Wrote: I've retested the Pause trigger after correcting my typo, but the system doesn't do anything when I pauses the movie.

Can anybody help with this? I've noticed that on certain changes to the configuration files and on certain reboots, the pause trigger is working. But this is not consistent, and I can't figure out when it will work and when it won't.

At the moment, when a movie pauses, the trigger is not fired and lights are not switched on.
Reply
Still asking if someone can help me with CE and Z-Wave. I don't have a lot of access to the equipment to monkey around right now but I still can't seem to understand the process. So much information is 3+ years old and I feel that unless it just 'clicks' for you it's like staring at binary code trying to see the blonde. Anyone?
Reply
Hello All. This may have been covered on an earlier post, but my search attempts have not been successful as of yet. If anyone has the answer, or if anyone can point me to the proper post index for the answer, I would be very thankful.

I've set up a JSONRPC call to execute Cinema Experience directly, but I'd like avoid the queueing routine. I have the system configured for single-movie sessions, and I know how to map the execution of the JSON command to a button on various remotes/control sets. What I'd like to do is pass the ID of whatever movie file currently "has focus" if I call CE from within the Movies page. That way I can either just watch the film or start a CE session with a single click...no need to start the app and queue what I'm already "focused on."

Any ideas on how to capture and pass this info as a starting parameter for a CE execution pass?
Reply
Huh Please help! This is my first post so i must say I love Cinema Experience. My problem is I cant get any intro video of any kind to work. Countdown, Main feature intro, nothing. I have the latest version of Kodi and I installed Cinema through the add on section where Kodi Downloaded it. Do i need to put the videos in a specific folder, because when i point the settings at the folder on my HD it doesn't work. Cinema will play the videos because i added them to my video files just to see. When I installed Kodi it installed a Kodi folder and a separate XMBC folder. If i have to create a root folder where do i put it? Sorry I'm very new at this and lost i have been searching the forum like crazy. I hate to just ask but im getting tired of searching I know it will be something simple, I just don't know what to do. Sorry for being a noob!!
Reply
Today I uninstalled everything and reinstalled Kodi Helix and installed Cinema experience from the zip file. I'm still having no luck with any type of intro. Do I need to rename the intros? Do I need to go into the script to ate it up. I though all I would have to do is point to the file in the setting but I'm having no luck.
Reply
Ok I have done everything from the first page with the folders. I can't get anything to work. Please someone help me!
Reply
I'm guessing looking at the wiki that i missed the home_automation.py for triggering EventGhost file to place in the userdata/addon_data/script.cinema.experience/ha_scripts folder. Maybe that's why I'm having trouble? I guess i will find out when i get home.
Reply
Well I'm bummed! I guess I'm to dumb to use this program.
Reply
(2014-11-21, 05:14)Brker19 Wrote: Well I'm bummed! I guess I'm to dumb to use this program.

Which is somewhat ironic because you used the wrong to in your post.
Reply
  • 1
  • 261
  • 262
  • 263(current)
  • 264
  • 265
  • 285

Logout Mark Read Team Forum Stats Members Help
[RELEASE] Cinema Experience - the new Home Theater Experience Script24