diff options
Diffstat (limited to 'xmltv2vdr.cpp')
-rw-r--r-- | xmltv2vdr.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/xmltv2vdr.cpp b/xmltv2vdr.cpp index 1a7c2c6..2cf0361 100644 --- a/xmltv2vdr.cpp +++ b/xmltv2vdr.cpp @@ -274,7 +274,11 @@ cGlobals::cGlobals() imgdelafter=30; soundex=false; +#if APIVERSNUM > 20101 + if (asprintf(&epgfile_store,"%s/epg.db",cVideoDirectory::Name())==-1) {}; +#else if (asprintf(&epgfile_store,"%s/epg.db",VideoDirectory)==-1) {}; +#endif if (!CheckEPGDir("/var/run/vdr")) { |