From 25ab2b2766b5b49caf7951eef7aa06a0b3dba0db Mon Sep 17 00:00:00 2001 From: horchi Date: Fri, 14 Aug 2020 19:09:25 +0200 Subject: 2020-08-14: version 1.1.115 (horchi)\n - bugfix: Fixed missing images after restart - again\n\n --- HISTORY.h | 7 +++++-- update.c | 2 +- 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); -- cgit v1.2.3