summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhorchi <vdr@jwendel.de>2020-08-14 19:09:25 +0200
committerhorchi <vdr@jwendel.de>2020-08-14 19:09:25 +0200
commit25ab2b2766b5b49caf7951eef7aa06a0b3dba0db (patch)
tree2f1749d774bbfcc7bd81f535dc916a63d16f12a4
parentf9429202305cec06047566ae9ed357075c7d5de4 (diff)
downloadvdr-plugin-epg2vdr-1.1.115.tar.gz
vdr-plugin-epg2vdr-1.1.115.tar.bz2
2020-08-14: version 1.1.115 (horchi)\n - bugfix: Fixed missing images after restart - again\n\n1.1.115
-rw-r--r--HISTORY.h7
-rw-r--r--update.c2
2 files changed, 6 insertions, 3 deletions
diff --git a/HISTORY.h b/HISTORY.h
index 17c12f8..ade86a1 100644
--- a/HISTORY.h
+++ b/HISTORY.h
@@ -5,8 +5,8 @@
*
*/
-#define _VERSION "1.1.114"
-#define VERSION_DATE "13.08.2020"
+#define _VERSION "1.1.115"
+#define VERSION_DATE "14.08.2020"
#define DB_API 7
@@ -19,6 +19,9 @@
/*
* ------------------------------------
+2020-08-14: version 1.1.115 (horchi)
+ - bugfix: Fixed missing images after restart - again
+
2020-08-13: version 1.1.114 (horchi)
- bugfix: Fixed missing images after restart
diff --git a/update.c b/update.c
index c770e7b..21e43ff 100644
--- a/update.c
+++ b/update.c
@@ -2081,7 +2081,7 @@ int cUpdate::cleanupPictures()
if (strncmp(dirent->d_name + strlen(dirent->d_name) - strlen(ext), ext, strlen(ext)) != 0)
continue;
- if (usedRefs.count(dirent->d_name))
+ if (usedRefs.count(dirent->d_name) == 0)
{
asprintf(&pdir, "%s/images/%s", epgimagedir, dirent->d_name);
tell(2, "Removing image '%s'", pdir);