blob: 516c22e85e6268f00571f2e4682d6d738beaaba1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
#!/bin/sh
#
# epg2taste.sh - v.0.1
#
# add this line to your epgsearchcmds.conf:
# folgende zeile in die epgsearchcmds.conf eintragen:
#
# epg2taste : /usr/local/bin/epg2taste.sh
# CONFIG START
TASTE_FILE="/etc/vdr/plugins/taste.conf"
SVDRPSEND=svdrpsend
# default taste settings
REGULAR_EXPRESSION=0 # Regular Expression / Regulärer Ausdruck
IGNORE_CASE=0 # Ignore Case / Groß/Kleinschreibung ignorieren
# CONFIG END
# add taste
echo "${REGULAR_EXPRESSION}:${IGNORE_CASE}:${1}" >> "${TASTE_FILE}"
echo "Done..."
# jump back
at now <<EOF
perl -l -e "printf \"\n$SVDRPSEND HITK BACK\" x 2" | sh
EOF
|