fix remove tmdb.jpg

This commit is contained in:
BPanther
2019-03-03 22:20:23 +01:00
committed by Thilo Graf
parent 1547f90e4e
commit 0b311da08a
2 changed files with 2 additions and 1 deletions

View File

@@ -1383,6 +1383,8 @@ void CEpgData::hide()
// imdb // imdb
imdb_active = false; imdb_active = false;
imdb->cleanup(); imdb->cleanup();
remove("/tmp/tmdb.jpg");
} }
void CEpgData::GetEPGData(const t_channel_id channel_id, uint64_t id, time_t* startzeit, bool clear ) void CEpgData::GetEPGData(const t_channel_id channel_id, uint64_t id, time_t* startzeit, bool clear )

View File

@@ -77,7 +77,6 @@ cTmdb::cTmdb(std::string epgtitle)
cTmdb::~cTmdb() cTmdb::~cTmdb()
{ {
remove(TMDB_COVER);
curl_easy_cleanup(curl_handle); curl_easy_cleanup(curl_handle);
} }