.\" Automatically generated by Pod::Man 4.14 (Pod::Simple 3.40) .\" .\" 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 "createcats 1" .TH createcats 1 "2022-01-12" "perl v5.32.1" "Epgsearch Version 2.4.1" .\" 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" createcats \- helps you creating your own epgsearchcats.conf .SH "SYNOPSIS" .IX Header "SYNOPSIS" \&\fBcreatecats\fR [\s-1OPTIONS\s0] \fI/path_to/epg.data\fR .SH "DESCRIPTION" .IX Header "DESCRIPTION" This tool is deliverd with the plugin and should exist in the plugins source directory after compilation. It helps you in creating your own epgsearchcats.conf, if the samples in directory 'conf' don't fit your needs. .PP createcats takes your epg.data as argument and scans it for suitable \&\s-1EPG\s0 infos. Such an info is a set of a category name and a coresponding value at the beginning of a line (represented with '|') and has the form '|category: value', e.g. .PP .Vb 1 \& |Genre: Action .Ve .PP So simply call it with .PP \&\fBcreatecats\fR /path_to/epg.data .PP The output is a file epgsearchcats.conf, that should be copied to your plugins config dir. Before using it, you should do some customizing, since not all things in the file will be suitable to be used as extended \s-1EPG\s0 info. .SH "OPTIONS" .IX Header "OPTIONS" The full set of arguments is: .PP usage: \fBcreatecats\fR [\s-1OPTIONS\s0] \fI/path_to/epg.data\fR .PP .Vb 7 \& \-m N, \-\-minappearance=N the minimum number a category has to appear \& to be used \& \-v N, \-\-maxvalues=N values of a category are omitted if they exceed \& this number \& \-l N, \-\-maxlength=N the maximum length of a text to be accepted \& as a category value \& \-h, \-\-help this help .Ve .PP Some notes: .IP "\-m N, \-\-minappearance=N" 4 .IX Item "-m N, --minappearance=N" createcats counts how often a category is used in your current epg.data. If this is less than N, then this category will not be part of the resulting epgsearchcats.conf. .IP "\-v N, \-\-maxvalues=N" 4 .IX Item "-v N, --maxvalues=N" if the number of values for a category is more than N then createcats will not output a value list for this category. As a consequence in epgsearch the menu item gets an edit item, that can be filled with every text. Else, the item gets a selection item, that lets you select from a list of values. .IP "\-l N, \-\-maxlength=N" 4 .IX Item "-l N, --maxlength=N" if the text length of a value is more than N, this value is not part of the value list. .PP \&\fBHint:\fR Results are best, if your current \s-1EPG\s0 is as big as possible. So update it, if you are using an external \s-1EPG\s0 provider, before calling createcats. .PP Please edit this file now, since it will contain also things not suitable. .PP After that copy it to your plugins config directory. .SH "SEE ALSO" .IX Header "SEE ALSO" \&\f(CWepgsearch(1)\fR, \f(CWepgsearch(4)\fR, \f(CW\*(C`epgsearchcats.conf(5)\*(C'\fR .SH "AUTHOR (man pages)" .IX Header "AUTHOR (man pages)" Mike Constabel .SH "REPORT BUGS" .IX Header "REPORT BUGS" Bugreports (german): .PP .PP Mailinglist: .PP .SH "COPYRIGHT and LICENSE" .IX Header "COPYRIGHT and LICENSE" Copyright (C) 2004\-2010 Christian Wieninger .PP This program is free software; you can redistribute it and/or modify it under the terms of the \s-1GNU\s0 General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. .PP This program is distributed in the hope that it will be useful, but \s-1WITHOUT ANY WARRANTY\s0; without even the implied warranty of \&\s-1MERCHANTABILITY\s0 or \s-1FITNESS FOR A PARTICULAR PURPOSE.\s0 See the \&\s-1GNU\s0 General Public License for more details. .PP You should have received a copy of the \s-1GNU\s0 General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, \s-1MA 02110\-1301 USA\s0 Or, point your browser to http://www.gnu.org/licenses/old\-licenses/gpl\-2.0.html .PP The author can be reached at cwieninger@gmx.de .PP The project's page is at http://winni.vdr\-developer.org/epgsearch .PP The \s-1MD5\s0 code is derived from the \s-1RSA\s0 Data Security, Inc. \s-1MD5\s0 Message-Digest Algorithm.