.\" Automatically generated by Pod::Man 4.10 (Pod::Simple 3.35)
.\"
.\" Standard preamble:
.\" ========================================================================
.de Sp \" Vertical space (when we can't use .PP)
.if t .sp .5v
.if n .sp
..
.de Vb \" Begin verbatim text
.ft CW
.nf
.ne \\$1
..
.de Ve \" End verbatim text
.ft R
.fi
..
.\" Set up some character translations and predefined strings. \*(-- will
.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
.\" double quote, and \*(R" will give a right double quote. \*(C+ will
.\" give a nicer C++. Capital omega is used to do unbreakable dashes and
.\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff,
.\" nothing in troff, for use with C<>.
.tr \(*W-
.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'
.ie n \{\
. ds -- \(*W-
. ds PI pi
. if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
. if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch
. ds L" ""
. ds R" ""
. ds C` ""
. ds C' ""
'br\}
.el\{\
. ds -- \|\(em\|
. ds PI \(*p
. ds L" ``
. ds R" ''
. ds C`
. ds C'
'br\}
.\"
.\" Escape single quotes in literal strings from groff's Unicode transform.
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.\"
.\" If the F register is >0, we'll generate index entries on stderr for
.\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index
.\" entries marked with X<> in POD. Of course, you'll have to process the
.\" output yourself in some meaningful fashion.
.\"
.\" Avoid warning from groff about undefined register 'F'.
.de IX
..
.nr rF 0
.if \n(.g .if rF .nr rF 1
.if (\n(rF:(\n(.g==0)) \{\
. if \nF \{\
. de IX
. tm Index:\\$1\t\\n%\t"\\$2"
..
. if !\nF==2 \{\
. nr % 0
. nr F 2
. \}
. \}
.\}
.rr rF
.\" ========================================================================
.\"
.IX Title "TV_GRAB_PT_VODAFONE 1p"
.TH TV_GRAB_PT_VODAFONE 1p "2019-03-01" "perl v5.28.1" "User Contributed Perl Documentation"
.\" For nroff, turn off justification. Always turn off hyphenation; it makes
.\" way too many mistakes in technical documents.
.if n .ad l
.nh
.SH "NAME"
tv_grab_pt_vodafone \- Grab TV listings for Vodafone in Portugal.
.SH "SYNOPSIS"
.IX Header "SYNOPSIS"
tv_grab_pt_vodafone \-\-help
.PP
tv_grab_pt_vodafone \-\-configure [\-\-config\-file \s-1FILE\s0]
.PP
tv_grab_pt_vodafone [\-\-config\-file \s-1FILE\s0]
[\-\-days N] [\-\-offset N] [\-\-channel xmltvid,xmltvid,...]
[\-\-output \s-1FILE\s0] [\-\-quiet] [\-\-debug]
.PP
tv_grab_pt_vodafone \-\-list\-channels [\-\-config\-file \s-1FILE\s0]
[\-\-output \s-1FILE\s0] [\-\-quiet] [\-\-debug]
.SH "DESCRIPTION"
.IX Header "DESCRIPTION"
Output \s-1TV\s0 and listings in \s-1XMLTV\s0 format for many stations
available in Portugal. This program consumes the \s-1EPG\s0 service
from Vodafone at .
.PP
First you must run \fBtv_grab_pt_vodafone \-\-configure\fR to choose which stations
you want to receive.
.PP
Then running \fBtv_grab_pt_vodafone\fR with no arguments will get a listings for
the stations you chose for all available days including today.
.SH "OPTIONS"
.IX Header "OPTIONS"
\&\fB\-\-configure\fR Prompt for which stations to download and write the
configuration file.
.PP
\&\fB\-\-config\-file \s-1FILE\s0\fR Set the name of the configuration file, the
default is \fB~/.xmltv/tv_grab_pt_vodafone.conf\fR. This is the file written by
\&\fB\-\-configure\fR and read when grabbing.
.PP
\&\fB\-\-output \s-1FILE\s0\fR When grabbing, write output to \s-1FILE\s0 rather than
standard output.
.PP
\&\fB\-\-days N\fR When grabbing, grab N days rather than everything available.
.PP
\&\fB\-\-offset N\fR Start grabbing at today + N days.
.PP
\&\fB\-\-quiet\fR Only print error-messages on \s-1STDERR.\s0
.PP
\&\fB\-\-debug\fR Provide more information on progress to stderr to help in
debugging.
.PP
\&\fB\-\-list\-channels\fR Output a list of all channels that data is available
for. The list is in xmltv-format.
.PP
\&\fB\-\-capabilities\fR Show which capabilities the grabber supports. For more
information, see
.PP
\&\fB\-\-version\fR Show the version of the grabber.
.PP
\&\fB\-\-help\fR Print a help message and exit.
.SH "ERROR HANDLING"
.IX Header "ERROR HANDLING"
If the grabber fails to download data from webstep, it will print an
errormessage to \s-1STDERR\s0 and then exit with a status code of 1 to indicate
that the data is missing.
.SH "ENVIRONMENT VARIABLES"
.IX Header "ENVIRONMENT VARIABLES"
The environment variable \s-1HOME\s0 can be set to change where configuration
files are stored. All configuration is stored in \f(CW$HOME\fR/.xmltv/. On Windows,
it might be necessary to set \s-1HOME\s0 to a path without spaces in it.
.SH "CREDITS"
.IX Header "CREDITS"
Kevin Groeneveld (kgroeneveld at gmail dot com)
.PP
This grabber uses code from tv_grab_pt_meo by Karl Dietz, dekarl \-at\- users \-dot\- sourceforge \-dot\- net,
and from tv_grab_zz_sdjson by Kevin Groeneveld, kgroeneveld \-at\- gmail \-dot\- com.
.PP
The original idea of this grabber came from higuita's shell script, see
.
.PP
Special thanks to Vodafone for building a clean, fast, and public access \s-1API\s0;
much more reliable than Meo's open \s-1API\s0 (but sadly not as open) and much better
than the lack of any \s-1API\s0 from \s-1NOS.\s0
.SH "AUTHOR"
.IX Header "AUTHOR"
Nuno Sénica, nsenica \-at\- gmail \-dot\- com.
.SH "BUGS"
.IX Header "BUGS"
None known.