diff options
author | horchi <vdr@jwendel.de> | 2018-01-29 21:22:54 +0100 |
---|---|---|
committer | horchi <vdr@jwendel.de> | 2018-01-29 21:22:54 +0100 |
commit | dc1a77c5662d6b1d1fb988f61590f71af3773c29 (patch) | |
tree | 152cc01455eac5c1d19f32390533af7040c32916 | |
parent | d4aab613d5efd6ee2c85c8c60ee1f97848057049 (diff) | |
download | vdr-plugin-epg2vdr-dc1a77c5662d6b1d1fb988f61590f71af3773c29.tar.gz vdr-plugin-epg2vdr-dc1a77c5662d6b1d1fb988f61590f71af3773c29.tar.bz2 |
2018-01-29 version 1.1.81 (horchi)\n - bugfix: Fixed possible crash on recording update without longdescription\n - change: More readable error message on DBAPI mismatch (thx to Lars!)\n\n1.1.81
-rw-r--r-- | HISTORY.h | 8 | ||||
-rw-r--r-- | recording.c | 3 | ||||
-rw-r--r-- | update.c | 3 |
3 files changed, 10 insertions, 4 deletions
@@ -5,8 +5,8 @@ * */ -#define _VERSION "1.1.80" -#define VERSION_DATE "27.01.2018" +#define _VERSION "1.1.81" +#define VERSION_DATE "29.01.2018" #define DB_API 5 @@ -19,6 +19,10 @@ /* * ------------------------------------ +2018-01-29 version 1.1.81 (horchi) + - bugfix: Fixed possible crash on recording update without longdescription + - change: More readable error message on DBAPI mismatch (thx to Lars!) + 2018-01-27 version 1.1.80 (horchi) - added: Service to check if event has a timer diff --git a/recording.c b/recording.c index bd0e390..e572f2b 100644 --- a/recording.c +++ b/recording.c @@ -407,7 +407,8 @@ int cUpdate::updateRecordingTable(int fullReload) if (event && !isEmpty(event->Aux()) && xml.set(event->Aux()) == success) { if (XMLElement* element = xml.getElementByName("longdescription")) - longdescription = element->GetText(); + if (!isEmpty(element->GetText())) + longdescription = element->GetText(); } if (schedules) @@ -282,7 +282,8 @@ int cUpdate::initDb() if (vdrDb->getIntValue("DBAPI") != DB_API) { if (vdrDb->getIntValue("DBAPI") < DB_API) - tell(0, "Found dbapi %d, expected %d, please alter the tables first! Aborting now.", + tell(0, "Your database has version %d, epg2vdr expects version %d. Please make sure, epgd and " + "epg2vdr use the same version and the database is properly updated", (int)vdrDb->getIntValue("DBAPI"), DB_API); else tell(0, "Found dbapi %d, expected %d, please update me! Aborting now.", |