tcesni / crossepg

Automatically exported from code.google.com/p/crossepg
GNU Lesser General Public License v2.1
0 stars 0 forks source link

Clean data folder #109

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hi.

Had a few times where epg data is corrupted, and I've had to manually clean the 
data folder.  Would it be possible to add an option to clean it within the 
menu, and/or clean it at the end of a successful update?

Cheers :)

Original issue reported on code.google.com by cumu2...@gmail.com on 3 Jun 2011 at 7:06

GoogleCodeExporter commented 8 years ago
I have already asked about that (issue 73), apparently it's not possible, but I 
didn't completely understand the answer ......

G

Original comment by gpucci...@gmail.com on 7 Jun 2011 at 8:05

GoogleCodeExporter commented 8 years ago
I'm talking about cleaning the data folder within you preferred storage medium 
(e.g. /media/usb/crossepg or /media/hdd/crossepg etc).

What currently happens, is that at the end of the update, it leaves all the 
files in there.  Would it be possible for the program to remove all the created 
files, so that it's created fresh next time it updates, then just append the 
log file...

Original comment by cumu2...@gmail.com on 8 Jun 2011 at 11:08

GoogleCodeExporter commented 8 years ago
I got that. This is what I asked for in issue 73:

"An option in the CrossEPG menu to clear all EPG data would be useful"

Where the data are stored is not important.
If you click on issue 73 you'll see the answer.
G

Original comment by gpucci...@gmail.com on 8 Jun 2011 at 12:42

GoogleCodeExporter commented 8 years ago
Sorry, from the reply that skaman wrote, I wrongly assumed you wanted the 
epg.dat file to be cleared...

Looking at the problems you've got, it's because of the epg.dat being populated 
with either transmission data, or the crossepg data.

What I was asking for, was for the data in the crossepg folder to be cleared, 
so that the data previously downloaded does not get merged with the newly 
downloaded data...

Original comment by cumu2...@gmail.com on 8 Jun 2011 at 2:05

GoogleCodeExporter commented 8 years ago

At this point I ma not sure if my problem is the same as yours or just very 
similar.

In my case I don't get anything from the net I use only opentv (for SKY IT) 
from the sat, and the problem is that SKY is very fond of changing the start 
and end time of programs in the following days by 5-10 min and as new data is 
merged with old data you end up with overlapping programs. Clearing all EPG 
data and starting over seems the only way of getting rid of the mess. If done 
outside of CrossEPG this requires to stop and restart Enigma, not nice.... I 
hoped that it could be done from CrossEPG itself as a "Clear EPG data" option.

G 

Original comment by gpucci...@gmail.com on 8 Jun 2011 at 2:30

GoogleCodeExporter commented 8 years ago
It is happening to me every week.  I have several providers configured (OpenTV 
SkyUK 28.2, Alias, XEPGDB Benelux, XEPGDB France) and would like to add 
Germany.  Every week I have problems and often have to do like tonight
   - empty completely /media/hdd/crossepg
   - reboot the whole box (not just the GUI)
   - run the download of each provider 1 by 1 by hand

Doing anything else just crashed crossepg and restarted the GUI.

Original comment by pjrip...@gmail.com on 9 Jun 2011 at 6:39

GoogleCodeExporter commented 8 years ago

To make it easier I made a script called ClearEPG to run when I need to clear 
the data.

cd /media/hdd
init 4
rm epg.dat
rm -rf crossepg
init 3

This one stops enigma clear the data and restarts it. It's quite fast and all 
EPG data are cleared. Then I do a Download from the CrossEPG and everything is 
right again! 

G

Original comment by gpucci...@gmail.com on 9 Jun 2011 at 9:57