Skip to content

Commit

Permalink
Merge pull request #633 from matthuisman/fix_images_matrix
Browse files Browse the repository at this point in the history
Fix: Some icons using url arguments not displaying (Matrix)
  • Loading branch information
phunkyfish authored Aug 18, 2022
2 parents 83727fb + 7963ba5 commit d12fb37
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 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="19.2.1"
version="19.2.2"
name="PVR IPTV Simple Client"
provider-name="nightik and Ross Nicholson">
<requires>@ADDON_DEPENDS@
Expand All @@ -21,6 +21,9 @@
<icon>icon.png</icon>
</assets>
<news>
v19.2.2
- Fixed: Some icons using url arguments not displaying

v19.2.1
- Support url arguments when encoding file portion of icon URL

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 @@
v19.2.2
- Fixed: Some icons using url arguments not displaying

v19.2.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 @@ -147,7 +147,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 d12fb37

Please sign in to comment.