The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

tv_grab_na_dd - Grab TV listings for North America using Zap2IT's Data Direct service.

SYNOPSIS

tv_grab_na_dd --help

tv_grab_na_dd [--config-file FILE] --configure

tv_grab_na_dd [--config-file FILE] [--password-file FILE] [--output FILE] [--days N] [--offset N] [--quiet] [--lineup "LINEUP"] [--old-chan-id] [--low-mem] [--dd-data FILE] [--reprocess]

DESCRIPTION

This scripts downloads listings from Zap2IT's DataDirect service, converts it to XMLTV format, and outputs the results.

You must first register with Data Direct at: . http://labs.zap2it.com

You'll need to provide the XMLTV certificate code "TGYM-ZKOC-BUTV"

The service is currently free.

Once you've registered, run tv_grab_na_dd --configure to provide your username. You control what channels you get at the DataDirect website.

Once configured, running tv_grab_na_dd with no arguments will output listings in XML format to standard output.

--configure Prompt for username and write the configuration file.

--config-file FILE Set the name of the configuration file, the default is ~/.xmltv/tv_grab_na_dd.conf. This is the file written by --configure and read when grabbing.

--password-file FILE Read the DataDirect password from FILE. If this option is not given, the grabber prompts for a password.

--output FILE write to FILE rather than standard output.

--days N grab N days. The default is 7. 0 will only list channels/lineups.

--offset N start N days in the future. The default is to start from today.

--quiet suppress the progress messages normally written to standard error.

--lineup limits results to one lineup. "--lineup list" does what you expect

--old-chan-id attempt to use the same channel id as tv_grab_na

--low-mem uses less memory. Omit all but the most basic program information.

--dd-data save DataDirect data to this file (default is a temporary file)

--reprocess don't get data from DataDirect, but reprocess a file saved with --dd-data

SEE ALSO

xmltv(5).

AUTHOR

Robert Eden, rmeden@yahoo.com

BUGS

We'll see!