Playtimer.sh

Aus VDR Wiki
Wechseln zu: Navigation, Suche

Script für den timercmds-patch.

Datei
$PATH/playtimer.sh
#!/bin/sh
#
# playtimer.sh
#
# source: http://vdrportal.de/board/thread.php?threadid=33778

PATH=$PREFIX/bin:$PREFIX/sbin:$PATH

at now <<EOT
svdrpsend.pl LSTR >/dev/null
if [ "$8" -gt 0 ] ; then
    svdrpsend.pl PLAY $8 >/dev/null
else
    svdrpsend.pl MESG "Keine Aufzeichnung gefunden..." >/dev/null
fi
EOT