su1s / e2m3u2bouquet

Enigma2 IPTV m3u parser and bouquet creator
GNU General Public License v3.0
68 stars 50 forks source link

lowercase picon #91

Open calmarc opened 5 years ago

calmarc commented 5 years ago

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 commented 5 years ago

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).