diff options
author | Jochen Dolze <vdr@dolze.de> | 2009-01-30 00:14:56 +0100 |
---|---|---|
committer | Jochen Dolze <vdr@dolze.de> | 2009-01-30 00:14:56 +0100 |
commit | 54a468314486b9c5e9ea34d36791873d54fb8365 (patch) | |
tree | 6bd9b2fa8a6f2a7afacc9acd7156281e7057f0c9 /infosatepg.cpp | |
parent | 6fb31a9477d93e019b0a2b4ef8457288ab0a40f4 (diff) | |
download | vdr-plugin-infosatepg-54a468314486b9c5e9ea34d36791873d54fb8365.tar.gz vdr-plugin-infosatepg-54a468314486b9c5e9ea34d36791873d54fb8365.tar.bz2 |
Added extened EPG
New setup for channels
Diffstat (limited to 'infosatepg.cpp')
-rw-r--r-- | infosatepg.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/infosatepg.cpp b/infosatepg.cpp index 47c7da7..46ed9d3 100644 --- a/infosatepg.cpp +++ b/infosatepg.cpp @@ -255,7 +255,8 @@ bool cPluginInfosatepg::SetupParse(const char *Name, const char *Value) if (strlen(Name)<10) return false; tChannelID ChannelID=tChannelID::FromString(&Name[8]); if (ChannelID==tChannelID::InvalidID) return false; - global->AddChannel(ChannelID,atoi(Value)); + int val=atoi(Value); + global->AddChannel(ChannelID,(val & 0xFFFF),(val & 0xF0000)>>16); } else return false; return true; |