.\" -*- mode: troff; coding: utf-8 -*- .\" Automatically generated by Pod::Man 5.01 (Pod::Simple 3.43) .\" .\" 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 .. .\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>. .ie n \{\ . ds C` "" . ds C' "" 'br\} .el\{\ . 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_IT 1p" .TH TV_GRAB_IT 1p 2024-02-24 "perl v5.38.2" "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_it \- Grab TV listings for Italy. .SH SYNOPSIS .IX Header "SYNOPSIS" tv_grab_it \-\-help .PP tv_grab_it [\-\-config\-file FILE] \-\-configure .PP tv_grab_it [\-\-config\-file FILE] [\-\-output FILE] [\-\-days N] [\-\-offset N] [\-\-quiet] [\-\-slow] [\-\-verbose] [\-\-errors\-in\-xml] [\-\-backend SITE1[,SITE2[,SITE3]]] [\-\-cache\-slow] .SH DESCRIPTION .IX Header "DESCRIPTION" Output TV listings for several channels available in Italy. The grabber relies on parsing HTML so it might stop working at any time. The data comes from different backends. This is to minimize blackouts in case of site changes but also to extend the number of channels. If the grabber can't find the data with the first backend it will try the second one, and so on. You can specify your order of preference using the \-\-backend option. .PP Currently configured backends are (in default order): .IP "\fBmediaset\fR \- grabs data from www.mediaset.it" 4 .IX Item "mediaset - grabs data from www.mediaset.it" .PD 0 .IP "\fBskylife\fR \- grabs data from www.skylife.it" 4 .IX Item "skylife - grabs data from www.skylife.it" .IP "\fBraiit\fR \- grabs data from www.rai.it" 4 .IX Item "raiit - grabs data from www.rai.it" .IP "\fBmediaset_guidatv\fR \- grabs data from www.mediaset.it/guidatv" 4 .IX Item "mediaset_guidatv - grabs data from www.mediaset.it/guidatv" .IP "\fBmediasetpremium\fR \- grabs data from www.mediasetpremium.it" 4 .IX Item "mediasetpremium - grabs data from www.mediasetpremium.it" .IP "\fBiris\fR \- grabs data from www.iris.it" 4 .IX Item "iris - grabs data from www.iris.it" .IP "\fBboingtv\fR \- grabs data from www.boingtv.it" 4 .IX Item "boingtv - grabs data from www.boingtv.it" .IP "\fBla7\fR \- grabs data from www.la7.it" 4 .IX Item "la7 - grabs data from www.la7.it" .PD .PP First run \fBtv_grab_it \-\-configure\fR to choose which channels you want to download. Then running \fBtv_grab_it\fR with no arguments will output listings in XML format to standard output. .PP \&\fB\-\-configure\fR Prompt for which channels, and writes the configuration file. .PP \&\fB\-\-config\-file FILE\fR Set the name of the configuration file, the default is \fB~/.xmltv/tv_grab_it.conf\fR. This is the file written by \fB\-\-configure\fR and read when grabbing. .PP \&\fB\-\-gui OPTION\fR 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 XMLTV::ProgressBar. .PP \&\fB\-\-output FILE\fR write to FILE rather than standard output. .PP \&\fB\-\-days N\fR Grab N days. The default is 7. .PP \&\fB\-\-offset N\fR Start N days in the future. The default is to start from today. .PP \&\fB\-\-quiet\fR Suppress the progress messages normally written to standard error. .PP \&\fB\-\-slow\fR Downloads more details (descriptions, actors...). This means downloading a new file for each programme, so it's off by default to save time. .PP \&\fB\-\-cache\-slow\fR If you use the \-\-cache option to speed up thing when you grab data several times a week, using this option you will cache only the \&\-\-slow data, so you shouldn't miss changes in schedules. .PP \&\fB\-\-verbose\fR Prints out verbose information useful for debugging. .PP \&\fB\-\-errors\-in\-xml\fR Outputs warnings as programmes in the xml file, so that you can see errors in your favorite frontend in addition to the default STDERR. .PP \&\fB\-\-backend\fR Set the backend (or backends) to use. See the examples. .PP \&\fB\-\-version\fR Show the version of the grabber. .PP \&\fB\-\-help\fR Print a help message and exit. .SH CAVEATS .IX Header "CAVEATS" If you use \-\-quiet you should also use \-\-errors\-in\-xml or you won't be warned about errors. Note also that, as opposed to previous versions, this grabber doesn't die if it cannot find any data, but returns an empty (or optionally containing just warnings) xml file instead. .PP The backends' data quality differs a lot. For example, mytv was very basic, yet complete and uses the least amount of bandwidth. Skytv has a lot of channels, but unless you use it with the \-\-slow option the data is not very good (and in this case i would be VERY slow). wfactory is a good overall site if you don't need the whole sky package. .SH EXAMPLES .IX Header "EXAMPLES" .IP "tv_grab_it \-\-backend skylife \-\-configure" 4 .IX Item "tv_grab_it --backend skylife --configure" configures tv_grab_it using only the backend skylife .IP "tv_grab_it \-\-backend skylife,wfactory \-\-days 1" 4 .IX Item "tv_grab_it --backend skylife,wfactory --days 1" grabs one day of data overriding the default order (could also be \-\-backend skylife \-\-backend wfactory) .IP "tv_grab_it \-\-cache \-\-slow \-\-days 3" 4 .IX Item "tv_grab_it --cache --slow --days 3" grabs the full data for the next three days using the default backend order and using a disk cache. .SH "RECOMMENDED USAGE" .IX Header "RECOMMENDED USAGE" .IP "tv_grab_it \-\-cache \-\-slow \-\-cache\-slow \-\-errors\-in\-xml" 4 .IX Item "tv_grab_it --cache --slow --cache-slow --errors-in-xml" .SH "SEE ALSO" .IX Header "SEE ALSO" xmltv. .SH AUTHOR .IX Header "AUTHOR" This grabber is currently unmantained.