OpenPli5 and LCD4Linux
Re: OpenPli5 and LCD4Linux #21
Re: OpenPli5 and LCD4Linux #22
Re: OpenPli5 and LCD4Linux #23
Re: OpenPli5 and LCD4Linux #24
Posted 8 May 2017 - 18:24
Edited by athoik, 8 May 2017 - 18:25.
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916
Re: OpenPli5 and LCD4Linux #25
Re: OpenPli5 and LCD4Linux #26
Posted 10 May 2017 - 22:27
Patches submitted to OpenPLi for inclusion.
Anyone with Samsung Photo-frame and ARM box to confirm that is working as well?
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916
Re: OpenPli5 and LCD4Linux #27
Posted 13 May 2017 - 15:52
I installed today the image to check the photo frame, but unfortunately I got this:
LCD4Linux1.jpg 66.32KB 6 downloads
LCD4Linux2.jpg 94KB 6 downloads
Re: OpenPli5 and LCD4Linux #28
Posted 13 May 2017 - 16:01
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916
Re: OpenPli5 and LCD4Linux #29
Posted 13 May 2017 - 17:55
Checked, it's OK, Lcd4linux works on pli5. I noticed the following, if the channel name is in Russian, then the channel logo is not displayed on the photo frame, on pli4 is ok.
IMG_1148.JPG 82.99KB 4 downloads
IMG_1149.JPG 63.86KB 4 downloads
Re: OpenPli5 and LCD4Linux #30
Posted 13 May 2017 - 18:55
Crashlog LCD4Linux:
Traceback (most recent call last):
File "/usr/lib/enigma2/python/Plugins/Extensions/LCD4linux/plugin.py", line 4338, in run
para[0](para[1],para[2],para[3])
File "/usr/lib/enigma2/python/Plugins/Extensions/LCD4linux/plugin.py", line 11094, in putPicon
name2=self.Lchannel_name.decode("utf8").encode("latin-1") + ".png"
UnicodeEncodeError: 'latin-1' codec can't encode characters in position 0-2: ordinal not in range(256)
Re: OpenPli5 and LCD4Linux #31
Posted 13 May 2017 - 20:36
So change line from
name2=self.Lchannel_name.decode("utf8").encode("latin-1") + ".png"
to
name2=self.Lchannel_name.decode("utf-8").encode("utf-8", 'ignore')) + ".png"
I think there is a proper function to get picon name, if somebody knows the function, better to it, instead of reinventing the well.
Edited by athoik, 13 May 2017 - 20:37.
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916
Re: OpenPli5 and LCD4Linux #32
Re: OpenPli5 and LCD4Linux #33
Re: OpenPli5 and LCD4Linux #34
Re: OpenPli5 and LCD4Linux #35
Posted 14 May 2017 - 04:52
I think we are using decode("utf-8").encode("utf-8", 'ignore')) in plugins to solve that issue.
So change line from
name2=self.Lchannel_name.decode("utf8").encode("latin-1") + ".png"
to
name2=self.Lchannel_name.decode("utf-8").encode("utf-8", 'ignore'))+ ".png"
I think there is a proper function to get picon name, if somebody knows the function, better to it, instead of reinventing the well.
Changed to
name2=self.Lchannel_name.decode("utf-8").encode("utf-8", 'ignore') + ".png"
аnd it all worked
IMG_1150.JPG 71.3KB 3 downloads
Thanks!
Re: OpenPli5 and LCD4Linux #36
12 user(s) are reading this topic
0 members, 12 guests, 0 anonymous users