Debian Codegraph @

doc/avicap/epg.html

raw
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2 <html>
3 <head>
4 <title>Avicap EPG Electronic Program Guide</title>
5
6 <meta http-equiv="content-type"
7 content="text/html; charset=ISO-8859-1">
8 </head>
9 <body>
10
11 <h2>Avicaps EPG Electronic Program Guide</h2>
12 <br>
13 <a href="avicap.html">back to Avicap Index</a><br>
14 <br>
15 docu by: Alexander Rawass (<a
16 href="mailto:[email protected]">[email protected]</a>)<br>
17 if anyone can write a better documentation - please do it and tell
18 me<br>
19 <br>
20 Avicap's EPG display can display EPG information that has been saved in
21 the xml 'xmltv' format.<br>
22 <br>
23 This format is supported for linux and analogue TV by those projects:<br>
24
25 <ul>
26 <li><a href="http://nxtvepg.sourceforge.net/">nexTView EPG Decoder 'nxtvepg'</a>
27 &nbsp;</li>
28 <li><a href="http://sourceforge.net/projects/xmltv/">xmltv project</a>
29 &nbsp;</li>
30
31 </ul>
32 I've only tested it with nxtvepg.<br>
33 <br>
34
35 <h3>Preparing nxtvepg for usage with Avicap</h3>
36 You have to download and install the latest nxtvepg package.<br>
37 <br>
38 Make sure that you TV card is correctly configured (with kv4lsetup), then
39 start nxtvepg.<br>
40 Avicap or any TV apps should better not run while nxtvepg is running??<br>
41 <br>
42 nxtvepg will start searching your xawtv channels for EPG providers.<br>
43 <br>
44 If found, it will start aqcuiring the EPG data via the vbi blank between
45 each TV frame.<br>
46 This will take some time, this process is rather slow.<br>
47 <br>
48 Let it run for some time.<br>
49 <br>
50 Then exit nxtvepg.<br>
51 <br>
52 Now get nxtvepg to produce a xml-output of it's aqcuired data, that is
53 readable by avicaps EPG-browser, like this:<br>
54 <br>
55 nxtvepg -dump xml -provider &lt;hex of provider&gt; &gt;/tmp/epg.xml<br>
56 <br>
57 To know about the hex number of the epg provider, open up the 'view statistics'
58 window in nxtvepg, and look for the hex num after 'CNI'.<br>
59 <br>
60 It's probably a good idea to read the nxtvepg documentation at this point.<br>
61 <br>
62
63 <h3>Avicaps EPG browser</h3>
64 If you click 'Electronic Program Guide' in your Avicap menu, the EPG module
65 will start and open up its window.<br>
66 Per default, the EPG data will be read from /tmp/epg.xml , but you can
67 change that in the epg config dialog.<br>
68 Depending on the size of your EPG data file and on your number of regexps,
69 it may take some seconds til the window comes up.<br>
70 <br>
71
72 <h4>EPG Browser window</h4>
73 On the left side is a channel table - this is yet not functional.<br>
74 <br>
75 In the middle you'll see the EPG guide of today, a display that looks like
76 the tables in your movie guide (or, at least like mine ;-)).<br>
77 If you're not seeing any data, you should click 'EPG Config' and configure
78 your EPG data file.<br>
79 <br>
80 In the top strip, you can change the day you are currently seeing.<br>
81 <br>
82 With 'Toggle Display' you switch from guide display to table display.<br>
83 <br>
84 The table display is rather unusuable imho, better not use it.<br>
85 <br>
86 'EPG Config' starts the EPG configuration.<br>
87 <br>
88 'Edit Regexps' opens the regexp editor, where you can edit regexps to highlight
89 or block programs by name.<br>
90 <br>
91
92 <h4>EPG Configuration</h4>
93 At first use, you should set the 'EPG xml filename' to the xml data file
94 of the provider you want to use.<br>
95 Any changes in this field need a restart of Avicap to have effect. Yet.<br>
96 <br>
97 When the EPG module has found a correct EPG xmltv file, it will display
98 a list<br>
99 'EPG Provider to Avicap channel mappings'<br>
100 <br>
101 The EPG module doesn't know, which epg channel is which avicap channel,
102 so you have to select the correct channels there, to have your EPG guide be
103 displayed in correct order.<br>
104 <br>
105 You can also select the color, with which the EPG strip of that channel
106 will be colored.<br>
107 I recommend rather light colors, like you can see in the screenshots.<br>
108 <br>
109 The spinboxes 'day starts at' and 'day ends at' are yet not functional.<br>
110 <br>
111 With 'recording starts/ends N mins before/after program' you can select
112 the time margin, that gets sent to the timertable, when you add recordings
113 from the EPG display to the timertable.<br>
114 <br>
115 <br>
116
117 <h4>EPG Display/Guide Display</h4>
118 If you're EPG config is correct, you will see in the middle of the EPG
119 window the guide display.<br>
120 <br>
121 It looks like a TV guide, it's also nicely colored if you select sane colors.<br>
122 <br>
123 If you move your mouse around, you can see the full description of the
124 program at the bottom of the guide display.<br>
125 <br>
126 If you press the middle mouse button and hold it, you can move the display
127 around to where you like it.<br>
128 <br>
129 If you press the right button, a popupmenu will show up, see below.<br>
130 <br>
131 If you have set regexps, then highlighted programs will (currently) appear
132 in green, blocked programs in &nbsp;near-black (nearly unreadable).<br>
133 <br>
134 If you have a pending recording in the timertable, it will also show up
135 with a blue shading across the timespan, where the recording will happen.<br>
136 <br>
137
138 <h4>Guide Popup Menu</h4>
139 In the popupmenu, you can add the current selected program to your highlight-
140 or blocklist, and you can also add the program to the list of pending recordings
141 in the timertable.<br>
142 <br>
143
144 <h4>Regexps, Regexp Edit, blocking and highlighting programs</h4>
145 With Avicaps EPG module, you can use regular expressions to highlight or
146 block programs by title name or description string.<br>
147 <br>
148 Press 'Edit Regexps' in the EPG window, and the Regexp edit window will
149 appear.<br>
150 <br>
151 In the textedit, you can edit your regexps by hand, like in a text-editor.<br>
152 <br>
153 The regexps have following syntax:<br>
154 <br>
155 [#](title:|desc:|both:)(block:|high:)regexp<br>
156 <br>
157 Huh? For example, these are valid epg regexps:<br>
158
159 <ul>
160 <li>title:high:.*Star.Trek.*<br>
161 will highlight all program which have 'Star Trek' or 'Star-Trek' etc in
162 their title.</li>
163 <li>desc:high:.*Doris.Day.*<br>
164 wil highlight all programs which have the string 'Doris Day' or alike in
165 their description.</li>
166 <li>title:block:^X.Files$<br>
167 will say goodbye to one of my most despised series in TV</li>
168 <li>desc:block:.*Scully.*<br>
169 will do that and even more</li>
170 <li># title:block:whatever<br>
171 will do nothing, cause # at the start of a line is a comment<br>
172 </li>
173
174 </ul>
175 Note: we're using Qt's QRegexp here, they are regexps, not wildcards, so
176 you should know what you do.<br>
177 <br>
178 I recommend you to use a normal text-edit to edit the regexps, that's easier
179 and more comfortable than in the 'Edit Regexp' window.<br>
180 <br>
181 The Regexp file is ~/.avm/avicap-regexps<br>
182 <br>
183 If you press 'Re-read regexps', the EPG module will re-read this file from
184 disk (after you've changed it in an external editor)<br>
185 <br>
186 <h4>What I do with these blocking features</h4>
187 I am using the blocking features of Avicap's EPG display to not know and see
188 violence in TV at all any more, I've completely blocked all those (mostly
189 american) series, where the audience can enjoy itself by watching people in
190 fear, running for their lives, and can amuse themselves with pictures where
191 the blood runs from the walls, and people get cut in half for the enjoyment
192 and amusement of YOU, the viewer.<br>
193 <br>
194 Currently, I've blocked 78 series in german TV this way.<br>
195 <br>
196 Soon, this will include a password lock.<br>
197 <br>
198 <br>
199 <br>
200 <br>
201 <br>
202 </body>
203 </html>