Jump to content


Photo

Auto delete epg.dat


  • Please log in to reply
8 replies to this topic

#1 vinhex

  • Member
  • 38 posts

0
Neutral

Posted 10 March 2014 - 01:06

Hello Willy,

i would like to know if it is possible to add a script that automatically deletes epg.dat file to make a clean import.

 

I automatically import epg datas once a day at 14.00, and every day i get duplicated entries on fox and skyuno channels ( maybe i have them on other channels, but i usually watch these ones so i'm pretty sure they are affected by this issue )

 

So every day i must stop enigma2, then delete epg.dat file manually through ftp client, restart gui and run xmltvimporter.

 

So i would like to find a quick solution to this issue :)

 

Thank you very much

 

ps: italian epg it's perfect now, well done!


Edited by vinhex, 10 March 2014 - 01:08.


Re: Auto delete epg.dat #2 littlesat

  • PLi® Core member
  • 57,124 posts

+698
Excellent

Posted 10 March 2014 - 08:01

There is no need to do this... As when enigma2 is closed it will right back a new epg.dat... And when opening enigma2 it will read the just written back...

When you import epg you might consider to block eit epg import to avoid the double epg....

Edited by littlesat, 10 March 2014 - 08:03.

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Auto delete epg.dat #3 Robinson

  • Senior Member
  • 2,621 posts

+30
Good

Posted 10 March 2014 - 08:38

littlesat, as far as I understand, vinhex may be talking about double entries within XMLTV Import (excluding EIT).

Some time ago I experienced the same for Eurosport.

This is because schedules on websites are changed (sometimes by just a couple of minutes) from day to day.

And with that in mind, vinhex's request is indeed justified.

To whoever maintains this plugin: can you please consider adding an option of deleting EPG before the new import.

Thanks.


ET9000, OpenPLi 4.0, 13E, 19E

HD51, OpenPLi 6.2, 75E - 30W


Re: Auto delete epg.dat #4 Rob van der Does

  • Senior Member
  • 7,766 posts

+184
Excellent

Posted 10 March 2014 - 08:43

To whoever maintains this plugin: can you please consider adding an option of deleting EPG before the new import.
Thanks.

That would only make sense if the XMLTV-importer is the only source of EPG-data.
To give just one example: Open-TV in Cross is a very reliable and up-to-date source of information for UK & IT services. So a combined use of both plugins (Cross for Open-TV, XMLTV-importer for other sources) can be very useful. That is not compatible with your suggestion.

Re: Auto delete epg.dat #5 Robinson

  • Senior Member
  • 2,621 posts

+30
Good

Posted 10 March 2014 - 09:08

That is not compatible with your suggestion.

It is because I suggested it as an option.

So in your case you would disable the delete function from XMLTV Import plugin.


ET9000, OpenPLi 4.0, 13E, 19E

HD51, OpenPLi 6.2, 75E - 30W


Re: Auto delete epg.dat #6 doglover

  • Rytec EPG Team
  • 17,371 posts

+657
Excellent

Posted 10 March 2014 - 09:35

I agree, these double entries are annoying.

 

However, I learned to live with them.  Until there is some better way of deleting the epg for only the channel you are importing.

But nobody seems to know how this can be accomplished.

 

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*


Re: Auto delete epg.dat #7 vinhex

  • Member
  • 38 posts

0
Neutral

Posted 10 March 2014 - 12:31

yes guys xmltvimporter is the only source i use for epg datas. No problem if there is no solution i will keep deleting the epg.dat file manually once a day



Re: Auto delete epg.dat #8 Rob van der Does

  • Senior Member
  • 7,766 posts

+184
Excellent

Posted 10 March 2014 - 13:37

Until there is some better way of deleting the epg for only the channel you are importing.
But nobody seems to know how this can be accomplished.

The same applies to enable/disable EIT-EPG for selected channels.
e.g. I would like to keep EIT activated in general, but to disable it for services for which I have Open-TV or XMLTV.

Re: Auto delete epg.dat #9 Robinson

  • Senior Member
  • 2,621 posts

+30
Good

Posted 11 March 2014 - 09:09

yes guys xmltvimporter is the only source i use for epg datas. No problem if there is no solution i will keep deleting the epg.dat file manually once a day

Here is today's example on a channel.

Have a look at the times.

Attached Files


ET9000, OpenPLi 4.0, 13E, 19E

HD51, OpenPLi 6.2, 75E - 30W



4 user(s) are reading this topic

0 members, 4 guests, 0 anonymous users