adding caching xmltv logos

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
TangoCash
2018-09-20 15:11:05 +02:00
committed by Thilo Graf
parent 6f2d2a420f
commit 42e7b0a55f
4 changed files with 27 additions and 2 deletions

View File

@@ -664,7 +664,7 @@ bool CPictureViewer::GetLogoName(const uint64_t& channel_id, const std::string&
{
if (!cc->getAlternateLogo().empty())
{
std::string lname = downloadUrlToRandomFile(cc->getAlternateLogo(), LOGODIR_TMP);
std::string lname = downloadUrlToLogo(cc->getAlternateLogo(), LOGODIR_TMP, cc->getChannelID());
if (width && height)
getSize(lname.c_str(), width, height);
name = lname;