Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > a3a2541c069c6e4cb551fc63e4f3006e > files > 31

xdtv-2.4.0-7mdv2009.0.i586.rpm

xdtv_record.sh will help you schedule records with xdtv.

You can schedule "one-time" records (tonight, 21h00) or periodical records
(every sunday at 16h00).

In order to use it properly, you have to have bash2 installed on your linux box.
For different functions, you'll also need:
  grep crontab ls wc awk cut basename cat sed amixer killall xdtv sleep mv sudo /sbin/shutdown at chmod

The presence of these utilities is tested at startup.

At least, if you want to shutdown your computer after recording, you need to
install and setup sudo properly. Here's what to do in order to set it up :
  visudo
  Add a line like:
        
        user ALL=(ALL) PASSWD: ALL, NOPASSWD: /path/to/shutdown
  
  (usually /sbin/shutdown - replace 'user' with your username)
  Save and exit

We use shutdown becauseit's more portable than 'halt'.

Limits:
  - You cannot have another xdtv running when a scheduled recording starts
    (it will be killed).
  - You must have an active X-Window session (you must be logged in X-Window)
    or you'll have to use xhost or xauth (see manpages) in order to allow at
    to launch xdtv on your display (even with xdm, gdm, kdm, wdm or
    others).


TODO:
-----

  - Verify that scheduled records do not overlap
  - A graphical interface ?