From d541e48e94c3eb06bd39126e3b037901bc9d798c Mon Sep 17 00:00:00 2001 From: Frankenstone Date: Sun, 3 Mar 2019 22:20:23 +0100 Subject: [PATCH] epgview: use define tmdb_cover Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/dd39f9249e1aa7874d364942b857f4e046455238 Author: Frankenstone Date: 2019-03-03 (Sun, 03 Mar 2019) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/gui/epgview.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/gui/epgview.cpp b/src/gui/epgview.cpp index 31b9f4b01..d6906430a 100644 --- a/src/gui/epgview.cpp +++ b/src/gui/epgview.cpp @@ -59,6 +59,8 @@ #include #include +#define TMDB_COVER "/tmp/tmdb.jpg" + extern CPictureViewer * g_PicViewer; #define ICON_LARGE_WIDTH 26 @@ -1412,7 +1414,7 @@ void CEpgData::hide() imdb_active = false; imdb->cleanup(); - remove("/tmp/tmdb.jpg"); + remove(TMDB_COVER); } void CEpgData::GetEPGData(const t_channel_id channel_id, uint64_t id, time_t* startzeit, bool clear )