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
FrankMueller

Start CinemaVision Sequence via Kodi RPC API

Question

Hi all,

I am trying to start a Cinemavision sequence via the Kodi RPC API. The only thing I can manage is to get to the CinemaVision home screen by using the following JSON RPC message:

{
  method: 'Addons.ExecuteAddon',
   params: {
    addonid: 'script.cinemavision',
    params: [
      ''
    ]
  }
}

 

I wonder what the supported values for the key "params" are. I could not find any documentation on that. My goal is to pass along the name of a preshow sequence and to start the preshow according to the given value.

--> Is there a description on the supported values for the key "params" for CinemaVision?

--> Is it possible to trigger the playback of any sequence (a specific one, or just a default one) via the Kodi JSON RPC API?

Best regards,

Frank.

  • Upvote 1

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0

Hi Ragnarok,

Thanks for your answer. Good to know that this API exists, so when I do everything right it should work. So far I did not succeed. :-/ When I use the example from the link (I changed the sequence name to the one that is actually available in my enviroment) the sequence editor comes up, but playback of the Sequence does not start.

Is it supposed to work to sart the playback of the sequence with that API call, or did I get this feature wrong and it just starts the sequence in the editor? What does the id key refer to?

{ jsonrpc: '2.0',
  method: 'Addons.ExecuteAddon',
  params: { addonid: 'script.cinemavision', params: [ 'adult' ] },
  id: '1' }

Best regards,
Frank.

Share this post


Link to post
Share on other sites
  • 0

I realize this is an old post, but is there anyone to choose a sequence with the json cmd? I'm able to run the default sequence but I want to choose a different sequence.

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

About Us

CinemaVision began in 2014 as a collaboration to create content for use with your home theater, offering movie trivia slides and video bumpers. It has since grown to be THE PREMIER WAY to create and customize your preshow experience. Download the CinemaVision add-on for Kodi today from the official Kodi repository, and easily create a sequence of trivia, videos, trailers, home automation triggers and more that will bring the experience of a movie theater straight to your screen!

×
×
  • Create New...

Important Information

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