Jump to content


Beeker

Member Since 10 Jan 2009
Offline Last Active Today, 20:52
-----

#1540400 LCD4linux nightly build weer instelling

Posted by Beeker on 13 May 2023 - 17:38

Na de installatie van LCD4linux, enigma2 herstarten.




#1532107 Einde van een tijdperk

Posted by Beeker on 11 April 2023 - 09:56

PR voor aangemaak.

Na acceptatie en nieuwe build is het beschikbaar voor de develop(nightly-builds) images.

 

https://github.com/O...-core/pull/1164




#1522299 OpenPLi-py3

Posted by Beeker on 27 February 2023 - 09:47

Patch updated to write/read DNS at one line

diff --git a/lib/python/Components/Network.py b/lib/python/Components/Network.py
index 04e20e745..d65c59e24 100644
--- a/lib/python/Components/Network.py
+++ b/lib/python/Components/Network.py
@@ -90,6 +90,7 @@ class Network:
 
 	def writeNetworkConfig(self):
 		self.configuredInterfaces = []
+		self.ifaces["eth0"]["dns-nameserver"] = self.nameservers
 		fp = open('/etc/network/interfaces', 'w')
 		fp.write("# automatically generated by enigma2\n# do NOT change manually!\n\n")
 		fp.write("auto lo\n")
@@ -109,15 +110,17 @@ class Network:
 					fp.write("	netmask %d.%d.%d.%d\n" % tuple(iface['netmask']))
 					if 'gateway' in iface:
 						fp.write("	gateway %d.%d.%d.%d\n" % tuple(iface['gateway']))
+					if iface["dns-nameserver"]:
+						fp.write("	dns-nameservers")
+						for nameserver in iface["dns-nameserver"]:
+							fp.write(" %d.%d.%d.%d" % tuple(nameserver))
+						fp.write("\n")
 			if "configStrings" in iface:
 				fp.write(iface["configStrings"])
 			if iface["preup"] and "configStrings" not in iface:
 				fp.write(iface["preup"])
 			if iface["predown"] and "configStrings" not in iface:
 				fp.write(iface["predown"])
-			if iface["dns-nameserver"]:
-				for nameserver in iface["dns-nameserver"]:
-					fp.write("	dns-nameserver %d.%d.%d.%d\n" % tuple(nameserver))
 			fp.write("\n")
 		fp.close()
 		self.configuredNetworkAdapters = self.configuredInterfaces
@@ -177,13 +180,14 @@ class Network:
 				if split[0] in ("pre-down", "post-down"):
 					if "predown" in self.ifaces[currif]:
 						self.ifaces[currif]["predown"] = i
-				if split[0] == "dns-nameserver":
+				if split[0] == "dns-nameservers":
 					if "dns-nameserver" not in self.ifaces[currif]:
 						self.ifaces[currif]["dns-nameserver"] = []
-					dns_ip = self.convertIP(split[1])
-					self.ifaces[currif]["dns-nameserver"].append(dns_ip)
-					if dns_ip not in self.nameservers:
-						self.nameservers.append(dns_ip)
+					for dnsip in split[1:]:
+						dns_ip = self.convertIP(dnsip)
+						self.ifaces[currif]["dns-nameserver"].append(dns_ip)
+						if dns_ip not in self.nameservers:
+							self.nameservers.append(dns_ip)
 
 		for ifacename, iface in ifaces.items():
 			if ifacename in self.ifaces:

 




#1482188 Einde van een tijdperk

Posted by Beeker on 17 September 2022 - 15:44

Krijg bij Applicaties nog steeds deze melding.

attachicon.gifrequests.JPG

Met telnet installeren

opkg install python3-requests

Wordt met de nieuwe build ook automatisch geinstalleerd.




#1481680 OpenPLi-py3

Posted by Beeker on 15 September 2022 - 16:16

Fixed with next build.




#1476476 OpenPLi-py3

Posted by Beeker on 24 August 2022 - 18:32

@littlesat

 

Fix for skin.Review

diff --git a/usr/share/enigma2/PLi-FullNightHD/skin.xml b/usr/share/enigma2/PLi-FullNightHD/skin.xml
index 7e6d0c3..3be3f20 100644
--- a/usr/share/enigma2/PLi-FullNightHD/skin.xml
+++ b/usr/share/enigma2/PLi-FullNightHD/skin.xml
@@ -1351,8 +1351,8 @@
 	<screen name="WizardMarginsTemplate">
 		<panel position="left" size="10%,*"/>
 		<panel position="right" size="8%,*"/>
-		<panel position="top" size="8%,*"/>
-		<panel position="bottom" size="10%,*"/>
+		<panel position="top" size="*,8%"/>
+		<panel position="bottom" size="*,10%"/>
 	</screen>
 	<!-- Start Wizard -->
 	<screen name="RemoteControlTemplate">

Attached Files

  • Attached File  skin.xml   153.99KB   1 downloads



#1475716 OpenPLi-py3

Posted by Beeker on 22 August 2022 - 16:26

We can use option 'default for it'.

 

With this patch recorded files are sorted by date and subdirs alphabetically by name at default.

Other sort options are untouched.

diff --git a/lib/python/Components/MovieList.py b/lib/python/Components/MovieList.py
index 43a540313..aa80bdb9c 100644
--- a/lib/python/Components/MovieList.py
+++ b/lib/python/Components/MovieList.py
@@ -815,7 +815,7 @@ class MovieList(GUIComponent):
 	def buildGroupwiseSortkey(self, x):
 		# Sort recordings by date, sort MP3 and stuff by name
 		ref = x[0]
-		if ref.type >= eServiceReference.idUser:
+		if ref.type >= eServiceReference.idUser or ref.flags & eServiceReference.mustDescent:
 			return self.buildAlphaNumericSortKey(x)
 		else:
 			return self.buildBeginTimeSortKey(x)



#1473564 OpenPLi-py3

Posted by Beeker on 14 August 2022 - 16:52

Update dreamexplorer

https://github.com/O...commits/python3

 

Should be OK now.




#1464939 OpenPLi-py3

Posted by Beeker on 6 July 2022 - 19:12

It probably also needs a patch on glibc to introduce that version symbol.

libxcrypt has it apperently.

 

https://github.com/O...ab325db9c7523b2

 

Update triggers a rebuild to a lot of packages BTW.

 

Tested with telnet and webinterface CCcam (now working).




#1464751 OpenPLi-py3

Posted by Beeker on 5 July 2022 - 21:40

 

It should be part of the image of the 4th, but I don't know when that build run started, given the fact the previous image is from the 2nd, it should indeed be in the current image.

I installed a clean image and the problem disappeared, but I still can't boot with the CC emulator... the Osc... works without problems, thanks

 

Yes, problem for now:

root@gbtrio4k:~# CCcam
CCcam: /usr/lib/libcrypt.so.1: version `GLIBC_2.4' not found (required by CCcam)
root@gbtrio4k:~# ls -al /usr/lib/libcrypt*

Can probably be solved by rework/update of libxcrypt-compat.

on TODO list.




#1462327 OpenPLi-py3

Posted by Beeker on 25 June 2022 - 18:55

I test the Python3 version on my Mutant HD2400. There are already some plugins that I use. I want to use the plugin VCS. I can install it, but after a restart there is an error message. The '.pyc' are generated in the VCS folder. Here 2 snapshots. I hope that the plugin will be adapted to Python3 because I use VCS very often.

attachicon.gifVCS-Fehler.jpg       attachicon.gifVCS Ordner.png

Awaiting merge PR.

https://github.com/D...7187631044f611b




#1462023 OpenPLi-py3

Posted by Beeker on 23 June 2022 - 21:03

hello

 

I installed it in my box sf8008 the python 3 the problem is that i installed it epg refresh but does not appear in additives

 

Run new home-build or wait for new build OpenPLi

https://github.com/O...commits/python3




#1452876 develop: python3 transition

Posted by Beeker on 22 May 2022 - 11:52

When 8.2 is released we indeed need to consider to make py3 develop and continue…. But indeed only when py3 is functional regarding the basics…

 

TV/Radio: OK

Start/Stop recording: No problem.

Timers: OK.

 

Autotimer plugin: TODO




#1447046 Het Weer app

Posted by Beeker on 23 April 2022 - 09:20

 

Als je de plugin vanuit de feed installeert werkt alles gewoon.

En daar zit nu net het punt waar ik geen vinger op kan leggen. Als ik een nieuwe image installeer zonder backup, dus kaal en dan later de plugins wil installeren zoals hierboven beschreven. Dan werkt bij Het Weer de temperatuur niet na installatie. Dan is mijn vraag hoe kan dat?

 

 

Hier werkt temperatuur gewoon met schone installatie.

 

Weet je zeker dat er niet ergens een bestand is blijven hangen ergens of zo?

 

Je zou dit bestand kunnen proberen voor python3.

Upload naar

/usr/lib/enigma2/python/Plugins/Extensions/HetWeer/

Attached Files




#1437234 OpenPLi-py3

Posted by Beeker on 10 March 2022 - 02:28

So, in the document you linked it says this:

exec some_code in globals, locals

Should be converted to this:

exec(some_code, globals, locals)

In the commit you have this:

exec(entry['args'] in globals(), locals())

Does it work?

Yes it does.

 

I forced the condition to be true and no crash.

No problem With:

exec('from ' + module + ' import ' + screen in globals(), locals())
exec('from ' + module + ' import ' + screen, globals(), locals())
exec('from ' + module + ' import ' + screen, globals, locals)

For now option 2

exec('from ' + module + ' import ' + screen, globals(), locals())

https://github.com/D...mberZap/pull/14
 

 

Attached Thumbnails

  • 1_0_19_4BC9_832_600_FFFF0000_0_0_0_19700101010101.jpg