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

lowercase picon #91

Open
calmarc opened this issue Feb 23, 2019 · 1 comment
Open

lowercase picon #91

calmarc opened this issue Feb 23, 2019 · 1 comment

Comments

@calmarc
Copy link

calmarc commented Feb 23, 2019

Awesome script - thank you very much.
Possibly not an issue (opposite to #49) - but maybe there are some hints anyway.
Openwebif shows the picons, VTI does not, unless I rename them exactly like the Channel name.
So I guess I have to rename stuff like "sky1uk.png" to "Sky 1 UK.png" - then it shows on the box too.
Or better solutions?
cheers and thanks again!

@calmarc
Copy link
Author

calmarc commented Feb 23, 2019

in _get_picon_name function (359):

name = name.replace('/', '').replace('[', '').replace(']', '')

instead of:

name = re.sub('[\W]', '', name.replace('&', 'and')
.replace('+', 'plus')
.replace('*', 'star')
.lower())

somehow... let me through.. and generated 1:1 picons. (mostly).

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

1 participant