Thanks: 0
Ergebnis 1 bis 4 von 4
-
26.05.2020, 00:36 #1
- Registriert seit
- 10.11.2017
- Beiträge
- 112
- Thanks (gegeben)
- 9
- Thanks (bekommen)
- 2
- Total Downloaded
- 1,10 MB
- Total Downloaded
- 1,10 MB
EPG.DAT copy to PC, and modify - possible?
Hi
I have no idea where ask, so I as in Settings section.
Is any possibility to import EPG from receiver (VU+ uno) to PC and open in some EPG software or Excel?
Thanks
-
Advertising
-
26.05.2020, 07:45 #2
- Registriert seit
- 15.06.2013
- Beiträge
- 2.359
- Thanks (gegeben)
- 287
- Thanks (bekommen)
- 1399
- Total Downloaded
- 1,32 MB
- Total Downloaded
- 1,32 MB
Box 1:hd51Box 2:vuduo4kseBox 3:und noch 20-30 andereNo, not possible. It’s special binary format.
hd51, vuduo4se,....
-
26.05.2020, 15:31 #3
- Registriert seit
- 10.11.2017
- Beiträge
- 112
- Thanks (gegeben)
- 9
- Thanks (bekommen)
- 2
- Total Downloaded
- 1,10 MB
- Total Downloaded
- 1,10 MB
ThemenstarterThank You.
-
26.05.2020, 17:14 #4
- Registriert seit
- 20.04.2013
- Beiträge
- 24.824
- Thanks (gegeben)
- 4679
- Thanks (bekommen)
- 9077
- Total Downloaded
- 596,61 MB
- Total Downloaded
- 596,61 MB
Box 1:GB Q4K-SC / UE4K-SC / UE4K-CBox 2:GigaBlue Q-SSC / Q+-SSCBox 3:DM900uhd-SS / Vu+DuoBox 4:ZGemma H7/H9 SF8008Box 5:diverse andere . . .Der Dreambox-Kaiser "adenin" hat (bei Google gefunden) mal etwas zum grundsätzlich Dateiaufbau etwas beschrieben:
...
Also ich hab mirmal die epgcache.cpp angesehen. Nach den Daten, die da in die epg.dat geschrieben werden, müsste der Aufbau ungefähr so aussehen:
Aufbau der epg.dat für enigma1 sowie enigma2 (das ist aber jetzt kein echter C-Syntax, es dient nur zur Erklärung der Datenstruktur)
Code:#define epg_magic 0x98765432 struct epg_dat{ int epg_magic; char version_str[13] ={'E','N','I','G','M','A','_','E','P','G','_','V','7'} //"ENIGMA_EPG_V7" nicht NUll-terminiert int size; //Anzahl der EPG_Einträge EPG_Eintrag epg[size]; int event_cnt event_data[event_cnt] char private_str[11] ={'P','R','I','V','A','T','E','_','E','P','G'} //"PRIVATE_EPG" nicht int private_size; Private_EPG[private_size]; } struct EPG_Eintrag{ uniqueEPGKey EPGKey; //keine Ahnung, irgend 'ne Kennung int size; //Anzahl der Einträge zu diesem Key EPGKey_Eintrag EPG_event[size] // } struct EPGKey_Eintrag{ __u8 type; __u8 len; __u8 EITdata[len]; } struct event_data{ __u32 id; int descriptoprpair_first; __u8 header[2]; __u8 descriptoprpair_second[header[1]]; } struct Private_EPG{ uniqueEPGKey EPGKey; //keine Ahnung, irgend 'ne Kennung int content_cnt; //Anzahl der Einträge zu diesem Key content[content_cnt] // } struct content{ int content_id; int content_time_cnt; content_time[content_time_cnt]; } struct content_time{ t_time time1; t_time time2; __u16 event_id; }
...
ist zwar uralt der thread, aber da ich damit auch grad rumwurschtel noch der vollständigkeitshalber:
Code:struct uniqueEPGKey { int sid, onid, tsid; uniqueEPGKey( const eServiceReferenceDVB &ref ) :sid( ref.type != eServiceReference::idInvalid ? ref.getServiceID().get() : -1 ) ,onid( ref.type != eServiceReference::idInvalid ? ref.getOriginalNetworkID().get() : -1 ) ,tsid( ref.type != eServiceReference::idInvalid ? ref.getTransportStreamID().get() : -1 ) { } uniqueEPGKey() :sid(-1), onid(-1), tsid(-1) { } uniqueEPGKey( int sid, int onid, int tsid ) :sid(sid), onid(onid), tsid(tsid) { } bool operator <(const uniqueEPGKey &a) const { return memcmp( &sid, &a.sid, sizeof(int)*3)<0; } operator bool() const { return !(sid == -1 && onid == -1 && tsid == -1); } bool operator==(const uniqueEPGKey &a) const { return !memcmp( &sid, &a.sid, sizeof(int)*3); } struct equal { bool operator()(const uniqueEPGKey &a, const uniqueEPGKey &b) const { return !memcmp( &a.sid, &b.sid, sizeof(int)*3); } }; };
Ich habe das oben stehende dort gefunden:
i-have-a-dreambox.com | Dreambox - Support | Bastelstube | Aufbau der epg.dat
EDIT:
Die aktuelle Version der "epgcache.cpp" des oATV findest du dort:
enigma2-atv/epgcache.cpp at master * technic/enigma2-atv * GitHub
C++ Kenntnisse sind erforderlich, um den Quelltext dort zu verstehen.Geändert von Papi2000 (26.05.2020 um 17:24 Uhr)
Grüßle
Ralf
---------------------------------------------
Gigablue Quad4K-mixed, UE4K, Trio4K, Quad_Plus-SSC, UE_Plus-SC, X2/X3-SC, UltraUE-SC, ...
Astra 19.2E UniCable & KabelBW, oATV/teamBlue
(u.a.: DM900uhd,Vu+Duo,ZGemma H9Twin & H7S), PC-DVB-S/C/T, Xtreamer, BDP5200, Philips 24PFS4022/12, 65OLED855/12,UE32C5700, RPi3+
---- Einen Receiver kann sich jeder kaufen - Eine stabile E²-Box muß man sich verdienen! ----
Lesezeichen