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)



Australian Film Classifications - vendril - 2011-01-05

For any who are interested I pulled these 10 second clips straight from the Film Classification website of Australia. The are not very big but I am working on getting some Hi-Res ones. Will upload them when/if i'm successful.

I put them together here:
http://www.mediafire.com/?a6tew3bcd7xp3

or alternatively you can get them yourself direct from the website individually: here

Not sure how they will fit in as a .avi and not a still though for HTE...


- giftie - 2011-01-05

vendril Wrote:Thanks for getting this script up and running again.

I've been using the trailer feature since it was first implemented and have over a thousand good quality trailers downloaded. Unfortunately they are in the movie folder associated with the trailer, as this is how xbmc gets to them via the movie info button.

Is there a way for me to use my 'local files' in HTE without having to create copies of all my trailers and have them in a single directory?

I ask because it's still good to have a preview of a movie before watching it, in case i'm just browsing and don't want to use HTE.

Suggestions?

Thanks.

If the majority of your movies are located in one location(ie a movies folder) you can set that as a local folder. Make sure you set the trailer scraper to Local to make this work. The more movies you have the long it will take to find trailers.(it took about 1/2 minute to search my 900 movies)


- milhouse34521 - 2011-01-05

Is anyone else having a problem if its set not to play trailers that have already been viewed? I seem to crash whenever I have that option selected.


- giftie - 2011-01-05

milhouse34521 Wrote:Is anyone else having a problem if its set not to play trailers that have already been viewed? I seem to crash whenever I have that option selected.

Can any one else verify this? It works fine on my side, as it usually does for developers... Big Grin


- SlaveUnit - 2011-01-05

I CANNOT get it to crash either with that selected. milhouse34521, maybe try a fresh install of the script. ie uninstalling it first. Just a thought.


- milhouse34521 - 2011-01-05

Thanks. I will do some digging.


- chunk1982 - 2011-01-05

giftie Wrote:Give it a try again.. I may have messed up the downloading from repo by adding the Spanish strings..(probably did.. )

no it was defo a xbmc issue as rolling back to rc2 let everything update sweet


- opeters - 2011-01-05

chunk1982 Wrote:no it was defo a xbmc issue as rolling back to rc2 let everything update sweet

I still can't get the update. Using Dharma.


- ijourneaux - 2011-01-06

I can not get it to crash either with that selected. milhouse34521


- chunk1982 - 2011-01-06

opeters Wrote:I still can't get the update. Using Dharma.

install rc2 from here



http://mirrors.xbmc.org/nightlies/win32/

thats what fixed it for me

hope this helps

paul


- Tophicles - 2011-01-06

Nuka1195 Wrote:the setting under misc, is to run a script for home automation stuff.

Ok, I *love* this script but I can't seem to get it to run my X10 "lights off" python script. This script runs from the commandline if I use "python HTE_Lights_OFF.py", but if I simply select it inside the HCE "Misc" section, it doesn't work...

Here's the HTE_Lights_OFF.py script contents:
PHP Code:
import urllib

urllib
.urlopen("http://172.16.17.55:8086/?x10command=DEVICE~sendplc~%22A2%20OFF%22").close()
urllib.urlopen("http://172.16.17.55:8086/?x10command=DEVICE~sendplc~%22A3%20OFF%22").close()
urllib.urlopen("http://172.16.17.55:8086/?x10command=DEVICE~sendplc~%22A1%20OFF%22").close() 

Here's my XBMC Log output, if it helps...

PHP Code:
22:43:16 T:3356 M:1549750272  NOTICE: -->Python Interpreter Initialized<--
22:43:16 T:3356 M:1548701696  NOTICE: [script.cinemaexperience] -     ** Required XBMC Revisionr34000 **
22:43:16 T:3356 M:1548701696  NOTICE: [script.cinemaexperience] -     ** Found XBMC Revisionr0 [Unknown] **
22:43:16 T:3356 M:1497972736  NOTICE: [script.cinemaexperience] - _get_queued_video_info()
22:43:16 T:3356 M:1497538560  NOTICE: [script.cinemaexperience] - Action(Queue,25)
22:43:16 T:3356 M:1552498688  NOTICE: [script.cinemaexperience] - SQLSELECT movie.c12movie.c14streamdetails.strAudioCodec FROM moviestreamdetails WHERE movie.idFile=streamdetails.idFile AND streamdetails.iStreamType=AND c00='''Burbs, The' LIMIT 1
22
:43:16 T:3356 M:1551384576  NOTICE: [script.cinemaexperience] - Queued Movie Information
22
:43:16 T:3356 M:1551364096  NOTICE: [script.cinemaexperience] ----------------------------------------------------------------------
22:43:16 T:3356 M:1551364096  NOTICE: [script.cinemaexperience] - Title'Burbs, The
22:43:16 T:3356 M:1551388672  NOTICE: [script.cinemaexperience] - Path: The '
Burbs (1989)
22:43:16 T:3356 M:1551495168  NOTICE: [script.cinemaexperience] - GenreComedy Horror Thriller
22
:43:16 T:3356 M:1551495168  NOTICE: [script.cinemaexperience] - MPAANR
22
:43:16 T:3356 M:1551495168  NOTICE: [script.cinemaexperience] - Audiomp3
22
:43:16 T:3356 M:1548902400  NOTICE: [script.cinemaexperience] - FolderC:\XBMC_HTE\Videos\Audio\Other\
22:43:16 T:3356 M:1548857344  NOTICE: [script.cinemaexperience] ----------------------------------------------------------------------
22:43:16 T:3356 M:1540730880  NOTICEC:\XBMC_HTE\Videos\Audio\Other\THX Cavalcade (5.1).avi
22
:43:16 T:3356 M:1540730880  NOTICE93a54235.tbn
22
:43:16 T:3356 M:1527062528  NOTICEC:\XBMC_HTE\Videos\Feature Presentation Intros\Our Feature Presentation (2).mp4
22
:43:16 T:3356 M:1526976512  NOTICEc9990faa.tbn
22
:43:16 T:3356 M:1516572672  NOTICE: [script.cinemaexperience] - Trailer Count3
22
:43:16 T:3356 M:1511038976  NOTICEApple Movie Trailers Newest trailers scraper
22
:43:16 T:3356 M:1518313472  NOTICEhttp://trailers.apple.com/trailers/sony_pictures/theroommate/images/poster-xlarge.jpg?|User-Agent=QuickTime%2F7.2+%28qtver%3D7.2%3Bos%3DWindows+NT+5.1Service+Pack+3%29
22:43:16 T:3356 M:1518272512  NOTICEdd420ed6.tbn
22
:43:16 T:3356 M:1515319296  NOTICEhttp://trailers.apple.com/trailers/disney/marsneedsmoms/images/poster-xlarge.jpg?|User-Agent=QuickTime%2F7.2+%28qtver%3D7.2%3Bos%3DWindows+NT+5.1Service+Pack+3%29
22:43:16 T:3356 M:1515319296  NOTICEa41b91ce.tbn
22
:43:16 T:3356 M:1511391232  NOTICEC:\XBMC_HTE\Videos\Coming Attractions Intros\Previews Of Coming Attractions.mp4
22
:43:16 T:3356 M:1511288832  NOTICE8eff7320.tbn
22
:43:16 T:3356 M:1502683136  NOTICEC:\XBMC_HTE\Videos\OurTheatre\MarentetteTheatre.avi
22
:43:16 T:3356 M:1502666752  NOTICEf0a2649f.tbn
22
:43:16 T:3356 M:1498185728  NOTICEMPAA
22
:43:16 T:3356 M:1495285760  NOTICENR
22
:43:17 T:3356 M:1469394944  NOTICEcurrent volume62
22
:43:17 T:3356 M:1471406080  NOTICE: [script.cinemaexperience] - Sorting Watched/Unwatched and Shuffing Slides
22
:43:17 T:3356 M:1471070208  NOTICE: ------------------Unwatched-------------------------
22:43:17 T:3356 M:1471041536  NOTICEincluded q181q.JPG, , q181a.JPG
22
:43:17 T:3356 M:1471033344  NOTICE: ------------------Unwatched-------------------------
22:43:17 T:3356 M:1471021056  NOTICEincluded - , , ToyStory2-01.jpg
22
:43:17 T:3356 M:1471012864  NOTICE: ------------------Unwatched-------------------------
22:43:17 T:3356 M:1470992384  NOTICEincluded q98q.JPG, , q98a.JPG
22
:43:17 T:3356 M:1470951424  NOTICE: ------------------Unwatched-------------------------
22:43:17 T:3356 M:1470926848  NOTICEincluded q85q.jpg, , q85a.jpg
22
:43:17 T:3356 M:1470898176  NOTICE: ------------------Unwatched-------------------------
22:43:17 T:3356 M:1470881792  NOTICEincluded - , , ToyStory1-15.jpg
22
:43:17 T:3356 M:1470857216  NOTICE: ------------------Unwatched-------------------------
22:43:17 T:3356 M:1470836736  NOTICEincluded q78q.jpg, , q78a.jpg
22
:43:17 T:3356 M:1470816256  NOTICE: ------------------Unwatched-------------------------
22:43:17 T:3356 M:1470791680  NOTICEincluded - , , PixarTheCompany03.jpg
22
:43:17 T:3356 M:1470763008  NOTICE: ------------------Unwatched-------------------------
22:43:17 T:3356 M:1470738432  NOTICEincluded - , , Slide153.JPG
22
:43:17 T:3356 M:1470713856  NOTICE: ------------------Unwatched-------------------------
22:43:17 T:3356 M:1470689280  NOTICEincluded q30q.jpg, , q30a.jpg
22
:43:17 T:3356 M:1470664704  NOTICE: ------------------Unwatched-------------------------
                                                
                                                  --- 
ETC ETCLOTS OF SLIDES :) ----

22:43:17 T:3356 M:1456779264  NOTICE: [script.cinemaexperience] - total slides selected938
22
:43:18 T:3356 M:1472217088  NOTICE: [script.cinemaexperience] - ## Intro ##
22:43:18 T:3356 M:1473277952  NOTICE## Starting Trivia Music
22:43:18 T:3356 M:1473224704  NOTICEtrivia musicfalse
22
:44:17 T:4796 M:1675378688  NOTICE: [script.cinemaexperience] - ## Outro ##
22:44:17 T:4928 M:1677901824  NOTICEDVDPlayerOpeningC:\XBMC_HTE\Videos\OurTheatre\MarentetteTheatre.avi
22
:44:19 T:4928 M:1613697024   ERRORCLocalizeStrings::ClearBlockTrying to clear non existent block C:\Users\Tophicles\AppData\Roaming\XBMC\addons\script.cinema.experience 


Any suggestions?

The only other request would be a home automation script in more than one spot. For example, I have the main lights in the room and also some overhead "cove" lights that I'd like to stay on until the "Feature Presentation" video starts. In short, I would like to see:

1) Main lights off at beginning of HCE script.
- this is working now, not by the MISC setting, but by hacking the skin's XML file to RunScript Smile
2) Overhead lights off at "Feature Presentation" intro video.
- like I said, may have to be hacked into the plugin's code, but I'm not sure where or how, haha!

Is this possible? I think it would have to be hacked into the main python file for the script.cinemaexperience (maybe?) but I'm not sure where to put it...

Thanks so much for all your work, it's greatly appreciated!


- giftie - 2011-01-06

Just checked through the script. I guess that 'feature' is not yet a feature.. Smile

I will look in to getting it added shortly.


excellent! - Tophicles - 2011-01-06

giftie Wrote:Just checked through the script. I guess that 'feature' is not yet a feature.. Smile

I will look in to getting it added shortly.


If you could put in a spot for a script to fire at different sections, that would be superb Wink


- ijourneaux - 2011-01-07

I just upgraded to the latest version. The script seems to stall out when the message Randomizing Trivia Slides is displayed. If I wait long enough, it seem to continue with the rest of the sequence.

When this happens, XBMC can no longer be closed and since it has total control of the screen, I can't bring up task manager to kill it. Have to reboot the computer.

I am in the process of removing HCE and the data files and re installing for a second time.

EDIT: The key seem to have been clearing out the HCE addondata folder. I am not sure if it was the watched_trailers file or the HCE.xml file that was the problem.


- giftie - 2011-01-08

ijourneaux Wrote:I just upgraded to the latest version. The script seems to stall out when the message Randomizing Trivia Slides is displayed. If I wait long enough, it seem to continue with the rest of the sequence.

When this happens, XBMC can no longer be closed and since it has total control of the screen, I can't bring up task manager to kill it. Have to reboot the computer.

I am in the process of removing HCE and the data files and re installing for a second time.

EDIT: The key seem to have been clearing out the HCE addondata folder. I am not sure if it was the watched_trailers file or the HCE.xml file that was the problem.

A question for you.. After you upgraded, did you go into the settings and click on ok?

There was a change to the settings, for the music playlist feature. It looks like I may need to put in some code that forces the settings screen to open when the script is run(if needed, as the last update there was a fair bit of coding)