diff --git a/src/driver/pictureviewer/pictureviewer.cpp b/src/driver/pictureviewer/pictureviewer.cpp index 561304b17..04f15e508 100644 --- a/src/driver/pictureviewer/pictureviewer.cpp +++ b/src/driver/pictureviewer/pictureviewer.cpp @@ -4,6 +4,7 @@ #include "pictureviewer.h" #include "pv_config.h" #include +#include #include #include #include @@ -579,7 +580,19 @@ bool CPictureViewer::GetLogoName(const uint64_t& channel_id, const std::string& name = v_path[j]; return true; } - } + } + CZapitChannel * cc = NULL; + if (CNeutrinoApp::getInstance()->channelList) + cc = CNeutrinoApp::getInstance()->channelList->getChannel(channel_id); + if (cc) { + if (!cc->getAlternateLogo().empty()) + { + std::string lname = dlTmpName(cc->getAlternateLogo()); + name = lname; + cc->setAlternateLogo(lname); + return true; + } + } } return false; }