Home
Name Modified Size InfoDownloads / Week
3ff.tap 2010-05-04 100.0 kB
README.rtf 2010-04-27 7.4 kB
epg_upload.ini 2010-04-26 3.8 kB
Totals: 3 Items   111.1 kB 0
{\rtf1\ansi\ansicpg1252\deff0\deflang1031{\fonttbl{\f0\fnil\fcharset0 Arial;}{\f1\fnil\fcharset0 Courier New;}{\f2\fnil\fcharset2 Symbol;}}
{\colortbl ;\red0\green0\blue255;}
{\*\generator Msftedit 5.41.21.2509;}\viewkind4\uc1\pard\sl276\slmult1\lang7\fs22  TAP: FreeSat to TGD converter aka: The 3xperimental FreeSat Feeder\par
{\field{\*\fldinst{HYPERLINK "http://www.topfield-europe.com/forum/showthread.php?t=34545"}}{\fldrslt{\ul\cf1 http://www.topfield-europe.com/forum/showthread.php?t=34545}}}\f0\fs22\par
\par
\b Summary\par
\b0\par
The drawbacks in the beginning:\par
\par
\pard{\pntext\f2\'B7\tab}{\*\pn\pnlvlblt\pnf2\pnindent0{\pntxtb\'B7}}\fi-360\li720\sl276\slmult1 FreeSat EPG comes for 8 days.\par
{\pntext\f2\'B7\tab}FreeSat EPG is not as detailed as delivered by RadioTimes.\par
\pard\sl276\slmult1\par
So I hope you will not be too disappointed, if you are used to RadioTimes converted TGD feeds.\par
The good thing is that now we are very close to full automation:\par
\pard{\pntext\f2\'B7\tab}{\*\pn\pnlvlblt\pnf2\pnindent0{\pntxtb\'B7}}\fi-360\li720\sl276\slmult1 no longer downloading information from a possibly unreliable, heavily loaded Internet ressource.\par
{\pntext\f2\'B7\tab}no data conversion\par
{\pntext\f2\'B7\tab}no uploads to the receiver\par
\pard\sl276\slmult1\par
It currently acts as a kind of converter/preprocessor to our EPG tools with the ability to read TGD (Topfield Guide Data).\par
\par
So here is the HowTo, it still is a bit tricky right now:\par
\par
\b Instructions\b0\par
\par
\i 1) Create an EPG recording channel\i0\par
\par
One new channel on your receiver shall be created using the following parameters:\par
Name: FreeSatEPG (required, data is read from "FreeSatEPG.rec")\par
Satelite: Astra2\par
Transponder: 11426MHz/27500/H \b Horizontal\par
\b0 Video PID: 3002\par
Audio PID: 3003\par
Service ID: 0\par
PMT PID: 4005\par
PCR PID: 3001\par
\par
Note that no sensible data exists to receive any audible or visble signal, it is just our way to filter the EPG PIDs 3002/3003 from the stream. The Topfield will indicate a "scrambled signal", this is normal. An editor like TopSet might be necessary to accomplish these 'strange' settings.\par
\par
If not done, tune to this channel and take a recording. Record slightly more than one minute, otherwise the receiver will clear the file. This will carry all data 4 times, so a much shorter recording is sufficient. I hope I shall come up with a 30sec recording soon as the recording EPG scanners do.\par
\par
The result will be a recorded file named "FreeSatEPG.rec" with a size of 30MBytes.\par
Herein all the data we need is contained, is is the FULL EPG of ALL FreeSat related transponders.\par
\par
\i 2) Parameters and configuration\par
\i0 As you are using TGDs, you will almost certainly already have an"epg_upload.ini". It is read by the converter: I am supplying one to start with, you may want to start trying this as the parser is poor. Following things are used in the conversion process:\par
\par
--- cut ---\par
\f1 [Information]\par
\par
GeneratorName=TGD Builder\par
GeneratorVersion=0.6-beta\par
DateTime=2010-04-08 23:43\par
\par
[General]\par
\par
GMT_Offset=2\par
TGD directory=EPGdata\par
LCN TGD load=NO\par
Number of Services=33\par
\par
[TV Parameters]\par
\par
[Channel 1]\par
service_name=100.BBCWORLD\par
service_id=10050\par
transport_stream_id=1026\par
original_network_id=1\par
\par
[Channel 2]\par
service_name=101.BBC1LONDON\par
service_id=6301\par
transport_stream_id=2045\par
original_network_id=2\par
\par
[Channel 3]\par
service_name=102.BBC2ENGLAND\par
service_id=6302\par
transport_stream_id=2045\par
original_network_id=2\par
\f0 --- cut ---\par
\par
This file currently MUST be <CR><LF> DOS/Windows style line delimited for correct parsing. Data is broadcast with UTC time information. TGD is specified in local time.\par
Be shure to specify your GMT_Offset correctly, e.g. 2 for Central European Daylight Saving Time, 1 for Central European Time and UK Daylight Saving Time, 0 for UK non-DST. Currently only positive/zero integer values are possible and evalutated correctly. The default value is UTC+2, CET DST.\par
\par
The service_id's specified will construct a filter of EPG service ID's to be extracted from the stream, on output the service_name's will be substituted into the TGD lines.\par
Keep calm on the number of your selections, my choice of 33 channels results in approx 10,000 unique events. Due to memory and processing restrictions the limit is currently fixed to 20,000 events.\par
\par
That is almost it.\par
\par
Be shure to have enough free heap memory available! (3MBytes)\par
\par
Run the TAP, it is just a single path converter exiting cleanly after being run.\par
Be patient, it takes time, expect 3 to 5 minutes of runtime. For the moment it is very silent, progress and debugging output is sent to the RS232 serial output of your Toppy.\par
\par
Input: /DataFiles/FreeSatEPG.rec\par
This is deleted after processing so that the next recording will be able to receive the same name.\par
\par
Output: /EPGdata/20100501.tgd, ...\par
The set of TGD files sorted by date. Your favourite EPG programm will read these, hopefully it will also delete the ones which are no longer needed (i.e. yesterday and before). Existing TGD files will be silently overwritten and replaced by their updated versions fed from the recent stream recording.\par
\par
\b Automation\b0\par
The program will now correctly work if it is copied into "/ProgramFiles/Auto Start".\par
\par
\pard{\pntext\f0 1.\tab}{\*\pn\pnlvlbody\pnf0\pnindent0\pnstart1\pndec{\pntxta.}}
\fi-360\li720\sl276\slmult1 If started and no FreeSatEPG.rec exists, no operation takes place.\par
{\pntext\f0 2.\tab}If started and FreeSatEPG.rec exists, it will be converted and cleared.\par
{\pntext\f0 3.\tab}If started and we are currently recording FreeSatEPG.rec, the recording is terminated when it has reached 61 seconds and converted afterwards.\par
{\pntext\f0 4.\tab}If you programmed a Wakeup-Timer at 06:01 onto channel "FreeSatEPG", the TAP autostarted will:\par
\pard{\pntext\f2\'B7\tab}{\*\pn\pnlvlblt\pnf2\pnindent0{\pntxtb\'B7}}\fi-360\li1080\sl276\slmult1 Start a recording of 61 seconds\par
{\pntext\f2\'B7\tab}When finished, convert into TGD\par
{\pntext\f2\'B7\tab}Turn off the receiver.\par
\pard\sl276\slmult1\par
\b History\b0\par
\par
0.01 Prototye with an adapted DVBsnoop parsed by Perl\par
0.02 2nd prototype with Visual Studio 2008\par
0.03 Adaption for the TAP API\par
0.04 Stop parsing when 200 consecutive events will not add fresh events\par
0.05 Modified internal storage from clear text to original Huffman to save memory\par
0.06 FireBirdLib for TAP API Fix Release 23/04/2010 20:16\par
0.07 Flags stay at F0, when the component descriptors appear after the short event descriptor.\par
0.08 Crashed, when trying to rewrite existing *.tgd files. Release 24/04/2010 12:07\par
0.09 Added autostart automation capability.\par
0.10 Enhanced error handling (empty event table would crash)\par
0.11 Yet another parser bug: Correctly handle EITs without events and events without descriptors.\par
0.12 Changed maximum of events to 20,000.\par
1.0 Release Version 26/04/2010 19:06\par
}
Source: README.rtf, updated 2010-04-27