X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/64d62d01b8780f8c3fc76c4e7657c9eeb03128e7..ceef4c054c5482ae32f1e61b367621f2f5ac2c97:/lib/dvb/epgcache.cpp diff --git a/lib/dvb/epgcache.cpp b/lib/dvb/epgcache.cpp index d87a61e1..a8eca85b 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+=2; + { + offs+=3; + title_len-=3; + } else if(data[6] > 0 && data[6] < 0x20) + { offs+=1; + title_len-=1; + } + if (title_len != textlen) + continue; if ( casetype ) { if ( !strncasecmp((const char*)data+offs, str, title_len) )