Kodi Community Forum

Full Version: Direct Quick Record Command?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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=Key...ml#Actions

But I can't find anything for PVR functions.
The ButtonTranslator.cpp doesn't show anything either, just channel up / down and channel grouping toggles.

https://github.com/xbmc/xbmc/blob/master...slator.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.
Put following command to your keyboard.xml or remote.xml:

<record>PlayerControl(Record)</record>

This will start Instant-Recording

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