summaryrefslogtreecommitdiff
path: root/xmltv2vdr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xmltv2vdr.cpp')
-rw-r--r--xmltv2vdr.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/xmltv2vdr.cpp b/xmltv2vdr.cpp
index b0e3b7e..69ace7e 100644
--- a/xmltv2vdr.cpp
+++ b/xmltv2vdr.cpp
@@ -268,6 +268,7 @@ cGlobals::cGlobals()
epall=0;
order=strdup(GetDefaultOrder());
imgdelafter=30;
+ soundex=false;
if (asprintf(&epgfile,"%s/epg.db",VideoDirectory)==-1) {};
if (asprintf(&imgdir,"%s","/var/cache/vdr/epgimages")==-1) {};
@@ -826,6 +827,7 @@ void cPluginXmltv2vdr::GetSqliteCompileOptions()
{
const char *option=(const char *) sqlite3_column_text(stmt,0);
tsyslog("option %s",option);
+ if (!strncasecmp(option,"SOUNDEX",7)) g.SetSoundEx();
}
else
{