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)



RE: [RELEASE] Cinema Experience - the new Home Theater Experience Script - litfoo - 2014-01-26

thanks for the speedy response giftie

here is the log - hope you can point me to where I may be going wrong.

as far as i am aware, i had the settings set

cheers

litfoo


Re: RE: [RELEASE] Cinema Experience - the new Home Theater Experience Script - giftie - 2014-01-26

(2014-01-26, 00:01)litfoo Wrote: thanks for the speedy response giftie

here is the log - hope you can point me to where I may be going wrong.

as far as i am aware, i had the settings set

cheers

litfoo

I require a full debug log posted(see my signature). Something is causing the script to fail, the debug log will show the whereabouts of the problem.


RE: [RELEASE] Cinema Experience - the new Home Theater Experience Script - litfoo - 2014-01-26

(2014-01-26, 07:59)giftie Wrote: I require a full debug log posted(see my signature). Something is causing the script to fail, the debug log will show the whereabouts of the problem.

Thanks giftie

here is the debug log


RE: [RELEASE] Cinema Experience - the new Home Theater Experience Script - SirMarco - 2014-01-26

Hello!

This is my first project and need some help.The following hardware I'm using :

RaspberryPI with FHEM house control ( 433 mhz simple sockets It works great!) XBMC player on Intel NUC with OpenELEC

The sockets control works great with an HTTP Link :
http://192.168.2.13:8083/fhem?cmd.Wohnzimmer_Leselampe=set Wohnzimmer_Leselampe on & room = Living

How can I add this link in the home_automation.py ?

I tried the following :

Code:
# Script Start
        if trigger == " Script Start " and ha_settings [" ha_script_start " ] :
            # Place code below this line
xbmc.executehttpapi ( " Broadcast ( <b> http:// **** : ***** @ 192.168.2.13:8083 / fhem cmd.Wohnzimmer_Leselampe = set Wohnzimmer_Leselampe on & room = Living<li> script_start </ b> ) " )
            pass
        # Trivia Intro
        elif trigger == " Trivia Intro" and ha_settings [" ha_trivia_intro " ]
Unfortunately it does not work . I would like to address an http link on the home_automation.py


This code is in the wiki:

Code:
# Script Start
if trigger == _L_ ( 32613 ) and _S_ ( " ha_script_start " ) == "true":

    xbmc.output ("[ script.cinema.experience ] - [ home_automation.py ] - % s Triggered" % _L_ ( 32613 ) level = xbmc.LOGNOTICE )
    # Place code below this line

    xbmc.executehttpapi ( " Broadcast ( <b> CE_Automate <li> script_start </ b> ) " )

I still do not understand where the CE_Automate is, or what it does


RE: [RELEASE] Cinema Experience - the new Home Theater Experience Script - giftie - 2014-01-28

(2014-01-26, 13:24)SirMarco Wrote: Hello!

This is my first project and need some help.The following hardware I'm using :

RaspberryPI with FHEM house control ( 433 mhz simple sockets It works great!) XBMC player on Intel NUC with OpenELEC

The sockets control works great with an HTTP Link :
http://192.168.2.13:8083/fhem?cmd.Wohnzimmer_Leselampe=set Wohnzimmer_Leselampe on & room = Living

How can I add this link in the home_automation.py ?

The example in the wiki is for communicating with EventGhost via UDP Communication Broadcast and is for Dharma/Eden. For your situation is to find a way to communicate on the network using Python. Urllib, requests modules are quite useful.

(2014-01-26, 10:19)litfoo Wrote:
(2014-01-26, 07:59)giftie Wrote: I require a full debug log posted(see my signature). Something is causing the script to fail, the debug log will show the whereabouts of the problem.

Thanks giftie

here is the debug log

Your debug log shows a lot of settings enabled without folder/file paths set.


RE: [RELEASE] Cinema Experience - the new Home Theater Experience Script - litfoo - 2014-01-28

(2014-01-28, 03:45)giftie Wrote:
(2014-01-26, 10:19)litfoo Wrote:
(2014-01-26, 07:59)giftie Wrote: I require a full debug log posted(see my signature). Something is causing the script to fail, the debug log will show the whereabouts of the problem.

Thanks giftie

here is the debug log

Your debug log shows a lot of settings enabled without folder/file paths set.

whoops - my error - i guess you are referring to lines 1125-1220 in my debug log.

I was under the impression I could just install the add-on and it would work immediately

Is there a guide/wiki to explain how and what folders/file paths should be set?

In the Directory tree Overviews section of the wiki , do I have manually create all these directories and if so, where is the best location to do so?

Do they have to be in a specific location or not important where they are created (i.e. All I need to do is point to the folders/files correctly in Cinema experience settings)

apologies for all the newbie questions and thanks for your help again.


RE: [RELEASE] Cinema Experience - the new Home Theater Experience Script - ijourneaux - 2014-01-28

The folder configuration is described in post #4 on the first page of this thread. They have to be created and populated by the user.


RE: [RELEASE] Cinema Experience - the new Home Theater Experience Script - JCole - 2014-01-28

So I just installed the Jan. 27th nightly of XBMC Gotham, and the latest test version of CE as listed in the first post of this thread (4.0.7)

When I go to run the script via Movie info, then "cinema" button, I get the movie menu where it jumps to the next item in the library. Nothing plays,

I have included a pastebin here:

http://pastebin.com/pwVwxp0j

Ive had this issue before when I first started using CE, but that was a couple years ago, and it's been rock solid since then so I forget how I fixed it.


RE: [RELEASE] Cinema Experience - the new Home Theater Experience Script - giftie - 2014-01-28

(2014-01-28, 23:16)JCole Wrote: So I just installed the Jan. 27th nightly of XBMC Gotham, and the latest test version of CE as listed in the first post of this thread (4.0.7)

When I go to run the script via Movie info, then "cinema" button, I get the movie menu where it jumps to the next item in the library. Nothing plays,

I have included a pastebin here:

http://pastebin.com/pwVwxp0j

Ive had this issue before when I first started using CE, but that was a couple years ago, and it's been rock solid since then so I forget how I fixed it.

One of your slide folders/files has a non-ascii character. try this version.

https://www.dropbox.com/s/gpxg1uqz1v5zvw4/script.cinema.experience-4.0.8.zip


RE: [RELEASE] Cinema Experience - the new Home Theater Experience Script - litfoo - 2014-01-29

(2014-01-28, 21:30)ijourneaux Wrote: The folder configuration is described in post #4 on the first page of this thread. They have to be created and populated by the user.

Thanks for this. I can create these folders anywhere I choose? As long as I point to the correct path within CE settings?


RE: [RELEASE] Cinema Experience - the new Home Theater Experience Script - giftie - 2014-01-29

(2014-01-29, 00:33)litfoo Wrote:
(2014-01-28, 21:30)ijourneaux Wrote: The folder configuration is described in post #4 on the first page of this thread. They have to be created and populated by the user.

Thanks for this. I can create these folders anywhere I choose? As long as I point to the correct path within CE settings?

As long as it is a path that XBMC can access(ie permissions) Also, you will have to add the paths as a source using the File Manager in XBMC(can shorten finding the folders)


RE: [RELEASE] Cinema Experience - the new Home Theater Experience Script - litfoo - 2014-01-29

Do I have to add the paths as a source or are you saying it may be easier to add as a source (for ease of access finding them)


RE: [RELEASE] Cinema Experience - the new Home Theater Experience Script - giftie - 2014-01-29

(2014-01-29, 01:32)litfoo Wrote: Do I have to add the paths as a source or are you saying it may be easier to add as a source (for ease of access finding them)

On some systems it is needed for these folders to be added through the File Manager just so Add-on Settings can access them. A lot of us use the folder layout as how everything should go, but the only thing that needs to follow that layout is the Audio format files. This is the case because the script will search based on the Audio format name.


RE: [RELEASE] Cinema Experience - the new Home Theater Experience Script - litfoo - 2014-01-29

(2014-01-29, 02:29)giftie Wrote:
(2014-01-29, 01:32)litfoo Wrote: Do I have to add the paths as a source or are you saying it may be easier to add as a source (for ease of access finding them)

On some systems it is needed for these folders to be added through the File Manager just so Add-on Settings can access them. A lot of us use the folder layout as how everything should go, but the only thing that needs to follow that layout is the Audio format files. This is the case because the script will search based on the Audio format name.

Thanks giftie,

quick question - on the wiki it states folder 'Movie Theater Intro and Movie Theater Outro - shoud this be spelt Theater or Theatre as per the CE Video Structure image on post 4 of this tread

or does it not matter?


Re: RE: [RELEASE] Cinema Experience - the new Home Theater Experience Script - giftie - 2014-01-29

(2014-01-29, 16:40)litfoo Wrote:
(2014-01-29, 02:29)giftie Wrote:
(2014-01-29, 01:32)litfoo Wrote: Do I have to add the paths as a source or are you saying it may be easier to add as a source (for ease of access finding them)

On some systems it is needed for these folders to be added through the File Manager just so Add-on Settings can access them. A lot of us use the folder layout as how everything should go, but the only thing that needs to follow that layout is the Audio format files. This is the case because the script will search based on the Audio format name.

Thanks giftie,

quick question - on the wiki it states folder 'Movie Theater Intro and Movie Theater Outro - shoud this be spelt Theater or Theatre as per the CE Video Structure image on post 4 of this tread

or does it not matter?

Depends where in the world you live. Smile. No, it doesn't matter, you will still have to look up the folder when adjusting the settings.