Playtimer.sh
Aus VDR Wiki
(Unterschied zwischen Versionen)
(at != screen) |
(M) |
||
Zeile 14: | Zeile 14: | ||
# Play timer : /path_to_this_scriptplaytimer.sh | # Play timer : /path_to_this_scriptplaytimer.sh | ||
− | screen - | + | screen -dm sh -c " \ |
if [ \"$8\" -gt 0 ] ; then \ | if [ \"$8\" -gt 0 ] ; then \ | ||
svdrpsend.pl -p ${VDR_PORT:-2001} LSTR ; \ | svdrpsend.pl -p ${VDR_PORT:-2001} LSTR ; \ |
Aktuelle Version vom 12. Juni 2006, 09:04 Uhr
Skript für den timercmds-patch.
$PATH/playtimer.sh
#!/bin/sh # # playtimer.sh # # source: http://vdrportal.de/board/thread.php?threadid=33778 # # add this line to your $VDRCONFIG/timercmds.conf: # folgende zeile in die $VDRCONFIG/timercmds.conf eintragen: # # Play timer : /path_to_this_scriptplaytimer.sh screen -dm sh -c " \ if [ \"$8\" -gt 0 ] ; then \ svdrpsend.pl -p ${VDR_PORT:-2001} LSTR ; \ svdrpsend.pl -p ${VDR_PORT:-2001} PLAY \"$8\" ; \ else \ svdrpsend.pl -p ${VDR_PORT:-2001} MESG "$"Error while accesing recording"" ... ; \ fi ; \ "