createcats

Langue: en

Autres versions - même langue

Version: 2007-08-26 (mandriva - 01/05/08)

Section: 1 (Commandes utilisateur)

NAME

createcats - helps you creating your own epgsearchcats.conf

SYNOPSIS

createcats [OPTIONS] /path_to/epg.data

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.

createcats takes your epg.data as argument and scans it for suitable EPG 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.

  |Genre: Action
 
 

So simply call it with

createcats /path_to/epg.data

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 EPG info.

OPTIONS

The full set of arguments is:

usage: createcats [OPTIONS] /path_to/epg.data

  -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
 
 

Some notes:

-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.
-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.
-l N, --maxlength=N
if the text length of a value is more than N, this value is not part of the value list.

Hint: Results are best, if your current EPG is as big as possible. So update it, if you are using an external EPG provider, before calling createcats.

Please edit this file now, since it will contain also things not suitable.

After that copy it to your plugins config directory.

SEE ALSO

epgsearch(1), epgsearch(4), "epgsearchcats.conf(5)"

AUTHOR (man pages)

Mike Constabel <epgsearch (at) constabel (dot) net>

REPORT BUGS

Bugreports (german):

<http://www.vdr-developer.org/mantisbt/>

Mailinglist:

<http://www.vdr-developer.org/mailman/listinfo/epgsearch>

Copyright (c) 2005-2007 Christian Wieninger

<http://www.cwieninger.de.vu/>

This is free software. You may redistribute copies of it under the terms of the GNU General Public License <http://www.gnu.org/licenses/gpl.html>. There is NO WARRANTY, to the extent permitted by law.