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)



- icky - 2010-12-21

more trivia, will repost in theater pack thread as well, all screenies will be in that thread from now on!

http://www.megaupload.com/?d=0VKIBPKR


- chunk1982 - 2010-12-21

icky you and all involved are rocking legends!!

many thanks

paul


- msderganc - 2010-12-22

I think the issue is with my slides.xml...

Ok, here's what I've got:

Slides/
Coke Trivia (example file name: Bond1a.jpg)
Other Trivia (example file name: GobletOfFire_a.jpg)
Stills (No real file structure, just a bunch of images)

My Slides.xml are
Coke Trivia:
Code:
<slides>
    <slide>
        <slide rating="R">
        <question format=".([0-9]{1,3})+a.jpg" />
        <clue format="" />
        <answer format=".([0-9]{1,3})+b.jpg" />
    </slide>
</slides>

Other Trivia:
Code:
<slides>
    <slide>
        <slide rating="R">
        <question format=".+_a.jpg" />
        <clue format="" />
        <answer format=".+_b.jpg" />
    </slide>
</slides>

Setting the trivia folder in the addon configuration to any of the Slides (parent), Other Trivia, or Coke Trivia folders causes the addon to do nothing.

Setting the trivia folder to the Stills folder, the addon works properly. I have the rating field turned off.

Is there an issue with my slides.xml?


- giftie - 2010-12-22

Could you post your xbmc.log(complete) for when it does not play any of the stills, that would help a lot.


- giftie - 2010-12-22

SlaveUnit Wrote:Speaking of... Smile
Any word on the music playlists? Im just curious as to if you have had any looks at it and its difficult or it hasn't been closely looked at yet. No pressure, just curious.

lol... Not fixed yet. I think it might actually be a problem interalliy with XBMC. I think there may be a work around I'll have a better chance to look and see if it works the way I hope this weekend.


- msderganc - 2010-12-22

giftie Wrote:Could you post your xbmc.log(complete) for when it does not play any of the stills, that would help a lot.

http://pastebin.com/nbJVrjt3

There you go... I hope that's the log level you're looking for. In trying to fix this, I reformatted the Coke Trivia into the same format as the Other Trivia (e.g. Bond1_a.jpg) and modified the slides.xml to be identical.

I also set the Slides (parent) folder as the trivia folder in Cinema Experience.

Appreciate the help!!


- Nuka1195 - 2010-12-22

msderganc, you need to specify an invalid clue format. i use "N/A", but anything that will not match an image file.

maybe a better change to the script would be

Code:
clue_format = re.findall( "<clue format=\"([^\"]*)\" />", xml_data )[ 0 ]

elif ( clue_format and re.search( clue_format, os.path.basename( entry ), re.IGNORECASE ) ):

then leave the non used ones empty as you did.


- msderganc - 2010-12-22

Thanks, I'll try that.

Giftie - you may want to update the first page, as one of the examples lists a clue field as I had.


- Nuka1195 - 2010-12-22

Code:
<slides rating="PG" theme="Star Wars">
    <slide>
        <question format="[0-9]+Q.jpg"/>
        <clue format=""/>
        <answer format="[0-9]+A.jpg"/>
    </slide>
</slides>

Code:
<slides>
    <slide rating="PG" theme="Star Wars">
        <question format="[0-9]+Q.jpg"/>
        <clue format=""/>
        <answer format="[0-9]+A.jpg"/>
    </slide>
</slides>

Code:
# fetch data
            xml = open( os.path.join( path[ "path" ], "slides.xml" ) ).read()
            # parse info
            mpaa, theme, question_format, clue_format, answer_format = re.search( "<slides?(?:.+?rating=\"([^\"]*)\")?(?:.+?theme=\"([^\"]*)\")?.*?>.+?<question.+?format=\"([^\"]*)\".*?/>.+?<clue.+?format=\"([^\"]*)\".*?/>.+?<answer.+?format=\"([^\"]*)\".*?/>", xml, re.DOTALL | re.IGNORECASE ).groups()
            # compile regex's for performance
            if ( question_format ):
                question_format = re.compile( question_format )
            if ( clue_format ):
                clue_format = re.compile( clue_format )
            if ( answer_format ):
                answer_format = re.compile( answer_format )


if ( question_format and question_format.search( os.path.basename( entry ), re.IGNORECASE ) ):

giftie this is what i'm using, it support new slides.xml and old format slides.xml. it now allows user to leave the regex's blank to skip them. makes more sense this way.


- GJones - 2010-12-22

Can someone post the naming convention required for the proper use of the sound videos (DTS, etc.)?


- icky - 2010-12-22

new trivia

Image

http://forum.xbmc.org/showpost.php?p=670979&postcount=65


- SlaveUnit - 2010-12-22

GJones Wrote:Can someone post the naming convention required for the proper use of the sound videos (DTS, etc.)?

No naming convention on the files themselves are needed. Just need proper names on the folders they are in. This is from the threads first page.

Image


- chunk1982 - 2010-12-23

may i be as bold as to request 1 feature to be added please
to add a option called countdown and for that to be the VERY LAST THING to be played before the movie starts

many thanks

paul


audio - commoman81 - 2010-12-23

Does anyone have the same issue as i do when i have videos set to play before the film and also slide shows the audio sound goes down way low for the videos i can adjust this and try to keep as default but always goes back to the low db.


- SlaveUnit - 2010-12-23

commoman81 Wrote:Does anyone have the same issue as i do when i have videos set to play before the film and also slide shows the audio sound goes down way low for the videos i can adjust this and try to keep as default but always goes back to the low db.

Hmm I havent had this issue. I know in the old version it always was at 50%. But as far as this new version mine has always stayed to the percentage I have set it to.