SYNOPSIS

tv_grab_hr --help

tv_grab_hr --configure [--config-file \s-1FILE\s0] [--gui \s-1OPTION\s0]

tv_grab_hr [--config-file \s-1FILE\s0]

           [--days N] [--offset N]
           [--output \s-1FILE\s0] [--quiet] [--debug]

tv_grab_hr --list-channels [--config-file \s-1FILE\s0]

           [--output \s-1FILE\s0] [--quiet] [--debug]

DESCRIPTION

Output \s-1TV\s0 and listings in \s-1XMLTV\s0 format for many stations available in Croatia.

First you must run tv_grab_hr --configure to choose which stations you want to receive.

Then running tv_grab_hr with no arguments will get a 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 \s-1FILE\s0 Set the name of the configuration file, the default is ~/.xmltv/tv_grab_hr.conf. This is the file written by --configure and read when grabbing.

--gui \s-1OPTION\s0 Use this option to enable a graphical interface to be used. \s-1OPTION\s0 may be 'Tk', or left blank for the best available choice. Additional allowed values of \s-1OPTION\s0 are 'Term' for normal terminal output (default) and 'TermNoProgressBar' to disable the use of Term::ProgressBar.

--output \s-1FILE\s0 When grabbing, write output to \s-1FILE\s0 rather than standard output.

--days N When grabbing, grab N days rather than 5.

--offset N Start grabbing at today + N days. N may be negative.

--quiet Suppress the progress-bar normally shown on standard error.

--debug Provide more information on progress to stderr to help in debugging.

--list-channels Output a list of all channels that data is available

                      for. The list is in xmltv-format.

--version Show the version of the grabber.

--help Print a help message and exit.

ERROR HANDLING

If the grabber fails to download data for some channel on a specific day, it will print an errormessage to \s-1STDERR\s0 and then continue with the other channels and days. The grabber will exit with a status code of 1 to indicate that the data is incomplete.

ENVIRONMENT VARIABLES

The environment variable \s-1HOME\s0 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 \s-1HOME\s0 to a path without spaces in it.

SUPPORTED CHANNELS

For information on supported channels, see http://www.gonix.net/

AUTHOR

Mattias Holmlund, mattias -at- holmlund -dot- se. This documentation and parts of the code copied from tv_grab_uk by Ed Avis, ed -at- membled -dot- com.

BUGS