tv_grab_na_dtv (1) Linux Manual Page
tv_grab_na_dtv – Grab TV listings from DirecTV.
Synopsis
tv_grab_na_dtv –helptv_grab_na_dtv –configure [–config-file FILE] [–root-url URL]
tv_grab_na_dtv [–config-file FILE] [–root-url URL]
tv_grab_na_dtv –list-channels [–config-file FILE] [–root-url URL]
Description
Output TV and listings in XMLTV format from directv.com.
First you must run tv_grab_na_dtv –configure to choose which stations you want to receive.
Then running tv_grab_na_dtv with no arguments will get listings for the stations you chose for five days including today.
Options
–configure Prompt for which stations to download and write the configuration file.–config-file FILE Set the name of the configuration file, the default is ~/.xmltv/tv_grab_na_dtv.conf. This is the file written by –configure and read when grabbing.
–output FILE When grabbing, write output to FILE rather than standard output.
–days N When grabbing, grab N days rather than 5.
–offset N Start grabbing at today + N days.
–quiet Only print error-messages on STDERR.
–debug Provide more information on progress to stderr to help in debugging.
–list-channels Output a list of all channels that data is available
–capabilities Show which capabilities the grabber supports.
–version Show the version of the grabber.
–help Print a help message and exit.
Error Handling
If the grabber fails to download data, it will print an error message to STDERR and then exit with a status code of 1 to indicate that the data is missing.Environment Variables
The environment variable HOME can be set to change where configuration files are stored. All configuration is stored in $HOME/.xmltv/. On Windows, it might be necessary to set HOME to a path without spaces in it. TEMP or TMP, if present, will override the directory used to contain temporary files. Default is “/tmp”, so under Windows one of these is required.
