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 )