Mhwepg
Aus VDR Wiki
Inhaltsverzeichnis |
Beschreibung
(M)edia(H)igh(W)ay EPG ist ein Programm um EPG Daten via Satelite zu empfangen, die Informationen werden von der Canal+ group (Mediahighway receivers) bereit gestellt.
Mhwepg bringt die Daten in ein VDR konformes Format.
Kanäle
Canal Satellite Numérique
Canal Digitaal
Sky Italia
Cyfra+
Hardwareanforderungen
- DVB(s)
Softwareanforderungen
- mhwepg
- loadepg
- perl
- at (Job-Manager)
Installation
cd $SOURCEDIR wget http://jrepetto.free.fr/mhwepg-<VERSION>.tar.gz tar zxvf mhwepg-<VERSION>.tar.gz cd mhwepg-<VERSION> make wget http://gentoo.fh-luh.de/files/mhwepg/loadepg.pl install -m 755 loadepg.pl mhwepg /usr/local/bin
Konfiguration
Einträge commands.conf
Canal Digitaal (Netherlands) : echo "/usr/local/bin/loadepg.pl -d localhost -p 2001 -s S19.2E -f 12515"|at now Canal+/CanalSatellite (France) : echo "/usr/local/bin/loadepg.pl -d localhost -p 2001 -s S19.2E -f 12363"|at now Sky (Italia) : echo "/usr/local/bin/loadepg.pl -d localhost -p 2001 -s S13.0E -f 11880"|at now Cyfra+ (Poland) : echo "/usr/local/bin/loadepg.pl -d localhost -p 2001 -s S13.0E -f 10719"|at now
Die loadepg.pl ist anzupassen.
Winterzeit
system( "mhwepg -t 3600 -o /tmp/epg.tmp &>/var/log/mhwepg.log" );
Sommerzeit
system( "mhwepg -t 7200 -o /tmp/epg.tmp &>/var/log/mhwepg.log" );
Probleme
Don't know if something changed in the driver in kernel 2.6, but I couldn't get the program to work even after patching. It seems that the default buffer size is too small for everything to work smoothly.
What solved my problem was adding the following lines at the beginning of SetFiltSection, right after the line struct dmx_sct_filter_params sctFilterParams;
if (ioctl(fd, DMX_SET_BUFFER_SIZE, 10*188*1024)<0) { perror("DMX SET BUFFER SIZE"); exit(0); }
I'm puzzled because 10*188*1024 should be the default buffer size, but before the modification it didn't work, now it does so....
Wer trotzdem noch Probleme hat, EPG-Informationen zu empfangen, kann versuchen das Modul 'dvb-core' mit der Option 'dvb_shutdown_timeout=0' zu laden. Dadurch soll verhindert werden, dass die Karte nach kurzer Zeit das Signal verliert.
Optionen
Parameter | Beschreibung |
---|---|
-a <adapter number> | Number of the DVB adapter (default : 0) |
-d <demux number> | Number of the DVB demux (default : 0) |
-s <source> | Name of the source, as defined by the "sources.conf' file of VDR. If no source is specified, only the SID will be written to the output file. |
-e <file> | Name of the file containing the channels equivalences. |
-t number | local time offset (in seconds) |
-o <output file> | Output file (default: stdout) |
-l | Send the channels list to stderr |
-h | Help |