Jump to content


Photo

OpenPLi-py3


  • Please log in to reply
1139 replies to this topic

Re: OpenPLi-py3 #541 Pr2

  • PLi® Contributor
  • 6,165 posts

+261
Excellent

Posted 2 September 2022 - 17:53

You are not the only one with the Duo4K, I have also reported it and Wanwizard confirm the problem too.


NO SUPPORT by PM, it is a forum make your question public so everybody can benefit from the question/answer.
If you think that my answer helps you, you can press the up arrow in bottom right of the answer.

Wanna help with OpenPLi Translation? Please read our Wiki Information for translators

Sat: Hotbird 13.0E, Astra 19.2E, Eutelsat5A 5.0W
VU+ Solo 4K: 2*DVB-S2 + 2*DVB-C/T/T2 (used in DVB-C) & Duo 4K: 2*DVB-S2X + DVB-C (FBC)

AB-Com: PULSe 4K 1*DVB-S2X (+ DVB-C/T/T2)
Edision OS Mio 4K: 1*DVB-S2X + 1*DVB-C/T/T2
 


Re: OpenPLi-py3 #542 WanWizard

  • PLi® Core member
  • 70,219 posts

+1,798
Excellent

Posted 2 September 2022 - 18:14

Unpack the py from this tarball and put it into /usr/bin, overwriting the non-working file currently there, and restart the box: https://github.com/k...bp3flash.tar.gz


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: OpenPLi-py3 #543 foxbob

  • Senior Member
  • 624 posts

+18
Neutral

Posted 2 September 2022 - 19:23

Thanks the image is now there.



Re: OpenPLi-py3 #544 display name

  • Senior Member
  • 626 posts

+26
Good

Posted 4 September 2022 - 14:45

When will openPLi transfer from Python 3.9 to Python 3.10.6 ?



Re: OpenPLi-py3 #545 Huevos

  • PLi® Contributor
  • 4,621 posts

+161
Excellent

Posted 4 September 2022 - 14:55

When will openPLi transfer from Python 3.9 to Python 3.10.6 ?

That would require updating/changing OpenEmbedded branch.



Re: OpenPLi-py3 #546 display name

  • Senior Member
  • 626 posts

+26
Good

Posted 4 September 2022 - 15:11

OK thanks



Re: OpenPLi-py3 #547 scriptmelvin †

  • PLi® Contributor
  • 720 posts

+46
Good

Posted 5 September 2022 - 00:49

I am pleasantly surprised by this: "now playing" in the infobar for ice/shoutcast streams :D

 

Attached File  radio.jpg   17.65KB   7 downloads

 

Where did that come from? Very nice.


Sorry to inform you this member, my brother, passed away.

Re: OpenPLi-py3 #548 4l3x2k

  • Member
  • 24 posts

+1
Neutral

Posted 5 September 2022 - 10:31

I am pleasantly surprised by this: "now playing" in the infobar for ice/shoutcast streams :D

 

attachicon.gifradio.jpg

 

Where did that come from? Very nice.

 

This is a Neutrino feature and was requested by some users.
 
It was first implemented in Enigma2 under OpenATV by jbleyel and 4l3x2k (me) in an unconventional way as it mimics a C++ class in Python.
This meant that not so many other components had to be adjusted.
 
The relevant commits are
and
 
Only with the last commit can you actually see the stream title, since the event generated by ServiceMP3 was missing in the EventInfo Source (iPlayableService.evUpdatedInfo).
In addition, progress for "finite" streams is now also displayed, as is the case with VOD, for example.
 
This feature currently only works with ServiceMP3 (GStreamer) as MediaService.


Re: OpenPLi-py3 #549 scriptmelvin †

  • PLi® Contributor
  • 720 posts

+46
Good

Posted 5 September 2022 - 11:42

Thanks for the clarification :)


Sorry to inform you this member, my brother, passed away.

Re: OpenPLi-py3 #550 foxbob

  • Senior Member
  • 624 posts

+18
Neutral

Posted 8 September 2022 - 17:38

After installing and running the plugin LCD4linux in folder tmp file appeared L4Lcrash.txt

Traceback (most recent call last):
  File "/home/foxbob/testpy3/openpli-oe-core/build/tmp/work/armv7ahf-neon-oe-linux-gnueabi/enigma2-plugin-extensions-lcd4linux/5.0-r4-AUTOINC+72c2ba4b3d-r0/image/usr/lib/enigma2/python/Plugins/Extensions/LCD4linux/plugin.py", line 9866, in LCD4linuxPICThread
  File "/home/foxbob/testpy3/openpli-oe-core/build/tmp/work/armv7ahf-neon-oe-linux-gnueabi/enigma2-plugin-extensions-lcd4linux/5.0-r4-AUTOINC+72c2ba4b3d-r0/image/usr/lib/enigma2/python/Plugins/Extensions/LCD4linux/plugin.py", line 14407, in LCD4linuxPIC
  File "/home/foxbob/testpy3/openpli-oe-core/build/tmp/work/armv7ahf-neon-oe-linux-gnueabi/enigma2-plugin-extensions-lcd4linux/5.0-r4-AUTOINC+72c2ba4b3d-r0/image/usr/lib/enigma2/python/Plugins/Extensions/LCD4linux/plugin.py", line 13932, in putL4LElist
AttributeError: 'dict_keys' object has no attribute 'sort'


Re: OpenPLi-py3 #551 Beeker

  • PLi® Contributor
  • 1,602 posts

+203
Excellent

Posted 8 September 2022 - 18:44

Update and try again

https://github.com/H...c209a31542c7455


Dreambox dm920, Uclan Ustym4Kpro, Gigablue UHD TRIO 4K and Dreambox dm8000. Wavefrontier T55 13.0|19.2|23.5|28.2 + Ziggo.


Re: OpenPLi-py3 #552 foxbob

  • Senior Member
  • 624 posts

+18
Neutral

Posted 8 September 2022 - 18:58

Replaced, the image of lsd appeared in the program, but the following error.

Traceback (most recent call last):
  File "/usr/lib/enigma2/python/Plugins/Extensions/LCD4linux/plugin.py", line 4509, in run
    para[0](para[1],para[2],para[3])
  File "/usr/lib/enigma2/python/Plugins/Extensions/LCD4linux/plugin.py", line 11723, in putChannelNum
    ShadowText(draw,lx,ConfigPos,num,font,ConfigColor,ConfigShadow)
  File "/usr/lib/enigma2/python/Plugins/Extensions/LCD4linux/plugin.py", line 10174, in ShadowText
    ColO = self.draw[draw].draw.draw_ink(RGB, "RGB")
TypeError: function takes exactly 1 argument (2 given)

Attached Files


Edited by foxbob, 8 September 2022 - 18:58.


Re: OpenPLi-py3 #553 Beeker

  • PLi® Contributor
  • 1,602 posts

+203
Excellent

Posted 8 September 2022 - 19:34

Try this

https://github.com/H...15c56d11a571fbd

 

Seems to work so far with standalone test prog. No crash at least

from PIL import ImageDraw, Image

with Image.open("DSC_0041.jpg") as im:

	draw = ImageDraw.Draw(im)

	RGB = (1,2,3)

	ColO = draw.draw.draw_ink(RGB)

 


Dreambox dm920, Uclan Ustym4Kpro, Gigablue UHD TRIO 4K and Dreambox dm8000. Wavefrontier T55 13.0|19.2|23.5|28.2 + Ziggo.


Re: OpenPLi-py3 #554 foxbob

  • Senior Member
  • 624 posts

+18
Neutral

Posted 8 September 2022 - 20:30

Replaced

Traceback (most recent call last):
  File "/usr/lib/enigma2/python/Plugins/Extensions/LCD4linux/plugin.py", line 4509, in run
    para[0](para[1],para[2],para[3])
  File "/usr/lib/enigma2/python/Plugins/Extensions/LCD4linux/plugin.py", line 11613, in putPicon
    name = unicodedata.normalize('NFKD', unicode(str(""+self.Lchannel_name), 'utf-8', errors='ignore')).encode('ASCII', 'ignore')
NameError: name 'unicode' is not defined


Re: OpenPLi-py3 #555 WanWizard

  • PLi® Core member
  • 70,219 posts

+1,798
Excellent

Posted 8 September 2022 - 20:58

Isn't it wiser to upgrade to the latest LCD4Linux version, before doing this? Or has that already been done (I can remember a discussion between Tech and Erik about this)?


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: OpenPLi-py3 #556 foxbob

  • Senior Member
  • 624 posts

+18
Neutral

Posted 9 September 2022 - 03:54

I have the version from the feed installed.

Traceback (most recent call last):
  File "/usr/lib/enigma2/python/Plugins/Extensions/LCD4linux/plugin.py", line 4509, in run
    para[0](para[1],para[2],para[3])
  File "/usr/lib/enigma2/python/Plugins/Extensions/LCD4linux/plugin.py", line 11615, in putPicon
    name2=self.Lchannel_name.decode("utf-8").encode("latin-1","ignore") + ".png"
AttributeError: 'str' object has no attribute 'decode'


Re: OpenPLi-py3 #557 foxbob

  • Senior Member
  • 624 posts

+18
Neutral

Posted 9 September 2022 - 15:43

And me again

Traceback (most recent call last):
  File "/usr/lib/enigma2/python/Plugins/Extensions/LCD4linux/plugin.py", line 4509, in run
    para[0](para[1],para[2],para[3])
  File "/usr/lib/enigma2/python/Plugins/Extensions/LCD4linux/plugin.py", line 11615, in putPicon
    name2=self.Lchannel_name + ".png"
AttributeError: 'str' object has no attribute 'decode'


Re: OpenPLi-py3 #558 WanWizard

  • PLi® Core member
  • 70,219 posts

+1,798
Excellent

Posted 9 September 2022 - 16:47

The version in the feed is the old python 2 version with conversion fixes.

 

Hence my remark that it is probably better to upgrade it first, instead of converting twice ;).


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: OpenPLi-py3 #559 foxbob

  • Senior Member
  • 624 posts

+18
Neutral

Posted 9 September 2022 - 17:38

I am using this version: https://github.com/O...ns-lcd4linux.bb



Re: OpenPLi-py3 #560 Beeker

  • PLi® Contributor
  • 1,602 posts

+203
Excellent

Posted 9 September 2022 - 17:38

I found enigma2-plugin-extensions-lcd4linux_5.1-r3_arm64.deb and  enigma2-plugin-extensions-lcd4linux_5.1-r3_armhf.deb

but not python3 compatible.

 

Also plugin from OE-A won't fetch yet.

svn: E170013: Unable to connect to a repository at URL 'svn://ssl.bulix.org/svn/lcd4linux/trunk'
svn: E000111: Can't connect to host 'ssl.bulix.org': Connection refused


Edited by Beeker, 9 September 2022 - 17:40.

Dreambox dm920, Uclan Ustym4Kpro, Gigablue UHD TRIO 4K and Dreambox dm8000. Wavefrontier T55 13.0|19.2|23.5|28.2 + Ziggo.



25 user(s) are reading this topic

0 members, 25 guests, 0 anonymous users