Infosatepg.sh

Aus VDR Wiki
(Unterschied zwischen Versionen)
Wechseln zu: Navigation, Suche
Zeile 8: Zeile 8:
 
  # Run infosatepg : /usr/local/bin/infosatepg.sh
 
  # Run infosatepg : /usr/local/bin/infosatepg.sh
 
  #
 
  #
  # Edit the hoerzu2vdr.conf:
+
  # Edit the config.pl:
 
  #
 
  #
  # - TvUrlinfosat = /vdr/infosatepg-0.0.2/received_data/infosat_#DAY#_#MONTH#;
+
  # - our $infosaturl="/video/received_data";
  # + TvUrlinfosat = /tmp/received_data/infosat_#DAY#_#MONTH#;
+
  # + our $infosaturl="/tmp/received_data";
 
   
 
   
 
  # CONFIG START
 
  # CONFIG START

Version vom 6. Januar 2005, 10:53 Uhr

#!/bin/sh
#
# infosatepg.sh - v.0.1
#
# add this line to your commands.conf:
# folgende zeile in die commands.conf eintragen:
#
# Run infosatepg : /usr/local/bin/infosatepg.sh
#
# Edit the config.pl:
#
# - our $infosaturl="/video/received_data";
# + our $infosaturl="/tmp/received_data";

# CONFIG START
  INFOSAT_OPT="-c VIVA"            # Options
  INFOSAT_OUT="/tmp/received_data" # Store infosatepg in...
# CONFIG END

PATH=$PATH:/usr/local/bin

test "$(ps axc|awk "{if (\$5==\"infosatepg\") print \$1}")" && {
    echo 'infosatepg is always running ?'
    exit 1
}

mkdir -p "${INFOSAT_OUT}"

at now <<EOF
infosatepg ${INFOSAT_OPT} -o "${INFOSAT_OUT}"
EOF