Kodi Community Forum
Direct Quick Record Command? - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: PVR & Live TV Support (https://forum.kodi.tv/forumdisplay.php?fid=167)
+--- Thread: Direct Quick Record Command? (/showthread.php?tid=157411)



Direct Quick Record Command? - BuddyRich - 2013-02-24

Is there a direct "record" action that can be mapped to a specific keyboard button via keymap.xml. Similar to hitting Record on the OSD for quick on the fly recording?

I am not sure if this is the latest list:

http://wiki.xbmc.org/index.php?title=Keyboard.xml#Actions

But I can't find anything for PVR functions.


RE: Direct Quick Record Command? - BuddyRich - 2013-02-24

The ButtonTranslator.cpp doesn't show anything either, just channel up / down and channel grouping toggles.

https://github.com/xbmc/xbmc/blob/master/xbmc/input/ButtonTranslator.cpp

Any plans to add a direct action?

Could the same thing be achived via a scripting command like:

SendClick(windowid,id)

I'd just need the window id for the OSD and the ID for the record button on it.


RE: Direct Quick Record Command? - Nachteule - 2013-02-25

Put following command to your keyboard.xml or remote.xml:

<record>PlayerControl(Record)</record>

This will start Instant-Recording

hth Nachteule


RE: Direct Quick Record Command? - BuddyRich - 2013-02-25

My remote sends keypresses rather than native MCE commands so this is what I used, but the command was bang on.

<r mod="ctrl">PlayerControl(Record)</r>

Thanks for the help.