PDA

View Full Version : AZBox TV API



Pages : [1] 2

fanoSat
17-01-2010, 09:19 PM
AZBox TV API is released by OpenSat:

To all developers,

Here is the AZBox TV SDK, with it you can manage:

* Channel List
* EPG
* Reserved Recordings
* Reload files

From your plugins

To reload the channel list without reboot you just need to call:
Code:
#define TVSDK_SYNC_ID_NONE 0
#define TVSDK_SYNC_ID_CHANNEL 1
#define TVSDK_SYNC_ID_EPG 2
#define TVSDK_SYNC_ID_RESERVED 3

err = TVSDK_Sync(TVSDK_SYNC_ID_CHANNEL) ;

http://azbox.com/forum/viewtopic.php?f=38&t=1143

fanoSat
17-01-2010, 09:21 PM
I've tried to compile the test program but I failed :o15:

I don't have this libs needed to compilte it:

LIBS += -lJIPC
LIBS += -lQWUtil
LIBS += -ljlike_fake

I'm doing something wrong?

Have you tried to compile it?

hfmls
17-01-2010, 11:38 PM
i don't have a clue what to do with this. :)

i would like a channel list like dreambox please if someone could make it!
one channel list with current programming next to each channel and % full screen if possible.

kleinerjunge
18-01-2010, 01:11 AM
Me, I would like to have a channel editor for Azbox HD where you can merge different channel lists in one! Like Dreambox settings editors. There you just open few editor windows and channel list in it and can copy and paste to other channel lists...

cu
KJ

rtificial
18-01-2010, 11:21 AM
i don't have a clue what to do with this. :)

i would like a channel list like dreambox please if someone could make it!
one channel list with current programming next to each channel and % full screen if possible.

I don't expect this to be possible with this API actually. What I do think is possible, is for example a plugin capable of filling the EPG with external data, or a plugin for managing your channel-list, or ****maybe<< a webinterface with more capabilities.

far451
18-01-2010, 04:28 PM
The missing lib files (eg libJIPC.so etc.) are on the AZbox in /MMP/usr/lib.
Just copy them to your test_TVSDK lib directory on your linux machine.

Alternatively, mount the cramfs partition on your linux machine...

dd if=azboz-0.9-xxxx.patch.bin of=patch.cramfs bs=56 skip=1

mount -t cramfs -o loop patch.cramfs /SD
,where /SD is a mount point.

Copy them from /SD/MMP/usr/lib

Now, FTP the test_TVSDK to the azbox to try it.

hfmls
18-01-2010, 04:35 PM
I don't expect this to be possible with this API actually. What I do think is possible, is for example a plugin capable of filling the EPG with external data, or a plugin for managing your channel-list, or ****maybe<< a webinterface with more capabilities.

i see.... i thought we could change channel list GUI now.
errrrrr shoot.... i just don't see any thing good in azbox hd other than playing my movies now..

SAUS04
23-01-2010, 09:57 AM
Any proggies managinging to do anything with this API to create a epg pluggin?

fanoSat
23-01-2010, 01:28 PM
I tried but there is no do***entation or support by Opensat (i asked in the plugin developer forum but no answers!!!)... the great problem is to tune on the EPG Home Channel I don''t how to do this by software!

I thought the right function was:

TVSDK_LockTuner(HX_INT tuner_id,HX_UINT8 net_index, HX_UINT32 freq, HX_UINT8 polar)

It seems to do nothing... don't change channell!

If I don't go on the channel in which EPG is transmitted how I can do something?

Smudger
23-01-2010, 01:35 PM
does it work if your already on the home channel?

rtificial
24-01-2010, 02:53 PM
I tried but there is no do***entation or support by Opensat (i asked in the plugin developer forum but no answers!!!)... the great problem is to tune on the EPG Home Channel I don''t how to do this by software!

I thought the right function was:

TVSDK_LockTuner(HX_INT tuner_id,HX_UINT8 net_index, HX_UINT32 freq, HX_UINT8 polar)

It seems to do nothing... don't change channell!

If I don't go on the channel in which EPG is transmitted how I can do something?

Why not use an external data-source instead of the EPG Home Channel?

Importing XML EPG data seems more relevant?

sattommy
24-01-2010, 04:05 PM
A slightly differen approach / request

As we can tune into a channel with this API is there a way to create a binary which changes to the channel you request?

like: ./channelapi (orbital position). So that you give the channel position you want to change to by command line?

Maybe there is someone who can compile this for me / the community

thnx

fanoSat
31-01-2010, 09:22 PM
Today I've coded a lot... I've tried to add a fake event to a channel without EPG info (that is eit_info was empty)... the date that I've put in the struct seems all reasonable to me...

I'm a little unsure for these:

* VTYPE_GetVCHIndexByTSInfo() seems to return the ChNumber for tuner B not A! That is the DTT tuner and NOT the sat tuner... sadly the channel is present in all 2 tuner only the name (and frequency, obviously!) change...
* eit_info.event_id = 1; I can invent it? If the channel had the now/next event I think I should mantein it,
and change the information only...
* eit_info.table_id = 1; This a mistery for me... is fake so 1 is good?


At the end TVSDK_AddEPGInfo() returns error!!!
Why?

The ugly thing is that the EPG infos are "corrupted" after the program ends all channels says "Information is not avaible"



static int
AddEPGtoChannel(HX_UINT8 ni, HX_UINT16 on_id, HX_UINT16 ts_id, HX_UINT32 freq, HX_UINT16 sid, HX_UINT8 polar)
{
struct eit_info_st EpgList[256];
struct eit_info_st eit_info;
short epg_count;
int i, err;

struct channel_st *ch_info = GetChannel(ni, on_id, ts_id, freq, sid, polar);

infon(TEST_DBG_ID,"**********\t Downloading EPG...\n");

if(ch_info == NULL) {
error(TEST_DBG_ID,"Can't find channel\n");
return 1;
}

infon(TEST_DBG_ID,"Channel found! Now set EIT info\n");
stTVSDKChannelKey ChannelKey = TVSDK_MakeKeyByChannel(ch_info);

bzero(EpgList,sizeof(EpgList));

epg_count = TVSDK_Geteit_info(&ChannelKey, time(NULL), (60*60*24), EpgList);

// Count is zero and I know it!
infon(TEST_DBG_ID," epg_count %d\n",epg_count);

eit_info = TVSDK_GetDetailEPG(&ChannelKey, EpgList[0].event_id);

// For this channel the returned list is empty...

eit_info.net_index = ni;
eit_info.net_id = on_id;
eit_info.ts_id = ts_id;
eit_info.service_id = sid;
eit_info.freq = freq;
eit_info.polar = polar;
infon(TEST_DBG_ID, "net_index %d\n",eit_info.net_index);
infon(TEST_DBG_ID, "net_id %d\n",eit_info.net_id);
infon(TEST_DBG_ID, "ts_id %d\n",eit_info.ts_id);
infon(TEST_DBG_ID,"service_id %d\n",eit_info.service_id);
infon(TEST_DBG_ID,"freq %ld\n",eit_info.freq);
infon(TEST_DBG_ID,"polar %d\n",eit_info.polar);

eit_info.event_id = 1;
eit_info.table_id = 1;
eit_info.channel_index = VTYPE_GetVCHIndexByTSInfo(0, ni, on_id, ts_id, freq, sid, polar, VINDEX_TYPE_TV);

infon(TEST_DBG_ID,"event_id %d\n",eit_info.event_id);
infon(TEST_DBG_ID,"table_id %d\n",eit_info.table_id);
infon(TEST_DBG_ID,"channel_index %d\n", eit_info.channel_index);

eit_info.start_time = getTimeStamp("2010 01 31 18 00 00");
eit_info.duration = getTimeStamp("2010 01 31 20 00 00") - eit_info.start_time;

infon(TEST_DBG_ID,"start time %d\n",eit_info.start_time);
infon(TEST_DBG_ID,"duration %d\n",eit_info.duration);

sprintf(eit_info.event_name, "Test Event");
eit_info.event_name_len = strlen(eit_info.event_name);

infon(TEST_DBG_ID,"event_name :%s\n",eit_info.event_name);

infon(TEST_DBG_ID, "Updating EPG...\n");
err = TVSDK_AddEPGInfo(&eit_info,1);

if (err) {
infon(TEST_DBG_ID, "EPG Updating failed!");
return -1;
}

return 0;
}


Thanks for your help.

A note the original sample code does nothing too... the err variable is valorized but strangely not tested :banghead:

limak
01-02-2010, 09:04 AM
I have the same error. I wrote very simple XMLTV parser only for one channel and i cant populate azbox epg list with this data using TVSDK_AddEPGInfo
Orginal sample sometimes add new event but not allways, maybe we need initialize egp update somehow.

fanoSat
01-02-2010, 09:55 AM
Yes it's possible something is wrong in our approach... but without instruction is very very difficult know what is!

The fact that the sample code fails too is very indacative :number-one-043:

If you found something let me know...

kebien
01-02-2010, 05:20 PM
The EPG information is linked to channel information,generally,where you see values like TSID and ONIT define the lookup table.

My question is,how is possible to make an epg plugin when channel information format has changed so much through versions?
I mean,this release will work with an specific version,how is the work to keep compliance with future changes they make,specially when they do not release what was changed?

fanoSat
01-02-2010, 05:47 PM
This my doubt, too this API worked with an old version of the firmware something is changed and now not works anymore...

They must be BIG changed to create this problem and then the released API MUST BE UPDATED...

It's a sort of joke... not very funny :beatdeadhorse5:

kebien
01-02-2010, 06:57 PM
I think that too.
You can see channel editors didn;t even work from version to version.
In order to keep an EPG updated you must follow correct linkage and lookup tables.
If this change with versions,you have no option but to follow the changes to keep getting EPG data and be able to parse it correctly.

I think you should find the version this sdk works well,in the first place,only then you should have to see what they changed in newer versions.

Now,EIT is pid 0x12,and EPG MIGHT BE in this same pid or may not.
Different providers use different pids.
And some EPG are encrypted or comressed and so on.

The idea might be the eaiser approach : tune a channel you know epg pid of,then use the correct values for sid/nit/onit/tsid and see if it gets the epg data.
(this given yo found the correct firmware version the SDK applies to)

fanoSat
01-02-2010, 08:15 PM
Well get the EPG is not a problem (tivusat platform brodcast EPG in a semi-dvb standard way... the only difference is that is transmitted in only a transponder for the channels)... I could save in a file in some format and then re-write in EPG memory at power on... the problem is how-to WRITE it!

The getEpg() function works; AddEpg() not... so I'm locked...

goran
01-02-2010, 08:38 PM
You guys need to speak to DJBlu!!!

Does this help:
http://dvbportal.dyn1.de/forum/index.php?topic=308.0


Cenas (in collaboration with Mfsav2) has made a new release of EPG4plus, v. 0.4.7.7:
- MHW-EPG is now fully functional also on Sky Italy (HotBird 13E 11881V) and was error free in all my tests!
- exporting in XMLTV is pretty ready for myHTPC (to rebuild channels.ini simply delete it and restart myHTPC)...
really nice work!


http://cenasdvb.topcities.com/

??

digihoe
06-02-2010, 10:18 PM
Glad to see that the API has also be been updated to 0.2, maybe soon we can have better EPG...

limak
07-02-2010, 08:26 PM
I found that if you add:


struct memory_status_st eit_mem;
TVSDK_InitEITMemory();
TVSDK_GetEITMemoryStatus(&eit_mem);

before TVSDK_AddEPGInfo
then you can write every thing to EPG memory (some kind of initialization of Epg stuff)

sattommy
09-02-2010, 10:00 PM
I found that if you add:


struct memory_status_st eit_mem;
TVSDK_InitEITMemory();
TVSDK_GetEITMemoryStatus(&eit_mem);

before TVSDK_AddEPGInfo
then you can write every thing to EPG memory (some kind of initialization of Epg stuff)

limak,

DO you have code for the xml parser. I wrote some but i have difficulties to get const char* to the unsigned char array provided by opensat.

Cheers,

Tommy

limak
12-02-2010, 04:00 PM
EpgWriter ver 0.1
http://www.mediafire.com/?dznjja2ynxz
very simple but it works for me
regards
limak

sattommy
12-02-2010, 04:53 PM
Thanks,

Will test it. didn't get mine compiled :(. Worked without including the azbox files but only compiled with g++ --> azbox files gave loads of errors on g++ :(.

Will write a nice shell script around it to make use of xmltv files with multiple channels.

Regards,

Tommy

massimo1167
12-02-2010, 04:57 PM
EpgWriter ver 0.1
http://www.mediafire.com/?dznjja2ynxz
very simple but it works for me
regards
limak
Do You share the sources too?

However thanks!!!

limak
12-02-2010, 05:31 PM
I'm not very proud of this code, I don't remember when I code ANSI C last time ;) but if you want it send me pm

rtificial
12-02-2010, 07:20 PM
@limak:

Can you have a look at what Rytec creates? http://www.rytec.be

He provides gzipped xmltv files online, which can be downloaded and processed, for several packages.

A lot of details can be found in a convenient way on the website.

I think he has built one of the most useful EPG parsers so far.

sattommy
12-02-2010, 07:53 PM
@limak:

Can you have a look at what Rytec creates? http://www.rytec.be

He provides gzipped xmltv files online, which can be downloaded and processed, for several packages.

A lot of details can be found in a convenient way on the website.

I think he has built one of the most useful EPG parsers so far.

I am just creating a sh script for this ;-)

need some help though with creating a channel.txt file -> map all the freqs en stuff to the xml channels. Like rytecs channels.xml file

limak
12-02-2010, 08:22 PM
Soory but I dont have spare time to create lookup table with channels id from xmltv and freq, sid, tid, nid, etc. But now it sould be easy to make some decent epg downloader now. I just share my code with some people.
Have a nice weekend

rtificial
12-02-2010, 08:40 PM
I am just creating a sh script for this ;-)

need some help though with creating a channel.txt file -> map all the freqs en stuff to the xml channels. Like rytecs channels.xml file

Thanks Sattommy, let me know if I can help you out in any way.

@Limak: Thanks for your work so far :)

hfmls
12-02-2010, 08:42 PM
sorry the noobish guys.

is this an EPG plugin?

if so, can i use it in hispasat?

if not, what is it? :)

Smudger
12-02-2010, 08:46 PM
It's the start of a epg populator with data from internet could be called a plugin when setup. I've tried to use it without success at the moment.

hfmls
12-02-2010, 08:51 PM
it crashed my box, hehe :)
i dunno if i did it right. gonna wait for something more user friendly for me :)

tapper
12-02-2010, 09:00 PM
I just get a black screen when accessing the plugin via the remote, but after entering anoter line for it to download the bbc1 xml , I ran ./epgdownload and it downloaded the data and created the xml files successfully

manually running ./epgwriter I get this



MMP[EpgWriter]$ ./epgwriter

EpgWriter ver 0.1 by limak
Usage:
epgwriter XMLTVFileName Azbox_network_id NID TID frequency SID polarisation

Example: epgwriter tvn24.xmltv 6 318 1000 11393000 4312 1

( polarisation: horizontal=0, vertical=1, Azbox_netword_id=6 for HotBird 13E )



I take it that Ive got to put in all the right params from here

Smudger
12-02-2010, 09:01 PM
can someone explain the parameters 6 318 12800 11075000 6 1
used when calling the program.

I see its 14 for 28.2

152 for Hispasat.

think I've got it using Maz channel editor for details.

sat number NID ??? Channel Frequency sat number H/V 0 or 1


can't work out the 12800


got it working for bbc1 on 28.2

./epgwriter bbc1.bbc.xmltv 14 2 2048 10817500 10355 1 > bbc1.bbc.xmltv.log


just noticed the previous post.

tapper
12-02-2010, 09:45 PM
ok I think i sussed the params

I ran




./epgwriter bbc1.sat.xmltv 14 2 2048 1081800 10355 1



is it missing the fact that this file exists bbc1.sat.xmltv do I need to set a path.?

Also it couldnt open the Dat files which where I presume the epg is stored




MMP[EpgWriter]$ ./epgwriter bbc1.sat.xmltv 14 2 2048 1081800 10355 1

EpgWriter ver 0.1 by limak
HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH HHHHHHHHHHHHHHHHHH
BUILD: [Jan 21 2010 20:18:24]
HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH HHHHHHHHHHHHHHHHHH
unlink fail!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!: No such file or directory
AZBoxTVSDK TVSDK_CheckTunerInfo:58 # Tuner Combination Type : COMBO
#
AZBoxTVSDK TVSDK_CheckTunerInfo:76 find ---- /tmp/TUNER_DVBS-0
create_iso_639_code_table ok
Send massage D(4), S(33)
AZBoxTVSDK ChannelSDK_Load:332 (/DISK2/all_channel.dat)
MAX_CHANNEL 15000
FAV GROUP 50
FAV 200
channel list version : 9
channel_st (200) * 15000 : 3000000
channel_list_st (1596296) + channel_st 3000000 : 4596296
+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+ =+=+=+=+=+=+=+=+=+=+=+=+=
AZBoxTVSDK ChannelSDK_ChangeVindexType:102 USE LIST CHANGE CHANNEL LIST
1 type('FAV CH')
+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+ =+=+=+=+=+=+=+=+=+=+=+=+=
AZBoxTVSDK ChannelSDK_LinkRCHInfo:223
AZBoxTVSDK ChannelSDK_Load:465 #######################
channel list version : 9
load service_type : 1
load use_group_list : 'FAV'
load bouquet : 65535
load net_index : 255
load original channel number : 5138
load tv channel number : 4353
load radio channel number : 785
load user channel number : 863
load vch_type : 'FAV CH'
load promotion channel number : 0
AZBoxTVSDK ChannelSDK_Load:486 #######################
ERROR: ChannelSDK_LoadNetwork:765 Fail to open '/DISK2/DVBC.dat'
ERROR: ChannelSDK_LoadNetwork:765 Fail to open '/DISK2/DVBTa.dat'
ERROR: ChannelSDK_LoadNetwork:765 Fail to open '/DISK2/ISDBT.dat'
ERROR: ChannelSDK_LoadNetwork:765 Fail to open '/DISK2/ATSC.dat'
AZBoxTVSDK TVSDK_GetGMTOffset:439
Send massage D(4), S(33)
AZBoxTVSDK set_GMT_offset:1305 GMT_offset 0

EpgWriter ver 0.1 by limak

AZBoxTVSDK TVSDK_InitEITMemory:1172
AZBoxTVSDK TVSDK_SetUserEITMemory:1211
Send massage D(4), S(33)
AZBoxTVSDK TVSDK_GetEITMemoryStatus:1135
Send massage D(4), S(33)
AZBoxTVSDK TVSDK_ParseEITMemoryStatus:194
AZBoxTVSDK TVSDK_ParseEITMemoryStatus:207 DEFAULT_EIT total 20971520
AZBoxTVSDK TVSDK_ParseEITMemoryStatus:208 DEFAULT_EIT used 1959779
AZBoxTVSDK TVSDK_GetEITMemoryStatus:1154 max_eit_memory 29360128
AZBoxTVSDK TVSDK_GetEITMemoryStatus:1158 DEFAULT_EIT total 20971520
AZBoxTVSDK TVSDK_GetEITMemoryStatus:1159 DEFAULT_EIT used 1959779
AZBoxTVSDK TVSDK_GetEITMemoryStatus:1162 USER_EIT total 8388608
AZBoxTVSDK TVSDK_GetEITMemoryStatus:1163 USER_EIT used 257940
AddEpgFromFile:401 Can't find channel
AZBoxTVSDK TVSDK_Deinit:381
destroy_iso_639_code_table ok
Send massage D(4), S(33)
MMP[EpgWriter]$

Smudger
12-02-2010, 09:55 PM
did you
wget -O bbc1.bbc.xmltv hxxp://tvprofil.net/xmltv/data/bbc1.sat/weekly_bbc1.sat_tvprofil.net.xml

first?

remove the hxxp to http

tapper
12-02-2010, 09:56 PM
yes and the file exists in /PLUGINS/EpgWriter

Smudger
12-02-2010, 10:02 PM
#!/bin/sh
#
# epg download script

#wget -O mtv.music.xmltv hxxp://tvprofil.net/xmltv/data/mtv.music/weekly_mtv.music_tvprofil.net.xml
wget -O bbc1.bbc.xmltv hxxp://tvprofil.net/xmltv/data/bbc1.sat/weekly_bbc1.sat_tvprofil.net.xml
wget -O bbc2.bbc.xmltv hxxp://tvprofil.net/xmltv/data/bbc2.sat/weekly_bbc2.sat_tvprofil.net.xml
#./epgwriter mtv.music.xmltv 6 318 12800 11075000 6 1 > mtv.music.xmltv.log
./epgwriter bbc1.bbc.xmltv 14 2 2048 10817500 10355 1 > bbc1.bbc.xmltv.log
./epgwriter bbc2.bbc.xmltv 14 2 2045 10773250 6302 0 > bbc2.bbc.xmltv.log
exit


my script

tapper
12-02-2010, 10:09 PM
seems you've cracked it for 28.2 Smuger, I tried your commands and I've got full epg on BBC1 although I did get a prompt on screen for the adult content password..??

Thank you limak your plugin works great

and thank you Smuger for sussing the parameters

Smudger
12-02-2010, 10:19 PM
although I did get a prompt on screen for the adult content password..??


I don't get that have you settings set on your box?

tapper
12-02-2010, 10:28 PM
yea I've got the default settings for the content filter, but wouldnt have thought it would have popped up when adding the epg, no matter its not the fault of the plugin just something strange with my box :respect-050:

Smudger
12-02-2010, 10:54 PM
./epgwriter bbc1.bbc.xmltv 14 2 2048 10817500 10355 1 > bbc1.bbc.xmltv.log
./epgwriter bbc2.bbc.xmltv 14 2 2045 10773250 6302 0 > bbc2.bbc.xmltv.log
./epgwriter bbc3.bbc.xmltv 14 2 2045 10773250 6319 0 > bbc3.bbc.xmltv.log
./epgwriter bbc4.bbc.xmltv 14 2 2045 10773250 6316 0 > bbc4.bbc.xmltv.log

channel settings
you have to down load the the files first .

sattommy
12-02-2010, 11:11 PM
Ok i finally managed. I added a few lines of code so the orbital position of the sats are detected by the azbox.

I have also made the bash scripts for downloading the rytec xmltv files. (just have to finish a couple of lines of the script but then it works).

To make this work a channel.txt has to be created. The following layout will be used:

#XML-Channel-ID #ORBITALPOS #NID #TID #FREQ #SID #POLARISATION #Channelname(Start with dash)
I196250.750832.microsoft.com 192 318 12800 11075000 6 1 #Nederland 1

The XML-channelIDs can be found at the rytec.be website in the sources.xml file.

If anyone who is interested in using these scripts, and wants to make a channel.txt is so nice that we can put it on the forum it will save a lot of time.

I will upload the scripts either tonight or tommorow morning.

Smudger
13-02-2010, 09:10 AM
I Can't find the XML Channel Id's for the uk BBC's only the one below.

I101.752876.microsoft.com 14 2 2045 10773250 6302 0 # BBC 1 NE

<channel id="I101.752876.microsoft.com">
<display-name>BBC One</display-name>
<display-name>101 BBC One</display-name>
<display-name>101</display-name>
<display-name>BBC1 West Midlands</display-name>
</channel>


taken from about in file rytecxmltv_uk any ideas.

rtificial
13-02-2010, 11:14 AM
These are the XML channel ID's for all UK channels, including the bbc's:

<channel id="Five.uk">
<display-name lang="en">Five</display-name>
</channel>
<channel id="SkyNews.uk">
<display-name lang="en">Sky News</display-name>
</channel>
<channel id="Scuzz.uk">
<display-name lang="en">Scuzz</display-name>
</channel>
<channel id="RushHD.uk">
<display-name lang="en">Rush HD</display-name>
</channel>
<channel id="RacingUK.uk">
<display-name lang="en">Racing UK</display-name>
</channel>
<channel id="Q.uk">
<display-name lang="en">Q</display-name>
</channel>
<channel id="PropellerTV.uk">
<display-name lang="en">Propeller TV</display-name>
</channel>
<channel id="NickReplay.uk">
<display-name lang="en">Nick Replay</display-name>
</channel>
<channel id="NickJunior.uk">
<display-name lang="en">Nick Junior</display-name>
</channel>
<channel id="MTVNHD.uk">
<display-name lang="en">MTVN HD</display-name>
</channel>
<channel id="MotorsTV.uk">
<display-name lang="en">MotorsTV</display-name>
</channel>
<channel id="Men.and.Motors.uk">
<display-name lang="en">Men and Motors</display-name>
</channel>
<channel id="Magic.uk">
<display-name lang="en">Magic</display-name>
</channel>
<channel id="Kiss.uk">
<display-name lang="en">Kiss 100</display-name>
</channel>
<channel id="Kerrang.uk">
<display-name lang="en">Kerrang</display-name>
</channel>
<channel id="Flaunt.uk">
<display-name lang="en">Flaunt</display-name>
</channel>
<channel id="ExtremeSports.uk">
<display-name lang="en">ExtremeSports</display-name>
</channel>
<channel id="Euronews.uk">
<display-name lang="en">Euronews</display-name>
</channel>
<channel id="E.uk">
<display-name lang="en">E</display-name>
</channel>
<channel id="DiscoveryShed.uk">
<display-name lang="en">Discovery Shed</display-name>
</channel>
<channel id="CITV.uk">
<display-name lang="en">CITV</display-name>
</channel>
<channel id="CineMoi.uk">
<display-name lang="en">CineMoi</display-name>
</channel>
<channel id="Bravo2.uk">
<display-name lang="en">Bravo2</display-name>
</channel>
<channel id="BBCParliament.uk">
<display-name lang="en">BBC Parliament</display-name>
</channel>
<channel id="AlJazeeraEnglish.uk">
<display-name lang="en">Al Jazeera English</display-name>
</channel>
<channel id="FashionTV.uk">
<display-name lang="en">Fashion TV</display-name>
</channel>
<channel id="ZeeTV.uk">
<display-name lang="en">Zee TV</display-name>
</channel>
<channel id="ZeeCinema.uk">
<display-name lang="en">Zee Cinema</display-name>
</channel>
<channel id="ZeePunjabi.uk">
<display-name lang="en">Zee Cinema</display-name>
</channel>
<channel id="ChartShowTV.uk">
<display-name lang="en">Chart Show TV</display-name>
</channel>
<channel id="CCTV9.uk">
<display-name lang="en">CCTV-9</display-name>
</channel>
<channel id="BiB.uk">
<display-name lang="en">Body in Balance</display-name>
</channel>
<channel id="BET.uk">
<display-name lang="en">BET</display-name>
</channel>
<channel id="BET1.uk">
<display-name lang="en">BET +1</display-name>
</channel>
<channel id="CBSReality1.uk">
<display-name lang="en">CBS Reality +1</display-name>
</channel>
<channel id="CBSAction.uk">
<display-name lang="en">CBS Action</display-name>
</channel>
<channel id="CBSDrama.uk">
<display-name lang="en">CBS Drama</display-name>
</channel>
<channel id="CBSReality.uk">
<display-name lang="en">CBS Reality</display-name>
</channel>
<channel id="CBeebies.uk">
<display-name lang="en">CBeebies</display-name>
</channel>
<channel id="CBBC.uk">
<display-name lang="en">CBBC</display-name>
</channel>
<channel id="FXplus.uk">
<display-name lang="en">FX+</display-name>
</channel>
<channel id="FX.uk">
<display-name lang="en">FX</display-name>
</channel>
<channel id="weddingtv.uk">
<display-name lang="en">wedding tv</display-name>
</channel>
<channel id="TheUnexplainedChannel.uk">
<display-name lang="en">The Unexplained Channel</display-name>
</channel>
<channel id="TheVault.uk">
<display-name lang="en">The Vault</display-name>
</channel>
<channel id="RussiaToday.uk">
<display-name lang="en">Russia Today</display-name>
</channel>
<channel id="NMETV.uk">
<display-name lang="en">NME TV</display-name>
</channel>
<channel id="Kix.uk">
<display-name lang="en">Kix</display-name>
</channel>
<channel id="HorseAndCountry.uk">
<display-name lang="en">Horse and Country</display-name>
</channel>
<channel id="Flava.uk">
<display-name lang="en">Flava</display-name>
</channel>
<channel id="Film24.uk">
<display-name lang="en">Film24</display-name>
</channel>
<channel id="BBCEntertainment.uk">
<display-name lang="en">BBCEntertainment.uk</display-name>
</channel>
<channel id="TheStyleNetwork.uk">
<display-name lang="en">The Style Network</display-name>
</channel>
<channel id="NMETV.uk">
<display-name lang="en">NME TV</display-name>
</channel>
<channel id="MTVR.uk">
<display-name lang="en">MTVR</display-name>
</channel>
<channel id="MilitaryHistory.uk">
<display-name lang="en">Military History</display-name>
</channel>
<channel id="HistoryHD.uk">
<display-name lang="en">History HD</display-name>
</channel>
<channel id="FOXNews.uk">
<display-name lang="en">FOX News</display-name>
</channel>
<channel id="ChannelM.uk">
<display-name lang="en">Channel M</display-name>
</channel>
<channel id="CommunityChannel.uk">
<display-name lang="en">Community Channel</display-name>
</channel>
<channel id="BBCAlba.uk">
<display-name lang="en">BBC Alba</display-name>
</channel>
<channel id="4Music.uk">
<display-name lang="en">4Music</display-name>
</channel>
<channel id="DiscoveryHD.uk">
<display-name lang="en">Discovery HD</display-name>
</channel>
<channel id="DiscoveryTravelandLiving.uk">
<display-name lang="en">Discovery Travel and Living</display-name>
</channel>
<channel id="Viva.uk">
<display-name lang="en">Viva</display-name>
</channel>
<channel id="TrueEntertainment.uk">
<display-name lang="en">True Entertainment</display-name>
</channel>
<channel id="TeachersTV.uk">
<display-name lang="en">Teachers TV</display-name>
</channel>
<channel id="Smash.uk">
<display-name lang="en">Smash Hits</display-name>
</channel>
<channel id="Sky1.uk">
<display-name lang="en">Sky1</display-name>
</channel>
<channel id="Sky3.uk">
<display-name lang="en">Sky3</display-name>
</channel>
<channel id="Sky2.uk">
<display-name lang="en">Sky2</display-name>
</channel>
<channel id="BBC2.uk">
<display-name lang="en">BBC2</display-name>
</channel>
<channel id="BBC1.uk">
<display-name lang="en">BBC1</display-name>
</channel>
<channel id="3e.rte.ie">
<display-name lang="en">3e</display-name>
</channel>
<channel id="tv3.rte.ie">
<display-name lang="en">TV3</display-name>
</channel>
<channel id="tg4.rte.ie">
<display-name lang="en">TG4</display-name>
</channel>
<channel id="rte2.rte.ie">
<display-name lang="en">RTE 2</display-name>
</channel>
<channel id="rte1.rte.ie">
<display-name lang="en">RTE 1</display-name>
</channel>
<channel id="MGMHD.uk">
<display-name lang="en">MGM HD</display-name>
</channel>
<channel id="ManchesterUnitedTV.uk">
<display-name lang="en">Manchester United TV</display-name>
</channel>
<channel id="STV.uk">
<display-name lang="en">STV</display-name>
</channel>
<channel id="SkyNewsInternational.uk">
<display-name lang="en">Sky News International</display-name>
</channel>
<channel id="SkySport***tra.uk">
<display-name lang="en">Sky Sports Extra</display-name>
</channel>
<channel id="UTV.uk">
<display-name lang="en">UTV</display-name>
</channel>
<channel id="ZeeMusic.uk">
<display-name lang="en">Zee Music</display-name>
</channel>
<channel id="CrimeHD.uk">
<display-name lang="en">CrimeHD.uk</display-name>
</channel>
<channel id="SkyTravel.uk">
<display-name lang="en">SkyTravel.uk</display-name>
</channel>
<channel id="ShortsTV.uk">
<display-name lang="en">ShortsTV.uk</display-name>
</channel>
<channel id="MTVTrax.uk">
<display-name lang="en">MTVTrax.uk</display-name>
</channel>
<channel id="ClublandTV.uk">
<display-name lang="en">ClublandTV.uk</display-name>
</channel>
<channel id="RockworldTV.uk">
<display-name lang="en">RockworldTV.uk</display-name>
</channel>
<channel id="SkySciFiHorror.uk">
<display-name lang="en">Sky Movies Sci-Fi/Horror</display-name>
</channel>
<channel id="SkySports3.uk">
<display-name lang="en">Sky Sports 3</display-name>
</channel>
<channel id="SkySports1.uk">
<display-name lang="en">Sky Sports 1</display-name>
</channel>
<channel id="SkySports2.uk">
<display-name lang="en">Sky Sports 2</display-name>
</channel>
<channel id="SkySportsNews.uk">
<display-name lang="en">Sky Sports News</display-name>
</channel>
<channel id="PlayboyTV.uk">
<display-name lang="en">Playboy TV</display-name>
</channel>
<channel id="LuxeTV.uk">
<display-name lang="en">LuxeTV</display-name>
</channel>
<channel id="tinypop1.uk">
<display-name lang="en">Tiny Pop +1</display-name>
</channel>
<channel id="tinypop.uk">
<display-name lang="en">Tiny Pop!</display-name>
</channel>
<channel id="pop.uk">
<display-name lang="en">Pop!</display-name>
</channel>
<channel id="France24.uk">
<display-name lang="en">France24</display-name>
</channel>
<channel id="TV5MONDE.uk">
<display-name lang="en">TV5MONDE</display-name>
</channel>
<channel id="AdultChannel.uk">
<display-name lang="en">The Adult channel</display-name>
</channel>
<channel id="VH1Classic.uk">
<display-name lang="en">VH1 Classic</display-name>
</channel>
<channel id="VH1UK.uk">
<display-name lang="en">VH1 UK</display-name>
</channel>
<channel id="MTV2.uk">
<display-name lang="en">MTV TWO</display-name>
</channel>
<channel id="MTVDance.uk">
<display-name lang="en">MTV Dance</display-name>
</channel>
<channel id="MTVHits.uk">
<display-name lang="en">MTV Hits</display-name>
</channel>
<channel id="MTVBase.uk">
<display-name lang="en">MTV Base</display-name>
</channel>
<channel id="PlayhouseDisneyplus.uk">
<display-name lang="en">Playhouse Disney +</display-name>
</channel>
<channel id="PlayhouseDisney.uk">
<display-name lang="en">Playhouse Disney</display-name>
</channel>
<channel id="Nicktoons.uk">
<display-name lang="en">Nicktoons</display-name>
</channel>
<channel id="NickReplay.uk">
<display-name lang="en">Nick Replay</display-name>
</channel>
<channel id="Nickelodeon.uk">
<display-name lang="en">Nickelodeon</display-name>
</channel>
<channel id="CNBC.uk">
<display-name lang="en">CNBC</display-name>
</channel>
<channel id="Dave.uk">
<display-name lang="en">Dave</display-name>
</channel>
<channel id="DaveJaVu.uk">
<display-name lang="en">Dave Ja Vu</display-name>
</channel>
<channel id="CNBC.uk">
<display-name lang="en">CNBC</display-name>
</channel>
<channel id="ESPNAmerica.uk">
<display-name lang="en">ESPN America</display-name>
</channel>
<channel id="ESPN.uk">
<display-name lang="en">ESPN</display-name>
</channel>
<channel id="ESPNHD.uk">
<display-name lang="en">ESPN HD</display-name>
</channel>
<channel id="BBCNews.uk">
<display-name lang="en">BBC News</display-name>
</channel>
<channel id="CNN.uk">
<display-name lang="en">CNN</display-name>
</channel>
<channel id="ESPNClassic.uk">
<display-name lang="en">ESPN Classic</display-name>
</channel>
<channel id="Bliss.uk">
<display-name lang="en">Bliss</display-name>
</channel>
<channel id="CartoonNetworkToo.uk">
<display-name lang="en">Cartoon Network Too</display-name>
</channel>
<channel id="CartoonNetwork.uk">
<display-name lang="en">CartoonNetwork</display-name>
</channel>
<channel id="NatGeoWild.uk">
<display-name lang="en">National Geographic Wild</display-name>
</channel>
<channel id="Bio.uk">
<display-name lang="en">Bio</display-name>
</channel>
<channel id="Bloomberg.uk">
<display-name lang="en">Bloomberg TV</display-name>
</channel>
<channel id="Blighty.uk">
<display-name lang="en">Blighty</display-name>
</channel>
<channel id="BioHD.uk">
<display-name lang="en">Bio</display-name>
</channel>
<channel id="DiscoveryTurbo.uk">
<display-name lang="en">Discovery Turbo</display-name>
</channel>
<channel id="EurosportHD.uk">
<display-name lang="en">Eurosport HD</display-name>
</channel>
<channel id="Eurosport2UK.uk">
<display-name lang="en">British Eurosport 2</display-name>
</channel>
<channel id="EurosportUK.uk">
<display-name lang="en">British Eurosport</display-name>
</channel>
<channel id="SkyMoviesDrama.uk">
<display-name lang="en">Sky Movies Drama</display-name>
</channel>
<channel id="SkyMoviesFamily.uk">
<display-name lang="en">Sky Movies Family</display-name>
</channel>
<channel id="SkyMoviesComedy.uk">
<display-name lang="en">Sky Movies Comedy </display-name>
</channel>
<channel id="SkyMoviesActionThriller.uk">
<display-name lang="en">Sky Movies ActionThriller</display-name>
</channel>
<channel id="Really.uk">
<display-name lang="en">Really</display-name>
</channel>
<channel id="FiveUSA.uk">
<display-name lang="en">Five USA</display-name>
</channel>
<channel id="FiveUSAPlus1.uk">
<display-name lang="en">Five USA +1</display-name>
</channel>
<channel id="Fiverplus1.uk">
<display-name lang="en">Fiver +1</display-name>
</channel>
<channel id="Fiver.uk">
<display-name lang="en">Fiver</display-name>
</channel>
<channel id="SkyMoviesPremiere.uk">
<display-name lang="en">Sky Movies Premiere</display-name>
</channel>
<channel id="SkyMoviesPremiereplus1.uk">
<display-name lang="en">Sky Movies Premiere +1</display-name>
</channel>
<channel id="Film4plus1.uk">
<display-name lang="en">Film4 +1</display-name>
</channel>
<channel id="Film4.uk">
<display-name lang="en">Film4</display-name>
</channel>
<channel id="Homeplus1.uk">
<display-name lang="en">Home +1</display-name>
</channel>
<channel id="Home.uk">
<display-name lang="en">Home</display-name>
</channel>
<channel id="Movies4Men2.uk">
<display-name lang="en">Movies4Men+2</display-name>
</channel>
<channel id="Movies4Men2plus1.uk">
<display-name lang="en">Movies4Men2 +1</display-name>
</channel>
<channel id="Movies4Men.uk">
<display-name lang="en">Movies4Men</display-name>
</channel>
<channel id="Movies4MenPlus1.uk">
<display-name lang="en">Movies4Men +1</display-name>
</channel>
<channel id="ITV4.uk">
<display-name lang="en">ITV4</display-name>
</channel>
<channel id="ITV4plus1.uk">
<display-name lang="en">ITV4 +1</display-name>
</channel>
<channel id="ITV3.uk">
<display-name lang="en">ITV3</display-name>
</channel>
<channel id="ITV3plus1.uk">
<display-name lang="en">ITV3 +1</display-name>
</channel>
<channel id="ITV2.uk">
<display-name lang="en">ITV2</display-name>
</channel>
<channel id="ITV2plus1.uk">
<display-name lang="en">ITV2+1</display-name>
</channel>
<channel id="Channel4plus1.uk">
<display-name lang="en">Channel4 +1</display-name>
</channel>
<channel id="Channel4.uk">
<display-name lang="en">Channel4</display-name>
</channel>
<channel id="PopGirl.uk">
<display-name lang="en">Pop Girl</display-name>
</channel>
<channel id="PopGirlPlus1.uk">
<display-name lang="en">Pop Girl +1</display-name>
</channel>
<channel id="DiscoveryDMAXPlus1.uk">
<display-name lang="en">Discovery DMAX +1</display-name>
</channel>
<channel id="DiscoveryDMAXPlus2.uk">
<display-name lang="en">Discovery DMAX +2</display-name>
</channel>
<channel id="DiscoveryDMAX.uk">
<display-name lang="en">Discovery DMAX </display-name>
</channel>
<channel id="DivaTVPlus1.uk">
<display-name lang="en">Diva TV +1</display-name>
</channel>
<channel id="DivaTV.uk">
<display-name lang="en">Diva TV</display-name>
</channel>
<channel id="YesterdayPlus1.uk">
<display-name lang="en">Yesterday +1</display-name>
</channel>
<channel id="Yesterday.uk">
<display-name lang="en">Yesterday</display-name>
</channel>
<channel id="WatchPlus1.uk">
<display-name lang="en">Watch +1</display-name>
</channel>
<channel id="Watch.uk">
<display-name lang="en">Watch</display-name>
</channel>
<channel id="Virgin1Plus1.uk">
<display-name lang="en">Virgin1 +1</display-name>
</channel>
<channel id="Virgin1.uk">
<display-name lang="en">Virgin1 </display-name>
</channel>
<channel id="TravelChannelPlus1.uk">
<display-name lang="en">Travel Channel +1</display-name>
</channel>
<channel id="TravelChannel.uk">
<display-name lang="en">Travel Channel</display-name>
</channel>
<channel id="SkyRealLives2.uk">
<display-name lang="en">Sky Real Lives 2</display-name>
</channel>
<channel id="SkyRealLivesPlus1.uk">
<display-name lang="en">Sky Real Lives</display-name>
</channel>
<channel id="SkyRealLives.uk">
<display-name lang="en">Sky Real Lives</display-name>
</channel>
<channel id="SkyRealLives.uk">
<display-name lang="en">Sky Real Lives</display-name>
</channel>
<channel id="Eden.uk">
<display-name lang="en">Eden</display-name>
</channel>
<channel id="EdenPlus1.uk">
<display-name lang="en">Eden +1</display-name>
</channel>
<channel id="MTVplus1.uk">
<display-name lang="en">MTV +1</display-name>
</channel>
<channel id="MTV.uk">
<display-name lang="en">MTV</display-name>
</channel>
<channel id="Disneyplus1.uk">
<display-name lang="en">Disney +1</display-name>
</channel>
<channel id="Disney.uk">
<display-name lang="en">Disney</display-name>
</channel>
<channel id="DisneyXDplus1.uk">
<display-name lang="en">Disney XD +1</display-name>
</channel>
<channel id="DisneyXD.uk">
<display-name lang="en">Disney XD</display-name>
</channel>
<channel id="E4.uk">
<display-name lang="en">E4</display-name>
</channel>
<channel id="E4plus1.uk">
<display-name lang="en">E4 +1</display-name>
</channel>
<channel id="Challenge.uk">
<display-name lang="en">Challenge</display-name>
</channel>
<channel id="Challengeplus1.uk">
<display-name lang="en">Challenge +1</display-name>
</channel>
<channel id="Bravo.uk">
<display-name lang="en">Bravo</display-name>
</channel>
<channel id="Bravoplus1.uk">
<display-name lang="en">Bravo +1</display-name>
</channel>
<channel id="Boomerang.uk">
<display-name lang="en">Boomerang</display-name>
</channel>
<channel id="Boomerangplus1.uk">
<display-name lang="en">Boomerang +1</display-name>
</channel>
<channel id="GoodFoodplus1.uk">
<display-name lang="en">Good Food +1</display-name>
</channel>
<channel id="GoodFood.uk">
<display-name lang="en">Good Food</display-name>
</channel>
<channel id="Historyplus1.uk">
<display-name lang="en">History +1</display-name>
</channel>
<channel id="History.uk">
<display-name lang="en">History</display-name>
</channel>
<channel id="NationalGeographicPlus1.uk">
<display-name lang="en">National Geographic</display-name>
</channel>
<channel id="NationalGeographic.uk">
<display-name lang="en">National Geographic</display-name>
</channel>
<channel id="Alibi.uk">
<display-name lang="en">Alibi</display-name>
</channel>
<channel id="Alibiplus1.uk">
<display-name lang="en">Alibi +1</display-name>
</channel>
<channel id="AnimalPlanet.uk">
<display-name lang="en">Animal Planet</display-name>
</channel>
<channel id="AnimalPlanetplus1.uk">
<display-name lang="en">Animal Planet</display-name>
</channel>
<channel id="DiscoverySciencePlus1.uk">
<display-name lang="en">Discovery Science</display-name>
</channel>
<channel id="DiscoveryScience.uk">
<display-name lang="en">Discovery Science</display-name>
</channel>
<channel id="Discoveryplus1.uk">
<display-name lang="en">Discovery +1</display-name>
</channel>
<channel id="Discovery.uk">
<display-name lang="en">Discovery</display-name>
</channel>
<channel id="SCIFI.uk">
<display-name lang="en">SciFi</display-name>
</channel>
<channel id="SCIFIPlus1.uk">
<display-name lang="en">SciFi +1</display-name>
</channel>
<channel id="Quest.uk">
<display-name lang="en">Quest</display-name>
</channel>
<channel id="QuestPlus1.uk">
<display-name lang="en">Quest</display-name>
</channel>
<channel id="More4.uk">
<display-name lang="en">more4</display-name>
</channel>
<channel id="More4Plus1.uk">
<display-name lang="en">more4 +1</display-name>
</channel>
<channel id="LIVINGitPlus1.uk">
<display-name lang="en">LIVINGit +1</display-name>
</channel>
<channel id="LIVINGit.uk">
<display-name lang="en">LIVINGit</display-name>
</channel>
<channel id="LIVINGPlus1.uk">
<display-name lang="en">LIVING +1</display-name>
</channel>
<channel id="LIVINGPlus2.uk">
<display-name lang="en">LIVING +2</display-name>
</channel>
<channel id="LIVING.uk">
<display-name lang="en">LIVING</display-name>
</channel>
<channel id="HallmarkPlus1.uk">
<display-name lang="en">Hallmark +1</display-name>
</channel>
<channel id="Hallmark.uk">
<display-name lang="en">Hallmark</display-name>
</channel>
<channel id="GOLD.uk">
<display-name lang="en">GOLD</display-name>
</channel>
<channel id="GOLDPlus1.uk">
<display-name lang="en">GOLD</display-name>
</channel>
<channel id="FoodNetwork.uk">
<display-name lang="en">Food Network</display-name>
</channel>
<channel id="FoodNetworkPlus1.uk">
<display-name lang="en">Food Network</display-name>
</channel>
<channel id="ComedyCentralExtra.uk">
<display-name lang="en">Comedy Central Extra</display-name>
</channel>
<channel id="ComedyCentralExtraPlus1.uk">
<display-name lang="en">Comedy Central Extra</display-name>
</channel>
<channel id="ComedyCentralplus1.uk">
<display-name lang="en">Comedy Central +1</display-name>
</channel>
<channel id="ComedyCentral.uk">
<display-name lang="en">Comedy Central</display-name>
</channel>
<channel id="DisneyCinemagicPlus1.uk">
<display-name lang="en">Disney Cinemagic +1</display-name>
</channel>
<channel id="DisneyCinemagic.uk">
<display-name lang="en">Disney Cinemagic</display-name>
</channel>
<channel id="DiscoveryRealTimePlus1.uk">
<display-name lang="en">Discovery Real Time +1</display-name>
</channel>
<channel id="DiscoveryRealTime.uk">
<display-name lang="en">Discovery Real Time</display-name>
</channel>
<channel id="DiscoveryKnowledge.uk">
<display-name lang="en">Discovery Knowledge</display-name>
</channel>
<channel id="DiscoveryKnowledgePlus1.uk">
<display-name lang="en">Discovery Knowledge +1</display-name>
</channel>
<channel id="HomeandHealthplus1.uk">
<display-name lang="en">Home+and Health +1</display-name>
</channel>
<channel id="HomeandHealth.uk">
<display-name lang="en">Home+and Health</display-name>
</channel>
<channel id="CrimeAndInvestigationNetworkplus1 .uk">
<display-name lang="en">Crime And Investigation Network +1</display-name>
</channel>
<channel id="CrimeAndInvestigationNetwork.uk">
<display-name lang="en">Crime And Investigation Network</display-name>
</channel>
<channel id="ZoneHorrorPlus1.uk">
<display-name lang="en">Zone Horror +1</display-name>
</channel>
<channel id="ZoneHorror.uk">
<display-name lang="en">Zone Horror</display-name>
</channel>
<channel id="Movies24plus.uk">
<display-name lang="en">Movies24 +</display-name>
</channel>
<channel id="Movies24.uk">
<display-name lang="en">Movies24</display-name>
</channel>
<channel id="ITV1.uk">
<display-name lang="en">ITV1</display-name>
</channel>
<channel id="BBC4.uk">
<display-name lang="en">BBC4</display-name>
</channel>
<channel id="BBC3.uk">
<display-name lang="en">BBC3</display-name>
</channel>
<channel id="SkyArts2.uk">
<display-name lang="en">Sky Arts 2</display-name>
</channel>
<channel id="SkyArts1.uk">
<display-name lang="en">Sky Arts 1</display-name>
</channel>
<channel id="TrueMovies2.uk">
<display-name lang="en">Trrue Movies2</display-name>
</channel>
<channel id="TrueMovies.uk">
<display-name lang="en">True Movies</display-name>
</channel>
<channel id="TCM2.uk">
<display-name lang="en">TCM2</display-name>
</channel>
<channel id="TCM.uk">
<display-name lang="en">TCM</display-name>
</channel>
<channel id="SkyScreen2.uk">
<display-name lang="en">Sky Screen2</display-name>
</channel>
<channel id="SkyScreen1.uk">
<display-name lang="en">Sky Screen1</display-name>
</channel>
<channel id="SkyMoviesIndie.uk">
<display-name lang="en">Sky Movies Indie</display-name>
</channel>
<channel id="SkyMoviesModernGreats.uk">
<display-name lang="en">Sky Movies Modern Greats</display-name>
</channel>
<channel id="SkyMoviesClassics.uk">
<display-name lang="en">Sky Movies Classics</display-name>
</channel>
<channel id="BBCHD.uk">
<display-name lang="en">BBC HD</display-name>
</channel>
<channel id="TheBox.uk">
<display-name lang="en">The Box</display-name>
</channel>
<channel id="Investigation.uk">
<display-name lang="en">Investigation</display-name>
</channel>
<channel id="SetantaIreland.uk">
<display-name lang="en">Setanta Ireland</display-name>
</channel>
<channel id="S4C.uk">
<display-name lang="en">S4C</display-name>
</channel>
<channel id="S4C2.uk">
<display-name lang="en">S4C2</display-name>
</channel>

far451
13-02-2010, 02:50 PM
@Limak

I tried the mtv.music.xmltv example.

In the mtv.music.xmltv.log file the word 'Detial' is misspelt - should be 'Detail'.

Releasing the API code, certainly speeded development up.

Your EpgWriter certainly has a future. Thanks for your efforts.

SAUS04
13-02-2010, 03:28 PM
So are we any nearer to having a epg plugin working

sattommy
13-02-2010, 03:31 PM
I have a working rytec.be setup here. It only seems to break down sometimes. Need to find the bug and then will release it

massimo1167
13-02-2010, 07:01 PM
can someone explain the parameters 6 318 12800 11075000 6 1
used when calling the program.

I see its 14 for 28.2

152 for Hispasat.

think I've got it using Maz channel editor for details.

sat number NID ??? Channel Frequency sat number H/V 0 or 1


can't work out the 12800


got it working for bbc1 on 28.2

./epgwriter bbc1.bbc.xmltv 14 2 2048 10817500 10355 1 > bbc1.bbc.xmltv.log


just noticed the previous post.
May someone explain the relationship between Azbox_net_id and satellite, I'm expecting ID=75 for Hotbird 13E, why ID=6?
The same for 28.2, why 14?

Smudger
13-02-2010, 07:05 PM
I got it from Maz channel editor select Anntenna sat and look at the list this is were I got the number from.

sattommy
13-02-2010, 07:13 PM
OK :) Seems to be working good now. Found the problem.

EPG-Grabber (Based on EpgWriter ver 0.1 by limak):

This basicly is limaks EpgWriter, with some minor changes in code. The orbital position of the satellite is used instead of the net index, and changed an array which caused problems for xml files with a lot of entries.

This grabber uses the XMLTV files of Rytec.be. First of all loads of credits to him for providing the xml files. His site asks users who want to use this script daily to please use different times of running (Server load). So if you schedule a cron job, let the job run at 21 minutes past 3 for example.

Install:

- Download the package and unpack it a directory of choice on you azbox.
- Edit the channels.txt and download.txt files to suit your needs.

Channels.txt:
This files contains the channel information (azbox specific) with the channels you want to add. I have included about 10 dutch channels. Feel free to share channel.txt files

Download.txt
As this package used rytecs XML packages, and he provides different ones for different countries, this file is used to enable and disable the download and unpacking of these packages. (Please note, only enable the packages which you are using and from which channels are added to the channels.txt

To make this run daily a cron job needs to be added. I haven't looked into cron for the azbox yet, but i am sure someone will soon post some guide howto do this.

Sattommy

Download: http://www.mediafire.com/?jgmmd5oiii2

EDIT: For western sat positions a minus has to be added.

EDIT2: Just tested it again :( Seems to have some problems. Will investigate and update tommorow. Please reply if you have it working.

massimo1167
13-02-2010, 07:15 PM
I got it from Maz channel editor select Anntenna sat and look at the list this is were I got the number from.
Sorry, but from wich field?
I've opened the same program, the same tab for the same satellite, but I can't see 14.
May you post a screenshot with the field, maybe I havent correct settings...

sattommy
13-02-2010, 07:17 PM
Sorry, but from wich field?
I've opened the same program, the same tab for the same satellite, but I can't see 14.
May you post a screenshot with the field, maybe I havent correct settings...

You can see the number when going to the sat/tp page and browse the sat list.

Smudger
13-02-2010, 07:42 PM
also the same number in NET Index field.

sorry image is not the best. but if you zoom in you'll see it.

SAUS04
13-02-2010, 09:20 PM
@ Sattommy

How do i install this step by step do i just add this to plugin directory using ftp client. ?



@ anyone .

Anyone want to add channels text file with sly uk channels and uk freesat please :) :respect-060:

massimo1167
13-02-2010, 10:23 PM
also the same number in NET Index field.

sorry image is not the best. but if you zoom in you'll see it.
Thank You, now I understand, the problem is that with my settings, the 28,2E has a ID=83 because the estern satellite starts with 68(2,0E) and end with 157 (180,0E) instead western satellite start with 0 (177,0W) and end with 67 (descending 0,8W)

Now I've understand.
Thank You!

sattommy
14-02-2010, 12:18 PM
Never mind. Seems to working anyways. Problem is that when you go or come from standby the EPG gets erased again -> 4348 doesn't have this problem, but there is no dts fix there :(

slegs
14-02-2010, 01:01 PM
This is great work guys. Huge leap forward or the AZBox.

Can someone give a sample channels.txt entry for the UK channels and i will try to fill it out..

happyhammer
14-02-2010, 01:18 PM
can someone explain the xml-channel id in the sample channels file. It mention in the post that it AZbox specific. does xml-channel id numbers 1,2,3,4, 31 etc mean these are the channels numbers from the AZbox channels list? i would't think so as they change all the time.




#XML-Channel-ID #ORBITALPOS #NID #TID #FREQ #SID #POLARISATION 0=H #Channelname(Start with dash)
1 192 53 1105 12515000 4011 0 #Nederland 1
2 192 53 1105 12515000 4012 0 #Nederland 2
3 192 53 1105 12515000 4013 0 #Nederland 3
4 192 53 1097 12344000 2004 0 #RTL4
31 192 53 1097 12344000 2005 0 #RTL5
36 192 53 1109 12574000 5005 0 #SBS6
46 192 53 1097 12344000 2006 0 #RTL7

sattommy
14-02-2010, 01:32 PM
can someone explain the xml-channel id in the sample channels file. It mention in the post that it AZbox specific. does xml-channel id numbers 1,2,3,4, 31 etc mean these are the channels numbers from the AZbox channels list? i would't think so as they change all the time.




#XML-Channel-ID #ORBITALPOS #NID #TID #FREQ #SID #POLARISATION 0=H #Channelname(Start with dash)
1 192 53 1105 12515000 4011 0 #Nederland 1
2 192 53 1105 12515000 4012 0 #Nederland 2
3 192 53 1105 12515000 4013 0 #Nederland 3
4 192 53 1097 12344000 2004 0 #RTL4
31 192 53 1097 12344000 2005 0 #RTL5
36 192 53 1109 12574000 5005 0 #SBS6
46 192 53 1097 12344000 2006 0 #RTL7


These are the ID's which are used in the rytec XML files. The xml file has a different channel id for every channel -> and this channel.txt file links this to the azbox channel information.

First line:
1 = ChannelID used in the xml file
192 53 1105 12515000 4011 0 = the information needed for the azbox to lookup the right channel

sattommy
14-02-2010, 01:36 PM
This is great work guys. Huge leap forward or the AZBox.

Can someone give a sample channels.txt entry for the UK channels and i will try to fill it out..

#XML-Channel-ID #ORBITALPOS #NID #TID #FREQ #SID #POLARISATION 0=H #Channelname(Start with dash)
BBC1.uk 282 2 2048 10817500 10355 1
BBC2.uk 282 2 2045 10773250 6302 0
BBC3.uk 282 2 2045 10773250 6319 0
BBC4.uk 282 2 2045 10773250 6316 0

Cheers,

Tommy

happyhammer
14-02-2010, 02:00 PM
I101.752876.microsoft.com 282 2 2045 10773000 6301 0 #BBC 1 London


just did a test with the above, worked perfectly. great job

slegs
14-02-2010, 02:14 PM
Yes, works well

#XML-Channel-ID #ORBITALPOS #NID #TID #FREQ #SID #POLARISATION 0=H #Channelname(Start with dash)
BBC1.uk 282 2 2045 10773000 6331 0 #BBC 1
BBC2.uk 282 2 2047 10803000 6432 0 #BBC 2
BBC3.uk 282 2 2045 10773250 6319 0 #BBC 3
BBC4.uk 282 2 2045 10773250 6316 0 #BBC 4
BBCHD.uk 282 2 2050 10847000 6940 1 #BBC HD

massimo1167
14-02-2010, 02:38 PM
Never mind. Seems to working anyways. Problem is that when you go or come from standby the EPG gets erased again -> 4348 doesn't have this problem, but there is no dts fix there :(

I hope EPG info will store on a cache file.

sattommy
14-02-2010, 02:49 PM
Thnx for the channel.txt addition guys. I head someone talk about problems with asking for a adult password?

Is this a problem? If needed i can upload a new version which sets the age level to 12 instead of 18.

Furthermore is someone interested in the language tags, which will tell what language the program is in (according to the xml)

hfmls
14-02-2010, 02:54 PM
guys, can i use these channel lists for HISPASAT 30w ?

can someone post screenshots with this working?

sattommy
14-02-2010, 03:00 PM
guys, can i use these channel lists for HISPASAT 30w ?

can someone post screenshots with this working?

You can basicly use it with any channel, as long as you can find the xml files for the channel.

Just add the download link to the xml file to the download.txt

And add you channels to the channel.txt

massimo1167
14-02-2010, 03:17 PM
You can basicly use it with any channel, as long as you can find the xml files for the channel.

Just add the download link to the xml file to the download.txt

And add you channels to the channel.txt

The problem is that you need to find a xmltv file compliant with "Rytec.be"
format...
We need a translator program to a unique standard format.

But I hope to Grab the EPG directly from the provider channel (e.g. for SkyIt is Marcopolo) because different internet repository of xmltv epg file have difefrent format for the same provider...

sattommy
14-02-2010, 03:30 PM
No format doesnt really matter -> all xml files have <programme> tag. Only this tag is filtered. Only channel ID's are different.

massimo1167
14-02-2010, 04:13 PM
<?xml version="1.0" encoding="latin-1"?>
<!-- service references can be found in /etc/enigma2/lamedb -->
<channels>
<!-- Canal Digitaal en TV Vlaanderen -->
<channel id="1">1:0:1:0fab:0451:0035:00c00000:0:0 :0:</channel> <!-- nl 1 -->
<channel id="2">1:0:1:0fac:0451:0035:00c00000:0:0 :0:</channel> <!-- nl 2 -->
<channel id="3">1:0:1:0fad:0451:0035:00c00000:0:0 :0:</channel> <!-- nl 3 -->
<channel id="1">1:0:1:1B7B:0c88:0003:00eb0000:0:0 :0:</channel> <!-- nl 1 HD -->
<channel id="4">1:0:1:07d4:0449:0035:00c00000:0:0 :0:</channel> <!-- rtl 4 -->


#XML-Channel-ID (1) #ORBITALPOS(2) #NID(3) #TID(4) #FREQ(5) #SID(6) #POLARISATION 0=H(7) #Channelname(Start with dash)(8)
4 192 53 1097 12344000 2004 0 #RTL4
http://imageshare.web.id/images/tfjt9jzux33kfyz7tpus.jpg link here (http://imageshare.web.id/images/tfjt9jzux33kfyz7tpus.jpg)
I've posted a screenshot to better explain the Epggrabber parameters, I've just one dubt about #NID field if we must use NID or Net Index, I'm confused and maybe I'm not alone and now I can't test it because now I haven't access to my azbox...

massimo1167
14-02-2010, 04:25 PM
No format doesnt really matter -> all xml files have <programme> tag. Only this tag is filtered. Only channel ID's are different.

So EPGgrabber is able to proccess and recognize this two format?

rytec.be format

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE tv SYSTEM "xmltv.dtd">
<tv generator-info-name="tv_grab_nl_py $Rev$">
<channel id="313">
<display-name lang="nl">Boomerang</display-name>
</channel>
<channel id="311">
<display-name lang="nl">Jetix</display-name>
</channel>
.
.
...
<programme start="20100214060000 +0100" stop="20100214062500 +0100" channel="313" >
<title lang="nl">Droopy: Master detective</title>
</programme>
<programme start="20100214062500 +0100" stop="20100214065500 +0100" channel="313" >
<title lang="nl">Scooby Doo &amp; Scrappy Doo</title>
</programme>
...

skyit Ambrosa opentv-xmltv format


<?xml version="1.0" encoding="UTF-8"?>
<tv generator-info-name="Ambrosa opentv-xmltv converter 0.06">
<channel id="101">
<display-name lang="it">SKY Cinema 1</display-name>
</channel>
<programme channel="101" start="20100212060000 +0100">
<title lang="it">Swing Vote</title>
<desc lang="it">Commedia sugli imprevisti della vita con Kevin Costner. Padre single, si ritrova di colpo sotto i riflettori dell&apos;intera nazione: per una serie di coincidenze, infatti, l&apos;elezione del nuovo Presidente USA dipende dal suo voto. E non avra&apos; piu&apos; pace. Dennis Hopper nel cast. Comm. (120&apos;) Di J. Stern. Con K. Costner, D. Hopper (USA 2008) Prox: Ven 12 FEB 13:10 SC+24</desc>
<category lang="it">Cinema - Commedia</category>
</programme>
<programme channel="101" start="20100212075500 +0100">
<title lang="it">La spada della verita&apos; - Speciale</title>
<desc lang="it">Tutte le curiosita&apos; sulla serie fantasy &apos;La spada della verita&apos;&apos;, in anteprima assoluta su SKY Uno dall&apos;8 dicembre alle 21.00. Prodotta da Sam Raimi, la serie e&apos; tratta dall&apos;omonima saga letteraria di Terry Goodkind, best seller internazionale tradotto in oltre 20 lingue. Prox: Sab 13 FEB 04:55 SC HITS</desc>
<category lang="it">Mondi e Culture - Cinema</category>
</programme>
<programme channel="101" start="20100212081000 +0100">
<title lang="it">Incinta o...quasi</title>
<desc lang="it">Commedia al femminile con la maliziosa regina del gossip Lindsay Lohan. Per non perdere il lavoro di segretaria, una ragazza finge di essere incinta e, per non rinunciare alle gentilezze di chi la circonda, continua a mentire per nove mesi. Ben presto i nodi vengono al pettine... Comm. (89&apos;) Di L. Shapiro. Con L. Lohan, C. Hines (USA 2009) Prox: Ven 12 FEB 19:05 SC+24</desc>
<category lang="it">Cinema - Commedia</category>
</programme>
...

sattommy
14-02-2010, 05:07 PM
Yes massimo. As far is I know it should put. Put the download link into the download.txt and put the following into the channels.txt

101 #ORBITALPOS(2) #NID(3) #TID(4) #FREQ(5) #SID(6) #POLARISATION

NID=NID --> net_index is not used anymore but instead orbital position is used. epgwriter generates the net_index for you in my version.

In this way with using multiple sources, it may be usefull to make an additional field in channels.txt with the source file. So that you can say from which file he has to get the channels -> for when channel 101 is used in both rytec and others.

SAUS04
14-02-2010, 06:46 PM
hi anyone wanna eplain howe i install? this to my azbox?

tried telnet and by just placing in pluggin directly. can someone just post a step by step so all azbox's know how to play around with this cheers guys :willy_nilly:

Smudger
14-02-2010, 07:03 PM
hi anyone wanna eplain howe i install? this to my azbox?

tried telnet and by just placing in pluggin directly. can someone just post a step by step so all azbox's know how to play around with this cheers guys :willy_nilly:

after copying to Plugins via ftp set grabber.sh file and epgwriter to 755 .

telnet to folder and run ./grabber.sh.

that will run it.

now to setup the download .txt file you need the uk file unhashed to allow download, then the chennels.txt requires setting up for uk channels you have todo this manually at the moment. heres a starter.

BBC1.uk 282 2 2048 10817500 10355 1
BBC2.uk 282 2 2045 10773250 6302 0
BBC3.uk 282 2 2045 10773250 6319 0
BBC4.uk 282 2 2045 10773250 6316 0
BBCHD.uk 282 2 2050 10847000 6940 1 #BBC HD
BBC1.uk 282 2 2048 10773000 6331 1 #BBC 1
Five.uk 282 2 2045 10773250 6335 0
Channel4.uk 282 2 2041 10714000 9214 0
ITV1.uk 282 2 2053 10891250 10130 0


mine are set for my local area for bbc1 and itv1 so they popluate the correct channels for my favs.

massimo1167
14-02-2010, 07:53 PM
Yes massimo. As far is I know it should put. Put the download link into the download.txt and put the following into the channels.txt

101 #ORBITALPOS(2) #NID(3) #TID(4) #FREQ(5) #SID(6) #POLARISATION

NID=NID --> net_index is not used anymore but instead orbital position is used. epgwriter generates the net_index for you in my version.

In this way with using multiple sources, it may be usefull to make an additional field in channels.txt with the source file. So that you can say from which file he has to get the channels -> for when channel 101 is used in both rytec and others.

Just tested and work without change nothing (only the source address).


@sattommy
You are right, when we want update the EPG of different xmltv sources is better to use different tmp download directory, so it's possibile to increase the serching speed (so the script doesn't process all the files) and avoid ID conflict.
would probably be enough to specify a subdirectory of the download file (into download.txt) and the same thing in channel.txt

Now I have just a problem, when I have a look to EPG for the channel with loaded epg data, I can't see description for the events, I can see only if I select Single EPG.
Maybe the problem is that in xmltv file (skyit) for each events there is only the start time, so start time and end time is the same.
I think should be a good idea to set as stop time the start time of next event if stop time isn't specified.

happyhammer
14-02-2010, 10:32 PM
probably my set up...but my UK guide EPG was out by an hour. It was if i was in watching in Belgium, ie 1 hour time difference.

adrray1974
15-02-2010, 12:14 AM
./epgwriter bbc1.bbc.xmltv 14 2 2048 10817500 10355 1 > bbc1.bbc.xmltv.log
./epgwriter bbc2.bbc.xmltv 14 2 2045 10773250 6302 0 > bbc2.bbc.xmltv.log
./epgwriter bbc3.bbc.xmltv 14 2 2045 10773250 6319 0 > bbc3.bbc.xmltv.log
./epgwriter bbc4.bbc.xmltv 14 2 2045 10773250 6316 0 > bbc4.bbc.xmltv.log

channel settings
you have to down load the the files first .

Question, and yes dont know much about this, but if you downloaded ONE xmltv file, that had everything for Sly UK, could you use the following

./epgwriter bbc1.bbc.xmltv 14 2 2045 10773250 6319 0 > xmltv.log

Where xmltv.log contains all the data, or is it one per channel??

Adi

Smudger
15-02-2010, 08:36 AM
probably my set up...but my UK guide EPG was out by an hour. It was if i was in watching in Belgium, ie 1 hour time difference.

Noticed mine is the same.

massimo1167
15-02-2010, 08:56 AM
Question, and yes dont know much about this, but if you downloaded ONE xmltv file, that had everything for Sly UK, could you use the following

./epgwriter bbc1.bbc.xmltv 14 2 2045 10773250 6319 0 > xmltv.log

Where xmltv.log contains all the data, or is it one per channel??

Adi

1) xmltv.log is only an output file with the log of epgwriter
2) If you have "bbc1.bbc.xmltv" as input file with weekly EPG of 1 channel bbc1, yes you can use only one file and one command because "14 2 2045 10773250 6319 0" are the parameter about only one channel.
3) If You use the script of sattommy, you are able to download a file with all channels and than the script split the data for each channel. See download.txt and channels.txt

happyhammer
15-02-2010, 09:54 AM
<programme start="20100215190000 +0100" stop="20100215193000 +0100" channel="I101.752876.microsoft.com">
<title lang="en">BBC News at Six</title>
<desc lang="en">The latest national and international news stories from the BBC News team, followed by Weather.</desc>



the above is an extract from the rtecxmltvuk file that the grabber downloads (8Mgbfile). As you can see, the BBC news at 6pm starts at 7pm which is fine if i was central europe.

Anyway to get this corrected for UK time?


below is my limited channels.txt file, i'm just building up my favourites list as i go along, missing quite a few but will help some people get started.

Just use MAZ to get the TID,Freq and SID values



I101.752876.microsoft.com 282 2 2045 10773000 6301 0 #BBC 1 London
BBC2.uk 282 2 2045 10773250 6302 0 #BBC 2 England
BBC3.uk 282 2 2045 10773250 6319 0 #BBC THREE
BBC4.uk 282 2 2045 10773250 6316 0 #BBC FOUR
ITV1.uk 282 2 2044 10759000 10060 1 #ITV 1 London
ITV2.uk 282 2 2044 10759000 10070 1 #ITV 2
ITV3.uk 282 2 2054 10906000 10260 1 #ITV3
ITV4.uk 282 2 2044 10759000 10072 1 #ITV4
SkyMoviesDrama.uk 282 2 2024 12168000 3816 1 #Sky Drama HD
SkyMoviesFamily.uk 282 2 2016 12012000 3818 1 #Sky Family HD
SkyMoviesComedy.uk 282 2 2024 12168000 3819 1 #Sky Comedy HD
SkyMoviesActionThriller.uk 282 2 2028 12246000 3814 1 #Sky Action
SkyMoviesPremiere.uk 282 2 2016 12012000 3821 1 #SkyPremiereHD
SkyMoviesPremiereplus1.uk 282 2 2408 11604000 4652 1 #Sky Prem+1
SkyScreen1.uk 282 2 2001 11720000 3833 0 #Sky Screen 1HD
SkyScreen2.uk 282 2 2408 11604000 4651 1 #Sky Screen 2
SkyMoviesIndie.uk 282 2 4306 11836000 4306 0 #Sky Indie
SkyMoviesModernGreats.uk 282 2 2024 12168000 3815 1 #Sky MdnGrtsHD
BBCHD.uk 282 2 2050 10847000 6940 1 #BBC HD
SkySports1.uk 282 2 2005 11797000 3802 0 #Sky Sports HD1
SkySports2.uk 282 2 2001 11720000 3878 0 #Sky Sports HD2
SkySports3.uk 282 2 2034 12363000 3822 1 #Sky Sports HD3
ESPNHD.uk 282 2 2033 12344000 3840 0 #ESPN HD

sattommy
15-02-2010, 10:39 AM
<programme start="20100215190000 +0100" stop="20100215193000 +0100" channel="I101.752876.microsoft.com">
<title lang="en">BBC News at Six</title>
<desc lang="en">The latest national and international news stories from the BBC News team, followed by Weather.</desc>



the above is an extract from the rtecxmltvuk file that the grabber downloads (8Mgbfile). As you can see, the BBC news at 6pm starts at 7pm which is fine if i was central europe.

Anyway to get this corrected for UK time?


below is my limited channels.txt file, i'm just building up my favourites list as i go along, missing quite a few but will help some people get started.

Just use MAZ to get the TID,Freq and SID values



I101.752876.microsoft.com 282 2 2045 10773000 6301 0 #BBC 1 London
BBC2.uk 282 2 2045 10773250 6302 0 #BBC 2 England
BBC3.uk 282 2 2045 10773250 6319 0 #BBC THREE
BBC4.uk 282 2 2045 10773250 6316 0 #BBC FOUR
ITV1.uk 282 2 2044 10759000 10060 1 #ITV 1 London
ITV2.uk 282 2 2044 10759000 10070 1 #ITV 2
ITV3.uk 282 2 2054 10906000 10260 1 #ITV3
ITV4.uk 282 2 2044 10759000 10072 1 #ITV4
SkyMoviesDrama.uk 282 2 2024 12168000 3816 1 #Sky Drama HD
SkyMoviesFamily.uk 282 2 2016 12012000 3818 1 #Sky Family HD
SkyMoviesComedy.uk 282 2 2024 12168000 3819 1 #Sky Comedy HD
SkyMoviesActionThriller.uk 282 2 2028 12246000 3814 1 #Sky Action
SkyMoviesPremiere.uk 282 2 2016 12012000 3821 1 #SkyPremiereHD
SkyMoviesPremiereplus1.uk 282 2 2408 11604000 4652 1 #Sky Prem+1
SkyScreen1.uk 282 2 2001 11720000 3833 0 #Sky Screen 1HD
SkyScreen2.uk 282 2 2408 11604000 4651 1 #Sky Screen 2
SkyMoviesIndie.uk 282 2 4306 11836000 4306 0 #Sky Indie
SkyMoviesModernGreats.uk 282 2 2024 12168000 3815 1 #Sky MdnGrtsHD
BBCHD.uk 282 2 2050 10847000 6940 1 #BBC HD
SkySports1.uk 282 2 2005 11797000 3802 0 #Sky Sports HD1
SkySports2.uk 282 2 2001 11720000 3878 0 #Sky Sports HD2
SkySports3.uk 282 2 2034 12363000 3822 1 #Sky Sports HD3
ESPNHD.uk 282 2 2033 12344000 3840 0 #ESPN HD

i am trying to fix this problem soon. Either letting epgwriter do it, or allow an entry in the channel.txt

massimo1167
15-02-2010, 10:59 AM
i am trying to fix this problem soon. Either letting epgwriter do it, or allow an entry in the channel.txt
May You fix the stop time too when no specified?

slegs
15-02-2010, 12:36 PM
Has anyone got the script on how to set this up as a cron job

I guess then all that would be needed is to include this in the startup script to run on bootup and then set the cron entry to happen nightly.

sattommy
15-02-2010, 12:46 PM
May You fix the stop time too when no specified?

This will not be possible with the current way of reading the file (as far as I understand C).

Today I will add 2 variables to the channel.txt

One to say which xml file to use for the channel
the other one to adjust the times when needed (if i get it into C ok)

And i will adjust the age from 18 to 12

For me it will just work fine then. I will also send the sources to anyone interested.

Regards,

Tommy

massimo1167
15-02-2010, 12:48 PM
Has anyone got the script on how to set this up as a cron job

I guess then all that would be needed is to include this in the startup script to run on bootup and then set the cron entry to happen nightly.

remember, everytime azbox go to sleed mode, or you select another menù than "TV", all EPG data will be deleted, so I don't know if there is a reason to download data with con job...

tapper
15-02-2010, 01:20 PM
Is there a reason why the epg data should be deleted if another menu other than TV is selected.? if not then is this classed as a bug that opensat should fix for us

happyhammer
15-02-2010, 01:51 PM
Is there a reason why the epg data should be deleted if another menu other than TV is selected.? if not then is this classed as a bug that opensat should fix for us

since Opensat design is to get EPG from the Satellite signal, its not a bug.

We are getting EPG from a seperate method, so its up to us to find a workaround unless they can assist.

massimo1167
15-02-2010, 02:18 PM
since Opensat design is to get EPG from the Satellite signal, its not a bug.

We are getting EPG from a seperate method, so its up to us to find a workaround unless they can assist.
I think this is a bug, or a strange management...
If you remember EURO_EPG with data taken from the satellite, had the same procedure, the data were erased with the standby.
But I think it will be another fight with opensat request correction of this behavior.

However what I do not understand is why the EPG data is kept in memory (a lot of resources wasted) rather than on file, so there would be a more streamlined management and there would not need to populate the EPG every time.

slegs
15-02-2010, 03:02 PM
remember, everytime azbox go to sleed mode, or you select another menù than "TV", all EPG data will be deleted, so I don't know if there is a reason to download data with con job...

The cron job is to refresh nightly to keep the EPG alive 5 days out (or whatever the duration is) but I see what you mean. What you describe will need to be fixed or the solution wont be workable at all.

Didnt sattommy say that that issue was not present in the last firmware before this one?

I any case I think it could be easily fixed by Opensat at least while the box is on. All they would need to do is overwrite the existing entries with entries from the satellite trasnponder instead of erasing all the entries and then adding the transponder entries. If they dont erase then it should work fine in memory as long as the box is powered on.

Then we could add a script to populate on bootup and cron nightly.

At least this would work fine until the EPG cache could be moved to disk.

Leandro or FatGiant - if you are reading please do this. We are so close to a working EPG and the box has much improved in the latest firmware. This could be a big step for the AZBox.

massimo1167
15-02-2010, 05:27 PM
This will not be possible with the current way of reading the file (as far as I understand C).

Today I will add 2 variables to the channel.txt

One to say which xml file to use for the channel
the other one to adjust the times when needed (if i get it into C ok)

And i will adjust the age from 18 to 12

For me it will just work fine then. I will also send the sources to anyone interested.

Regards,

Tommy

What do You think of this modify?


if(epg_count>0)
{
if (EpgList[epg_count-1].duration==0)
{
EpgList[epg_count-1].duration = (EpgList[epg_count].start_time-EpgList[epg_count-1].start_time);
}
}



Maybe is better if You check "epg_count" no more 256 events because EpgList is for 256 events.
There are almost 50 events every day, if we process 6 days the program crash.


struct eit_info_st EpgList[256];


PS:Thanks to Limak for sharing his sources.

sattommy
15-02-2010, 05:45 PM
What do You think of this modify?


if(epg_count>0)
{
if (EpgList[epg_count-1].duration==0)
{
EpgList[epg_count-1].duration = (EpgList[epg_count].start_time-EpgList[epg_count-1].start_time);
}
}



Maybe is better if You check "epg_count" no more 256 events because EpgList is for 256 events.
There are almost 50 events every day, if we process 6 days the program crash.


struct eit_info_st EpgList[256];


PS:Thanks to Limak for sharing his sources.

I took out that array because it was having trouble. Furthermore you should look to the next event instead of the event before.

I will send you my code today or tommorow. Then you can see if you can implement. I am not that good in programming

Need to wait till opensat implements the saving of the epg data after standby anyways :(.

Cheers,

Tommy

kebien
15-02-2010, 07:13 PM
Would the plugin collect the data from
http://tvlistings.zap2it.com/tvlistings/ZCGrid.do?aid=zap2it

At least some info to see if it can be used/adapted for the american guide.
Anyone?

Or I'm getting the wrong idea about what the plugin can do?

limak
15-02-2010, 08:27 PM
Changelog:
1. satelite position parameter insted of Azbox network_id (ex. use 130 for 13E(HOTBIRD) and -1190 for 119W(ECHOSTAR 7))
2. proper reading of time zone in "start=" entry (ex. start="20100215005100 +0100")
3. new optional parameter globalGMTOffset fot XMLTV file without proper time zone set

http://www.mediafire.com/file/fidntjmgnyd/EpgWriter-0.2.tgz
EpgWriter works only with one xmltv file per channel, you need separate XMLTV files for different channels and proper script to populate Epg data more than once.

Smudger
15-02-2010, 09:11 PM
FiveUSA.uk 282 2 2037 12421000 7710 0 # USA
Fiver.uk 282 2 2037 12421000 7715 0 #Fiver
Fiverplus1.uk 282 2 2037 12421000 7716 0 #Fiver+1
FiveUSAPlus1.uk 282 2 2037 12421000 7711 0 #USA+1
Channel4plus1.uk 282 2 2042 10729000 8314 1 #CH4+1
Channel4.uk 282 2 2005 11797500 3875 0 #Channel 4
Five.uk 282 2 2045 10773250 6335 0 #FIVE
Channel4.uk 282 2 2041 10714000 9214 0 #Channel 4

a few more for the list

also added wakeup.sh to /DISK2/etc

so epg is populated on startup

#!/bin/sh
#
# epgdownload autostart script

cd /PLUGINS/EpgGrabber/
./grabber.sh &
exit

kebien
15-02-2010, 09:16 PM
So,apprently it gets epg from 119 sat,but the data is decompressed using hoffman tables.
Is this plugin decompressing epg data from 119 sat ?
Don't let me annoy you,just want some confirmation to start trying to collaborate with the american sats.
Is it getting epg data and decompressing it for sat 119?

adrray1974
15-02-2010, 09:26 PM
Here, may need to alter the Channel ID though, not sure


101 282 2 2043 10744000 9601 0 #RTÉ One
102 282 2 2043 10744000 9602 0 #RTÉ Two
103 282 2 2043 10744000 9605 0 #TV3
103 282 2 2054 10906000 10200 1 #ITV1 Channel Islands
103 282 2 2049 10832250 10011 0 #ITV1 Anglia East
103 282 2 2053 10891250 10150 0 #ITV1 Anglia South
103 282 2 2049 12402000 12110 1 #ITV1 Anglia West
103 282 2 2049 10832250 10050 0 #ITV1 Border
103 282 2 2053 10891250 10120 0 #ITV1 Border Scotland
103 282 2 2049 10832250 10011 0 #ITV1 Central East
103 282 2 2049 10832250 10010 0 #ITV1 Central South
103 282 2 2036 12402000 12140 1 #ITV1 Central South West
103 282 2 2044 10758500 10100 1 #ITV1 Central West
103 282 2 2044 10758500 10080 1 #ITV1 Granada
103 282 2 2044 10758500 10060 1 #ITV1 London
103 282 2 2036 12402000 12101 1 #ITV1 Merridian North
103 282 2 2036 12402000 12100 1 #ITV1 Merridian South East
103 282 2 2053 10891250 10141 0 #ITV1 Merridian East
103 282 2 2036 12402000 12100 1 #ITV1 Merridian South
103 282 2 2053 10891250 10130 0 #ITV1 Tyne Tees North
103 282 2 2036 12402000 12130 1 #ITV1 Tyne Tees South
103 282 2 2049 10832250 10040 0 #ITV1 West Country
103 282 2 2049 10832250 10020 0 #ITV1 Wales
103 282 2 2049 10832250 10030 0 #ITV1 West
103 282 2 2036 12402000 12120 1 #ITV1 Yorkshire East
103 282 2 2053 10891250 10160 0 #ITV1 Yorkshire West
104 282 2 2041 10714000 9211 0 #Channel 4
104 282 2 2043 10744000 9603 0 #TG4
104 282 2 2022 12129000 7301 1 #S4C
105 282 2 2037 12421000 7700 0 #Five
106 282 2 2030 12285000 4703 1 #Sky1
107 282 2 2027 12226500 5104 0 #Sky2
108 282 2 2027 12226500 5103 0 #Sky3
109 282 2 2006 11817000 6520 1 #Watch
110 282 2 2006 11817000 6504 1 #G.O.L.D.
111 282 2 2006 11817000 6506 1 #Dave
112 282 2 2002 11740000 6001 1 #Living
113 282 2 2002 11740000 6005 1 #Living +1
114 282 2 2002 11740000 6007 1 #Living2
115 282 2 2045 10773000 6319 0 #BBC Three
116 282 2 2045 10773000 6316 0 #BBC Four
117 282 2 2040 12480000 12035 1 #Channel 4
118 282 2 2044 10758000 10070 1 #ITV2
119 282 2 2064 10906000 10260 1 #ITV3
120 282 2 2044 10758000 10072 1 #ITV4
121 282 2 2303 11307000 52231 0 #Virgin1
122 282 2 2303 11307000 52235 0 #Virgin1 +1
123 282 2 2002 11740000 6004 1 #Bravo
124 282 2 2002 11740000 6006 1 #Bravo +1
125 282 2 2002 11740000 6002 1 #Challenge
126 282 2 2025 12188000 5904 0 #Comedy Central
127 282 2 2405 11546000 50420 0 #Comedy Central +1
128 282 2 2023 11740000 5431 0 #Comedy Central Extra
129 282 2 2412 11681000 54015 1 #Sci Fi
130 282 2 2023 12148000 5010 0 #Hallmark Channel
131 282 2 2063 10891000 10165 0 #ITV2 +1
132 282 2 2006 11817000 6521 1 #Alibi
133 282 2 2015 11992000 7605 0 #G.O.L.D. +1
134 282 2 2022 12129000 7301 1 #S4C
135 282 2 2042 10729000 8314 1 #Channel 4 +1
135 282 2 2040 12480000 12035 1 #Channel 4
136 282 2 2042 10729000 8305 1 #E4
136 282 2 2040 12480000 12040 1 #Channel 4 +1
137 282 2 2042 10729000 8300 1 #E4 +1
137 282 2 2040 12480000 12050 1 #E4
138 282 2 2042 10729000 8340 1 #More4
138 282 2 2040 12480000 12045 1 #E4 +1
139 282 2 2041 10714000 9230 0 #More4 +1
139 282 2 2040 12480000 12030 1 #More4
140 282 2 2005 11798000 3875 0 #Channel 4 HD
141 282 2 2045 10773000 6331 0 #BBC One
142 282 2 2047 10802000 6432 0 #BBC Two
143 282 2 2050 10847000 6940 1 #BBC HD
144 282 2 2311 11261000 52100 0 #DMAX
145 282 2 2301 11222000 52006 0 #DMAX +1
146 282 2 2612 12524000 9532 1 #Zone Reality
147 282 2 2311 11261000 52102 0 #Zone Reality +1
148 282 2 2602 12560000 54110 1 #Zone Thriller
149 282 2 2304 11343000 50903 1 #Zone Romantica
150 282 2 2412 11681000 51110 1 #Hallmark Channel +1
151 282 2 2025 12188000 5770 0 #E!
152 282 2 2303 11307000 52232 0 #Challenge +1
153 282 2 2303 11307000 52233 0 #Bravo 2
154 282 2 2604 12643000 54315 1 #DMAX +2
155 282 2 2015 11992000 7615 0 #Watch +1
156 282 2 2408 11603850 4655 1 #Bio.
157 282 2 2616 12690000 55520 1 #Film 24
158 282 2 2015 11992000 7624 0 #Dave ja vu
159 282 2 2304 11343000 55211 1 #Comedy Central Extra +1
160 282 2 2010 11895000 7012 1 #MTV®
161 282 2 2043 10744000 9601 0 #RTÉ One
162 282 2 2043 10744000 9602 0 #RTÉ Two
163 282 2 2043 10744000 9603 0 #TG4
164 282 2 2021 12110000 5515 0 #FX
165 282 2 2052 10877000 9351 1 #FX+
166 282 2 2611 12523000 55004 0 #Information TV
167 282 2 2402 11488460 54061 1 #Quest +1
168 282 2 2013 11954000 6736 0 #BBC Alba
170 282 2 2033 12344000 3861 0 #Sky1 HD
171 282 2 2304 11343000 55214 1 #My Channel
172 282 2 2002 11740000 6003 1 #Living +2
173 282 2 2303 11307000 52230 0 #Living2 +1
174 282 2 2037 12422000 7710 0 #Five USA
175 282 2 2037 12422000 7711 0 #Five USA +1
176 282 2 2037 12422000 7715 0 #Fiver
177 282 2 2037 12422000 7716 0 #Fiver +1
178 282 2 2053 10891000 10135 0 #Men & Motors
179 282 2 2054 10906000 10261 1 #ITV3 +1
180 282 2 2049 10832000 10015 0 #ITV4 +1
182 282 2 2301 11261000 52103 0 #3e
183 282 2 2055 10921000 5025 0 #Current TV
184 282 2 2611 12524000 55002 0 #BEN
187 282 2 2611 12524000 55113 0 #AIT International
188 282 2 2410 11642000 52375 1 #True Entertainment
189 282 2 2302 11259000 52163 1 #Open Access 2
190 282 2 2302 11259000 52116 1 #Open Access 3
191 282 2 2314 11307000 53370 1 #BET
193 282 2 2008 11856000 3823 1 #FX HD
195 282 2 2303 11307000 52250 0 #Propeller TV
198 282 2 2616 12690000 55524 1 #BET +1
199 282 2 2611 12524000 55119 0 #Open Heaven TV
200 282 2 2311 11222170 52056 0 #Controversial TV
201 282 2 2302 11259670 52125 1 #The Unexplained Channel
202 282 2 2303 11307000 52210 0 #NTA International
203 282 2 2404 11527000 50315 1 #Channel M
204 282 2 2603 12643350 54208 0 #HiTV
205 282 2 2409 11623000 54011 0 #Sci Fi +1
206 282 2 2604 12643000 54300 1 #DMAX +1.5
207 282 2 2306 11426000 52525 1 #OBE TV
209 282 2 2015 11992000 7630 0 #Alibi +1
211 282 2 2028 12246000 3887 1 #Bio. HD
212 282 2 2313 11344000 53211 0 #Sumo TV
214 282 2 2032 12324000 3874 1 #Sci Fi HD
240 282 2 2009 11875000 6203 0 #Discovery Real Time
241 282 2 2315 11390000 52445 0 #Discovery Real Time +1
242 282 2 2315 11390000 52440 0 #Discovery Shed
243 282 2 2052 10876000 5005 1 #Sky Real Lives
244 282 2 2052 10876000 3905 1 #Sky Real Lives +1
245 282 2 2052 10876000 9312 1 #Sky Real Lives 2
246 282 2 2006 11817000 6501 1 #Home
247 282 2 2015 11992000 7600 0 #Home +1
248 282 2 2015 11992000 7620 0 #Really
249 282 2 2006 11817000 6508 1 #Good Food
250 282 2 2015 11992000 7626 0 #Good Food +1
251 282 2 2602 12560000 54102 1 #Travel Channel
252 282 2 2301 11261000 52100 0 #Travel Channel +1
253 282 2 2604 12643350 54335 1 #Style Network
254 282 2 2009 11875000 6208 0 #Discovery Home & Health
255 282 2 2009 11875000 6210 0 #Discovery Home & Health +1
256 282 2 2030 12285000 4604 1 #Sky Arts 1
257 282 2 2019 12070000 9342 0 #Sky Arts 2
258 282 2 2032 12324000 3863 1 #Sky Arts 1 HD
259 282 2 2008 11856000 3864 1 #Sky Arts 2 HD
261 282 2 2311 11222000 52007 0 #Fashion TV
262 282 2 2410 11642000 52360 1 #*?TV
263 282 2 2410 11642000 52371 1 #*?TV +1
265 282 2 2009 11875000 6205 0 #Discovery Travel & Living
266 282 2 2313 11344000 53280 0 #Wedding TV
267 282 2 2602 12560000 54101 1 #Wedding TV Asia
268 282 2 2301 11261170 52112 0 #The Africa Channel
269 282 2 2306 11426000 52530 1 #Diva TV
271 282 2 2603 12643000 54205 0 #Luxe TV
273 282 2 2603 12643000 54206 0 #Luxe TV HD
275 282 2 2603 12643000 55115 0 #Body In Balance
277 282 2 2409 11623000 54009 0 #Diva TV +1
278 282 2 2005 11797000 3813 0 #Sky Real Lives HD
279 282 2 2302 11295000 52123 1 #Rural TV
280 282 2 2602 12560000 54140 1 #Horse & Country TV
281 282 2 2613 12606000 55247 0 #LA Muscle TV
282 282 2 2602 12560000 54165 1 #Fitness TV
301 282 2 2408 11603000 4659 1 #Sky Movies Premiere
302 282 2 2408 11603000 4652 1 #Sky Movies Premiere +1
303 282 2 2007 11836000 4303 0 #Sky Movies Comedy
304 282 2 2007 11836000 4302 0 #Sky Movies Action & Thriller
305 282 2 2007 11836000 4403 0 #Sky Movies Family
306 282 2 2007 11836000 5502 0 #Sky Movies Drama
307 282 2 2007 11836000 4304 0 #Sky Movies Sci Fi & Horror
308 282 2 2007 11836000 4305 0 #Sky Movies Classics
309 282 2 2408 11603000 4650 1 #Sky Movies Modern Greats
310 282 2 2007 11836000 4306 0 #Sky Movies Indie
311 282 2 2030 12285000 4602 1 #Sky Movies Screen 1
312 282 2 2408 11603000 4651 1 #Sky Movies Screen 2
313 282 2 2016 12012000 3821 1 #Sky Movies Premiere HD
314 282 2 2001 11719000 3833 0 #Sky Movies Screen 1 HD
315 282 2 2041 10714000 9220 0 #Film4
316 282 2 2041 10714000 9225 0 #Film4 +1
317 282 2 2025 12187000 5714 0 #TCM
318 282 2 2021 12109000 5522 0 #TCM 2
319 282 2 2301 11261000 52105 0 #Zone Horror
320 282 2 2311 11222000 52002 0 #Zone Horror +1
321 282 2 2410 11642000 52320 1 #True Movies
322 282 2 2410 11642000 52325 1 #True Movies 2
323 282 2 2312 11223000 53109 1 #Movies4Men
324 282 2 2611 12523000 55013 0 #Movies4Men +1
325 282 2 2312 11223000 53110 1 #Movies4Men 2
326 282 2 2302 11259000 52121 1 #Movies4Men 2+1
327 282 2 2316 11390000 53500 1 #Movies 24
328 282 2 2316 11390000 53505 1 #Movies 24 +
329 282 2 2312 11223000 55003 1 #Nollywood Movies
332 282 2 2016 12012000 3862 1 #Sky Movies Screen 2 HD
333 282 2 2314 11307000 53310 1 #Nigeria Movies
334 282 2 2024 12168000 3819 1 #Sky Movies Comedy HD
335 282 2 2028 12246000 3814 1 #Sky Movies Action & Thriller HD
336 282 2 2016 12012000 3818 1 #Sky Movies Family HD
337 282 2 2024 12168000 3816 1 #Sky Movies Drama HD
338 282 2 2024 12168000 3817 1 #Sky Movies Sci Fi & Horror HD
339 282 2 2024 12168000 3815 1 #Sky Movies Modern Greats HD
342 282 2 2025 12187000 4860 0 #Shorts TV
343 282 2 2405 11546000 50430 0 #Cinémoi movies
350 282 2 2010 11895000 7001 1 #MTV
351 282 2 2010 11895000 7005 1 #MTV +1
352 282 2 2010 11895000 7007 1 #MTV Base
353 282 2 2010 11895000 7006 1 #MTV Hits
354 282 2 2010 11895000 7014 1 #MTV Dance
355 282 2 2010 11895000 7003 1 #MTV Two
356 282 2 2010 11895000 7002 1 #VH1
357 282 2 2010 11895000 7008 1 #VH1 Classic
358 282 2 2010 11895000 7009 1 #TMF
359 282 2 2027 12226500 5206 0 #The Box
360 282 2 2019 12070500 9349 0 #4Music
361 282 2 2027 12226500 5506 0 #Kiss
362 282 2 2019 12070500 50000 0 #Smash Hits!
363 282 2 2019 12070500 5507 0 #Magic
364 282 2 2027 12226500 5804 0 #Q
365 282 2 2410 11642000 52365 1 #Chart Show TV
366 282 2 2410 11642000 52355 1 #The Vault
367 282 2 2410 11642000 52300 1 #Flava
368 282 2 2019 12070500 4804 0 #Kerrang!
369 282 2 2313 11223670 53157 1 #Omusic TV
370 282 2 2616 12690330 55510 1 #Channel AKA
371 282 2 2304 11343000 55202 1 #Starz TV
372 282 2 2410 11642000 52305 1 #Bliss
374 282 2 2410 11642000 52310 1 #Scuzz
376 282 2 2410 11642000 52315 1 #Flaunt
378 282 2 2311 11222170 52010 0 #Rock World TV
382 282 2 2410 11642000 52335 1 #NME TV
383 282 2 2311 11222170 52005 0 #Clubland TV
384 282 2 2001 11719500 3806 0 #MTVNHD
395 282 2 2004 11778000 4090 1 #Music Choice
396 282 2 2004 11778000 4091 1 #Music Choice Extra
401 282 2 2023 12148500 4914 0 #Sky Sports 1
402 282 2 2029 12265500 5503 0 #Sky Sports 2
403 282 2 2021 12109500 4219 0 #Sky Sports 3
404 282 2 2023 12148500 5401 0 #Sky Sports Xtra
405 282 2 2023 12148500 4907 0 #Sky Sports News
406 282 2 2025 12187500 5701 0 #MUTV
408 282 2 2005 11797500 3802 0 #Sky Sports HD1
409 282 2 2001 11719500 3881 0 #Sky Sports HD2
410 282 2 2025 12187500 5710 0 #British Eurosport
411 282 2 2023 12148500 5009 0 #Eurosport 2 UK
412 282 2 2008 11856000 3804 1 #Eurosport HD
413 282 2 2314 11307000 53335 1 #Motors TV
415 282 2 2052 10876500 9364 1 #At The Races
417 282 2 2031 12304500 4241 0 #ESPN
418 282 2 2034 12363000 3822 1 #Sky Sports HD3
419 282 2 2404 11526920 50350 1 #Extreme Sports
421 282 2 2025 12187500 9346 0 #Chelsea TV
423 282 2 2407 11584000 50610 0 #Setanta Ireland
424 282 2 2402 11488000 54065 1 #Setanta Sports 1
429 282 2 2411 11661540 51021 0 #ESPN Classic
430 282 2 2407 11584620 50620 0 #ESPN America
432 282 2 2407 11584620 50600 0 #Racing UK
433 282 2 2312 11223670 53117 1 #MSK
434 282 2 2407 11584620 50625 0 #LFC TV
437 282 2 2312 11223670 53119 1 #MSK Extra
442 282 2 2033 12343500 3840 0 #ESPN HD
446 282 2 2030 12285000 4409 1 #Real Madrid TV
452 282 2 2614 12606650 55355 1 #Rush HD
480 282 2 2613 12606650 55233 0 #Primetime
501 282 2 2026 12207000 4710 1 #Sky News
502 282 2 2306 11426330 52550 1 #Bloomberg Television
503 282 2 2013 11953500 6704 0 #BBC News
504 282 2 2013 11953500 6705 0 #BBC Parliament
505 282 2 2301 11261170 52111 0 #CNBC Europe
506 282 2 2018 12051000 7140 1 #CNN International
507 282 2 2022 12129000 7302 1 #S4C2
508 282 2 2602 12560020 54104 1 #Euronews
509 282 2 2019 12070500 50007 0 #Fox News Channel
510 282 2 2411 11661540 51011 0 #CCTV-9
511 282 2 2055 10920750 5021 0 #NDTV 24x7
512 282 2 2409 11623080 50847 0 #Russia Today
513 282 2 2411 11661540 51032 0 #France 24
514 282 2 2412 11680770 51107 1 #Al Jazeera English
515 282 2 2311 11222170 52070 0 #Press TV
516 282 2 2412 11680770 51108 1 #NHK World TV
520 282 2 2009 11875500 6201 0 #Discovery Channel
521 282 2 2009 11875500 6204 0 #Discovery Channel +1
522 282 2 2009 11875500 6207 0 #Discovery Knowledge
523 282 2 2009 11875500 6209 0 #Discovery Turbo
524 282 2 2009 11875500 6206 0 #Discovery Science
525 282 2 2009 11875500 6202 0 #Animal Planet
526 282 2 2030 12285000 4607 1 #National Geographic Channel
527 282 2 2030 12285000 4608 1 #National Geographic Channel +1
528 282 2 2025 12187500 5703 0 #Nat Geo Wild
529 282 2 2408 11603850 4653 1 #History
530 282 2 2401 11469230 5003 0 #History +1
531 282 2 2604 12643350 54305 1 #Military History
532 282 2 2006 11817000 6502 1 #Eden
533 282 2 2404 11526920 50335 1 #Eden +1
534 282 2 2015 11992500 7611 0 #Blighty
535 282 2 2315 11390000 52405 0 #Animal Planet +1
536 282 2 2032 12324000 3803 1 #Discovery HD
537 282 2 2006 11817000 6505 1 #YeSTERDAY
538 282 2 2314 11307000 53325 1 #YeSTERDAY +1
539 282 2 2027 12226500 5802 0 #Community Channel
543 282 2 2033 12343500 3831 0 #National Geographic Channel HD
544 282 2 2028 12446000 3885 1 #Nat Geo Wild HD
545 282 2 2028 12446000 3886 1 #History HD
549 282 2 2315 11390000 52410 0 #Discovery Science +1
551 282 2 2315 11390000 52400 0 #Investigation Discovery
553 282 2 2031 12304500 9348 0 #Crime & Investigation Network
554 282 2 2301 11261170 52169 0 #Crime & Investigation Network +1
555 282 2 2028 12246000 3888 1 #Crime & Investigation Network HD
557 282 2 2315 11390000 52435 0 #Discovery Knowledge +1
601 282 2 2018 12051000 7100 1 #Cartoon Network
602 282 2 2018 12051000 7103 1 #Cartoon Network TOO
603 282 2 2018 12051000 7102 1 #Boomerang
604 282 2 2029 12265500 5602 0 #Nickelodeon
605 282 2 2029 12265500 5601 0 #Nick Replay
606 282 2 2029 12265500 5604 0 #Nicktoons
607 282 2 2031 12304500 9350 0 #Disney XD
608 282 2 2029 12265500 5509 0 #Disney XD +1
609 282 2 2051 10861750 9001 0 #Disney Channel
610 282 2 2051 10861750 9007 0 #Disney Channel +1
611 282 2 2051 10861750 9004 0 #Playhouse Disney
612 282 2 2051 10861750 9010 0 #Playhouse Disney +
613 282 2 2045 10773250 6317 0 #CBBC Channel
614 282 2 2045 10773250 6318 0 #CBeebies
615 282 2 2029 12265500 5605 0 #Nick Jr.
616 282 2 2410 11642000 52340 1 #POP
617 282 2 2410 11642000 52330 1 #Tiny Pop
618 282 2 2018 12051000 7101 1 #Boomerang +1
619 282 2 2021 12109500 5521 0 #Cartoonito
620 282 2 2313 11344500 53285 0 #Nick Jr. 2
621 282 2 2044 10758500 10071 1 #CITV
622 282 2 2051 10861750 9002 0 #Disney Cinemagic
623 282 2 2409 11623080 51145 0 #BabyTV
624 282 2 2602 12560020 54107 1 #Baby First TV
625 282 2 2410 11642000 52345 1 #Tiny Pop +1
626 282 2 2410 11642000 52361 1 #Pop Girl
627 282 2 2410 11642000 52351 1 #Kix!
628 282 2 2051 10861750 9003 0 #Disney Cinemagic +1
629 282 2 2410 11642000 52370 1 #Pop Girl +1
630 282 2 2304 11343000 55251 1 #Nicktoons Replay
631 282 2 2032 12324000 3873 1 #Disney Cinemagic HD
780 282 2 2022 12129000 7330 1 #B4U Movies
781 282 2 2022 12129000 7331 1 #B4U Music
782 282 2 2014 11973000 7420 1 #Sony TV Asia
783 282 2 2020 12090000 4895 1 #STAR One
784 282 2 2301 11261000 52108 0 #STAR Plus
785 282 2 2409 11623000 50878 0 #PCNE Chinese
786 282 2 2313 11344000 53215 0 #Bangla TV
787 282 2 2411 11661000 51001 0 #MTA Muslim TV
788 282 2 2614 12606000 55300 1 #Zee TV
789 282 2 2614 12606000 55310 1 #Zing
790 282 2 2614 12606000 55305 1 #Zee Cinema
791 282 2 2405 11546000 50415 0 #ARY Digital
792 282 2 2409 11632000 50865 0 #PTV Prime
793 282 2 2604 12643000 54300 1 #MATV National
796 282 2 2409 11623000 50866 0 #Abu Dhabi TV
797 282 2 2411 11661000 51031 0 #South For You
798 282 2 2614 12606000 55315 1 #Zee Punjabi
799 282 2 2011 11914000 4410 0 #TV5MONDE Europe
800 282 2 2014 11973000 7430 1 #MAX
801 282 2 2612 12523000 9535 1 #Record TV
802 282 2 2301 11261000 52110 0 #DM Digital
803 282 2 2313 11344000 53290 0 #Hidayat TV
804 282 2 2306 11426000 52535 1 #ARY QTV
805 282 2 2306 11426000 52540 1 #Venus TV
806 282 2 2316 11390330 53510 1 #ARY News Uk & USA
807 282 2 2314 11307000 53305 1 #Aastha TV
808 282 2 2020 11209000 4896 1 #STAR News
809 282 2 2301 11261000 52113 0 #STAR Gold
810 282 2 2312 11223000 53116 1 #PTV Global
813 282 2 2412 11680000 51102 1 #Islam Channel
814 282 2 2402 11488000 54062 1 #Channel 'S'
815 282 2 2306 11426000 52500 1 #GEO UK
816 282 2 2312 11223000 53115 1 #SAB TV
817 282 2 2312 11223000 53113 1 #Sahara One
818 282 2 2302 11259000 52159 1 #AAJ TAK
819 282 2 2603 12643000 54203 0 #Noor TV
820 282 2 2402 11488000 54063 1 #Peace TV
822 282 2 2603 12643000 54207 0 #Music India
823 282 2 2412 11680000 51107 1 #Al Jazeera Children's Channel
824 282 2 2306 11426000 52505 1 #AAG
825 282 2 2405 11546000 50405 0 #GEO News
826 282 2 2402 11488000 54054 1 #IQRA TV
827 282 2 2402 11488000 54053 1 #ATN
828 282 2 2311 11222000 52004 0 #Ummah Channel
829 282 2 2306 11426000 52520 1 #9XM
830 282 2 2612 12523000 55109 1 #Sunrise TV
831 282 2 2304 11343000 55209 1 #NDTV Imagine
832 282 2 2408 11603000 4653 1 #Glory TV
833 282 2 2040 12480000 12081 1 #Brit Asia TV
834 282 2 2302 11259000 52166 1 #NTV
835 282 2 2407 11584000 50605 0 #Supreme Master TV
836 282 2 2313 11344500 53275 0 #Ahlebait TV
837 282 2 2304 11343000 55205 1 #AT Global Network
838 282 2 2405 11546000 50460 0 #Punjjabi TV
840 282 2 2040 12480000 12080 1 #Sikh channel
841 282 2 2402 11488000 54064 1 #Peace TV Urdu
842 282 2 2304 11343000 55228 1 #Ahlulbayt TV
843 282 2 2603 12643000 54212 0 #Up & Coming TV
860 282 2 2306 11426000 52515 1 #Jackpot Games
861 282 2 2405 11546000 54010 0 #Gala TV
864 282 2 2031 12304000 9341 0 #Sky Vegas
865 282 2 2031 12304000 9340 0 #SkyPoker.com
866 282 2 2411 11661000 51006 0 #Super Casino
867 282 2 2603 12643000 54204 0 #Challenge Jackpot
869 282 2 2302 11259000 52118 1 #Smart Live Casino
875 282 2 2316 11390000 53515 1 #Dating Channel
876 282 2 2404 11526000 50310 1 #***Date TV
877 282 2 2301 11261000 52106 0 #*** Network
878 282 2 2311 11222000 52013 0 #Chat Box
880 282 2 2404 12643000 50370 0 #Teachers TV
883 282 2 2302 11259000 52162 1 #Open Access
885 282 2 2304 11343000 55221 1 #WatchmeTV.TV
886 282 2 2304 11343000 55226 1 #Psychic TV
888 282 2 2604 12643000 54345 0 #Ocean Finance
970 282 2 2315 11428000 10510 0 #ITV HD
971 282 2 2047 10802750 6421 0 #BBC One Scotland
972 282 2 2047 10802750 6411 0 #BBC One Wales
973 282 2 2045 10773250 6331 0 #BBC One Northern Ireland
974 282 2 2045 10773250 6301 0 #BBC One London
975 282 2 2048 10817500 10355 1 #BBC One North East & ***bria
976 282 2 2046 10788000 10304 1 #BBC One Yorkshire
977 282 2 2046 10788000 10303 1 #BBC One East Yorks and Lincs
978 282 2 2046 10788000 10302 1 #BBC One North West
979 282 2 2046 10788000 10301 1 #BBC One West Midlands
980 282 2 2046 10788000 10305 1 #BBC One East Midlands
981 282 2 2046 10788000 10306 1 #BBC One East (England)
982 282 2 2050 10847000 6903 1 #BBC One East (Wales)
983 282 2 2048 10817500 10352 1 #BBC One South East
984 282 2 2048 10817500 10353 1 #BBC One South
985 282 2 2048 10817500 10356 1 #BBC One Oxford
986 282 2 2048 10817500 10351 1 #BBC One West
987 282 2 2048 10817500 10354 1 #BBC One South West
988 282 2 2050 10847000 6904 1 #BBC One Channel Islands
989 282 2 2045 10773250 6302 0 #BBC Two England
990 282 2 2047 10802750 6422 0 #BBC Two Scotland
991 282 2 2047 10802750 6412 0 #BBC Two Wales
992 282 2 2047 10802750 6432 0 #BBC Two Northern Ireland
993 282 2 2044 10758500 10060 1 #ITV1 London
994 282 2 2041 10714000 9211 0 #Channel 4
995 282 2 2042 10729000 8315 1 #Channel 4 +1


Pretty much every channel on sly


Adi

PS, am trying to use with rt xmltv, do i need to use there channel names as Channel ID??

limak
15-02-2010, 09:33 PM
@kebien:
sorry this is only example of using paremeters, you still need xmltv data for channels.
I'm working on next version of EpgWriter that proces one big xmtv file and write data for channels readed from channel.txt file but you still need xmltv data source from web or parse html tv guide some how.
Regards
limak

psham
15-02-2010, 11:43 PM
after copying to Plugins via ftp set grabber.sh file and epgwriter to 755 .

telnet to folder and run ./grabber.sh.

that will run it.

now to setup the download .txt file you need the uk file unhashed to allow download, then the chennels.txt requires setting up for uk channels you have todo this manually at the moment. heres a starter.

BBC1.uk 282 2 2048 10817500 10355 1
BBC2.uk 282 2 2045 10773250 6302 0
BBC3.uk 282 2 2045 10773250 6319 0
BBC4.uk 282 2 2045 10773250 6316 0
BBCHD.uk 282 2 2050 10847000 6940 1 #BBC HD
BBC1.uk 282 2 2048 10773000 6331 1 #BBC 1
Five.uk 282 2 2045 10773250 6335 0
Channel4.uk 282 2 2041 10714000 9214 0
ITV1.uk 282 2 2053 10891250 10130 0


mine are set for my local area for bbc1 and itv1 so they popluate the correct channels for my favs.

Where do i get grabber.sh file from?

kebien
15-02-2010, 11:48 PM
@kebien:
sorry this is only example of using paremeters, you still need xmltv data for channels.
I'm working on next version of EpgWriter that proces one big xmtv file and write data for channels readed from channel.txt file but you still need xmltv data source from web or parse html tv guide some how.
Regards
limak

Thanks for clearing it up
So,in a sense,that link I posted to zap2it should be the one to get the data from,then.

psham
16-02-2010, 01:17 AM
This is driving me mad..
i downloaded both EpgGrabber and EpgWriter, unziped both files and ftp'd them across to PLUGINS folder. 755 both
Now tried to telnet to EpgWriter folder but getting no such file or directory.
Can anyone post a simple step by step for setting this up..
I am new to telnet but can pick up easily if shown once..
Regards
Peter

limak
16-02-2010, 01:21 AM
EpgWriter ver 0.3 by limak

Changelog:
processing one xmltv file with different channel entry
channel file handling

Regards
limak

http://www.mediafire.com/file/tgqxbmgmvfr/EpgWriter-0.3.tgz

adrray1974
16-02-2010, 02:11 AM
Have done some Channel ID'ing toningt here is the list so far


animalplanet.discoveryeurope.com 282 2 2009 11875500 6202 0 #Animal Planet
arydigital.tv 282 2 2405 11546000 50415 0 #ARY Digital
attheraces.co.uk 282 2 2052 10876500 9364 1 #At The Races
base.mtv.co.uk 282 2 2010 11895000 7007 1 #MTV Base
bbcfour.bbc.co.uk 282 2 2045 10773000 6316 0 #BBC Four
bbcthree.bbc.co.uk 282 2 2045 10773000 6319 0 #BBC Three
biography-channel.biography.com 282 2 2408 11603850 4655 1 #Bio.
blighty.uktv.co.uk 282 2 2015 11992500 7611 0 #Blighty
bliss.co.uk 282 2 2410 11642000 52305 1 #Bliss
bloomberg.com 282 2 2306 11426330 52550 1 #Bloomberg Television
boomerang.cartoonnetwork.com 282 2 2018 12051000 7102 1 #Boomerang
bravo.co.uk 282 2 2002 11740000 6004 1 #Bravo
bravo2.bravo.co.uk 282 2 2303 11307000 52233 0 #Bravo 2
british.eurosport.com 282 2 2025 12187500 5710 0 #British Eurosport
cbbc.bbc.co.uk 282 2 2045 10773250 6317 0 #CBBC Channel
cbeebies.bbc.co.uk 282 2 2045 10773250 6318 0 #CBeebies
central.itv1.itv.co.uk 282 2 2036 12402000 12140 1 #ITV1 Central South West
challengetv.co.uk 282 2 2002 11740000 6002 1 #Challenge
channel4.com 282 2 2041 10714000 9211 0 #Channel 4
channel4.com 282 2 2040 12480000 12035 1 #Channel 4
channel4.com 282 2 2040 12480000 12035 1 #Channel 4
channel4.com 282 2 2041 10714000 9211 0 #Channel 4
channel5.co.uk 282 2 2402 11488000 54062 1 #Channel 'S'
channelm.co.uk 282 2 2404 11527000 50315 1 #Channel M
chelseafc.com 282 2 2025 12187500 9346 0 #Chelsea TV
cinema.zeeuk.com 282 2 2614 12606000 55300 1 #Zee TV
cinemagic.disney.co.uk 282 2 2051 10861750 9002 0 #Disney Cinemagic
cinemoi.tv 282 2 2405 11546000 50430 0 #Cinémoi movies
citv.itv.co.uk 282 2 2044 10758500 10071 1 #CITV
classic.espn.com 282 2 2411 11661540 51021 0 #ESPN Classic
classic.vh1online.co.uk 282 2 2010 11895000 7008 1 #VH1 Classic
classics.movies.******** 282 2 2007 11836000 4305 0 #Sky Movies Classics
comedy.movies.******** 282 2 2007 11836000 4303 0 #Sky Movies Comedy
comedycentral.com 282 2 2025 12188000 5904 0 #Comedy Central
communitychannel.org 282 2 2027 12226500 5802 0 #Community Channel
crimeandinvestigation.co.uk 282 2 2031 12304500 9348 0 #Crime & Investigation Network
dance.mtv.co.uk 282 2 2010 11895000 7014 1 #MTV Dance
dave.uktv.co.uk 282 2 2006 11817000 6506 1 #Dave
discoveryeurope.com 282 2 2009 11875500 6201 0 #Discovery Channel
disneychannel.disney.co.uk 282 2 2051 10861750 9001 0 #Disney Channel
drama.movies.******** 282 2 2007 11836000 5502 0 #Sky Movies Drama
e4.channel4.com 282 2 2042 10729000 8305 1 #E4
e4.channel4.com 282 2 2040 12480000 12050 1 #E4
eden.uktv.co.uk 282 2 2006 11817000 6502 1 #Eden
eentertainment.com 282 2 2025 12188000 5770 0 #E!
entertainment.truemovies.tv 282 2 2410 11642000 52320 1 #True Movies
espnamerica.com 282 2 2407 11584620 50620 0 #ESPN America
euronews.com 282 2 2602 12560020 54104 1 #Euronews
europe.cnbc.com 282 2 2301 11261170 52111 0 #CNBC Europe
europe.cnn.com 282 2 2018 12051000 7140 1 #CNN International
extra.comedycentral.com 282 2 2023 11740000 5431 0 #Comedy Central Extra
extreme.com 282 2 2404 11526920 50350 1 #Extreme Sports
family.movies.******** 282 2 2007 11836000 4403 0 #Sky Movies Family
filmfour.channel4.com 282 2 2041 10714000 9220 0 #Film4
fiver.channel5.co.uk 282 2 2037 12422000 7715 0 #Fiver
fiveusa.channel5.co.uk 282 2 2037 12422000 7710 0 #Five USA
flaunt.tv 282 2 2410 11642000 52315 1 #Flaunt
fxuk.tv 282 2 2021 12110000 5515 0 #FX
gold.uktv.co.uk 282 2 2006 11817000 6504 1 #G.O.L.D.
goodfood.uktv.co.uk 282 2 2006 11817000 6508 1 #Good Food
hallmarkchannelint.com 282 2 2023 12148000 5010 0 #Hallmark Channel
hd.1.movies.******** 282 2 2001 11719000 3833 0 #Sky Movies Screen 1 HD
hd.1.sports.******** 282 2 2005 11797500 3802 0 #Sky Sports HD1
hd.2.arts.******** 282 2 2008 11856000 3864 1 #Sky Arts 2 HD
hd.2.sports.******** 282 2 2001 11719500 3881 0 #Sky Sports HD2
hd.3.sports.******** 282 2 2034 12363000 3822 1 #Sky Sports HD3
hd.action.movies.******** 282 2 2028 12246000 3814 1 #Sky Movies Action & Thriller HD
hd.arts.******** 282 2 2032 12324000 3863 1 #Sky Arts 1 HD
hd.bbc.co.uk 282 2 2050 10847000 6940 1 #BBC HD
hd.biography-channel.biography.com 282 2 2028 12246000 3887 1 #Bio. HD
hd.channel4.com 282 2 2005 11798000 3875 0 #Channel 4 HD
hd.cinemagic.disney.co.uk 282 2 2032 12324000 3873 1 #Disney Cinemagic HD
hd.comedy.movies.******** 282 2 2024 12168000 3819 1 #Sky Movies Comedy HD
hd.crimeandinvestigation.co.uk 282 2 2028 12246000 3888 1 #Crime & Investigation Network HD
hd.discoveryeurope.com 282 2 2032 12324000 3803 1 #Discovery HD
hd.drama.movies.******** 282 2 2024 12168000 3816 1 #Sky Movies Drama HD
hd.eurosport.******** 282 2 2008 11856000 3804 1 #Eurosport HD
hd.family.movies.******** 282 2 2016 12012000 3818 1 #Sky Movies Family HD
hd.fxuk.tv 282 2 2008 11856000 3823 1 #FX HD
hd.modern.movies.******** 282 2 2024 12168000 3815 1 #Sky Movies Modern Greats HD
hd.nationalgeographic.co.uk 282 2 2033 12343500 3831 0 #National Geographic Channel HD
hd.reallives.******** 282 2 2005 11797000 3813 0 #Sky Real Lives HD
hd.scifi.movies.******** 282 2 2024 12168000 3817 1 #Sky Movies Sci Fi & Horror HD
hd.sky-one.******** 282 2 2033 12344000 3861 0 #Sky1 HD
hd.uk.espn.com 282 2 2033 12343500 3840 0 #ESPN HD
hd.uk.scifi.com 282 2 2032 12324000 3874 1 #Sci Fi HD
hd.wild.nationalgeographic.co.uk 282 2 2028 12446000 3885 1 #Nat Geo Wild HD
health.discovery.com 282 2 2009 11875000 6208 0 #Discovery Home & Health
hits.mtv.co.uk 282 2 2010 11895000 7006 1 #MTV Hits
home.uktv.co.uk 282 2 2006 11817000 6501 1 #Home
indie.movies.******** 282 2 2007 11836000 4306 0 #Sky Movies Indie
itv2.itv.co.uk 282 2 2044 10758000 10070 1 #ITV2
itv3.itv.co.uk 282 2 2064 10906000 10260 1 #ITV3
itv4.itv.co.uk 282 2 2044 10758000 10072 1 #ITV4
jr.nickelodeon.co.uk 282 2 2029 12265500 5605 0 #Nick Jr.
kerrang.com 282 2 2019 12070500 4804 0 #Kerrang!
kiss-tv.kiss100.com 282 2 2027 12226500 5506 0 #Kiss
knowledge.discoveryeurope.com 282 2 2009 11875500 6207 0 #Discovery Knowledge
livingtv.co.uk 282 2 2002 11740000 6001 1 #Living
magictv.co.uk 282 2 2019 12070500 5507 0 #Magic
men.granadatv.co.uk 282 2 2053 10891000 10135 0 #Men & Motors
midlands.bbc1.bbc.co.uk 282 2 2046 10788000 10305 1 #BBC One East Midlands
midlands.bbc1.bbc.co.uk 282 2 2046 10788000 10301 1 #BBC One West Midlands
modern.movies.******** 282 2 2408 11603000 4650 1 #Sky Movies Modern Greats
more4.channel4.com 282 2 2042 10729000 8340 1 #More4
more4.channel4.com 282 2 2040 12480000 12030 1 #More4
motors.tv 282 2 2314 11307000 53335 1 #Motors TV
mtv.co.uk 282 2 2010 11895000 7001 1 #MTV
mtv2europe.com 282 2 2010 11895000 7003 1 #MTV Two
music.b4utv.com 282 2 2022 12129000 7331 1 #B4U Music
mutv.manutd.com 282 2 2025 12187500 5701 0 #MUTV
nationalgeographic.co.uk 282 2 2030 12285000 4607 1 #National Geographic Channel
news.bbc.co.uk 282 2 2013 11953500 6704 0 #BBC News
news.sports.******** 282 2 2023 12148500 4907 0 #Sky Sports News
nickelodeon.co.uk 282 2 2029 12265500 5602 0 #Nickelodeon
parliament.bbc.co.uk 282 2 2013 11953500 6705 0 #BBC Parliament
playhouse.disney.co.uk 282 2 2051 10861750 9004 0 #Playhouse Disney
premiere.movies.******** 282 2 2408 11603000 4659 1 #Sky Movies Premiere
propellertv.co.uk 282 2 2303 11307000 52250 0 #Propeller TV
racinguk.tv 282 2 2407 11584620 50600 0 #Racing UK
reallives.******** 282 2 2052 10876000 5005 1 #Sky Real Lives
really.uktv.co.uk 282 2 2015 11992000 7620 0 #Really
replay.nickelodeon.co.uk 282 2 2029 12265500 5601 0 #Nick Replay
rushhd.com 282 2 2614 12606650 55355 1 #Rush HD
scifi.movies.******** 282 2 2007 11836000 4304 0 #Sky Movies Sci Fi & Horror
sci-trek.discoveryeurope.com 282 2 2009 11875500 6206 0 #Discovery Science
scuzz.tv 282 2 2410 11642000 52310 1 #Scuzz
sky-news.******** 282 2 2026 12207000 4710 1 #Sky News
sky-one.******** 282 2 2030 12285000 4703 1 #Sky1
sky-three.******** 282 2 2027 12226500 5103 0 #Sky3
sky-two.******** 282 2 2027 12226500 5104 0 #Sky2
tsod.plus-1.animalplanet.discoveryeurope.co m 282 2 2315 11390000 52405 0 #Animal Planet +1

DimitarCC
16-02-2010, 07:35 AM
EpgWriter ver 0.3 by limak

Changelog:
processing one xmltv file with different channel entry
channel file handling

Regards
limak

http://www.mediafire.com/file/tgqxbmgmvfr/EpgWriter-0.3.tgz

Is there example of grabber.sh?

happyhammer
16-02-2010, 09:21 AM
Is there example of grabber.sh?

post #53 from the author, sattommy

limak
16-02-2010, 09:22 AM
For example:


#!/bin/sh
#
#EpgWriter script file
wget http://www.xmltvepg.be/rytecxmltvpoland.gz
gzip -x rytecxmltvpoland.gz
epgwriter rytecxmltvpoland channel.txt > log
rm rytecxmltvpoland

this is for polish channel, check Rytec.be for other countries tv guide and change file names, you need to edit channel.txt to your needs
Big thanks goes to Rytec.be for hosting this data
Edit:
I noticed that rytecxmltvpoland uses ISO-8859-2 characterset but AzBox needs UTF8, so for polish channels we need to convert beffore use epgwriter


iconv --from-code=ISO-8859-2 --to-code=UTF-8 rytecxmltvpoland >rytecxmltvpolandutf8
mv rytecxmltvpolandutf8 rytecxmltvpoland

happyhammer
16-02-2010, 09:37 AM
This is driving me mad..
i downloaded both EpgGrabber and EpgWriter, unziped both files and ftp'd them across to PLUGINS folder. 755 both
Now tried to telnet to EpgWriter folder but getting no such file or directory.
Can anyone post a simple step by step for setting this up..
I am new to telnet but can pick up easily if shown once..
Regards
Peter

EPG grarabber includes EPG writer v0.1
i recommend you use WinSCP for file transfer and modifying files.
Use Putty for telnet.
use WINSCP to change file attributes to 755 and modify your channels.txt files etc..

telnet to the box. you will be in root dir.

command "pwd"will tell you where you are. change to your EPGgrabber directory.

type ./grabber.sh



just replace the epgwriter file with the later versions, either 0.2 or 0.3, in the epggrabber folder


EDIT: actually ver 0.3 did not work for me so went back to ver 0.2 ( using EPGGrabber)

sattommy
16-02-2010, 10:46 AM
EpgWriter ver 0.3 by limak

Changelog:
processing one xmltv file with different channel entry
channel file handling

Regards
limak

http://www.mediafire.com/file/tgqxbmgmvfr/EpgWriter-0.3.tgz

Nice work :) much better than my scripting :)

DimitarCC
16-02-2010, 10:49 AM
For example:


#!/bin/sh
#
#EpgWriter script file
wget http://www.xmltvepg.be/rytecxmltvpoland.gz
gzip -x rytecxmltvpoland.gz
epgwriter rytecxmltvpoland channel.txt > log
rm rytecxmltvpoland

this is for polish channel, check Rytec.be for other countries tv guide and change file names, you need to edit channel.txt to your needs
Big thanks goes to Rytec.be for hosting this data
Edit:
I noticed that rytecxmltvpoland uses ISO-8859-2 characterset but AzBox needs UTF8, so for polish channels we need to convert beffore use epgwriter


iconv --from-code=ISO-8859-2 --to-code=UTF-8 rytecxmltvpoland >rytecxmltvpolandutf8
mv rytecxmltvpolandutf8 rytecxmltvpoland


you was write it can handle timezone in start element. But can it handle it as well in stop element?
If i have xmltv file with both stop and start element how handle it?
Also how to use the new parameter for global time offset

limak
16-02-2010, 11:16 AM
EpgWriter 0.2 and 0.3 can handle stop and start with correct timezone set
<programme start="20100216000000 +0100" stop="20100216060000 +0100" channel="TCM.pl">

but if you have xmltv file without time zone set

<programme start="20100216000000" stop="20100216060000" channel="TCM.pl">

you can use optional globalGMTOffset[in minutes with sign] as third parameter with epgwriter if you know that you have different timeznoe in your location than xmltv file


./epgwriter xmltv channel.txt 60

DimitarCC
16-02-2010, 12:29 PM
EpgWriter 0.2 and 0.3 can handle stop and start with correct timezone set
<programme start="20100216000000 +0100" stop="20100216060000 +0100" channel="TCM.pl">

but if you have xmltv file without time zone set

<programme start="20100216000000" stop="20100216060000" channel="TCM.pl">

you can use optional globalGMTOffset[in minutes with sign] as third parameter with epgwriter if you know that you have different timeznoe in your location than xmltv file


./epgwriter xmltv channel.txt 60


Thanks! Great plugin!!

happyhammer
16-02-2010, 12:47 PM
having a problem. from azbox used wget to get file, then gzip -d to unzip it. then ran the command and it fails?





MMP[EpgGrabber]$ wget http://www.xmltvepg.be/rytecxmltvuk.gz
Connecting to www.xmltvepg.be[83.149.96.241]:80
rytecxmltvuk.gz 100% |*****************************| 1060 KB 00:00 ETA
MMP[EpgGrabber]$ ls
channels.txt* epgwriter* readme.txt
download.txt* grabber.sh* rytecxmltvuk.gz
MMP[EpgGrabber]$ gzip -d rytecxmltvuk.gz
MMP[EpgGrabber]$ ls
channels.txt* epgwriter* readme.txt
download.txt* grabber.sh* rytecxmltvuk
MMP[EpgGrabber]$ ls -l
-rwxr-xr-x 1 root root 1360 Feb 14 14:17 channels.txt*
-rwxr-xr-x 1 root root 297 Feb 14 11:40 download.txt*
-rwxr-xr-x 1 root root 19799 Feb 16 00:12 epgwriter*
-rwxr-xr-x 1 root root 1209 Feb 13 18:09 grabber.sh*
-rw-r--r-- 1 root root 1400 Feb 13 18:04 readme.txt
-rw-r--r-- 1 root root 8866569 Feb 16 11:34 rytecxmltvuk
MMP[EpgGrabber]$ ./epgwriter rytecxmltvuk channels.txt
HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH HHHHHHHHHHHHHHHHHH
BUILD: [Jan 21 2010 20:18:24]
HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH HHHHHHHHHHHHHHHHHH
unlink fail!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!: No such file or directory
AZBoxTVSDK TVSDK_CheckTunerInfo:58 # Tuner Combination Type : COMBO
#
AZBoxTVSDK TVSDK_CheckTunerInfo:76 find ---- /tmp/TUNER_DVBS-0
AZBoxTVSDK TVSDK_CheckTunerInfo:91 find ---- /tmp/TUNER_DVBT-1
create_iso_639_code_table ok
Send massage D(4), S(33)
AZBoxTVSDK ChannelSDK_Load:332 (/DISK2/all_channel.dat)
MAX_CHANNEL 15000
FAV GROUP 50
FAV 200
channel list version : 9
channel_st (200) * 15000 : 3000000
channel_list_st (1596296) + channel_st 3000000 : 4596296
+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+ =+=+=+=+=+=+=+=+=+=+=+=+=
AZBoxTVSDK ChannelSDK_ChangeVindexType:102 USE LIST CHANGE CHANNEL LIST :
1 type('FAV CH')
+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+ =+=+=+=+=+=+=+=+=+=+=+=+=
AZBoxTVSDK ChannelSDK_LinkRCHInfo:223
AZBoxTVSDK ChannelSDK_Load:465 #######################
channel list version : 9
load service_type : 1
load use_group_list : 'FAV'
load bouquet : 65535
load net_index : 255
load original channel number : 2592
load tv channel number : 2560
load radio channel number : 32
load user channel number : 1068
load vch_type : 'FAV CH'
load promotion channel number : 0
AZBoxTVSDK ChannelSDK_Load:486 #######################
ERROR: ChannelSDK_LoadNetwork:765 Fail to open '/DISK2/DVBC.dat'
ERROR: ChannelSDK_LoadNetwork:765 Fail to open '/DISK2/ISDBT.dat'
ERROR: ChannelSDK_LoadNetwork:765 Fail to open '/DISK2/ATSC.dat'

EpgWriter ver 0.3 by limak

AZBoxTVSDK TVSDK_InitEITMemory:1172
AZBoxTVSDK TVSDK_SetUserEITMemory:1211
Send massage D(4), S(33)
AZBoxTVSDK TVSDK_GetEITMemoryStatus:1135
Send massage D(4), S(33)
AZBoxTVSDK TVSDK_ParseEITMemoryStatus:194
AZBoxTVSDK TVSDK_ParseEITMemoryStatus:207 DEFAULT_EIT total 20971520
AZBoxTVSDK TVSDK_ParseEITMemoryStatus:208 DEFAULT_EIT used 7729755
AZBoxTVSDK TVSDK_GetEITMemoryStatus:1154 max_eit_memory 29360128
AZBoxTVSDK TVSDK_GetEITMemoryStatus:1158 DEFAULT_EIT total 20971520
AZBoxTVSDK TVSDK_GetEITMemoryStatus:1159 DEFAULT_EIT used 7729755
AZBoxTVSDK TVSDK_GetEITMemoryStatus:1162 USER_EIT total 8388608
AZBoxTVSDK TVSDK_GetEITMemoryStatus:1163 USER_EIT used 5238816
Can't find network_id by given position=0
AZBoxTVSDK TVSDK_Deinit:381
destroy_iso_639_code_table ok
Send massage D(4), S(33)
MMP[EpgGrabber]$

limak
16-02-2010, 01:44 PM
Probably you have emply lines at start or at the end of channel.txt,
have the same problem for an hour before discover the problem

happyhammer
16-02-2010, 02:38 PM
Probably you have emply lines at start or at the end of channel.txt,
have the same problem for an hour before discover the problem

yes, thats was it.

Am now playing around with Brytles XMLTV so i can just select the channels i want in the epg file. saves the writer having to process/skip all channels.
Certainly the epgwriter seems to work, but i've no access to the tv just to see if the screen was populated correctly.

here some test channels if someone else want to try

UK_RT_105 282 2 2045 10773250 6302 0 #BBC 2 England
UK_RT_45 282 2 2045 10773250 6319 0 #BBC THREE
UK_RT_47 282 2 2045 10773250 6316 0 #BBC FOUR
UK_RT_26 282 2 2044 10759000 10060 1 #ITV 1 London
UK_RT_185 282 2 2044 10759000 10070 1 #ITV 2
UK_RT_1859 282 2 2054 10906000 10260 1 #ITV3
UK_RT_1961 282 2 2044 10759000 10072 1 #ITV4

psham
16-02-2010, 03:03 PM
EPG grarabber includes EPG writer v0.1
i recommend you use WinSCP for file transfer and modifying files.
Use Putty for telnet.
use WINSCP to change file attributes to 755 and modify your channels.txt files etc..

telnet to the box. you will be in root dir.

command "pwd"will tell you where you are. change to your EPGgrabber directory.

type ./grabber.sh



just replace the epgwriter file with the later versions, either 0.2 or 0.3, in the epggrabber folder


EDIT: actually ver 0.3 did not work for me so went back to ver 0.2 ( using EPGGrabber)

When i extract EpgGrabber.tgz file i only get one folder containig one file EpgGrabber is this correct?
I then Ftp'd this folred to plugins and change attributes to 755.
INothing happens, i don't see EpgWriter anywhere.. What am i doing wrong??

happyhammer
16-02-2010, 03:30 PM
When i extract EpgGrabber.tgz file i only get one folder containig one file EpgGrabber is this correct?
I then Ftp'd this folred to plugins and change attributes to 755.
INothing happens, i don't see EpgWriter anywhere.. What am i doing wrong??

no, it has five files. try using winrar to extract.

in any case, with respects to sattommy, the latest version of epgwriter means the epg grabber scripts are no longer needed.

see my ealier post of grabbing the epg after telnetting to the azbox.

all you need to do is make a folder in the azbox and put epgwriter in it and then make/modify a text file with the channels you want.

psham
16-02-2010, 03:45 PM
Will i call the folder EpgWriter or what , and Create folder in root or in PLUGINS folder?
Thanks

neilD
16-02-2010, 04:00 PM
no, it has five files. try using winrar to extract.

in any case, with respects to sattommy, the latest version of epgwriter means the epg grabber scripts are no longer needed.

see my ealier post of grabbing the epg after telnetting to the azbox.

all you need to do is make a folder in the azbox and put epgwriter in it and then make/modify a text file with the channels you want.

I only have two files a readme.txt and epgwriter.

psham
16-02-2010, 04:16 PM
! C:\Do***ents and Settings\PETER\My Do***ents\Downloads\EpgWriter-0.3.tgz: The archive is corrupt

This is the message i'm getting when i try to unzip EpgWriter or EpgGrabber.. i've tried deleting EpgWriter-0.3.tgz and downloading it again to unzip it but keep getting same error..
Whats going on ?

slegs
16-02-2010, 04:17 PM
! C:\Do***ents and Settings\PETER\My Do***ents\Downloads\EpgWriter-0.3.tgz: The archive is corrupt

This is the message i'm getting when i try to unzip EpgWriter or EpgGrabber.. i've tried deleting EpgWriter-0.3.tgz and downloading it again to unzip it but keep getting same error..
Whats going on ?

Its not a windows zip file. You need to use gunzip or something like that

slegs
16-02-2010, 04:18 PM
I only have two files a readme.txt and epgwriter.

This is all still experimental and not ready for general use yet. If you are not sure of what you are doing I would suggest you wait till its packaged up.

happyhammer
16-02-2010, 04:28 PM
I only have two files a readme.txt and epgwriter.

the epg writer compressed file is just two files.

the epg grabber compressed file is five files.


use winrar to extract them on yer pc.

put them in any folder on the azbox you want, it dont matter.

happyhammer
16-02-2010, 07:06 PM
actually, it didnt work on this xml file, all the times were like this

Start Time: Wed Dec 31 23:59:59 1969





first section below is the raw epg example and teh second section is the output from the tenet session




- <programme start="20100301220000 +0000" stop="20100301230000 +0000" channel="UK_RT_1961">
<title lang="en">Breakout</title>
<sub-title lang="en">The Escapist</sub-title>
<desc lang="en">Drama do***entary series re-creating the most extraordinary prison breaks in recent times. Can the state-of-the-art facility at Alton, Illinois, hold a modern-day Houdini who has made repeated escape attempts? Quawntay Adams is regarded as a high risk category inmate, and his single cell is a prefabricated quarter-inch thick steel box constantly monitored by security cameras, and with prison guards checking on him every 30 minutes. But Adams has nothing to lose. Despite the security, he manages to smuggle in a hacksaw blade and cuts a hole in the ceiling of his cell. He escapes through a ventilation shaft, where a female accomplice waits for him. But as he is hunted down by US Marshals, Adams' ingenuity eventually fails him.</desc>
<category lang="en">Do***entary</category>
<length units="minutes">60</length>
- <video>
<aspect>16:9</aspect>
</video>
- <subtitles type="teletext">
<language lang="en">English</language>
</subtitles>
</programme>







AZBoxTVSDK TVSDK_AddEPGInfo:632
Send massage D(4), S(33)
Title: Breakout channel="UK_RT_1961" Start Time: Wed Dec 31 23:59:59 1969
Text: Breakout
Detail: Drama do***entary series re-creating the most extraordinary prison breaks in recent times. Can the state-of-the-art facility at Alton, Illinois, hold a modern-day Houdini who has made repeated escape attempts? Quawntay Adams is regarded as a high risk category inmate, and his single cell is a prefabricated quarter-inch thick steel box constantly monitored by security cameras, and with prison guards checking on him every 30 minutes. But Adams has nothing to lose. Despite the security, h

limak
16-02-2010, 07:19 PM
Looks like buffer for event Details is too small, easy to fix.
Any other suggestions after testing before I release ver 0.4 ?

limak
16-02-2010, 09:06 PM
EpgWriter ver 0.4 by limak

Changelog:
buffers size changed
better handling xmltv files without "stop=" argument (duration based on next entry start)

http://www.mediafire.com/file/mzmkwykkzlg/EpgWriter-0.4.tgz

pr2
16-02-2010, 09:45 PM
Hello,

Many thanks to Limak and Sattomy for the job performed on this subject.
I am now playing with it but there I have a small problem.

I am living in Belgium so my Azbox is set to GMT+1 and the time is right. At the momen Daylight saving is off.

I use the french satellite CSAT xml (rytecxmltvcsat.gz)

When I look in the file and I extract an event for example the details for the TF1: TV news event:



<programme start="20100217200000 +0100" stop="20100217204500 +0100" channel="I1.751118.microsoft.com">
<title lang="fr">Journal</title>
<desc lang="fr">Bulletin d'informations présenté par Laurence Ferrari.</desc>


In the XML file the start time is correct:
2010/02/17 20:00:00

So yes the program indees start at 20H00 (8 pm) and end at 20H45. (2010/02/17 20:45:00)

But with epgwriter 0.2 the event is written at 21H00 until 21H45.

I think that the mention +0100 in the XML means that the start time is expressed in the GMT+1 timezone format.

So all my EPG is fullfilled with events but with +1 Hour.

I don't know where the problem is, should EpgWriter managed the localtime setting in order to write it at the right time in the EPG Memory.
If so please take care in you development of the Daylight saving because then we will be in GMT+2.

Any help welcome to have the XML file written at the right time with epgwriter.

Edit:

By looking into /DISK2/selene.conf you can find the following parameters that will allow you to know in which timezone the Epgwriter is used:



[system]
timezonegap=3600
time_daylight_saving_time=0



Regards,

Pr2

P.S.: I already escalate the request to Opensat to have the EPG in an external file rather than stored in memory.

SAUS04
16-02-2010, 10:41 PM
Is someone going to post a full channel.txt file 45e-30w and download.txt file so peeps like me can just install and run the plugin and go :P

looks like epg is going somewhere but i dont have the time to do channel ids etc. even full sly uk and freesat epg will do me anyone please :P:respect-056:

pr2
16-02-2010, 10:46 PM
Hello,

An improvement possible is to skip event in the past.
I saw that with the current way of working grabber.sh and epgwriter event in the past are also written in the Azbox memory, this is useless.

I also stored the tmp files in the /DATA/hdb1 and I don't delete then, so when it will be working fine for me it will be possible to rerun faster the process based on the existing files (since Azbox lose the EPG today). Especially if old events are skipped by epgwriter.

Regards,

Pr2

pr2
17-02-2010, 12:37 AM
Hello,

EpgWriter 0.4 does not support to have comment lines at the beginning of channels.txt file.
I have 2 comments line starting with # this generate a error about position 0 not found.
I delete the two comment lines and it is now running.

Pr2

DimitarCC
17-02-2010, 07:21 AM
Hello,

Many thanks to Limak and Sattomy for the job performed on this subject.
I am now playing with it but there I have a small problem.

I am living in Belgium so my Azbox is set to GMT+1 and the time is right. At the momen Daylight saving is off.

I use the french satellite CSAT xml (rytecxmltvcsat.gz)

When I look in the file and I extract an event for example the details for the TF1: TV news event:



<programme start="20100217200000 +0100" stop="20100217204500 +0100" channel="I1.751118.microsoft.com">
<title lang="fr">Journal</title>
<desc lang="fr">Bulletin d'informations présenté par Laurence Ferrari.</desc>


In the XML file the start time is correct:
2010/02/17 20:00:00

So yes the program indees start at 20H00 (8 pm) and end at 20H45. (2010/02/17 20:45:00)

But with epgwriter 0.2 the event is written at 21H00 until 21H45.

I think that the mention +0100 in the XML means that the start time is expressed in the GMT+1 timezone format.

So all my EPG is fullfilled with events but with +1 Hour.

I don't know where the problem is, should EpgWriter managed the localtime setting in order to write it at the right time in the EPG Memory.
If so please take care in you development of the Daylight saving because then we will be in GMT+2.

Any help welcome to have the XML file written at the right time with epgwriter.

Edit:

By looking into /DISK2/selene.conf you can find the following parameters that will allow you to know in which timezone the Epgwriter is used:



[system]
timezonegap=3600
time_daylight_saving_time=0



Regards,

Pr2

P.S.: I already escalate the request to Opensat to have the EPG in an external file rather than stored in memory.

same here! not handle timezone correct. i am with GMT+2 and in my epg the data is 2 hours forward not matter in xmltv file there is +0200

limak
17-02-2010, 07:43 AM
for quick workaround you can use globalGMTOffset parameter -120
I fix yours problem and release next version soon

limak
17-02-2010, 09:23 AM
EpgWriter ver 0.5 by limak

Changelog:
timezone fix

http://www.mediafire.com/file/gzi33ultmhi/EpgWriter-0.5.tgz

happyhammer
17-02-2010, 09:31 AM
EpgWriter ver 0.4 by limak

Changelog:
buffers size changed
better handling xmltv files without "stop=" argument (duration based on next entry start)

http://www.mediafire.com/file/mzmkwykkzlg/EpgWriter-0.4.tgz

yes, thats fixed the reading of Brytles xmlgui files. great job.

noticed a couple of small things, may be the box and not your program.

programmes like "denis & gnasher" will display denis &amp;gnasher..
programmes with name including..whats's... will display what&apos;s


Just for others info, i will use xmltvgui to generate the epg xml file for just the chnnels i select and store it on the shared drive that the azbox has access to. i'll use windows task scheduler to do that. then all i need is a cron job to run epgwriter.

limak
17-02-2010, 09:45 AM
Your problem is related to codepage of xmltv file, AzBox use UTF8, look at my previous posts to find iconv command and change it to your needs
Regards
limak

massimo1167
17-02-2010, 10:56 PM
Who knows?

Hello,

Do you know that it is possible to create a /DISK2/etc/wakeup.sh and /DISK2/etc/standby.sh script.

So indeed with such script you can write a file flag somewhere and check it.

Pr2

DimitarCC
18-02-2010, 07:48 AM
Yes very good plugin!
Too bad that firmware is buggy on EPG!
I import my EPG data via plugin and after few switching channels and EPG gone. When i change the menu to any other than TV EPG gone!
Until they fix that EPG and EPG plugins is almost not useful!

dennisl
18-02-2010, 12:35 PM
What Fw do you use DimitarCC? I use 0.9.4295 BUT EPG is useless with any fw higher than this

DimitarCC
18-02-2010, 01:14 PM
What Fw do you use DimitarCC? I use 0.9.4295 BUT EPG is useless with any fw higher than this
Yes i use 0.9.4466. Really useless EPG!!!
0.9.4295 is good but there is no improuvments for MKV files and srt subtitles that are introduced in new versions of the fw!
But maybe i have to downgrade!

psham
18-02-2010, 02:15 PM
Yes very good plugin!
Too bad that firmware is buggy on EPG!
I import my EPG data via plugin and after few switching channels and EPG gone. When i change the menu to any other than TV EPG gone!
Until they fix that EPG and EPG plugins is almost not useful!

How did you import EPG data via plugin..

I've used grabber files, replaced epgWriter0.1 with epgwriter0.5, edited channel.text and download.text, placed all in plugins folder on azbox. chmod all to 755.

telnet to EpgGrabber folder, did ./grabber.sh
Telnet looked like it was downloading data,took 10 mins or so.. sais it was finished, so it typed exit..

Went to azbox to see if EPG data present but it wasn't..
Is there something i'm missing..?

DimitarCC
18-02-2010, 03:26 PM
How did you import EPG data via plugin..

I've used grabber files, replaced epgWriter0.1 with epgwriter0.5, edited channel.text and download.text, placed all in plugins folder on azbox. chmod all to 755.

telnet to EpgGrabber folder, did ./grabber.sh
Telnet looked like it was downloading data,took 10 mins or so.. sais it was finished, so it typed exit..

Went to azbox to see if EPG data present but it wasn't..
Is there something i'm missing..?

I am using EPGGrabber with not replace the EPGWriter. Version 0.1 works well with my XMLTV files and import everything correct! I didnt tested yet EPGWriter 0.5!

P.S. But i use FW 0.9.4466

psham
18-02-2010, 03:50 PM
using 9.4466 myself...
After you do ./grabber.sh command you don't do anything else? EPGdata should be on AZbox??

Gona try EpgGrabber without swapping Epgwriter..

Smudger
18-02-2010, 06:44 PM
using 9.4466 myself...
After you do ./grabber.sh command you don't do anything else? EPGdata should be on AZbox??

Gona try EpgGrabber without swapping Epgwriter..


look in the log file.


if you have any extra lines or the headers in the channels list it will not work.

use a linux editor vi or windows ultraedit to edit your txt file.

pr2
18-02-2010, 11:46 PM
Hello,

You need to modify grabber.sh because now it is useless to split the XML file into a per channel XML subfiles. This consume a lot of time to generate the splitted files.

Simply use epgwriter 0.5 which works, really fine, even with a big XML file with all the channels in it.

You need to create the index file according to which XML file you use and then use.
Index file should have the following structure:
#XML-Channel-ID #Position Orbi #NID #TID #FREQ #SID #Pola H=0 V=1 #Channel_Name

XML-Channel-ID refers to the source XML that you will use, each files uses its own Channel-ID.

Postion Orbi is 130 for Hotbird 13° East, use - for West satellites.

You will find the NID TID FREQ SID Pola with MAZ2.3 simply open your channel list and have a look at the details of the channel.

epgwriter TheSourceXMLfile TheIndexFileYouCreate


Pr2

psham
19-02-2010, 01:18 AM
Hello,

You need to modify grabber.sh because now it is useless to split the XML file into a per channel XML subfiles. This consume a lot of time to generate the splitted files.

Simply use epgwriter 0.5 which works, really fine, even with a big XML file with all the channels in it.

You need to create the index file according to which XML file you use and then use.
Index file should have the following structure:
#XML-Channel-ID #Position Orbi #NID #TID #FREQ #SID #Pola H=0 V=1 #Channel_Name

XML-Channel-ID refers to the source XML that you will use, each files uses its own Channel-ID.

Postion Orbi is 130 for Hotbird 13° East, use - for West satellites.

You will find the NID TID FREQ SID Pola with MAZ2.3 simply open your channel list and have a look at the details of the channel.

epgwriter TheSourceXMLfile TheIndexFileYouCreate


Pr2
OK..,
I am now using epgwriter 0.5

Unzipped and got 2 files in EpgWriter folder.. epgwriter and readme.txt, i then added a channel.txt and download.txt to this folder.

Ftp'd the EpgWriter folder ( which now has 4 files in it) to PLUGINS folder in azbox.
chmod all files to 755..

Do i now add grabber.sh or what do i do to get epgwriter to fetch epg data..?
Thanks

DimitarCC
19-02-2010, 07:36 AM
i was try FW 0.9.4295 today......
well at least it keeps EPG when switching menus.
BUT i was upload my 4 days EPG data and after 3 hours working......EPG is GONE again!
Well folks dont waste time for trying plugins to work since the stupid FW does not work at all (EPG part).

slegs
19-02-2010, 10:17 AM
This is still a work in progress folks so you shouldnt assume its cracked yet. In reality we need Opensat to move the EPG data to a sticky file based setup instead of memory for this to be useful.

There is lots of progress here though thanks to the good work of sattommy, limak etc

SAUS04
19-02-2010, 10:20 AM
I completely agree with Slegs. Thanks Limak and Sattomy. good work guys keep it up... we just need opensat to give you the tools to deliver :respect-055:

DimitarCC
19-02-2010, 10:30 AM
I completely agree with Slegs. Thanks Limak and Sattomy. good work guys keep it up... we just need opensat to give you the tools to deliver :respect-055:

Yes that folks are great since they was make the plugin! The problem is OPENSAT!!! They dont want to help them and us!

DimitarCC
20-02-2010, 07:29 AM
Yes that folks are great since they was make the plugin! The problem is OPENSAT!!! They dont want to help them and us!

They prove that with the new FW 4487. Directly to trash!

Smudger
20-02-2010, 08:37 AM
This EPG plugin works very well in fw 0.9.4295
EPG is not flushed out when box goes in standby or when you have gone to another menu option.

DimitarCC
20-02-2010, 09:45 AM
This EPG plugin works very well in fw 0.9.4295
EPG is not flushed out when box goes in standby or when you have gone to another menu option.

Yes you are right! But in any FW above 4295 EPG is totally broken!

dennisl
21-02-2010, 04:03 PM
Trying to use this www.xmltvepg.be/rytecxmltvnordic.gz but its about 20MB unzip´ed

limak
25-02-2010, 04:37 PM
http://www.mediafire.com/file/kymzmqojrnj/EpgWriter-0.6.bin.src.tgz
Change log:
vfd display progress (channel name)
sub-title tag supported
don't write past events

regards
limak

digihoe
25-02-2010, 05:17 PM
I have a suggestion, what about reading directly from the *gz file, since often the unpacked file is "SO" large. Maybe this will slow it down too much?

pr2
25-02-2010, 07:36 PM
Hello,

Simply use your HDD for the XML file, that's the way I use epgwriter.

And many thanks for limak to implement the suggestions. ;-)

Pr2

DimitarCC
26-02-2010, 07:57 AM
http://www.mediafire.com/file/kymzmqojrnj/EpgWriter-0.6.bin.src.tgz
Change log:
vfd display progress (channel name)
sub-title tag supported
don't write past events

regards
limak

Very good! But one small trouble......
my XMLTV files are written in Cyrillic. With version 0.3 of EpgWriter all was OK! But now it do not decode my files as UTF-8. It uses ANSI! So in the epg i cant read nothing!

limak
26-02-2010, 09:00 AM
Are you sure, I don't change this part of code since ver 0.1 maybe your xmltv has different code page and you must use iconv tool to change it.
To test it use putty with UTF8 display settings and cat xmltv

DimitarCC
26-02-2010, 09:29 AM
Are you sure, I don't change this part of code since ver 0.1 maybe your xmltv has different code page and you must use iconv tool to change it.
To test it use putty with UTF8 display settings and cat xmltv

when i open the xml file in internet explorer is show that file is UTF-8 and the text is displayed correct.
I use the same file with 0.3 version there is no problem.
What mean to test with putty? Please give me ore details! Thanks!

DimitarCC
26-02-2010, 09:59 AM
I was just test with cat command in putty ...... text is OK! I can read it there! But when i import it with epgwriter 0.6 the log created from EPGWriter is ANSI NOT UTF-8 (before was UTF-8 and i was able to read inside) and in EPG inside the AZBox cant read!

limak
26-02-2010, 10:00 AM
You must be sure that your terminal program use UTF-8 to display characters(I use PuTTy UTF-8 dispaly settings) and then if you have UTF-8 file you can use cat or more to display it and you should see correct characters. If not use iconv.

DimitarCC
26-02-2010, 10:07 AM
Another thing that i found is if i run the EPGwriter 2 times one after another it adds the EPG 2 times and in box EPG it overlap events 2 times and when i pres right arrow instead to go to next even it stays again to same places becasue there are 2 events one ontop of the another.
Can you make if it see that at that time is event to not add it anymore?

DimitarCC
26-02-2010, 10:09 AM
You must be sure that your terminal program use UTF-8 to display characters(I use PuTTy UTF-8 dispaly settings) and then if you have UTF-8 file you can use cat or more to display it and you should see correct characters. If not use iconv.

Yes i am sure! In translation options in Putty i set UTF-8 then i cat the xmltv file and YES i can see the correct characters. The problem is that inside EPG and in the log file they are not anymore UTF-8 and i cant read them there (both box EPG and log file)

p.s. log file encodding is ANSI! NOT UTF-8!

DimitarCC
26-02-2010, 10:12 AM
if you want i can give you the xmltv file you to check it!

limak
26-02-2010, 10:40 AM
I just test ver 0.6 with polish epg from rytec.be I use iconv to convert from ISO-8859-2 to UTF-8 because file on rytec.be is ISO-8859-2 and it writes correct charactes to azbox, log file looks Ok.
Then I download log file to windows and notepad display it correct, but without wraping(linux style).
You can send me your file on PM

regards
limak

DimitarCC
26-02-2010, 10:56 AM
I just test ver 0.6 with polish epg from rytec.be I use iconv to convert from ISO-8859-2 to UTF-8 because file on rytec.be is ISO-8859-2 and it writes correct charactes to azbox, log file looks Ok.
Then I download log file to windows and notepad display it correct, but without wraping(linux style).
You can send me your file on PM

regards
limak

Polish characters are similar English! Cyrillic is completely different!
I was send the file to PM i will be glad if you give me solution to my problem!

DimitarCC
26-02-2010, 11:02 AM
how about the bug i was mention up about overlapping events?

limak
26-02-2010, 11:24 AM
I have no idea how to solve overlap problem, checking every event for sure slow epgwriter a lot, this is not an option, maybe someone have an idea, source are public feel free to change it

DimitarCC
26-02-2010, 11:27 AM
I have no idea how to solve overlap problem, checking every event for sure slow epgwriter a lot, this is not an option, maybe someone have an idea, source are public feel free to change it
yes i agree wth yopu that will slow down everything......
The problem is that FW is very unstable and often clear EPG.
So i was thinking about constant update every 3 hours but that will make overlapping big problem!
Anyway i will check the code...... But i am not so good at linux programming

happyhammer
26-02-2010, 02:00 PM
Having a "/" character in the display name causes problems.
first xml file extract below will not populate the guide, the second one will.




<?xml version="1.0" encoding="UTF-8"?>
<tv date="20100226" generator-name="XMLTV GUI V. 3.12.00W" generator-url="http://www.birtles.org.uk/xmltv">
<channel id="UK_RT_251">
<display-name lang="en">Sky Movies Action/Thriller</display-name>
</channel>


<?xml version="1.0" encoding="UTF-8"?>
<tv date="20100226" generator-name="XMLTV GUI V. 3.12.00W" generator-url="http://www.birtles.org.uk/xmltv">
<channel id="UK_Bleb_sky_movies_action_thrille r">
<display-name>Sky Movies Action Thriller</display-name>
<icon src="http://www.lyngsat-logo.com/icon/tv/ss/sky_movies_action_thriller.gif"/>
</channel>

digihoe
26-02-2010, 02:11 PM
Having a "/" character in the display name causes problems.
first xml file extract below will not populate the guide, the second one will.




<?xml version="1.0" encoding="UTF-8"?>
<tv date="20100226" generator-name="XMLTV GUI V. 3.12.00W" generator-url="http://www.birtles.org.uk/xmltv">
<channel id="UK_RT_251">
<display-name lang="en">Sky Movies Action/Thriller</display-name>
</channel>


<?xml version="1.0" encoding="UTF-8"?>
<tv date="20100226" generator-name="XMLTV GUI V. 3.12.00W" generator-url="http://www.birtles.org.uk/xmltv">
<channel id="UK_Bleb_sky_movies_action_thrille r">
<display-name>Sky Movies Action Thriller</display-name>
<icon src="http://www.lyngsat-logo.com/icon/tv/ss/sky_movies_action_thriller.gif"/>
</channel>

For / maybe you need to use the symbol code for that char.
I would guess that maybe some check code for / when in display-name should be added..

DimitarCC
27-02-2010, 09:51 AM
Also in my case some channels are added to wrong place!
I dont know what is the reason but maybe not correct reading channels.txt

limak
05-03-2010, 03:47 PM
http://www.mediafire.com/file/tnjzitfom2d/EpgWriter-0.7.bin.src.tgz

EpgWriter ver. 0.7 by limak

Change log:
fix reading/comparing channels id from channel file
added download and decompress functionality for xmltv file(see readme for details)

regards
limak

DimitarCC
05-03-2010, 07:22 PM
http://www.mediafire.com/file/tnjzitfom2d/EpgWriter-0.7.bin.src.tgz

EpgWriter ver. 0.7 by limak

Change log:
fix reading/comparing channels id from channel file
added download and decompress functionality for xmltv file(see readme for details)

regards
limak

It gives me error reading channel files after reading 28 channels!
What that mean and why the old channel file that i was use in version 0.6 do not work?

limak
05-03-2010, 07:41 PM
Check your file for at this line, ver 0.7 checks for 7 parameters in line, short lines and comments are skipped
maybe you have letter O instead of 0 (zero) and program can't convert it to integer

Smudger
05-03-2010, 08:27 PM
Is this normal?

Send massage D(4), S(33)
################################# ################################# ######################
[AZBoxTVSDK] die(1813): signal 11 during cleanup, exiting unclean!
[AZBoxTVSDK] DATE : Fri Mar 5 19:27:06 2010
################################# ################################# ######################
AZBoxTVSDK TVSDK_Deinit:381
Send massage D(4), S(33)
################################# ################################# ######################
[AZBoxTVSDK] die : caught signal 11, cleaning up...
#############

DimitarCC
06-03-2010, 12:07 PM
Check your file for at this line, ver 0.7 checks for 7 parameters in line, short lines and comments are skipped
maybe you have letter O instead of 0 (zero) and program can't convert it to integer
The problem was that i had to add an empty line at the bottom of the channel.txt. Without that empty line it says error!

SAUS04
06-03-2010, 09:15 PM
trying to get this working now

my channels


BBC2.uk 282 2 2045 10773250 6302 0 #BBC 2 England

BBC3.uk 282 2 2045 10773250 6319 0 #BBC THREE

BBC4.uk 282 2 2045 10773250 6316 0 #BBC FOUR

ITV1.uk 282 2 2044 10759000 10060 1 #ITV 1 London

ITV2.uk 282 2 2044 10759000 10070 1 #ITV 2

ITV3.uk 282 2 2054 10906000 10260 1 #ITV3

ITV4.uk 282 2 2044 10759000 10072 1 #ITV4

SkyMoviesDrama.uk 282 2 2024 12168000 3816 1 #Sky Drama HD

SkyMoviesFamily.uk 282 2 2016 12012000 3818 1 #Sky Family HD

SkyMoviesComedy.uk 282 2 2024 12168000 3819 1 #Sky Comedy HD

SkyMoviesActionThriller.uk 282 2 2028 12246000 3814 1 #Sky Action

SkyMoviesPremiere.uk 282 2 2016 12012000 3821 1 #SkyPremiereHD

SkyMoviesPremiereplus1.uk 282 2 2408 11604000 4652 1 #Sky Prem+1

SkyScreen1.uk 282 2 2001 11720000 3833 0 #Sky Screen 1HD

SkyScreen2.uk 282 2 2408 11604000 4651 1 #Sky Screen 2

SkyMoviesIndie.uk 282 2 4306 11836000 4306 0 #Sky Indie

SkyMoviesModernGreats.uk 282 2 2024 12168000 3815 1 #Sky MdnGrtsHD

BBCHD.uk 282 2 2050 10847000 6940 1 #BBC HD

SkySports1.uk 282 2 2005 11797000 3802 0 #Sky Sports HD1

SkySports2.uk 282 2 2001 11720000 3878 0 #Sky Sports HD2

SkySports3.uk 282 2 2034 12363000 3822 1 #Sky Sports HD3

ESPNHD.uk 282 2 2033 12344000 3840 0 #ESPN
Channel4.Uk 282 2 2041 1071400 22000 0 #Channel 4

Channel4plus1.Uk 282 2 2041 1071400 22000 0 #Channel 4+1

FilmFour.Uk 282 2 2041 1071400 22000 0 #FilmFour
Film
Fourplus1.Uk 282 2 2041 1071400 22000 0 #FilmFour+1


when i run grabber.sh it downloads and unzips to temp but cant see my channel.txt file ? anyone ?

2jj
07-03-2010, 05:34 PM
@limak
I have tried to get EPGWriter 0.7 to run with the nordic channels dowloading the xml file from rytec. It seems to be another format of this xml files then the format for e.g dplus xml files. Is there anyway to get this working with your EPGWriter? Is there a different setup in the channel.txt file or?

limak
07-03-2010, 06:52 PM
I don't think that azbox can handle 71000 epg events from rytec.be, maybe in next version I will try to add some size limitations of epg data in meanwhile try to cut xmltv file for smaller parts (use /tmp directory or hdd) and check if it works for you
regards
limak

bpmurray
07-03-2010, 08:41 PM
I agree - I dropped to 25000 which failed, and then to 2500 which worked. I'm looking at a smarter way to do this - http://azopen.sourceforge.net/

happyhammer
08-03-2010, 03:42 PM
something got broke in 0.7 version.

Just testing with a small ,one channel xml file using Birtles xmltvgui, 0.6 will populate, 0.7 wont.

pr2
08-03-2010, 09:16 PM
Hello,

In my humble opinion it is a mistake to mix the download part of the XMLTV file into epgwriter.

epgwriter must be keep for what it is a program that write the XMLTV data into the Azbox memory.

Download can be done externally easily (wget) and download needs to be performed only once a day and not each time we launch epgwriter.

Why because now I use another repository than Rytec and the file is in format .zip and not .gz qo I need to use unzip and not gunzip to unzip it.
May be another repository will use another format, so it will be a never ending story to support all repository with all encryption methods.

Moreover it is useless to download each time the XMLTV file, I download it once a day on a server (NSLU2) and I copy the uncompressed file to my Azboxes HDD and use epgwriter to write the epg (Or I can work the other way; access directly the XMLTV file from the Azbox to the NSLU2).


I would prefer a parameter that will limit the writing in time, for example I download a 7 days EPG but due to the current Azbox EPG crash I would like to write only the next 24H (or 48H EPG) and not the 7 days EPG to try to keep the memory usage as low as possible and avoid the EPG crash.

I would then prefer to have another project dedicated just to download the file and keep epgwriter has a separated solution.
Moreover what if the XML files needs to be passed into iconv?

This is just my personal opinion.

Pr2

slegs
10-03-2010, 11:33 AM
Hello,

In my humble opinion it is a mistake to mix the download part of the XMLTV file into epgwriter.

epgwriter must be keep for what it is a program that write the XMLTV data into the Azbox memory.

Download can be done externally easily (wget) and download needs to be performed only once a day and not each time we launch epgwriter.

Why because now I use another repository than Rytec and the file is in format .zip and not .gz qo I need to use unzip and not gunzip to unzip it.
May be another repository will use another format, so it will be a never ending story to support all repository with all encryption methods.

Moreover it is useless to download each time the XMLTV file, I download it once a day on a server (NSLU2) and I copy the uncompressed file to my Azboxes HDD and use epgwriter to write the epg (Or I can work the other way; access directly the XMLTV file from the Azbox to the NSLU2).


I would prefer a parameter that will limit the writing in time, for example I download a 7 days EPG but due to the current Azbox EPG crash I would like to write only the next 24H (or 48H EPG) and not the 7 days EPG to try to keep the memory usage as low as possible and avoid the EPG crash.

I would then prefer to have another project dedicated just to download the file and keep epgwriter has a separated solution.
Moreover what if the XML files needs to be passed into iconv?

This is just my personal opinion.

Pr2


I agree with this...being able to limit how far out you write to the EPG would be very useful as you could balance this with how often you run the process. This should be limited in the EPG writing not in the XML file as it is not practical to view and edit an XML file to limit the data written.

A 7 day EPG or even a 3 day EPG just contains too much data for the current AZBox memory based setup. Until they move it to a file based stucture the EPG writing needs to be variable and smaller. 24hrs is plenty for me and I imagine most people for their needs.

I also agree that download and epgwriter should be separate. You could download once a day but write to the EPG a number of times to keep to a 24h ahead view

e.g.

1. Download at 1 am
2. Apply 24h EPG at 1 am
3. Apply 24h EPG at 9 am
4. Apply 24h EPG at 5 pm
5. Download at 1 am
6. Apply 24h EPG at 1 am
etc

Ideally what we need here is a wrap around the great work done so far with a plugin that will

1. Install epgwriter and the scripts needed
2. Specify the locations of the XML file to be downloaded from GUI to config
3. Schedule the download from GUI to config
4. Specify the length of EPG view to be written (24h etc) from GUI to config
5. Specify the intervals for writing the EPG from GUI
6. Schedule the process to write the EPG based on intervals


I would love to be able to do this but my skills are limited. Is there anyone who can help? Limak and sattommy have done great work so far - thanks guys.

bpmurray
11-03-2010, 03:35 AM
This will do the job for you: https://sourceforge.net/project/admin/explorer.php?group_id=309133

spinmar
11-03-2010, 09:46 AM
This will do the job for you: https://sourceforge.net/project/admin/explorer.php?group_id=309133

Permission Denied .......

slegs
11-03-2010, 11:12 AM
This will do the job for you: https://sourceforge.net/project/admin/explorer.php?group_id=309133

same here...permission denied

bpmurray
11-03-2010, 03:05 PM
Duh! I should have given the link to the home page of the project instead - http://azopen.sourceforge.net/.

Note that Rytec has not updated the sources file since March 5th, so the script should be called as:

./azepgmgr.sh 20100305

bpmurray
15-03-2010, 02:01 PM
I've updated the code, and now version 0.3 can handle over 50000 events. Rytec still haven't updated the sources list, so run it initially as:

./azepgmgr.sh 20100305

The changes are:
* It'll load 5 days of events
* It'll catch segmentation and interrupt (CTRL-C) signals and clean up correctly.
* It'll target the currently selected set of channels, , i.e. All, Genre, Favourites, etc.
* Bug fixes

psham
15-03-2010, 03:18 PM
Do I copy contents of azepgmgr to root folder on azbox or do i copy whole azepgmgr folder to root of azbox?

limak
15-03-2010, 04:46 PM
Great work bpmurray
thank you for sharing your code
:respect-040:
regards
limak

psham
15-03-2010, 04:52 PM
Come on Guy's.. Trying to get this working.. What are exact steps to get this installed and working.. Thanks

i keep getting -sh: /azepgmgr.sh: permission denied when i try to run azepgmgr

Smudger
15-03-2010, 05:47 PM
./azepgmgr -c rytec.channels.xml -x rytecxmltvuk

can't load library 'libxml2.so.2'

any ideas.

2jj
15-03-2010, 06:04 PM
wget:server returned error 404:HTTP/1.1 Not Found
Can´t find the sources file

Hmmm. Tried both the "default" UK and the Nordic. No luck

psham
15-03-2010, 06:19 PM
This is getting very frustrating..
used ./azepgmgr.sh 20100305 and is now downloading
Then it Failed to parse and box rebooted..

Smudger
15-03-2010, 06:34 PM
download file using :-

wget hxxp://www.xmltvepg.be/rytecxmltvuk.gz gzip -d rytecxmltvuk.gz remove the xxx's

add the attached XML file and then run runazepg.sh

That appears to work.

ensure no strange characters appear at the end of the xml file.

Smudger
15-03-2010, 06:59 PM
This is getting very frustrating..
used ./azepgmgr.sh 20100305 and is now downloading
Then it Failed to parse and box rebooted..

the parse problem is caused by the null charaters at the end of the channels file. edit the xml and delete the null characters.

then rerun.

psham
15-03-2010, 09:53 PM
when you say channels file do you mean azepgmgr.conf file? and what are null characters?

arcibald
15-03-2010, 10:12 PM
when you say channels file do you mean azepgmgr.conf file? and what are null characters?

No it's ... rytec.channels.xml, at the end of file after </channels> there are four 00 00 00 00 (Null Char) ... to delete ...

Cheers

psham
15-03-2010, 11:06 PM
Right.. giving up on this.. just won't work whatever i do.. Cheers for help..

Smudger
15-03-2010, 11:16 PM
My epg is two hours out.

OK sorted it was running prior to time being set at startup.

Smudger
16-03-2010, 08:56 AM
New version available 0.4 which fixes the GMT .
History:
========
0.4 - 2010-03-15
Corrected the GMT offset: values are now subtracted instead of being
incorrectly added.
Hard-coded the date of 2010-03-05 for the sources file since rytec
has not updated it recently.


Thanks to bpmurray

If you had problems in the past worth another try.
Looks like Parse problem also fixed.

I also enabled
rm -f $RYT_SOURCES* $RYT_CHANNELS* rytecxmltv*
in the script which deletes files therewise you get prompts.

happyhammer
16-03-2010, 08:42 PM
Thanks for this, its by far the most reliable for Sky UK.

i'm using the following in a shell which i will use as a start up script, ie S40epg.sh. just need to work on getting a cron to do it each night.

You have to have the file rytec.channels.xml in the same directory. I removed a lot of them to reduce time, just leave your favourites. takes about 5 min for 3700 events. I originally put the files in the /bin directory but noticed they were removed on re-boot so now i'm putting them in the /Download directory.

using just the wget and runazepg commands , means that the 1 mg ryrtecuk downloaded file is not unzipped to 9mb.


#!/bin/sh
#

sleep 10
cd /Download/bin
wget http://www.xmltvepg.be/rytecxmltvuk.gz gzip -d rytecxmltvuk.gz
./runazepg.sh
rm rytecxmltvuk.gz

tx0
17-03-2010, 12:52 AM
cant get it working. where I'm wrong?

MMP[bin]$ ll
-rwxr-xr-x 1 root root 39166 Mar 16 23:36 azepgmgr*
-rw-r--r-- 1 root root 382 Mar 16 23:36 azepgmgr.conf
-rwxr-xr-x 1 root root 1947 Mar 16 23:36 azepgmgr.sh*
-rwxr-xr-x 1 root root 160 Mar 16 23:40 leechuk.sh*
-rwxr-xr-x 1 root root 3026510 Mar 16 23:36 libxml2.so*
-rwxr-xr-x 1 root root 3026510 Mar 16 23:36 libxml2.so.2*
-rwxr-xr-x 1 root root 3026510 Mar 16 23:36 libxml2.so.2.7.6*
-rwxr-xr-x 1 root root 194 Mar 16 23:45 runazepg.sh*
-rw-r--r-- 1 root root 0 Mar 16 23:47 rytec.channels.xml
-rw-r--r-- 1 root root 9028561 Mar 16 23:39 rytecxmltvuk
MMP[bin]$ ./runazepg.sh
HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH HHHHHHHHHHHHHHHHHH
BUILD: [Jan 21 2010 20:18:24]
HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH HHHHHHHHHHHHHHHHHH
create_iso_639_code_table ok
Send massage D(4), S(33)
ERROR: ChannelSDK_LoadNetwork:765 Fail to open '/DISK2/DVBC.dat'
ERROR: ChannelSDK_LoadNetwork:765 Fail to open '/DISK2/DVBTa.dat'
ERROR: ChannelSDK_LoadNetwork:765 Fail to open '/DISK2/ISDBT.dat'
ERROR: ChannelSDK_LoadNetwork:773 Fail to read networks from '/DISK2/ATSC.dat'
Send massage D(4), S(33)
Send massage D(4), S(33)
Send massage D(4), S(33)
Send massage D(4), S(33)
Send massage D(4), S(33)
Send massage D(4), S(33)
rytec.channels.xml:1: parser error : Extra content at the end of the do***ent

^
rytec.channels.xml : failed to parse
MMP[bin]$ cat ./runazepg.sh
################################# ####################
# Extract the xmltv file(s), and process the data
LD_LIBRARY_PATH=.:$LD_LIBRARY_PAT H
for F in rytecxmltv*
do
./azepgmgr -d 1 -x $F
done

Smudger
17-03-2010, 08:42 AM
at the end of the channels xml file the file contains 4 null characters delete these then only run the runazepg.sh script.

it's the parse error theat it the problem. I've removed the code which downloads a new channels file in the azepgmr.sh

psham
17-03-2010, 11:31 AM
What are you using to edit null characters at the end of the channels xml file , i'm using MaZ and i don't see 4 null characters at the end of the file to delete...?

Smudger
17-03-2010, 12:12 PM
Notepad ++
free software.

hxxp://notepad-plus.sourceforge.net/uk/site.htm

remove the xx

GalwaySat
17-03-2010, 02:24 PM
What are you using to edit null characters at the end of the channels xml file , i'm using MaZ and i don't see 4 null characters at the end of the file to delete...?

I had same problem and used FTP in Axbox Control Center to find them. They showed up as 4 little box characters at the end.

tx0
17-03-2010, 05:57 PM
what characters are you talking about?

AZBox[bin]$ tail -3 rytecxmltvuk
<desc lang="en">The life story of the photographer, animal-rights activist, vegetarian frozen-food magnate and first wife of Paul McCartney, from her pre-marital escapades with other 1960s rock stars to her battle with breast cancer.</desc>
</programme>
</tv>
AZBox[bin]$

happyhammer
17-03-2010, 06:32 PM
they are referring to the rytec.channels.xml file

tx0
17-03-2010, 06:37 PM
just made it. have to dl this file from here (hxxp://www.rytec.be/tools/rytec.channels.xml.gz)

Now I Have Sly EPG.. Thanks!!


BTW -- cant get what this program have common with massage.. LOL

bpmurray
17-03-2010, 10:05 PM
Updates at the same address - it'll load over 50000 events now. I've also included some optimization by allowing the creation of an on-disk copy of the EIT data. Unfortunately, it's rather crude - gets to around 250MB for Sly. Also unfortunately, it has a bug that causes it to crash sometimes when reloading.

valkhyr
19-03-2010, 09:36 AM
I'm testing azepgmgr (0.4 and 0.5), but I have 1 problem, EPG is 1 hour too early.
Epgwriter shows the correct time.
I am living in the Netherland and my Azbox is set to GMT+1 and the time is right. Daylight saving is off.

I use the dutch satellite Canal Digitaal xml (rytecxmltvbenl.gz)

/DISK2/selene.conf

Code:
[system]
timezonegap=3600
time_daylight_saving_time=0

example:

rytecxmltv.xml

<programme start="20100318233000 +0100" stop="20100319002000 +0100" channel="HistoryHD.be">
<title lang="nl">Ice Road Truckers</title>
</programme>

My azbox shows the time 22:30 - 23:20

bpmurray
19-03-2010, 03:33 PM
I've updated the time calculation, so it should work now. Version 0.6 also has a speeded-up reload.

robix
19-03-2010, 05:00 PM
./azepgmgr -c rytec.channels.xml -x rytecxmltvuk

can't load library 'libxml2.so.2'

any ideas.

how have u solved this?

thanx Robix

Smudger
19-03-2010, 05:49 PM
run this ./azboxepg LOAD

Thanks to BPMURRAY

Question
where does the file epgdata.dat come from?


UK epg time is OK.

valkhyr
19-03-2010, 05:58 PM
I've tested the 0.6 version, but now the epg one hour late.
Thanks for the quick response :respect-054:

007.4
19-03-2010, 07:07 PM
I've got the bin directory on a USB stick.
All file are "755" but when I try to run
./azepgmgr LOAD

I just get "Permission denied"



cd /DATA/usb1/sda1/bin

MMP[bin]$ ls
azboxepg* azepgmgr.conf* libxml2.so.2* readme*
azepgmgr* libxml2.so* libxml2.so.2.7.6* reloadepg*

MMP[bin]$ ./azepgmgr LOAD
-sh: ./azepgmgr: Permission denied


What's the problem?

Smudger
19-03-2010, 09:07 PM
try ./azboxepg LOAD
and double check the file permissions

bpmurray
19-03-2010, 09:35 PM
Sorry - I introduced an error in the doc. The latest version is much faster and has corrected doc.

Smudger
19-03-2010, 09:49 PM
Here guys

Working very well here

tapper
19-03-2010, 11:36 PM
I must be missing something ..??


./azboxepg LOAD



MMP[epg]$ ./azboxepg LOAD 20100319
Start Fri Mar 19 22:34:10 2010
wget: server returned error 404: HTTP/1.1 404 Not Found
Can't find the sources file
MMP[epg]$

tx0
19-03-2010, 11:48 PM
##--> The file hasn't been updated since Mar 5
RYT_SOURCES_ZIP=$RYT_SOURCES.2010 0305.zip


Not Found

The requested URL /tools/rytec.sources.xml.20100305.zip was not found on this server.

probably it was updated. :respect-050:

Smudger
19-03-2010, 11:48 PM
try
./azboxepg LOAD 20100305

tapper
19-03-2010, 11:51 PM
Same thing.

I presume all the file required are in the latest upload, I simply removed the old files from the folder on the HD , then ftp'd the new extracted files across, chmod 755 on all, then from a terminal session ran the command as per the readme

Smudger
19-03-2010, 11:53 PM
silly question can the box see the internet?

Might be their site as I'm also having problems

tapper
19-03-2010, 11:57 PM
lmao yea it can but to prove it





MMP[epg]$ ping google.com
PING google.com (209.85.229.99): 56 data bytes
64 bytes from 209.85.229.99: icmp_seq=0 ttl=53 time=24.3 ms
64 bytes from 209.85.229.99: icmp_seq=1 ttl=53 time=22.7 ms
64 bytes from 209.85.229.99: icmp_seq=2 ttl=53 time=48.9 ms
64 bytes from 209.85.229.99: icmp_seq=3 ttl=53 time=33.6 ms

--- google.com ping statistics ---
4 packets transmitted, 4 packets received, 0% packet loss
round-trip min/avg/max = 22.7/32.3/48.9 ms

007.4
19-03-2010, 11:58 PM
Same here :(



MMP[bin]$ ls
azboxepg* azepgmgr.conf* libxml2.so.2* readme*
azepgmgr* libxml2.so* libxml2.so.2.7.6* reloadepg*

MMP[bin]$ ./azboxepg LOAD 20100319
-sh: ./azboxepg: /bin/sh: bad interpreter: Permission denied
MMP[bin]$

tapper
19-03-2010, 11:59 PM
the contents of my epg folder on the HD of my box





MMP[epg]$
MMP[epg]$ ls -la
drwxr-xr-x 2 root root 4096 Mar 19 22:55 ./
drwxrwxrwx 14 root root 4096 Mar 15 17:42 ../
-rwxr-xr-x 1 root root 4313 Mar 19 22:27 README*
-rwxr-xr-x 1 root root 2835 Mar 19 22:27 azboxepg*
-rwxr-xr-x 1 root root 43446 Mar 19 22:27 azepgmgr*
-rwxr-xr-x 1 root root 430 Mar 19 22:27 azepgmgr.conf*
-rwxr-xr-x 1 root root 3026510 Mar 19 22:27 libxml2.so*
-rwxr-xr-x 1 root root 3026510 Mar 19 22:27 libxml2.so.2*
-rwxr-xr-x 1 root root 3026510 Mar 19 22:27 libxml2.so.2.7.6*
-rwxr-xr-x 1 root root 17344 Mar 19 22:27 reloadepg*
-rwxr-xr-x 1 root root 207539 Mar 19 22:29 rytec.channels.xml*
-rwxr-xr-x 1 root root 2784 Mar 19 22:55 rytec.sources.xml*
-rwxr-xr-x 1 root root 8960411 Mar 19 22:31 rytecxmltvuk*

Smudger
20-03-2010, 12:02 AM
can't use todays date.

But I do think they may be a problem with the site at the moment.

MMP[epg]$ ./azboxepg LOAD 20100305
Start Fri Mar 19 23:04:00 2010
Can't find the sources file

tx0
20-03-2010, 12:03 AM
there is an error in this script and you can debug it just put
echo $RYT_URL/$RYT_SOURCES_ZIP
at line 48 and see what happens with different arguments.

I dunno what for is that script btw. -=O

tapper
20-03-2010, 12:07 AM
heres the ooutput from mine




MMP[epg]$ ./azboxepg LOAD
Start Fri Mar 19 23:07:00 2010
wget: server returned error 404: HTTP/1.1 404 Not Found
http://www.rytec.be/tools/rytec.sources.xml.20100305.zip
Can't find the sources file
MMP[epg]$

Smudger
20-03-2010, 12:07 AM
If I just run ./azboxepg LOAD it works as I already have all the other files.



MMP[epg]$ ./azboxepg LOAD
Start Fri Mar 19 23:05:32 2010
replace rytec.sources.xml? [y]es, [n]o, [A]ll, [N]one, [r]ename: A
gunzip: can't open 'rytec.channels.xml': File exists
gunzip: can't open 'rytecxmltvuk': File exists
Start extract Fri Mar 19 23:05:53 2010
HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH HHHHHHHHHHHHHHHHHH
BUILD: [Jan 21 2010 20:18:24]
HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH HHHHHHHHHHHHHHHHHH
unlink fail!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!: No such file or directory
create_iso_639_code_table ok
Send massage D(4), S(33)
ERROR: ChannelSDK_LoadNetwork:765 Fail to open '/DISK2/DVBC.dat'
ERROR: ChannelSDK_LoadNetwork:765 Fail to open '/DISK2/DVBTa.dat'
ERROR: ChannelSDK_LoadNetwork:765 Fail to open '/DISK2/ISDBT.dat'
ERROR: ChannelSDK_LoadNetwork:765 Fail to open '/DISK2/ATSC.dat'
Send massage D(4), S(33)
Caught signal 2 - cleaning up ...
Loaded 7555 events
destroy_iso_639_code_table ok
Send massage D(4), S(33)
End extract Fri Mar 19 23:06:21 2010
Start load Fri Mar 19 23:06:21 2010
./reloadepg: Reloading the epg from the data file
HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH HHHHHHHHHHHHHHHHHH
BUILD: [Jan 21 2010 20:18:24]
HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH HHHHHHHHHHHHHHHHHH
unlink fail!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!: No such file or directory
create_iso_639_code_table ok
Send massage D(4), S(33)
Send massage D(4), S(33)
Send massage D(4), S(33)
Send massage D(4), S(33)
Send massage D(4), S(33)
Send massage D(4), S(33)
Send massage D(4), S(33)
Send massage D(4), S(33)

Smudger
20-03-2010, 12:13 AM
sorted

edit azboxepg

comment out the line

# RYT_SOURCES_ZIP=$RYT_SOURCES.2010 0305.zip

or rename to ##--> The file hasn't been updated since Mar 5

RYT_SOURCES_ZIP=$RYT_SOURCES.2010 0319.zip


run with no date

./azboxepg LOAD

tx0
20-03-2010, 12:16 AM
Nice massage for a Friday night. LOL

:beatdeadhorse5:

robix
20-03-2010, 12:16 AM
is there a epdata.xml but epg.dat is empty.....


hints?

tapper
20-03-2010, 12:21 AM
sorted

edit azboxepg

comment out the line

# RYT_SOURCES_ZIP=$RYT_SOURCES.2010 0305.zip

or rename to ##--> The file hasn't been updated since Mar 5

RYT_SOURCES_ZIP=$RYT_SOURCES.2010 0319.zip


run with no date

./azboxepg LOAD

still a no go here, but thanks for helping


But I notice it is downloading the file now






README* libxml2.so.2.7.6*
azboxepg* reloadepg*
azepgmgr* rytec.channels.xml*
azepgmgr.conf* rytec.sources.xml*
libxml2.so* rytec.sources.xml.20100319.zip
libxml2.so.2* rytecxmltvuk*
MMP[epg]$

Smudger
20-03-2010, 12:24 AM
do you have the sources file in the folder now? after runing

tapper
20-03-2010, 12:25 AM
Yes see my edited post above

tx0
20-03-2010, 12:26 AM
mine started 10 minutes ago and still running
Do I have to say goodbye to my harddrive? :D

Smudger
20-03-2010, 12:29 AM
my data file is 250 mb


I have now edited my azboxmgr to only load 1 day

line ./azepgmgr -p -d 1

and also to delete files it using LOAD parameter .

my data file now only 54 mb

tx0
20-03-2010, 12:31 AM
holy cow. how does it loads into box memory after reboot?http://www.squarewheels.com/graphics/swslarge.gif

tapper
20-03-2010, 12:41 AM
Cheers Smuger the azboxepg file you uploaded is now seemingly working for me




Loaded 11251 events
destroy_iso_639_code_table ok
Send massage D(4), S(33)
End load Fri Mar 19 23:42:35 2010
MMP[epg]$


seemed a bit quick though, cant check just yet if the box has correctly loaded the epg

tx0
20-03-2010, 12:48 AM
mine just hangs and I killed it. sorry
can't get why this .dat file is sooo huge.

robix
20-03-2010, 12:50 AM
MMP[NewEPG]$ ./azboxepg LOAD
Start Fri Mar 19 23:28:46 2010
replace rytec.sources.xml? [y]es, [n]o, [A]ll, [N]one, [r]ename: A
gunzip: can't open 'rytec.channels.xml': File exists
gunzip: can't open 'rytecxmltvskyit': File exists
Start extract Fri Mar 19 23:29:20 2010
HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH HHHHHHHHHHHHHHHHHH
BUILD: [Jan 21 2010 20:18:24]
HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH HHHHHHHHHHHHHHHHHH
unlink fail!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!: No such file or directory
create_iso_639_code_table ok
Send massage D(4), S(33)
ERROR: ChannelSDK_LoadNetwork:765 Fail to open '/DISK2/DVBC.dat'
ERROR: ChannelSDK_LoadNetwork:765 Fail to open '/DISK2/ISDBT.dat'
ERROR: ChannelSDK_LoadNetwork:765 Fail to open '/DISK2/ATSC.dat'
Send massage D(4), S(33)
epgdata.xml:143538: parser error : Extra content at the end of the do***ent Â
 Ã¢K
^
Loaded 0 events
destroy_iso_639_code_table ok
Send massage D(4), S(33)
End extract Fri Mar 19 23:30:02 2010
Start load Fri Mar 19 23:30:03 2010
./reloadepg: Reloading the epg from the data file
HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH HHHHHHHHHHHHHHHHHH
BUILD: [Jan 21 2010 20:18:24]
HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH HHHHHHHHHHHHHHHHHH
unlink fail!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!: No such file or directory
create_iso_639_code_table ok
Send massage D(4), S(33)
Send massage D(4), S(33)
Send massage D(4), S(33)
Send massage D(4), S(33)
Send massage D(4), S(33)
Send massage D(4), S(33)
Send massage D(4), S(33)
Send massage D(4), S(33)
Loaded 0 events
destroy_iso_639_code_table ok
Send massage D(4), S(33)
End load Fri Mar 19 23:30:03 2010
MMP[NewEPG]$

tapper
20-03-2010, 12:53 AM
my data file is 250 mb


I have now edited my azboxmgr to only load 1 day

line ./azepgmgr -p -d 1

and also to delete files it using LOAD parameter .

my data file now only 54 mb

using your file mine is only 54mg as well, Ta m8

robix
20-03-2010, 01:01 AM
how can i manage the epgdata tore elaborate it?

Smudger
20-03-2010, 08:20 AM
mine just hangs and I killed it. sorry
can't get why this .dat file is sooo huge.

because it's trying to load/store 5 days of data.
I've reduced mine to 1 day.

valkhyr
20-03-2010, 09:22 AM
I get the following error running runazepg.sh:

AZBoxTVSDK TVSDK_GetGMTOffset:441
AZBoxTVSDK send_msg_to_ca:36 Send massage D(4), S(33)
AZBoxTVSDK set_GMT_offset:1305 GMT_offset 3600
rytecxmltvbenl:134703: parser error : Extra content at the end of the do***ent
e : un festival Viking Ã* Aarhus, le prestigieux centre Alfred Nobel, la plus gr
^
Loaded 17568 events

xml file event

<programme start="20100325011500 +0100" stop="20100325020500 +0100" channel="I81.751946.microsoft.com">
<title lang="fr">Planète insolite</title>
<sub-title lang="fr">Le Danemark et la Suède</sub-title>
<desc lang="fr">Do***entaire. L'intrépide Megan McCormack visite le Danemark et la Suède : un festival Viking à Aarhus, le prestigieux centre Alfred Nobel, la plus grande *** Pride d'Europe...</desc>
</programme>

Smudger
20-03-2010, 10:17 AM
are you using the latest version 0.7 ?