Announcement

Collapse
No announcement yet.

ExecuteAddon Parms?

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • ExecuteAddon Parms?

    I'm trying to trigger an addon from an event but I can't seem to get it work with parms?
    The RunPlugin string is:
    XBMC.RunPlugin(plugin://plugin.video.surveillanceroom?action=show_preview&camera_num ber=1)

    I'm trying:
    Addon Id = plugin.video.surveillanceroom
    Paramaters: {"action": "show_preview", "camera_number"="1"}

    Whenever I add any parameters Kodi doesn't appear to receive the command at all (at least not in the Kodi debug logs). I tried turning on the plugin debug logs, but i'm not seeing any additional messages.

  • #2
    Did you try:

    Parameters: {"action" : "show_preview", "camera_number" : 1}

    Comment


    • #3
      Originally posted by spud View Post
      Did you try:

      Parameters: {"action" : "show_preview", "camera_number" : 1}
      Wow, my bad. I didn't even notice the =.

      with : "1" it works, acting abit weird bringing up other menus but I believe that's the kodi addon.

      Comment

      Working...
      X