From 0b311da08a892642a7ee99e82dcf73ca47281c95 Mon Sep 17 00:00:00 2001 From: BPanther Date: Sun, 3 Mar 2019 22:20:23 +0100 Subject: [PATCH] fix remove tmdb.jpg --- 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 4d2136a37..23ea41bc7 100644 --- a/src/gui/epgview.cpp +++ b/src/gui/epgview.cpp @@ -1383,6 +1383,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); }