markimark Wrote:Hi giftie,
thanks for the info. I am moving forward to fix the situation to keep the "old" performance as best as I can.
I don´t like the download trailer thing so much because of the trivia it will need and it would be still unsure if the trivia always is enough to cover the download time.
Quote:I set up my personal intro plus a feature presentation that is linked to a trailer folder to random chose 2 trailers from.
Quote:What I would like to ask you is, do know a good way for me to download those trailers in a format your script can use? I have no clou at all where and how to get those trailers from. Can you help me?
Quote:Cheers.
aussieburger Wrote:Wish I knew how I managed to get it working again exactly to help everyone out. My latest theory on what might have fixed it for me, if someone wanted to try, was pressing the 'Defaults' button in the cinema movie experience settings then configuring it all again from scratch, then restarting XBMC.
My guess why this might work is some of the newer cinema experience settings not being set properly with the normal update so by setting back to default they are set correctly?
Almost wish mine wasn't working again so I could figure it out (I've done a lot of software bug testing for work, so disapointed I couldn't figure out the exact way to fix ...)
EDIT: actually I did manage to break it again somehow by looking into the Cimena Experience settings. So I tried what I wrote above and it worked again! (the restart of XBMC being needed, it did not work when I tried without the restart).
PS: I'm using the confluence skin with a custom Cinema Experience button in the movie info - no trivia, one random intro movie vid, one coming soon vid, two streamed trailers from apple (newest), no ratings vid, one feature presentation vid, one random audio vid, all other settings defaults
def activate_on( trigger = "None" ):
"""
Scripting to trigger almost anything(HA, other scripts, etc...) when videos start.
Usage:
activate_on( "Movie" )
will trigger code that is set under the Movie heading.
"""
if trigger == "None":
xbmc.output( "[script.cinema.experience] - [ home_automation.py ] - No Trigger Sent, Returning", level=xbmc.LOGNOTICE )
return
xbmc.output( "[script.cinema.experience] - [ home_automation.py ] - activate_on( %s ) Triggered" % trigger, level=xbmc.LOGNOTICE )
# 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
# Trivia Intro
# 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>)" )
aptalca Wrote:Oh wow, this is amazing,
I downloaded your modified py file, dropped it in, it's beautiful :-)
One bug I noticed is (please don't hate me), if I skip the trivia halfway by pressing backspace, the trailers start, but the event is not broadcast. (No biggie, I could probably add a little video as a trailer intro, that way the broadcast for the intro gets ignored, but the trailer event is broadcast, but I thought you should know)
Now I can do some serious automation. . .
loggio Wrote:events working a treat in eventghost!! thanks for looking into this giftie :-)
The Event:
XBMC-Event.<b>CE_Automate<li>script_start</b>
Is triggering twice for me. Is this happening for anyone else also?
drdeath691 Wrote:I use Metabrowser to scrape my move information and it has a nicely built in trailer download function. The problem is that I can name the movie *-trailer but the folder name remains the default name of the movie. How hard would it be to have the the script search nested folders for trailers. I'll in turn ask the coder of metabrowser about adding an option to rename the folder *-trailer.
Thanks
serafim Wrote:Hello.
The countdown video is starting before Audio(DTS,...). According to the first page post, it should be the opposite.
Can you please take a look?
Using Aeon MQ2