summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/convert_epgsearchdone_data.pl2
-rwxr-xr-xscripts/epg2autotimer.sh3
-rwxr-xr-xscripts/epg2taste.sh3
-rwxr-xr-xscripts/mtdone2epgsearchdone.sh4
-rwxr-xr-xscripts/recordingdone.sh4
-rwxr-xr-xscripts/recrep.sh2
-rwxr-xr-xscripts/rememberevent.sh9
-rwxr-xr-xscripts/timerrep.sh4
-rwxr-xr-xscripts/undoneepgsearch.sh2
9 files changed, 18 insertions, 15 deletions
diff --git a/scripts/convert_epgsearchdone_data.pl b/scripts/convert_epgsearchdone_data.pl
index 719b456..25c7607 100755
--- a/scripts/convert_epgsearchdone_data.pl
+++ b/scripts/convert_epgsearchdone_data.pl
@@ -18,7 +18,7 @@
#
# z.B. convert_epgsearchdone_data.pl /etc/vdr/plugins/
#
-# "svdrpsend.pl plug epgsearch updd" nicht vergesssen.
+# "svdrpsend plug epgsearch updd" nicht vergesssen.
#
# Backup erstellen?
#
diff --git a/scripts/epg2autotimer.sh b/scripts/epg2autotimer.sh
index dd07879..524720b 100755
--- a/scripts/epg2autotimer.sh
+++ b/scripts/epg2autotimer.sh
@@ -11,6 +11,7 @@
# CONFIG START
AUTOTIMER_FILE="$SOURCEDIR/vdradmin/vdradmind.at"
+ SVDRPSEND=/usr/local/bin/svdrpsend
# default autotimer settings
STATUS=1 # 0 = inactive (by default) / 1 = active
@@ -27,6 +28,6 @@ echo "Done..."
# jump back
at now <<EOF
-perl -l -e "printf \"\n/usr/local/bin/svdrpsend.pl HITK BACK\" x 2" | sh
+perl -l -e "printf \"\n$SVDRPSEND HITK BACK\" x 2" | sh
EOF
diff --git a/scripts/epg2taste.sh b/scripts/epg2taste.sh
index 0a6f9e7..575b2c3 100755
--- a/scripts/epg2taste.sh
+++ b/scripts/epg2taste.sh
@@ -9,6 +9,7 @@
# CONFIG START
TASTE_FILE="/etc/vdr/plugins/taste.conf"
+ SVDRPSEND=/usr/local/bin/svdrpsend
# default taste settings
REGULAR_EXPRESSION=0 # Regular Expression / Regulärer Ausdruck
@@ -21,6 +22,6 @@ echo "Done..."
# jump back
at now <<EOF
-perl -l -e "printf \"\n/usr/local/bin/svdrpsend.pl HITK BACK\" x 2" | sh
+perl -l -e "printf \"\n$SVDRPSEND HITK BACK\" x 2" | sh
EOF
diff --git a/scripts/mtdone2epgsearchdone.sh b/scripts/mtdone2epgsearchdone.sh
index 52d9062..00d7ecb 100755
--- a/scripts/mtdone2epgsearchdone.sh
+++ b/scripts/mtdone2epgsearchdone.sh
@@ -22,8 +22,8 @@ ASK_SID=no
# What S-ID should be used if no other selected
DEFAULT_SID=0
-# adjust the following lines to your path to svdrpsend.pl
-SVDRPSEND=/usr/local/bin/svdrpsend.pl
+# adjust the following lines to your path to svdrpsend
+SVDRPSEND=/usr/local/bin/svdrpsend
# Home of EPGsearch
EPGSEARCH_HOME="/etc/vdr/plugins"
diff --git a/scripts/recordingdone.sh b/scripts/recordingdone.sh
index a176841..ce88509 100755
--- a/scripts/recordingdone.sh
+++ b/scripts/recordingdone.sh
@@ -56,8 +56,8 @@ DEFAULT_SID=-1
# Use the recording-dir's ctime as recording time?
CTIME_FROM_RECORDING=yes
-# adjust the following lines to your path to svdrpsend.pl
-SVDRPSEND=/usr/local/bin/svdrpsend.pl
+# adjust the following lines to your path to svdrpsend
+SVDRPSEND=/usr/local/bin/svdrpsend
# Home of EPGsearch
EPGSEARCH_HOME="/etc/vdr/plugins"
diff --git a/scripts/recrep.sh b/scripts/recrep.sh
index 597d4b2..cb57404 100755
--- a/scripts/recrep.sh
+++ b/scripts/recrep.sh
@@ -16,7 +16,7 @@
# your plugins config dir
PLUGINCONFDIR=/var/lib/vdr/plugins/epgsearch
-# path to svdrpsend.pl
+# path to svdrpsend
SVDRPSEND=svdrpsend
# the key used to call epgsearch
EPGSEARCHKEY=green
diff --git a/scripts/rememberevent.sh b/scripts/rememberevent.sh
index 9babc74..369ceed 100755
--- a/scripts/rememberevent.sh
+++ b/scripts/rememberevent.sh
@@ -14,6 +14,7 @@
# CONFIG START
ATD_SPOOL=/var/spool/atjobs
+ SVDRPSEND=svdrpsend
# default settings
MINSBEFORE=1 # minutes before event for announcement
@@ -36,16 +37,16 @@ case $1 in
secs=$(($3-$MINSBEFORE*60))
secs_now=`date +%s`
if [ $secs -le $secs_now ]; then
- echo "svdrpsend.pl MESG '$2 already runs!' >/dev/null" | at now
+ echo "$SVDRPSEND MESG '$2 already runs!' >/dev/null" | at now
else
if [ -z "$(find $ATD_SPOOL -exec grep -qs "^$entry$" \{} \; -exec rm -v \{} \;)" ]; then
at $(date -d "1970-01-01 $FORMAT $secs seconds" +"%H:%M %m/%d/%Y") <<EOT
- svdrpsend.pl MESG '${switch_time#* }: $2' >/dev/null
+ $SVDRPSEND MESG '${switch_time#* }: $2' >/dev/null
sleep $(($MINSBEFORE*60))s
if [ $1 -eq 1 ] ; then
- svdrpsend.pl CHAN $5 >/dev/null
+ $SVDRPSEND CHAN $5 >/dev/null
else
- svdrpsend.pl MESG '$2 starts!' >/dev/null
+ $SVDRPSEND MESG '$2 starts!' >/dev/null
fi
$entry
EOT
diff --git a/scripts/timerrep.sh b/scripts/timerrep.sh
index d00ea1c..691e279 100755
--- a/scripts/timerrep.sh
+++ b/scripts/timerrep.sh
@@ -15,8 +15,8 @@
# adjust the following lines to your config
# your plugins config dir
PLUGINCONFDIR=/etc/vdr/plugins/epgsearch
-# path to svdrpsend.pl
-SVDRPSEND=/usr/local/src/VDR/svdrpsend.pl
+# path to svdrpsend
+SVDRPSEND=/usr/local/src/VDR/svdrpsend
# if you are using special subfolders for some recordings, please add them here
FOLDERS="Comedy,Wissen,Serien,Magazine"
# the key used to call epgsearch
diff --git a/scripts/undoneepgsearch.sh b/scripts/undoneepgsearch.sh
index 8716ec8..98cdbbc 100755
--- a/scripts/undoneepgsearch.sh
+++ b/scripts/undoneepgsearch.sh
@@ -32,7 +32,7 @@ EPGSEARCHDONE_FILE="/etc/vdr/plugins/epgsearch/epgsearchdone.data"
# Backup epgsearchdone.data before changing it (only once a day)
BACKUP=yes
-SVDRPSEND=svdrpsend.pl
+SVDRPSEND=svdrpsend
# For some debugging infos, set to yes
DEBUG=no