summaryrefslogtreecommitdiff
path: root/camresponses.conf
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2017-06-10 11:53:39 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2017-06-10 11:53:39 +0200
commit360d8fe6b1faeea134f7a18d45ebbe69fd685be6 (patch)
treee8ebcdc420f2e40db0dfde43ea0ce9c3e44031f8 /camresponses.conf
parent93102b45e09ac75bb390aa58b0a94c63f0da0091 (diff)
downloadvdr-360d8fe6b1faeea134f7a18d45ebbe69fd685be6.tar.gz
vdr-360d8fe6b1faeea134f7a18d45ebbe69fd685be6.tar.bz2
Implemented CAM auto responses
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