PDA

View Full Version : [Zgemma H7] EPG Refresh and EPG Corruption



BrianTheTechieSnail
20-08-20, 22:59
Your epg file may be corrupt. Delete it. Its nothing to do with building an image so maybe a new thread?

Sometimes when my EPG gets corrupt it seems I can only continue by manually doing 'Menu' / 'Setup' / 'EPG' / 'Load-save-delete' / 'Delete EPG'
before starting EPG-Refresh 'Refresh now'.

Surely I should be able to acheive the same effect by enabling 'Flush EPG before refresh' in EPG-Refresh which I have always had enabled, as a fix for getting overlapping EPG events when the EPG is changed.

Something must be only half working in EPG-Refresh's 'Flush EPG before refresh' feature.

BrianTheTechieSnail
02-09-20, 19:25
Is anyone there?
Nobody seen this problem, or never seen it?

My Zgemma H7S just did it again.
EPG had gone funny.
I rebooted.
Manually started EPG Rrefresh (which is set to flush EPG before refreshing).
No Sky EPG data received. It mostly looked like the times and not the titles were present.
I did 'Menu' / 'Setup' / 'EPG' / 'Load-save-delete' / 'Delete EPG' and then manually started EPG Refresh.
Only then was Sky EPG data received.

twol
02-09-20, 20:37
Brian, over the years when I have had any issues with the epg data, its usually due to a corrupt file (for wahtever reason) - and its far easier to stop the system, delete the file and reboot.

BrianTheTechieSnail
02-09-20, 21:30
So it's fine that flush EPG is not doing the same as delete EPG?
That's how it's supposed to be?

twol
02-09-20, 21:36
So it's fine that flush EPG is not doing the same as delete EPG?
That's how it's supposed to be?

No idea, never used them - I take the easy approach - delete and let the system re allocate on reboot

BrianTheTechieSnail
02-09-20, 22:25
Sigh.
Oh well.
At least using EPG Flush in EPG Refresh does seem to stop those annoying overlapping events in the EPG, which I presume are due to times being changed, they usually look like that's what happened -- two different times 5 minutes apart for the same program both present in the EPG being a common example.

adm
02-09-20, 23:02
Sigh.
Oh well.
At least using EPG Flush in EPG Refresh does seem to stop those annoying overlapping events in the EPG, which I presume are due to times being changed, they usually look like that's what happened -- two different times 5 minutes apart for the same program both present in the EPG being a common example.

Are you using more than one source for your EPG? For instance, over the air AND via the Internet?

Have you set Automatiic Refresh and Automatic save to yes in menu -> setup -> epg -> settings? If so try setting both to off.

Speculation.....
Could the difference between delete and flush be what is being deleted or flushed? There is a copy of the EPG on your hard disk (or where ever you have confogured it to be) and another copy in RAM. Could it be flush is only destroying the RAM copy and not the saved hard disk copy?

By the way, I'm getting Freeview and SKY FTA EPG over the air for 7 DAYS AND using EPG refresh to tune into Sky IEPG at any time between 7anm and 10pm. I have Automatiic Refresh and Automatic save both set to no and I'm not seeing any problems. The EPG is saved to hard disk when I do a deep standby every night, or the box has been on for 2 hours without me touching the remote.

BrianTheTechieSnail
03-09-20, 02:06
Are you using more than one source for your EPG? For instance, over the air AND via the Internet?
No. I just use EPG-Refresh.
I have tried some of the others but EPG-Refresh is the best.
Perfect except that it doesn't seem to get EPG for radio.



Have you set Automatic Refresh and Automatic save to yes in menu -> setup -> epg -> settings? If so try setting both to off.
Yep both off. Found that recommendation somewhere on here.



Could the difference between delete and flush be what is being deleted or flushed? There is a copy of the EPG on your hard disk (or where ever you have configured it to be) and another copy in RAM. Could it be flush is only destroying the RAM copy and not the saved hard disk copy?
Yes I guess it could, flush does kind of imply RAM rather than disk to me.
But it doesn't make a huge amount of sense that it would matter because, AIUI, the EPG on disk is supposed to only exist to be reloaded when the box boots up.



By the way, I'm getting Freeview and SKY FTA EPG over the air for 7 DAYS AND using EPG refresh to tune into Sky IEPG at any time between 7anm and 10pm. I have Automatic Refresh and Automatic save both set to no and I'm not seeing any problems. The EPG is saved to hard disk when I do a deep standby every night, or the box has been on for 2 hours without me touching the remote.
How are you getting Freeview EPG? The Freeview EPG doesn't seem to get filled from the Sky EPG on my box.
I get some Freeview EPG by including Freeview "BBC ONE HD" after "IEPG data 1" in the channels EPG-Refresh scans. It seems to get 7 days EPG for the channels on that multiplex and at least about 2 days ahead for most or all the other channels, plus a scattering of days more than 2 days ahead.

It looks like my corruption may be because the signal from the dish through the building's distribution system is a bit weak and noisy.


6056360562

adm
03-09-20, 08:16
How are you getting Freeview EPG? The Freeview EPG doesn't seem to get filled from the Sky EPG on my box.


With the same setting as you have in the first screen shot from your last post, Enable EIT EPG = yes.
Freeview (Not Freeview from Sky) has its own EPG that gets populated over the air.

Sometimes when switching between my SKY FTA satellite bouquet and my Freeview bouquet the EPG data appears to be missing but if I then select any channel in the Freeview bouquet to watch live TV and then immediately return to a (grid) EPG screen the EPG is fully populated.

I have both satellite and terrestrial tuners and tend to watch/record from satellite. As a result I seldom tune into a terrestrial channel and therefore wasn’t necessarily getting the Freeview EPG data in order for Autotimers to set timers for the very limited number of recordings I set on the Freeview channels. EPG Refresh now has a setting for Sky IEPG in my Sky FTA bouquet and BBC1 in my terrestrial Freeview bouquet. Recently I was away from home for a month and both settings allowed all my AutoTimer recordings to be detected in the EPG and executed successfully on both satellite and terrestrial.



I get some Freeview EPG by including Freeview "BBC ONE HD" after "IEPG data 1" in the channels EPG-Refresh scans.


Is that BBC One HD from a teresstrail source or from a satellite source? They are different and I have similar setting with BBC1 SD (terrestrial).




It seems to get 7 days EPG for the channels on that multiplex and at least about 2 days ahead for most or all the other channels, plus a scattering of days more than 2 days ahead.


That could be that you have cleared (flushed) the EPG data and then have not waited long enough for the data to be re-populated over the air. In my experience it can take anything from 5 to 15 minutes and was a complaint about other propriety Freeview boxes that didn't store the EPG data to hard disk and it took a long time after switch on to re-fetch new data.

When you have this partial popultaion of the EPG try watching BBC ONE HD for, say, 10 to 15 minutes. Does the EPG then fully populate? If so try setting EPGRefresh to stay a longer time on the channel.



It looks like my corruption may be because the signal from the dish through the building's distribution system is a bit weak and noisy.


I haven't noticed program times have changed by 5 minutes, and if they have I cannot see why it would be a problem with fetching over the air EPG data - the new data would just overwrite the data in the RAM. I have seen the over the air EPG being out of date or wrong when programs, say, change channels at short notice but generally this gets self corrected a bit later. This will cause problems for recordings that already have existing timers for the event.
How are you detecting these 5 minute discrepancies?

BrianTheTechieSnail
03-09-20, 22:36
Thank you. I will try some more experiments.

adm
04-09-20, 00:34
Thank you. I will try some more experiments.

To make sure you are starting from a clean (EPG) slate you may want to run the enigma2-plugin-extensions-removeepg_2016_06_17_all.ipk

Download ipk to your PC
Transfer (via FTP) to your box to /tmp
Blue > Vix > Install local extension > Select/highlight the ipk > Green button

https://www.world-of-satellite.com/showthread.php?52890-Remove-EPG