Release Surveillance Room - Your IP Camera Companion with extra Foscam HD Support
(2016-04-07, 16:47)henrik4223 Wrote: Maybe I am slow but I really dont know how to make a script for Kodi - I would very muck like tu use the below command every time my doorbell rings via eventghost but I dont know how to make the script or how to make it run - Anyone? Blush

<green>XBMC.RunPlugin(plugin://plugin.video.surveillanceroom?action=show_preview&camera_number=1)</green>

http://kodi.wiki/view/HOW-TO:Configure_E..._(Windows)
Make an xml file keyboard.xml and drop it in .kodi/userdata/keymaps
In the file, do this replacing <green> with whatever you have mapped as a button command for eventghost to trigger. For instance, you can use <g> as the G button command for default key press which is not defined in Kodi or blank. Unless you map some other way via remote or program permissions.

<keymap>
<global>
<keyboard>
<green>XBMC.RunPlugin(plugin://plugin.video.surveillanceroom?action=show_preview&camera_number=1)</green>
</keyboard>
</global>
<FullScreenVideo>
<keyboard>
<green>XBMC.RunPlugin(plugin://plugin.video.surveillanceroom?action=show_preview&camera_number=1)</green>
</keyboard>
</FullScreenVideo>
</keymap>



Here's a keymap reference: http://kodi.wiki/view/Keyboard_controls
Reply


Messages In This Thread
RE: Surveillance Room - Your IP Camera Companion with extra Foscam HD Support - by McButton - 2016-04-10, 00:01
All Cameras - by zaxcom - 2016-08-25, 03:17
Axis M211 - by OnkelKraecker - 2017-03-08, 13:36
RE: Axis M211 - by jinux - 2017-03-08, 14:43
Axis M 211 - by OnkelKraecker - 2017-10-13, 12:57
RE: Axis M 211 - by maikito26 - 2018-01-24, 15:00
Logout Mark Read Team Forum Stats Members Help
Surveillance Room - Your IP Camera Companion with extra Foscam HD Support7