summaryrefslogtreecommitdiff
path: root/camresponses.conf
diff options
context:
space:
mode:
Diffstat (limited to 'camresponses.conf')
-rw-r--r--camresponses.conf29
1 files changed, 29 insertions, 0 deletions
diff --git a/camresponses.conf b/camresponses.conf
new file mode 100644
index 00000000..f3cc56df
--- /dev/null
+++ b/camresponses.conf
@@ -0,0 +1,29 @@
+# CAM responses for VDR
+#
+# Format:
+#
+# nr text action
+#
+# nr: the number of the CAM this action applies to (0 = all CAMs)
+# text: the text in the CAM menu to react on (must be quoted with '"' if it contains
+# blanks, escape '"' with '\')
+# action: the action to take if the given text is encountered
+#
+# Possible actions are:
+#
+# - DISCARD: simply discard the menu (equivalent to pressing 'Back' on the RC)
+# - CONFIRM: confirm the menu (equivalent to pressing 'OK' without selecting a
+# particular item)
+# - SELECT: select the menu item containing the text (equivalent to positioning
+# the cursor on the item and pressing 'OK')
+# - <number>: the given number is sent to the CAM as if it were typed in by the user
+# (provided this is an input field).
+#
+# Note that the text given in a rule must match exactly, including any leading or
+# trailing blanks. If in doubt, you can get the exact text from the log file.
+# Action keywords are case insensitive.
+#
+# Examples:
+
+# * "Hello! This is your annoying \"nag\" message!" DISCARD
+# 3 "Please enter your PIN" 1234