---
name: "tv_grab_pt_meo"
section: "1p"
platform: "linux"
package: "xmltv-util"
version: "1.2.1-1"
release: "Debian 12 (Bookworm)"
platforms: ["linux"]
url: "https://new.carta.tech/tv_grab_pt_meo"
---

# tv\_grab\_pt\_meo(1p)

Grab TV listings for Portugal.

## NAME

tv\_grab\_pt\_meo - Grab TV listings for Portugal.

## SYNOPSIS

tv\_grab\_pt\_meo --help

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\]

## DESCRIPTION

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.

## SEE ALSO

**xmltv**(5).

## AUTHOR

Geoff Westcott, based on tv\_grab\_pt from Bruno Tavares, gawen@users.sourceforge.net, based on tv\_grab\_es, from Ramon Roca.

## BUGS

None known.
