.\" Automatically generated by Pod::Man 4.07 (Pod::Simple 3.32) .\" .\" 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 .. .if !\nF .nr F 0 .if \nF>0 \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} .\} .\" ======================================================================== .\" .IX Title "TV_GRAB_PT_MEO 1p" .TH TV_GRAB_PT_MEO 1p "2017-01-24" "perl v5.24.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_meo \- Grab TV listings for MEO from SAPO in Portugal. .SH "SYNOPSIS" .IX Header "SYNOPSIS" tv_grab_pt_meo \-\-help .PP tv_grab_pt_meo \-\-configure [\-\-config\-file \s-1FILE\s0] .PP tv_grab_pt_meo [\-\-config\-file \s-1FILE\s0] [\-\-days N] [\-\-offset N] [\-\-channel xmltvid,xmltvid,...] [\-\-output \s-1FILE\s0] [\-\-quiet] [\-\-debug] .PP tv_grab_pt_meo \-\-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 offering from \s-1SAPO\s0 at . Or their new \s-1API\s0 documentation at . See for their terms of service. (automatic translation suggests it's free for personal use, verification appreciated) .PP First you must run \fBtv_grab_pt_meo \-\-configure\fR to choose which stations you want to receive. .PP Then running \fBtv_grab_pt_meo\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_meo.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" Grabber written by Karl Dietz, dekarl \-at\- users \-dot\- sourceforge \-dot\- net as a test of the documentation on grabber writing. This documentation copied from tv_grab_cz by Mattias Holmlund, This documentation copied from tv_grab_uk by Ed Avis, ed \-at\- membled \-dot\- com. Original grabber by Jiri Kaderavek, jiri \-dot\- kaderavek \-at\- webstep \-dot\- net with modifications by Petr Stehlik, pstehlik \-at\- sophics \-dot\- cz. .PP Data provided via web service from \s-1SAPO\s0 accompanying their \s-1MEO TV\s0 service. Check their terms of usage! .SH "BUGS" .IX Header "BUGS" None known.