tcesni / crossepg

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

Which live data overwrites imported data? #86

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hello,

This is a question, not an issue.

In CrossEPG and Enigma2, which live EPG data overwrites any imported data?
By 'live data' I mean any available EPG data from the satellite.

CrossEPG seems to allow this differently to, but better than, the Rytec XML 
importer.  
I assume CrossEPG interfaces slightly differently with Enigma2.

In my opinion, using any available live data is usually preferable for EPG 
accuracy.
I also think both CrossEPG and the Rytec XML importer should do it the same way.

So, which live data does CrossEPG allow to overwrite imported data? 
And if you have time to explain, how do you achieve it?
I don't understand python or coding, but maybe you can liaise with the Rytec or 
Enigma2 coders.

Thank you,
Lee
UK

Original issue reported on code.google.com by my.email...@btinternet.com on 24 Apr 2011 at 2:56

GoogleCodeExporter commented 8 years ago
Hi,
first of all we have to say one thing. DMM Enigma2 doesn't allow to load 
external data into his epg.
The only workaround is overwrite his cache during a gui reboot:
- enigma2 shutdown start
- enigma2 save epg cache to an epg.dat file
- enigma2 shutdown complete
- we replace epg.dat with our epg.dat
- enigma2 start
- enigma2 reload his epg cache from epg.dat

In this case all plugins have the same problem. They loose all 'live data' 
(replaced by custom data)

To avoid that many images add some fixes to load epg inside epg cache without a 
reboot.
There are various types of patch and they can be implemented in many different 
ways.

Croossepg autodetect the type of patch (if present) and use it.
With "enigma2 crossepg patch 2.1" (in download area) the data are added in epg 
cache exactly like enigma2 do with "live data". So the concept is simple: any 
new data replace the old data. Probably during an "epg load" with crossepg you 
overwrite some of your live data.. but when you zap back to the channel "live 
data" overwrite again custom data. During a reboot enigma2 keep his original 
life cycle so it save and reload epg.dat without loose any custom or live data.

But always remeber this: many images could have many customizations for epg... 
and crossepg and other plugins could work different from image to image

Original comment by skama...@gmail.com on 24 Apr 2011 at 6:00

GoogleCodeExporter commented 8 years ago

Original comment by skama...@gmail.com on 24 Apr 2011 at 9:03

GoogleCodeExporter commented 8 years ago
I'm not sure of your name, but thanks very much for this reply and the replies 
on other issues.
I appreciate them and your good work on CrossEPG.

Lee
UK

Original comment by my.email...@btinternet.com on 24 Apr 2011 at 11:16