Kodi Community Forum

Full Version: [RELEASE] Cinema Experience - the new Home Theater Experience Script
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Code:
#if ( slidesxml_exists and mpaa_ratings.get( self.mpaa, -1 ) < mpaa_ratings.get( mpaa, -1 ) ):
            #    print "skipping whole folder", path
            #    continue

change those lines in xbmcscript_player.py. i'll get with giftie as i handle that differently now. commenting out those lines will eliminate the mpaa rating restriction.

about mpaa and bbfc ratings they are handled properly in the new version, so i'll get with giftie on that also.
actually if your slides.xml looks like this it does work, i changed the format in the new version. so make sure you have exactly like this except for the regex's

rating does need to be there

Quote:
<slides>
<slide rating="R">
<question format="[0-9]+Q.jpg" />
<clue format="N/A" />
<answer format="[0-9]+A.jpg" />
</slide>
</slides>
Nuka1195 Wrote:
Code:
#if ( slidesxml_exists and mpaa_ratings.get( self.mpaa, -1 ) < mpaa_ratings.get( mpaa, -1 ) ):
            #    print "skipping whole folder", path
            #    continue

change those lines in xbmcscript_player.py. i'll get with giftie as i handle that differently now. commenting out those lines will eliminate the mpaa rating restriction.

about mpaa and bbfc ratings they are handled properly in the new version, so i'll get with giftie on that also.

I found the lines in xbmcscript_trivia.py not player, any ways made the changes relaunched XBMC and QA still didn't work. I went into the config and tried switching the MPAA toggle there. Not sure if that would make a difference, both ways nothing comes up. I also tried the syntax a few different ways in the slides.xml
reread my previous posts i edited them, but it does work and yes it was trivia.py, but commenting those line out should have fixed it.
Nuka1195 Wrote:reread my previous posts i edited them, but it does work and yes it was trivia.py, but commenting those line out should have fixed it.

n/m it works now, not sure why lol. GREAT fix here, this addon's almost 100% working now, you're awesome.
giftie Wrote:[Skins that have built-in integration:

Transparency! - http://forum.xbmc.org/showthread.php?tid=82435 http://forum.xbmc.org/showthread.php?tid=83643
Night - http://forum.xbmc.org/showthread.php?tid=82628
The Carmichael - http://forum.xbmc.org/showthread.php?tid=84970
Neon - http://forum.xbmc.org/showthread.php?tid=83337
Night Purity - http://forum.xbmc.org/showthread.php?tid=86753
Alaska Revisited - http://forum.xbmc.org/showthread.php?tid=87399

Any others, please post so I can add to this message]

BackRow also supports Home Theater (oops Home Cinema) experience.

THis is one of my favorite scripts and love to see it under Dharma.
Ok.. I finally fixed my streaming problems, now I feel safe making changes to the script....
in my Aeon is the button cinema can't get it to work,
under programms it works fine, before a movie nothing, goes right back to the movie library.

so i guess i need to change the button in xml, and did any one do this already in aeon 65

I would love to get this working under dharma rc2
sorry I posted on the hte as well, not knowing about this thread, but here's the link:
http://forum.xbmc.org/showpost.php?p=665...tcount=875
Nuka1195 Wrote:
Code:
#if ( slidesxml_exists and mpaa_ratings.get( self.mpaa, -1 ) < mpaa_ratings.get( mpaa, -1 ) ):
            #    print "skipping whole folder", path
            #    continue

change those lines in xbmcscript_player.py. i'll get with giftie as i handle that differently now. commenting out those lines will eliminate the mpaa rating restriction.

about mpaa and bbfc ratings they are handled properly in the new version, so i'll get with giftie on that also.

giftie,
I'm guessing that these fixes are not in 1.0.2 correct?
Also you might want to update the graphic in post #4 to show the slides.xml files. Great job so far on keeping everything in tact and organized.
SlaveUnit Wrote:Anyone happen to add the button within Aeon MQ2?
Assuming you have the Home Cinema Experience script installed you can find this in the DialogVideoInfo.xml under your user folder ( C:\Users\*****\AppData\Roaming\XBMC\addons\skin.aeonmq-2\720p)
Code:
    <item id="6">
        <label>314122</label>
        <visible>Container.Content(movies)</visible>
        <onclick>Playlist.Clear</onclick>
        <onclick>Dialog.Close(MovieInformation)</onclick>
        <onclick>RunScript(special://home/scripts/Home Theater Experience/default.py)</onclick>
    </item>
and change it to
Code:
    <item id="6">
        <label>Cinema</label>
        <visible>Container.Content(movies)</visible>
        <onclick>Playlist.Clear</onclick>
        <onclick>Dialog.Close(MovieInformation)</onclick>
        <onclick>RunScript(special://home/addons/script.cinema.experience/addon.py)</onclick>
                </item>
Now when you go into the info screen of the movie you will now have a Cinema button that will launch the HCE and movie

Also what size and format does a new HCE icon need to be?
Wow! It was already there in a sense. Not sure how I missed that when looking through the file. Thanks Haro!

Im going to copy this into the Aeon MQ2 thread as well.

EDIT: Looks like you already posted in there Smile
Nope, I was under the impression that it still worked if the ratings were turned off, but to think about right now(and looking at the settings) MPAA I believe is always turn on(ie -- is still a level to the script.) If needed I can add the 'bypass' until Nuka and I can improve the handling of the ratings(I think I want to follow what he has done with the new version).

My goal tonight is to try to finish off the trivia/slides folder flow, along with the proper slide.xml examples.

SlaveUnit Wrote:giftie,
I'm guessing that these fixes are not in 1.0.2 correct?
Also you might want to update the graphic in post #4 to show the slides.xml files. Great job so far on keeping everything in tact and organized.
SlaveUnit Wrote:Image

Who complained about the other one? Although I have seen it out there before.

I saw this when I did a quick search and thought it would make a decent fanart(which it now is)
So, an idea occurred to me today for a possible feature of this script. I don't know if any of you now working on the script plan to do much more than get it working and then maintain it, but if so, this may be a worthwhile addition.

What if, as an additional option for those who have limited or no trivia slides of their own, the script could scrape random trivia from IMDB and display that? It wouldn't be question and answer, but they have a lot of interesting tidbits there. See here for an example: http://www.imdb.com/title/tt0137523/trivia

If we could just scrape those randomly, then display them over a default trivia background, that would be pretty neat.

Perhaps it would be possible for it to limit the trivia to the top 1000 most popular movies or so. Also, if we looked around, who knows, maybe we could find a good question/answer site for movie trivia to scrape from as well.

Anywho, great job so far guys. I'm very glad to see this script isn't dying.