diff --git a/pvr.iptvsimple/addon.xml.in b/pvr.iptvsimple/addon.xml.in index 20f9c3bab..8d515c4c4 100644 --- a/pvr.iptvsimple/addon.xml.in +++ b/pvr.iptvsimple/addon.xml.in @@ -1,7 +1,7 @@ @ADDON_DEPENDS@ diff --git a/pvr.iptvsimple/changelog.txt b/pvr.iptvsimple/changelog.txt index 189abb42c..79080f779 100644 --- a/pvr.iptvsimple/changelog.txt +++ b/pvr.iptvsimple/changelog.txt @@ -1,3 +1,6 @@ +v20.5.2 +- Fixed: Some icons using url arguments not displaying + v20.5.1 - Support url arguments when encoding file portion of icon URL diff --git a/src/iptvsimple/data/Channel.cpp b/src/iptvsimple/data/Channel.cpp index 620ab2846..487cfd71a 100644 --- a/src/iptvsimple/data/Channel.cpp +++ b/src/iptvsimple/data/Channel.cpp @@ -150,7 +150,7 @@ void Channel::SetIconPathFromTvgLogo(const std::string& tvgLogo, std::string& ch if (argumentsPos != std::string::npos && argumentsPos > 0) { urlArguments = urlFile.substr(argumentsPos); - urlFile = urlFile.substr(0, argumentsPos - 1); + urlFile = urlFile.substr(0, argumentsPos); } if (!utilities::WebUtils::IsEncoded(urlFile))