Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Channel logos from tvg-logo tag not visible #622

Closed
osscombat opened this issue Aug 2, 2022 · 19 comments
Closed

Channel logos from tvg-logo tag not visible #622

osscombat opened this issue Aug 2, 2022 · 19 comments

Comments

@osscombat
Copy link

osscombat commented Aug 2, 2022

Hi!
If the channel logos are all written in the remote M3U playlist, and all of those png are on remote server, (i.e. HTTPS link to the png logo), then they are not always loaded in the channel list. Only part of the logos are visible and cached, and Kodi doesn't attempt to re-fetch the other missing logos on restart.
Tried any other IPTV clients with the same M3U playlist, and everything is fine, so this is not a logo files access issue.

@phunkyfish
Copy link
Member

What version of kodi/add-on are you using?

@osscombat
Copy link
Author

Kodi 19.3 or 19.4, plugin v19.1.1, Android ARM and PC x86 builds.

@phunkyfish
Copy link
Member

Can you try a kodi nexus nightly build and report whether the behaviour is better there or not.

@osscombat
Copy link
Author

where can I get this build?

@phunkyfish
Copy link
Member

@osscombat
Copy link
Author

the nexus alpha loads much more logos, but still not 100% of them, I have only 30 channels in the playlist. Even after I deleted the thumbnails cache. The IPTV Pro app for android, for instance, shows 100% of those logos every startup.

@phunkyfish
Copy link
Member

phunkyfish commented Aug 2, 2022

What skin are you using?

Did you try disabling http2?

#294

@osscombat
Copy link
Author

osscombat commented Aug 3, 2022

I've found the problem - it's a space in the filename of the logo file, strange this is not the problem for other iptv clients.

@phunkyfish
Copy link
Member

Can you give a concrete example?

@osscombat
Copy link
Author

Yes, the download fails if your tag is

tvg-logo="https://user:pass@hostname/picons/Channel One.png" or contain non-latin symbols.

@phunkyfish
Copy link
Member

phunkyfish commented Aug 3, 2022

Yes, because that is not an encoded URL. It might be possible to make that a bit more resilient.

@phunkyfish
Copy link
Member

Can you supply more examples here? The issue is that the URL provided is invalid in the first place, I would rather not encode every URL but instead just encode the parts that are invalid. For instance, in your example is it always in the channel name part where the problem occurs?

I.e. The Channel One.png, but the rest of the URL is OK?

@phunkyfish
Copy link
Member

@osscombat can you test this PR: #626?

@osscombat
Copy link
Author

Can you supply more examples here? The issue is that the URL provided is invalid in the first place, I would rather not encode every URL but instead just encode the parts that are invalid. For instance, in your example is it always in the channel name part where the problem occurs?

I.e. The Channel One.png, but the rest of the URL is OK?

actually I've simply renamed all the png logo files with space in the name to be accessible. The channel name with space itself is not affected, it just misses the logo.

@osscombat
Copy link
Author

@osscombat can you test this PR: #626?

sure, I can test it, how to enable the beta channel for this addon?

@phunkyfish
Copy link
Member

There is no beta channel. You just download the correct package from the testbuilds linked in the PR and install from Zip.

@phunkyfish
Copy link
Member

Can you supply more examples here? The issue is that the URL provided is invalid in the first place, I would rather not encode every URL but instead just encode the parts that are invalid. For instance, in your example is it always in the channel name part where the problem occurs?
I.e. The Channel One.png, but the rest of the URL is OK?

actually I've simply renamed all the png logo files with space in the name to be accessible. The channel name with space itself is not affected, it just misses the logo.

It’s only with the logo path that the last part gets encoded. So only assessing the problem that you had.

@osscombat
Copy link
Author

@osscombat can you test this PR: #626

tested it, the issue is resolved in 19.2.0, thanks!

@phunkyfish
Copy link
Member

Excellent, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants