EIT weekly EPG for greek provider Nova
#1
Posted 21 December 2010 - 17:18
PID found: 18 (0x0012) [SECTION: Event Information Table (EIT) - other transport stream, present/following]
PID found: 5000 (0x1388) [SECTION: Event Information Table (EIT) - other transport stream, schedule]
Thank you
Re: EIT weekly EPG for greek provider Nova #2
Re: EIT weekly EPG for greek provider Nova #3
Posted 24 December 2010 - 13:58
I would like to apply a patch on epgcache.cpp to force it use pid 5000 (0x1388) for testing purposes but after a complete image build the enigma2 source is deleted from build-vuduo/tmp . Is there a way to keep this source in order to apply the change and create a proper diff file? I am not very familiar with bitbake.
Re: EIT weekly EPG for greek provider Nova #4
Posted 24 December 2010 - 14:55
But if we are not sure about the format, it's probably a waste of time.
If you want to experiment with the epgcache / epgreaders, remove rm_work from local.conf, and you will be able to force a new compile in the old workdir.
Re: EIT weekly EPG for greek provider Nova #5
Posted 25 December 2010 - 00:51
If we are pretty sure the format is according to the EIT standard, I would just introduce a new EIT reader, on the custom pid.
But if we are not sure about the format, it's probably a waste of time.
If you want to experiment with the epgcache / epgreaders, remove rm_work from local.conf, and you will be able to force a new compile in the old workdir.
I did as you suggested, removed rm_work and modified epgcache.cpp to try pid 0x1388. enigma2 loaded a full 7 days epg after leaving it for about 3 minutes in one of the channels transmitted on transponders from 10930H or 12130H. The only missing events were the now/next , because my modified enigma2 binary wasn't reading those events from pid 0x12.
How can I continue from here to apply a patch that doesn't affect normal now/next EPG parsing?
Re: EIT weekly EPG for greek provider Nova #6
Re: EIT weekly EPG for greek provider Nova #7
Posted 25 December 2010 - 12:45
we have to add a new epgreader. Look at the freesat readers for instance, there are two, on different pids.
Would be great if you could save me some work by supplying a patch
I'll try, which files should I look at? epgcache.cpp only or there are more?
Because I am not really familiar with bitbake, the correct way to recompile a package is by manually removing stamp files? or you can do this with some command parameter to bitbake?
Thank you for your help.
Re: EIT weekly EPG for greek provider Nova #8
Posted 25 December 2010 - 13:36
Though we would also want a config option to enable/disable the reader, but I can take care of that afterwards.
force compile:
bitbake -f -c compile enigma2
(or point to the bb file with -b ../../openembedded/recipes/....bb to speed things up by avoiding the bb cache)
Re: EIT weekly EPG for greek provider Nova #9
Re: EIT weekly EPG for greek provider Nova #10
Posted 6 January 2011 - 00:17
Re: EIT weekly EPG for greek provider Nova #11
Re: EIT weekly EPG for greek provider Nova #12
Posted 7 January 2011 - 15:41
enum {PRIVATE=0, NOWNEXT=1, SCHEDULE=2, SCHEDULE_OTHER=4 #ifdef ENABLE_MHW_EPG ,MHW=8 #endif #ifdef ENABLE_FREESAT ,FREESAT_NOWNEXT=16 ,FREESAT_SCHEDULE=32 ,FREESAT_SCHEDULE_OTHER=64 #endif ,VIASAT=256 ,EPG_IMPORT=0x80000000 };
can I continue with values over 256? I want to add two more values, NETMED_SCHEDULE and NETMED_SCHEDULE_OTHER. Value 128 is free, I would use 512 and 1024. Is this ok?
Re: EIT weekly EPG for greek provider Nova #13
Re: EIT weekly EPG for greek provider Nova #14
Re: EIT weekly EPG for greek provider Nova #15
Re: EIT weekly EPG for greek provider Nova #16
Posted 7 January 2011 - 19:30
I attach two diff files in zip format, one for epgcache.h and one for epgcache.cpp . In epgcache.cpp and function eEPGCache::channel_data::readDataNetmed , I am not sure if the second part of the function is needed (I actually copied it from eEPGCache::channel_data::readData)
Attached Files
Re: EIT weekly EPG for greek provider Nova #17
Re: EIT weekly EPG for greek provider Nova #18
Re: EIT weekly EPG for greek provider Nova #19
Re: EIT weekly EPG for greek provider Nova #20
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users