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 - giftie - 2013-03-15

(2013-03-14, 23:43)jasemilly Wrote:
(2013-03-14, 23:11)aptalca Wrote: In the skin Transparency, when you open up the movie info window, there is a button that fires up CE for that movie. No need to queue anything yourself. The skin takes care of it all.

I have been reading the threed and playing with CE I have a folder structure and some slides etc set up I have frodo installed on my test laptop and just installed CE addon but I can't see this button in Tranparency, what do I hve to change.

Looking forward to getting this going!!!

thanks jasemilly

You need to enable the setting 'Show Cinema Experience Button in movie info dialog' in Transperency's Skin Settings. Then when you go into the Movie's info page, you will see a Projector icon at the bottom right(under Extras)


RE: [RELEASE] Cinema Experience - the new Home Theater Experience Script - giftie - 2013-03-15

(2013-03-15, 00:32)swetoast Wrote: Noticed a bug in the cinema experience script running on my Raspberry PI (512mb) Openelec (latest version)

the script bug is in the trailer section if set to 4 or higher doesn't play all of the trailers

i.e.

if set to 10 it plays one
if set to 5 it plays 3

been testing it all morning to see if i missed something but so far i have not seen any mistakes in the config since there isn't all that much to mess around with.

also at times it doesnt play trailers at all even if i clear "watched trailers" it just plays the movie

Hope that this helps at all

A debug is needed to diagnose these problems.

Couple of questions(since there is no debug log.)

1. what trailer scraper are you using?
2. do you have the trailers limited by rating(mpaa)?


RE: [RELEASE] Cinema Experience - the new Home Theater Experience Script - swetoast - 2013-03-15

1. Apple Movie Trailers
2. No

the skin im using is SiO2

http://forum.xbmc.org/showthread.php?tid=141960

and as soon as i got some time over after this weekend i'll provide a debug log cause i want this addon working flawless loving it.


RE: [RELEASE] Cinema Experience - the new Home Theater Experience Script - giftie - 2013-03-15

(2013-03-15, 09:33)swetoast Wrote: 1. Apple Movie Trailers
2. No

the skin im using is SiO2

http://forum.xbmc.org/showthread.php?tid=141960

and as soon as i got some time over after this weekend i'll provide a debug log cause i want this addon working flawless loving it.

Tested things on my side. The problem is the feed from Apple Trailers, it had some trailers that had missing information. The script really only had general error control for this scraper(it really hasn't been touched since the Dharma days) I have added error control in these areas, and the scraper seems to get the proper number(as long as Apple supplies enough trailers on the 'Newest' web feed)

A debug log would still be useful, just to verify the bug.


RE: [RELEASE] Cinema Experience - the new Home Theater Experience Script - sarakha63 - 2013-03-17

same issue here


I use frodo and aeon nox or aeon mq4 skins.

And whatever the skin no trailer is played what ever number i use.

And i use xbmc library as trailer source.

It worked very fine with eden but since frodo, it plays directly the movie


Re: RE: [RELEASE] Cinema Experience - the new Home Theater Experience Script - giftie - 2013-03-17

(2013-03-17, 17:31)sarakha63 Wrote: same issue here


I use frodo and aeon nox or aeon mq4 skins.

And whatever the skin no trailer is played what ever number i use.

And i use xbmc library as trailer source.

It worked very fine with eden but since frodo, it plays directly the movie
You're problem is not the same. I have a feeling you're not using the frodo version(3.0.3 link on the first page) though I am just guessing since you didn't bother posting a debug log


RE: [RELEASE] Cinema Experience - the new Home Theater Experience Script - NahsiN - 2013-03-17

Hi, pardon me for not reading through 288 pages of the thread. I have my movies divided into two main playlists, Bollywood (Indian) and International (everything else). I would like to show different ads depending on whether the movie is Indian or not. I know this is manually possible. Before I select a movie, I go into the settings and change to the appropriate folder. But can one automate this? i.e., can the folders be playlist dependent?


RE: [RELEASE] Cinema Experience - the new Home Theater Experience Script - sarakha63 - 2013-03-17

Thanks for your kind reply, but i'm using your last frodo update from your github. I did'nt post a debug log as you were already talking about this kind of issue with someone else. And i didn't want to bother with a debug log if you were already working on this issue due to the previous comment

So i tried with 3.0.3 and 3.0.4 and the issue s the same

here's the debug log

http://pastebin.com/q7yRK7qc


RE: [RELEASE] Cinema Experience - the new Home Theater Experience Script - jasemilly - 2013-03-17

Hi I have got the icon working

but getting this error in the log

19:08:15 T:3264 NOTICE: -->Python Interpreter Initialized<--
19:08:15 T:3264 ERROR: EXCEPTION: Unimplemented method: executehttpapi::XBMCAddon::xbmc::executehttpapi(...)
19:08:15 T:3264 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.RuntimeError'>
Error Contents: Unimplemented method: executehttpapi::XBMCAddon::xbmc::executehttpapi(...)
Traceback (most recent call last):
File "C:\Users\DevLaptop\AppData\Roaming\XBMC\addons\script.cinema.experience\addon.py", line 33, in <module>
autorefresh = xbmc.executehttpapi( "GetGuiSetting(1; videoplayer.adjustrefreshrate)" ).replace( "<li>", "" )
RuntimeError: Unimplemented method: executehttpapi::XBMCAddon::xbmc::executehttpapi(...)
-->End of Python script error report<--

just enabling the intro folder to get started any help really appreciated

thanks jasemilly


RE: [RELEASE] Cinema Experience - the new Home Theater Experience Script - giftie - 2013-03-18

(2013-03-17, 20:52)sarakha63 Wrote: Thanks for your kind reply, but i'm using your last frodo update from your github. I did'nt post a debug log as you were already talking about this kind of issue with someone else. And i didn't want to bother with a debug log if you were already working on this issue due to the previous comment

So i tried with 3.0.3 and 3.0.4 and the issue s the same

here's the debug log

http://pastebin.com/q7yRK7qc

Thanks for the debug log.. The problem will be fixed in the next release.

(2013-03-17, 21:04)jasemilly Wrote: Hi I have got the icon working

but getting this error in the log

19:08:15 T:3264 NOTICE: -->Python Interpreter Initialized<--
19:08:15 T:3264 ERROR: EXCEPTION: Unimplemented method: executehttpapi::XBMCAddon::xbmc::executehttpapi(...)
19:08:15 T:3264 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.RuntimeError'>
Error Contents: Unimplemented method: executehttpapi::XBMCAddon::xbmc::executehttpapi(...)
Traceback (most recent call last):
File "C:\Users\DevLaptop\AppData\Roaming\XBMC\addons\script.cinema.experience\addon.py", line 33, in <module>
autorefresh = xbmc.executehttpapi( "GetGuiSetting(1; videoplayer.adjustrefreshrate)" ).replace( "<li>", "" )
RuntimeError: Unimplemented method: executehttpapi::XBMCAddon::xbmc::executehttpapi(...)
-->End of Python script error report<--

just enabling the intro folder to get started any help really appreciated

thanks jasemilly

Make sure you are using the proper version for the version of XBMC that you are using.


RE: [RELEASE] Cinema Experience - the new Home Theater Experience Script - jasemilly - 2013-03-18

[/quote]

Make sure you are using the proper version for the version of XBMC that you are using.
[/quote]

I followed the link on the first page and am running frodo, should I be running something different if so where do I get the correct version, sorry I thought the link on the first page was ok as it says version 10 or later.

thanks


RE: [RELEASE] Cinema Experience - the new Home Theater Experience Script - giftie - 2013-03-18

(2013-03-18, 01:13)jasemilly Wrote:
Quote:Make sure you are using the proper version for the version of XBMC that you are using.

I followed the link on the first page and am running frodo, should I be running something different if so where do I get the correct version, sorry I thought the link on the first page was ok as it says version 10 or later.

thanks

I don't see anywhere on the first page mentioning version 10 or later? This is the version you need to have -> http://www.mediafire.com/file/aod1erp3gbi469q/script.cinema.experience.3.0.3.zip

edit...

I see, it says in the old WiKi page..


RE: [RELEASE] Cinema Experience - the new Home Theater Experience Script - sarakha63 - 2013-03-18

thanks giftie, did you see what the problem was?

I sure will test it when this will be available on github and will tell you.


But for now is there something i can do to force it to work such as activating an other option. I miss this functionnality a lot. My xbmc doen't look the same without that lol


And by the way nice work Clap CLap Clap


RE: [RELEASE] Cinema Experience - the new Home Theater Experience Script - sarakha63 - 2013-03-18

hey giftie i found the bug

it has to do with this line in scraper xbmc library

#if not trailer['trailer'].startswith( 'plugin://' ) and self.settings['trailer_skip_youtube'] :

If i comment it it works

But i noticed i had to change line 99 by this if count == self.settings[ "trailer_count" ]+1:

unless it shows one less trailer than required


RE: [RELEASE] Cinema Experience - the new Home Theater Experience Script - giftie - 2013-03-19

(2013-03-18, 12:39)sarakha63 Wrote: hey giftie i found the bug

it has to do with this line in scraper xbmc library

#if not trailer['trailer'].startswith( 'plugin://' ) and self.settings['trailer_skip_youtube'] :

If i comment it it works

But i noticed i had to change line 99 by this if count == self.settings[ "trailer_count" ]+1:

unless it shows one less trailer than required

I found the bug before I replied to you.. Smile

Also the count is correct on my side, tried with all variations of trailer counts. Maybe you introduced a problem with commenting out the statement...