How to combine epg.dat files

Sandman

BH Lover
Hopefully this is the right forum...please move if not!

I'm getting a program written to download a number of EPG's, combine them and upload them to my Vu+ boxes...

Questions -

1. is there a program I can use to actually read the epg.dat files?
2. how can the files be combined or is it as simple as cut copy paste from one file to the next? (obviously the box doesn't do it this way...so is the combine code complicated or?)
3. is there an upper file size limit a Vu+ box could handle? If my epg.dat file is 100MB, will this crash the box or not?

TIA,
 
  • Like
Reactions: Ev0

Sandman

BH Lover
The program is nearly ready but it seems theres a problem with actually loading the EPG,

I assume BlackHole loads the EPG somewhere and then restores upon a reboot?

If I download epg data and FTP it to my box, it disappears on box restart...

Is there a command I can send to the box via telnet or whatever to load the data I've sent over?
 

Matrix10

Administrator
I think I know how,
but I have to test when I am at home.

You have to kill box
ftp file to /media/usb or /media/hdd and start box agn.
 

Sandman

BH Lover
I think I know how,
but I have to test when I am at home.

You have to kill box
ftp file to /media/usb or /media/hdd and start box agn.

Matrix!

When downloading using CrossEPG, theres obviously some reload command for the EPG which doesn't involve restarting the box! Does it get cached somewhere else?
 

Matrix10

Administrator
It is now the second question.
I do not know CrossEPG commands.

As far as I know epg.dat file goes directly into memory
and at the restart enigma
go to /media/usb or /media/hdd
depending on your CrossEPG configuration .

CrossEPG download and convert file
in /media/usb/crossepg (or on HDD )
this file is converted in to ext.epg.dat
and goes into the memory.

If the enigma restart shutdown etc
going back from memory as epg.dat
in to /media/usb
after enigma start/restart goes back to memory.
==================================

When you stop working image with the command
init 4
you can put/ftp your epg.dat
and re-start the image with the command init 3
=================================
You can also try two options in CrossEPG
Force epg.dat conversion now
and Force epg.dat reload
Perhaps you can use this options if you upload your
file in to crossepg folder or in to /media/usb/epg.dat
and with Force epg.dat reload ,you can try to reload epg file.

Once again I have no knowledge of the EPG and CrossEPG
This is just my opinion or ideas How it Works for your test.
Of course maybe it's all wrong.

But i have test with init commands and this working.
Others not tested
 

Matrix10

Administrator
OK
I have test now and is working.

If you have crossepg on /media/usb/crossepg
you can rename if you have your epg.dat file in to ext.epg.dat
FTP in to /media/usb/crossepg
and with Force epg reload in CrossEPG reload your own EPG file.

But I think You can also try to use Black Hole Epg Backup
and Restore.
If you FTP first file with name epg.dat.bak

So it seems that there are more opportunities for all
 

Sandman

BH Lover
Cheers for the reply Matrix!

I know you can start and stop Enigma2 with the init commands but say for example i go to 'Black Hole EPG Backup' and click restore...

It looks for the epg.dat.bak file and then 'restores' it without any Enigma2 restart...

If a dev could tell me the process of restoring that would be great!
 

Matrix10

Administrator
Cheers for the reply Matrix!

I know you can start and stop Enigma2 with the init commands but say for example i go to 'Black Hole EPG Backup' and click restore...

It looks for the epg.dat.bak file and then 'restores' it without any Enigma2 restart...

If a dev could tell me the process of restoring that would be great!

That I do not know.
I'm not a image coder .
 
Top