Jump to content

Welcome, Guest!

Be a part of CinemaVision today! Once registered and logged in, you will have access to public chat and your own private messenger, you can view and contribute guides, collaborate on the forums, review downloads, give reputation to your fellow members, contribute content and so much more. Registering is quick and completely free, so what are you waiting for?
   Sign In    Sign Up

Become a RedCarpet Club Member Today!

   Join Now
crash3k

Actions while the feature is playing

Recommended Posts

Hi,

first of all:
I'm so happy, that this AddOn is being developed and it works great!!

One feature that I'd really like to see, is the option to specify actions while the feature is running.
For example: In my homecinema, I'm using homeautomation (LIFX-bulbs) to switch the light on and off using scripts.
It would be great to be able to switch the lights back on, when the credits begin to roll
(like in a real cinema) and not only when the feature is finished entirely.

I once had a script, that could trigger ha-actions based on the elapsed time of the movie.
For this script you could create an "chapter.xml" inside of a movie-folder and specify there,
when an action should be executed. For example:

<chapters>
    <chapter mark="5784" title="Credits" trigger="lightsOn.py" />
</chapters>

This would trigger the "lightsOn.py"-script at second 5784 of the movie.

Maybe this could also be a nice addition for horror-movies, when you can set times at which the
lights start to flicker ;)

  • Upvote 1

Share this post


Link to post
Share on other sites
3 hours ago, crash3k said:

Hi,

first of all:
I'm so happy, that this AddOn is being developed and it works great!!

One feature that I'd really like to see, is the option to specify actions while the feature is running.
For example: In my homecinema, I'm using homeautomation (LIFX-bulbs) to switch the light on and off using scripts.
It would be great to be able to switch the lights back on, when the credits begin to roll
(like in a real cinema) and not only when the feature is finished entirely.

I once had a script, that could trigger ha-actions based on the elapsed time of the movie.
For this script you could create an "chapter.xml" inside of a movie-folder and specify there,
when an action should be executed. For example:


<chapters>
    <chapter mark="5784" title="Credits" trigger="lightsOn.py" />
</chapters>

This would trigger the "lightsOn.py"-script at second 5784 of the movie.

Maybe this could also be a nice addition for horror-movies, when you can set times at which the
lights start to flicker ;)

This is actually on our development roadmap. We were thinking of using the Kodi flag for "Last Chapter" to execute the action. It would essentially be the same thing we're doing for our Pause/Resume/Abort actions. We've barely fleshed it out, but once we start looking into round two of development, the forums will be the place to be! Keep an eye out for that.

  • Upvote 1

Share this post


Link to post
Share on other sites

I vote, if possible to speed up this development issue :)

 

Its really annoying that the lights wont turn on untill after the credits.

PS could that HA script mentioned above be used today, to fix this??

Share this post


Link to post
Share on other sites

CinemaVision is working very nicely and I'm very pleased - thanks to all the team for this terrific plugin.

I would like to see actions implemented at specific times during the feature(s) as well - I'm thinking of long films such as Lawrence Of Arabia and Sound of Music that have hard-coded intermissions (or overtures) in the film. Simple lights up and lights down as works already with my Hue lights.

Edit - one feature that would be nice, although it's more of an overall Kodi issue, is audio level normalization. As an example, I like to have a cartoon or a Three Stooges short run before a feature, and they're usually much lower than the main feature(s). If the film starts off loud the audience jumps if the short has been cranked up for intelligibility. If the overall library hasn't been normalized, would an option to automatically set a boost or cut for each file on the program on the fly be something on the radar? 

Edited by VoxMysteron
  • Upvote 1

Share this post


Link to post
Share on other sites
On 11/5/2015, 4:16:08, Rippmaster said:

I vote, if possible to speed up this development issue :)

 

Its really annoying that the lights wont turn on untill after the credits.

PS could that HA script mentioned above be used today, to fix this??

You can throw an action file at the very end of your sequence or after the feature to turn up the lights in your theater, just as a work around until we figure out how to implement this. It's a little complicated because many people, including myself, use files that don't include chapters. We need to figure out how to do it across the board, and not just for people who have created chapters inside of their files.

On 11/6/2015, 7:45:50, VoxMysteron said:

CinemaVision is working very nicely and I'm very pleased - thanks to all the team for this terrific plugin.

I would like to see actions implemented at specific times during the feature(s) as well - I'm thinking of long films such as Lawrence Of Arabia and Sound of Music that have hard-coded intermissions (or overtures) in the film. Simple lights up and lights down as works already with my Hue lights.

Edit - one feature that would be nice, although it's more of an overall Kodi issue, is audio level normalization. As an example, I like to have a cartoon or a Three Stooges short run before a feature, and they're usually much lower than the main feature(s). If the film starts off loud the audience jumps if the short has been cranked up for intelligibility. If the overall library hasn't been normalized, would an option to automatically set a boost or cut for each file on the program on the fly be something on the radar? 

Very glad to hear it! We couldn't do what we're doing without support from you all.

We do have plans to add in the ability to do specific things at specific times during a movie. This was requested a while back and Bollywood was the test case. The current plan is to have calculated markers, like half way or one third as well as an option to input specific time codes to pause the feature, and run a specific set of modules like an intermission and an action file. The feature would then resume after those modules are run.

We do have the option to set the volume for each module currently included, and you can also set the default level across all modules of a type and tweak it from there. A boost option is a good idea, though. I'll run that by our developer. It would have to be done at the module level manually, because I don't think there's a way we can detect the loudness of a video and make decisions based on that volume.

Share this post


Link to post
Share on other sites

First I like to say, that your Addon is the best thing I worked with in Kodi. This addon brings real cinema feeling to my home cinema, great.

Sorry to ask in this old post, but meanwhile is there a way to switch the lights back on, when the credits begin to roll?

If not, is somwhere a beginner tutorial to write a script like crash3k if I use chapters?

I wrote a light_on.cvaction which works great. Can I integrate this .cvaction and activate first in the last chapter when the credits begin to roll?

 

Share this post


Link to post
Share on other sites
15 hours ago, Jens said:

First I like to say, that your Addon is the best thing I worked with in Kodi. This addon brings real cinema feeling to my home cinema, great.

Sorry to ask in this old post, but meanwhile is there a way to switch the lights back on, when the credits begin to roll?

If not, is somwhere a beginner tutorial to write a script like crash3k if I use chapters?

I wrote a light_on.cvaction which works great. Can I integrate this .cvaction and activate first in the last chapter when the credits begin to roll?

Thanks for the kind words! Currently, there's not a reliable way to detect credits rolling, though we do have ideas for how to get that working. It's one of the top items on our to-do list. @crash3k was giving an example of how he thought we could accomplish what he was asking for. That functionality is not yet built into CinemaVision, so you'd be writing a script from the ground up to make that happen, unfortunately. When we deploy the last chapter feature, it will live in the CinemaVision settings with the other settings for running Actions on Kodi events. It will likely require you to add chapters to your media if they don't exist already. We haven't yet outlined how the feature could work, but we're getting closer.

Share this post


Link to post
Share on other sites

Hello!

first of all, CinemaVision is absolutely awesome!

and second, are there any changes yet? It would be the last feature I’d wish for CV, everything else works just perfect. 

 

Greetings 

Dome

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Guidelines and Terms of Use.