MediaHighWay EPG
From MythTV Official Wiki
This is a program to extract proprietary EPG Data sent by the Canal+ group (Mediahighway receivers) and parse it into a VDR compatible format.
It can be used to get a 7-days EPG for Canal Satellite (France), Cyfra+ (Poland), Canal Digitaal Satelliet (Netherlands), Digital+ (Spain) and Sky Italia.
Contents
Hardware requirements
- Driver API 3
Installation
wget http://jrepetto.free.fr/mhwepg-0.4.3.tar.gz tar -zxvf mhwepg-0.4.3.tar.gz cd mhwepg-0.4.3 make
Configuration
Is necesary to create a channels.conf file
DIGITAL+:10847:v:0:22000:160:80:0:0:0 CSN EPG:12363:v:0:27500:160:80:0:0:0 CYFRA EPG:10719:v:1:27500:160:80:0:0:0 CD EPG:12515:h:0:22000:160:80:0:0:0 SKY ITALIA EPG:11881:v:1:27500:160:80:0:0:0
Execute
First tunne the adapter to a especific channel:
szap -a 6 -c channels.conf "DIGITAL+"
Execute the program:
./mhwepg -s S19.2E -a 6 -o output.dat
Parameters
usage: mhwepg [options] get MediaHighway EPG data -a number : use given adapter (default 0) -d number : use given demux (default 0) -s string : source (such as S19.2E) -e string : list of equivalent channels -t number : local time offset (in seconds) -l : send the channels list to stderr -o string : output to file <string> (default stdout)
Output
This is VDR format output, it my be fixed to get XMLTV format output:
Example:
C S19.2E-1-1074-8366 TF1 E 62 1295285100 2400 90 T UNE FAMILLE EN OR S JEU - 40' D Jeu. Présenté par Christophe Dechavanne.|Le principe d'«Une famille en or» est|très simple : deux familles s'affrontent|en quatre manches sur des questions de|la vie quotidienne. La meilleure|décrochera une place en finale. e
Tests
CSN EPG
On 15 january 2011
$ mhwepg -s S19.2E -a 6 -o output.dat UTC Offset = 0 Country = FRA, Region = 0 Local Time Offset = 3600 Next Local Time Offset = 7200 Date of change = 27/03/2011 Reading titles ... Reading summaries ... Nb of summaries : 8144 Nb of titles : 6173 Writing EPG data to file ... Nb of channels = 90
CD EPG
On 15 january 2011
$ mhwepg -s S19.2E -a 6 -o output.dat UTC Offset = 0 Country = NLD, Region = 0 Local Time Offset = 3600 Next Local Time Offset = 7200 Date of change = 27/03/2011 Reading titles ... Reading summaries ... Nb of summaries : 2868 Nb of titles : 1890 Writing EPG data to file ... Nb of channels = 46
SKY ITALIA EPG
On 15 january 2011
$ mhwepg -s S19.2E -a 6 -o output.dat UTC Offset = 0 Country = FRA, Region = 0 Local Time Offset = 3600 Next Local Time Offset = 7200 Date of change = 27/03/2011 Error while reading themes :: Connection timed out
DIGITAL+ Spain
On 15 january 2011
$ mhwepg -s S19.2E -a 6 -o output.dat UTC Offset = 0 Country = ESP, Region = 1 Local Time Offset = 7200 Next Local Time Offset = 3600 Date of change = 31/10/2010 Error while reading themes :: Connection timed out
To Do List
- Parse output data from VDR format to XMLTV format
- Fix Digital+ (spain)
- Add results on the wiki
Links
MediaHighWay EPG homepage: http://jrepetto.free.fr