Direct Quick Record Command?
#1
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.
Reply
#2
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.
Reply
#3
Put following command to your keyboard.xml or remote.xml:

<record>PlayerControl(Record)</record>

This will start Instant-Recording

hth Nachteule
Kodi 18.6 @ openSUSE 13.1 x86_64 - Asus E35M1-I DELUXE | 8GB Ram | 240G 2.5" SSD
Kodi 20.2 on 1st Raspberry Pi B @ XBian | Kodi 20.2 on Raspberry Pi 3B+ @ XBian | Kodi 21a2 on Raspberry Pi4B @ XBian | Kodi 19.0 on SolidRun i.MX6 @ XBian
VDR 2.4.5 & Tvheadend4.3-1917 (for recording) on Cubieboard2 @ Debian Buster
Reply
#4
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.
Reply

Logout Mark Read Team Forum Stats Members Help
Direct Quick Record Command?0