summaryrefslogtreecommitdiff
path: root/html/en/createcats.1.html
blob: 7bb4f4432a3c00fc99cb2bbb7d20ced3cdb62bcb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
<?xml version="1.0" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Epgsearch Version 0.9.24.beta9</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link rev="made" href="mailto:root@localhost" />
</head>

<body style="background-color: white">

<p><a name="__index__"></a></p>
<!-- INDEX BEGIN -->

<ul>

	<li><a href="#name">NAME</a></li>
	<li><a href="#synopsis">SYNOPSIS</a></li>
	<li><a href="#description">DESCRIPTION</a></li>
	<li><a href="#options">OPTIONS</a></li>
	<li><a href="#see_also">SEE ALSO</a></li>
	<li><a href="#author__man_pages_">AUTHOR (man pages)</a></li>
	<li><a href="#report_bugs">REPORT BUGS</a></li>
	<li><a href="#copyright_and_license">COPYRIGHT and LICENSE</a></li>
</ul>
<!-- INDEX END -->

<hr />
<p>
</p>
<h1><a name="name">NAME</a></h1>
<p><strong>createcats</strong> - helps you creating your own <em>epgsearchcats.conf</em></p>
<p>
</p>
<hr />
<h1><a name="synopsis">SYNOPSIS</a></h1>
<p><strong>createcats</strong> [OPTIONS] <em>/path_to/epg.data</em></p>
<p>
</p>
<hr />
<h1><a name="description">DESCRIPTION</a></h1>
<p>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.</p>
<p>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.</p>
<pre>
 |Genre: Action</pre>
<p>So simply call it with</p>
<p><strong>createcats</strong> /path_to/epg.data</p>
<p>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.</p>
<p>
</p>
<hr />
<h1><a name="options">OPTIONS</a></h1>
<p>The full set of arguments is:</p>
<p>usage: <strong>createcats</strong> [OPTIONS] <em>/path_to/epg.data</em></p>
<pre>
 -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</pre>
<p>Some notes:</p>
<dl>
<dt><strong><a name="item__2dm_n_2c__2d_2dminappearance_3dn">-m N, --minappearance=N</a></strong>

<dd>
<p>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.</p>
</dd>
</li>
<dt><strong><a name="item__2dv_n_2c__2d_2dmaxvalues_3dn">-v N, --maxvalues=N</a></strong>

<dd>
<p>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.</p>
</dd>
</li>
<dt><strong><a name="item__2dl_n_2c__2d_2dmaxlength_3dn">-l N, --maxlength=N</a></strong>

<dd>
<p>if the text length of a value is more than N, this value is not part
of the value list.</p>
</dd>
</li>
</dl>
<p><strong>Hint:</strong> 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.</p>
<p>Please edit this file now, since it will contain also things not suitable.</p>
<p>After that copy it to your plugins config directory.</p>
<p>
</p>
<hr />
<h1><a name="see_also">SEE ALSO</a></h1>
<p><code>epgsearch(1)</code>, <code>epgsearch(4)</code>, <code>epgsearchcats.conf(5)</code></p>
<p>
</p>
<hr />
<h1><a name="author__man_pages_">AUTHOR (man pages)</a></h1>
<p>Mike Constabel &lt;epgsearch (at) constabel (dot) net&gt;</p>
<p>
</p>
<hr />
<h1><a name="report_bugs">REPORT BUGS</a></h1>
<p>Bugreports (german):</p>
<p><a href="http://www.vdr-developer.org/mantisbt/">http://www.vdr-developer.org/mantisbt/</a></p>
<p>Mailinglist:</p>
<p><a href="http://www.vdr-developer.org/mailman/listinfo/epgsearch">http://www.vdr-developer.org/mailman/listinfo/epgsearch</a></p>
<p>
</p>
<hr />
<h1><a name="copyright_and_license">COPYRIGHT and LICENSE</a></h1>
<p>Copyright (C) 2004-2007 Christian Wieninger</p>
<p>This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.</p>
<p>This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.</p>
<p>You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Or, point your browser to <a href="http://www.gnu.org/licenses/old-licenses/gpl-2.0.html">http://www.gnu.org/licenses/old-licenses/gpl-2.0.html</a></p>
<p>The author can be reached at <a href="mailto:cwieninger@gmx.de">cwieninger@gmx.de</a></p>
<p>The project's page is at <a href="http://winni.vdr-developer.org/epgsearch">http://winni.vdr-developer.org/epgsearch</a></p>
<p>The MD5 code is derived from the RSA Data Security, Inc. MD5 Message-Digest Algorithm.</p>

</body>

</html>