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

[MetrixHDXPicon.py] Allow more IPTV stream types #345

Merged
1 commit merged into from Aug 9, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -54,7 +54,7 @@ def changed(self, what):
fields = sname.split('_', 3)
if len(fields) > 2 and fields[2] != '2': #fallback to 1 for tv services with nonstandard servicetypes
fields[2] = '1'
if fields[0] == '4097' or fields[0] == '5002': #fallback to 1 for IPTV streams
if len(fields) > 0 and fields[0] != '1': #fallback to 1 for IPTV streams
fields[0] = '1'
pngname = self.findPicon('_'.join(fields))
if not pngname: # picon by channel name
Expand Down