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

Bug with picking up tvg-logo=".....HD.png" in m3u #136

Closed
lolento opened this issue Jul 1, 2017 · 6 comments
Closed

Bug with picking up tvg-logo=".....HD.png" in m3u #136

lolento opened this issue Jul 1, 2017 · 6 comments
Labels

Comments

@lolento
Copy link

lolento commented Jul 1, 2017

Hello,

Just started using this on my plex server. Found a weird bug with picking up channel logos.

I find if the Channel logo ends with [space]HD.png on the m3u file, the logo is not going to be picked up. And it will not try to search for the same logo in the experimental path in settings.

However, if I remove all tvg-logo="" entries, and just let it search the experimental path, then the same logo is found.

@Cigaras
Copy link
Owner

Cigaras commented Jul 3, 2017

Would You mind sharing Your playlist or at least a fragment with mentioned issue?

@lolento
Copy link
Author

lolento commented Jul 4, 2017

#EXTINF:0 tvg-id="UK: 3E SD" tvg-logo="http://192.168.2.118/Plex-Logos/3E HD.png" tvg-name="3E HD",3E HD
http://stream.fabiptv.com:25461/live/email/password/1237.m3u8
#EXTINF:0 tvg-id="UK: 4SEVEN SD" tvg-logo="http://192.168.2.118/Plex-Logos/4Seven SD.png" tvg-name="4Seven SD",4Seven SD
http://stream.fabiptv.com:25461/live/email/password/1238.m3u8

In example, "3E HD.png" does not get picked up in the Plex Channel but "4Seven SD.png" does. And if I change "3E HD.png" to "3E_HD.png" and create the same file in the Plex-Logos folder, it gets picked up.

And if I just leave out the tvg-logo="..." line altogether, and just set a path under IPTV Channel settings, the "3E HD.png" logo gets picked up.

@Cigaras
Copy link
Owner

Cigaras commented Jul 4, 2017

This is strange. Does issue repeats if You put logos directly into Resources folder without using the path http://192.168.2.118/Plex-Logos/? I also would like to see both files 3E HD.png and 4Seven SD.png because I can not reproduce this by changing names of ones I have.

@lolento
Copy link
Author

lolento commented Jul 4, 2017

@Cigaras
Copy link
Owner

Cigaras commented Jul 4, 2017

Change spaces to %20 in URL, so Your playlist looks like this:

#EXTINF:0 tvg-id="UK: 3E SD" tvg-logo="http://192.168.2.118/Plex-Logos/3E%20HD.png" tvg-name="3E HD",3E HD
http://stream.fabiptv.com:25461/live/email/password/1237.m3u8
#EXTINF:0 tvg-id="UK: 4SEVEN SD" tvg-logo="http://192.168.2.118/Plex-Logos/4Seven%20SD.png" tvg-name="4Seven SD",4Seven SD
http://stream.fabiptv.com:25461/live/email/password/1238.m3u8

But leave files unchanged.

This should do the trick because Your URLs in playlist are invalid, if You type them into browser it automatically fixes it, Plex for some reason does not. I added this fix into plug-in, but in general I would advice against using invalid URLs.

Cigaras added a commit that referenced this issue Jul 4, 2017
* Spaces in resource url fix (#136)
@lolento
Copy link
Author

lolento commented Jul 7, 2017

Yup, you're right. Adding %20 works.

The way I was doing it was I was using a script to add an URL in front of the channel name to get all the tvg-logo populated....

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

No branches or pull requests

2 participants