From 7e4cb53c0e7ef74c44eaa0dc449cac234a49637b Mon Sep 17 00:00:00 2001 From: BPanther Date: Sun, 3 Mar 2019 22:20:23 +0100 Subject: [PATCH] fix remove tmdb.jpg Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/f906380a1cf98b19a7fb7b488a2e8cf0087b29fa Author: BPanther Date: 2019-03-03 (Sun, 03 Mar 2019) --- src/gui/epgview.cpp | 2 ++ src/gui/tmdb.cpp | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gui/epgview.cpp b/src/gui/epgview.cpp index 7dbf477b0..31b9f4b01 100644 --- a/src/gui/epgview.cpp +++ b/src/gui/epgview.cpp @@ -1411,6 +1411,8 @@ void CEpgData::hide() // imdb imdb_active = false; imdb->cleanup(); + + remove("/tmp/tmdb.jpg"); } void CEpgData::GetEPGData(const t_channel_id channel_id, uint64_t id, time_t* startzeit, bool clear ) diff --git a/src/gui/tmdb.cpp b/src/gui/tmdb.cpp index ab8bb49b5..0b64f4263 100644 --- a/src/gui/tmdb.cpp +++ b/src/gui/tmdb.cpp @@ -77,7 +77,6 @@ cTmdb::cTmdb(std::string epgtitle) cTmdb::~cTmdb() { - remove(TMDB_COVER); curl_easy_cleanup(curl_handle); }