From: ghost Date: Sat, 24 Jan 2009 23:24:17 +0000 (+0100) Subject: another exact title search in epgache fix X-Git-Tag: 2.6.0~492^2~1 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/8fa5e30ad4f92d0874c6dbac92da3b61c9bd853c another exact title search in epgache fix --- diff --git a/lib/dvb/epgcache.cpp b/lib/dvb/epgcache.cpp index 20767d37..6ab20bda 100644 --- a/lib/dvb/epgcache.cpp +++ b/lib/dvb/epgcache.cpp @@ -2171,14 +2171,20 @@ PyObject *eEPGCache::search(ePyObject arg) int title_len = data[5]; if ( querytype == 1 ) { - if (title_len != textlen) - continue; int offs = 6; // skip DVB-Text Encoding! if (data[6] == 0x10) + { offs+=3; + textlen-=3; + } else if(data[6] > 0 && data[6] < 0x20) + { offs+=1; + textlen-=1; + } + if (title_len != textlen) + continue; if ( casetype ) { if ( !strncasecmp((const char*)data+offs, str, title_len) )