Skip to content

Commit

Permalink
Merge pull request #632 from matthuisman/fix_images_nexus
Browse files Browse the repository at this point in the history
Fix: Some icons using url arguments not displaying
  • Loading branch information
phunkyfish authored Aug 18, 2022
2 parents e455a2f + bc32874 commit e9c1b97
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pvr.iptvsimple/addon.xml.in
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<addon
id="pvr.iptvsimple"
version="20.5.1"
version="20.5.2"
name="IPTV Simple Client"
provider-name="nightik and Ross Nicholson">
<requires>@ADDON_DEPENDS@
Expand Down
3 changes: 3 additions & 0 deletions pvr.iptvsimple/changelog.txt
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion src/iptvsimple/data/Channel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit e9c1b97

Please sign in to comment.