diff options
author | Dimitar Petrovski <dimeptr@gmail.com> | 2011-10-02 20:06:49 +0200 |
---|---|---|
committer | Dimitar Petrovski <dimeptr@gmail.com> | 2011-10-02 20:06:49 +0200 |
commit | 45aa02d117af1e6f0b5584de8b06827c4b5fd301 (patch) | |
tree | bfdeaad46d13e69ce85379388e30cfd6fa792b28 | |
parent | e228e74a720c8f0b7e48c0909a2a29ddc7620252 (diff) | |
download | vdr-plugin-eepg-45aa02d117af1e6f0b5584de8b06827c4b5fd301.tar.gz vdr-plugin-eepg-45aa02d117af1e6f0b5584de8b06827c4b5fd301.tar.bz2 |
enable EIT scan in eepg
-rw-r--r-- | eepg.c | 11 | ||||
-rw-r--r-- | eepg.h | 5 |
2 files changed, 14 insertions, 2 deletions
@@ -3463,6 +3463,11 @@ void cFilterEEPG::ProcessNextFormat (bool FirstTime = false) // AddFilter (0x0441, 0x50, 0xf0); // Bell ExpressVU EEPG // AddFilter (0x0441, 0x60, 0xf0); // Bell ExpressVU EEPG break; + case EIT: + AddFilter (pid, 0x4e, 0xfe); //event info, actual(0x4e)/other(0x4f) TS, present/following + AddFilter (pid, 0x50, 0xf0); //event info, actual TS, schedule(0x50)/schedule for future days(0x5X) + AddFilter (pid, 0x60, 0xf0); //event info, other TS, schedule(0x60)/schedule for future days(0x6X) + break; default: break; } @@ -3631,6 +3636,12 @@ void cFilterEEPG::Process (u_short Pid, u_char Tid, const u_char * Data, int Len && !UnprocessedFormat[DISH_BEV]) { UnprocessedFormat[DISH_BEV] = stream.getPid (); } + + // Enable EIT scan for all except DISH_BEV since it is already enabled + // TODO add setup option + if (!UnprocessedFormat[DISH_BEV]) { + UnprocessedFormat[EIT] = EIT_PID; + } } //if data[1] && data [3] } //if streamtype /*if (Format != PREMIERE) //any format found @@ -30,14 +30,15 @@ enum EFormat { PREMIERE , FREEVIEW , DISH_BEV , + EIT , //the highest number of EPG-formats that is supported by this plugin - HIGHEST_FORMAT = DISH_BEV + HIGHEST_FORMAT = EIT } Format; #define NAGRA_TABLE_ID 0x55 //the lower the table Id, the more "current" it is; table_id 0x00 never gets overwritten, now/next are at 0x4e or 0x4f! #define DEFAULT_TABLE_ID 0x30 -const char *FormatName[]= {"MediaHighWay 1","MediaHighWay 2","Sky Italy","Sky UK","NagraGuide","Premiere","FreeView","Dish/Bev"}; +const char *FormatName[]= {"MediaHighWay 1","MediaHighWay 2","Sky Italy","Sky UK","NagraGuide","Premiere","FreeView","Dish/Bev","EIT"}; struct sNode { |