diff --git a/src/gui/epgview.cpp b/src/gui/epgview.cpp index 23ea41bc7..cff46554c 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 @@ -1384,7 +1386,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 )