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
  • 0
lilomaster

Kodi commands through action scripts

Question

Is it possible to trigger specific Kodi commands through action scripts?

I specifically want to turn off the 3D interface when start playing trailers and turn it on again after the trailers are done, this is because my projector takes 5 to 10 seconds in showing the picture everytime I pass from 3D mode to 2D mode and vicersa. If I use the embedded function to turn off 3D everytime a clip ends, it will turn off the 3D and then turn it on everytime a video bumper ends. If I keep 3D permanently on during the whole sequence, trailers look overlapped, since Kodi plays them as if they were SBS files. Rather, O prefer to control when the overall 3D in Kodi turns on and off with specific commands (or actions) in specific points of a sequence. My projector automatically enters into 3D model when Kodi enters into 3D mode.

Thanks in advance 

Share this post


Link to post
Share on other sites

7 answers to this question

Recommended Posts

  • 0

Hello @lilomaster.  I'm confused.  If your projector automatically enters 3D mode when KODI enters 3D mode, can't you just run 2D trailers until the 3D feature starts?  I don't run 3D on my KODI, so maybe I don't understand how it works.

Does KODI enter 3D mode regardless of how you have your CV configured when you start the sequence?

Share this post


Link to post
Share on other sites
  • 0

Ok, let me explain. Kodi enters in 3D mode whenever it plays 3D media, detected according to the Kodi tagging convention for 3D media. I have a full 3D sequence, with a safety intro in 3D, trailer intros in 3D, audio bumpers in fake 3D (I made them for the projector not to switch between 3D and 2D mode when playing the audio bumper), etc, everything is in 3D when playing a 3D movie. But trailers are not produced in 3D anymore, then I will necessarily have to switch into 2D mode, with the corresponding lag in my projector for switching between 3D to 2D and then back to 3D again (unfortunately, I cannot fix that, unless I manage to download trailers in 3D and put them in a separate folder, but the idea is to play current movie trailers). If I turn the "switch 3D off when stops playing" feature in Kodi, it will turn the 3D mode off everytime a video bumper, movie, or whatever it is playing in 3D stops, regardless the next bumper is also in 3D. This introduces double lag in my projector: when switching from 3D to 2D, and when switching back into 3D mode when the next bumper starts. In order to minimize this, given the full sequence is in 3D, but the trailers which are played from themoviedb or iTunes, I want to keep the 3D on all the time, but I want to introduce a specific commands after the 3D trailer intros and after the last trailer is played to turn 3D off and on, accordingly. If I keep 3D mode on all the time, trailers are not well displayed, because Kodi (and the projector) takes the left half of the screen as if it were the image for the left eye and the right side as I it were the image for the right eye, creating the frame sequence effect for the active shutters to work (in simple, they are not displayed properly).

I don't know if it is more clear now.

Share this post


Link to post
Share on other sites
  • 0

Yup, that's more clear.  I guess it depends on if your projector has networking capability.  You should be able create an action module between the 3D bumper and the 2D trailers to change it into 2D mode.  You can then have another action module after the trailers module to turn 3D back on.

Understanding CinemaVision Actions - CinemaVision

Share this post


Link to post
Share on other sites
  • 0

Understand. Unfortunately, it has no networking capabilities, that is why I wandered if I could indirectly control the projector switching between 2D and 3D mode by controlling Kodi switching between 2D and 3D mode, and the projector just "follows the lead".

Share this post


Link to post
Share on other sites
  • 0

It sounds like your running into a similar situation that the scope screen users did with their projectors having to change and it blanking out.  The only thing I could suggest is to either run 3D previews or run the entire sequence 2D until your feature module.

Share this post


Link to post
Share on other sites
  • 0

I found another script in thi forum wich turns on and off the refresh frequency feature in Kodi. I want to give it a try, because the lag problem is very much relates to frequency change. If I change the commands in that script, I think I could be able to control turning the 3D feature on and off.

  • Like 1

Share this post


Link to post
Share on other sites
  • 0

Ok. I made my preliminary tests and it works like a charm. I used the script I found in the thread below, but I modified the command parameters to switch between stereoscopic 3D mode off and stereoscopic 3D mode SBS, this way I can control exactly when I want the projector to switch between 2D and 3D modes. I can also modify this script for TAB movies, introducing a script to switch into 3D TAB mode immediately before the feature presentation. 

 

 

  • Like 1

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
Answer this question...

×   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.