Jump to content


Photo

Epg Import - Import less EPG data?


  • Please log in to reply
4 replies to this topic

#1 hooverdam

  • Member
  • 2 posts

0
Neutral

Posted 11 June 2012 - 21:17

Hi,

I have a query relating to Epgimport that I was hoping one of the more experienced users could assist with. I've done a google but not had any joy finding anything thus far and this seems like a friendly enough place so no harm in asking.

Q.) Is it possible to configure epg import to import the EPG data for only X amount of days (I know this is possible for the full descriptions but I'm referring to the whole EPG dataset)?

The reason I ask the question is that I notice the RAM on a DM800HD is almost completely exhausted when doing an import with 1 days full EPG description and I think there is a slight perfomance hit as a result.

I've configured EPG Import to import daily and also import on boot so as long as I have just one days EPG data I'm happy. I'm hoping by reducing the amount of EPG data it will reduce the memory footprint as a result.

If anyone knows the answer I would love to know.

Thanks in advance.

Re: Epg Import - Import less EPG data? #2 doglover

  • Rytec EPG Team
  • 17,446 posts

+661
Excellent

Posted 12 June 2012 - 08:05

Adding a swap file on a USB stick or CF card will resolve the memory problem. I have a 7025 with a 64 mb swapfile and this runs happily Benelux, UK and France epgimport.

Importing only one or two days of EPG is imho not possible.
However you could limit the amount of channels you import.
For this you have to make your own channels file and source file.

Download the rytec.channels.xml.gz file and unzip it.
Now delete all the channels in there you do not want. You can identify the channels from their service reference (the 1:0:1.....bit)
Save the file in etc/epgimport on your box as something.channels.xml
Now edit the sources.xml fle in /etc/epgimport to use the something.channels.xml file, and adapt the names of the packages (f.i. remove rytec). You may want to save the sources file under a different name as updates will overwrite it.
Be sure to select the new defined sources in the epgimport plug-in. (and deselct the old selections)

This will import a limited amount of data.

Willy

Edited by doglover, 12 June 2012 - 08:06.

~~Rytec Team~~
Maxytec Multibox SE OpenPli (used as mediaplayer)
Mutant HD2400 OpenPli
Vu+ Duo OpenPli (backup)

Synology NAS

Sat: 13E, 19.2E, 23.5E and 28.2E
*Pli/Rytec EPG POWERED*


Re: Epg Import - Import less EPG data? #3 hooverdam

  • Member
  • 2 posts

0
Neutral

Posted 14 June 2012 - 21:52

Hi Willy,

Thanks for the response. I've set about trying to automate the above tasks based on a rationalised set of UK channels. I'll post back once I crack it.

Shame it it not possible to either limit the amount of EPG data or simply pad it out with long spaces of nothingness (I think I just made that word up) to keep space down. I'm doing everything I can to avoid attaching a USB flash drive :-)

I've been keeping an eye on the memory usage on a DM800HD model and here is the output based on approx 68000 events imported : -


Mem: 97600K used, 48308K free, 0K shrd, 0K buff, 32264K cached
CPU: 6% usr 26% sys 0% nic 53% idle 0% io 0% irq 13% sirq
Load average: 0.02 0.04 0.01 1/57 5252
PID PPID USER STAT VSZ %MEM %CPU COMMAND
5252 465 root R 3244 2% 27% top
423 416 root S 122m 86% 7% /usr/bin/enigma2

So in actual fact - it doesn't look too bad at all. Perhaps the perfomance hit I mentioned is just perceived.

Is there anyway for me to get a more detailed breakdown of the memory usage of the enigma2 process i.e. how much is being used for EPG?

Many thanks.

Re: Epg Import - Import less EPG data? #4 Tuurtje

  • Senior Member
  • 61 posts

+5
Neutral

Posted 15 June 2012 - 07:40

hooverdam here is a sample for you

These are the files i am using to import 100 stations ( NL UK DE AUS )
Imported size is arround 2,5 MB

put them in the folder /etc/epgimport
Under Applications - EPGImport select country's you want

Tuurtje

Attached Files



Re: Epg Import - Import less EPG data? #5 doglover

  • Rytec EPG Team
  • 17,446 posts

+661
Excellent

Posted 15 June 2012 - 08:42

This is exactly what I described.
However, I would rename the files(and change the reference accordingly in the sources file), as these will be overwritten by an update of your box.

Willy

~~Rytec Team~~
Maxytec Multibox SE OpenPli (used as mediaplayer)
Mutant HD2400 OpenPli
Vu+ Duo OpenPli (backup)

Synology NAS

Sat: 13E, 19.2E, 23.5E and 28.2E
*Pli/Rytec EPG POWERED*



1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users