tv_grab_pt_meo [--config-file FILE] --configure [--gui OPTION]
tv_grab_pt_meo [--config-file FILE] [--output FILE] [--days N]
[--offset N] [--fast] [--quiet] [--debug]
tv_grab_pt_meo --list-channels [--config-file FILE]
[--output FILE] [--quiet] [--debug]
Output TV listings for several channels available in Portugal.
First run tv_grab_pt_meo --configure to choose, which channels you want to download. Then running tv_grab_pt_meo with no arguments will output listings in XML format to standard output.
Channel ids will be output in alphanumeric characters. Only basic Latin alphabet chars are allowed, so any utf-8 characters in the station callsign will be translated to a Latin equivalent. If you would prefer to have numeric ids then you can use the 'number' option to use the channel number as the id. (Compare 'HISTHD' vs. '91'.) You can set this option during --configure.
--configure Prompt for which channels, and write the configuration file.
--gui OPTION Use this option to enable a graphical interface to be used. OPTION may be 'Tk', or left blank for the best available choice. Additional allowed values of OPTION are 'Term' for normal terminal output (default) and 'TermNoProgressBar' to disable the use of Term::ProgressBar.
--config-file FILE Set the name of the configuration file, the default is ~/.xmltv/tv_grab_pt_meo.conf. This is the file written by --configure and read when grabbing.
--days N Grab N days. The default is 7 days.
--offset N Start N days in the future. The default is to start from today.
--fast Only fetch summary information for each programme. This is only title, start/stop times, category, episode number.
--output FILE Write to FILE rather than standard output.
--quiet Suppress the progress messages normally written to standard error.
--debug Provide more information on progress to standard error to help in debugging.
--list-channels Output a list (in xmltv format) of all channels that can be fetched.
--version Show the version of the grabber.
--help Print a help message and exit.
Geoff Westcott, based on tv_grab_pt from Bruno Tavares, email@example.com, based on tv_grab_es, from Ramon Roca.