Jump to content


Beeker

Member Since 10 Jan 2009
Offline Last Active Yesterday, 22:36
-----

#1655951 LCD4linux - cannot change settings with button "Right"

Posted by Beeker on 7 December 2024 - 15:54

Fix for now (might break other things).

diff --git a/lcd4linux/src/plugin.py b/lcd4linux/src/plugin.py
index be7dc49..743ded2 100644
--- a/lcd4linux/src/plugin.py
+++ b/lcd4linux/src/plugin.py
@@ -5495,7 +5495,7 @@ class LCDdisplayConfig(ConfigListScreen, Screen):
                        "menu": self.SetupMenu,
                        "displayHelp": self.Exchange,
                        "ok": self.keyOK,
-                       "seekFwd": self.NextScreenKey,
+                       "keyRight": self.NextScreenKey,
                        "info": self.ResetInfos
                }, -1)
                self.mode = _("On")

Upload file to

/usr/lib/enigma2/python/Plugins/Extensions/LCD4linux/

And restart enigma2.

Delete file after restart.

 

Attached Files




#1637377 LCD4linux patch

Posted by Beeker on 13 August 2024 - 12:32

Version 17 seems to be working and in my opinion everything is fine with it although I don’t have all the picons configured not yet, but it seems to be working

But only on the 17 version I can’t connect to the plugin lcd4linux via OpenWebif to take a screenshot writed Processing Failed, this needs to be fixed

Openwebif is working

Attached Thumbnails

  • screenshot.png



#1637361 LCD4linux patch

Posted by Beeker on 13 August 2024 - 12:09

Sorry I don't know much about this, but maybe we should come to a single consensus and make it work on all images without any different codes.

It can now to use  the same code base(almost), now we have BoxInfo.




#1637033 LCD4linux patch

Posted by Beeker on 11 August 2024 - 09:09

 

good afternoon dear developers!
 
as of today the latest version of the plugin is v5.0-r22 and the OpenPLi feed is v5.0-r15. Can you please update this plugin?

 

PR created.

https://github.com/O...-plugins/pull/1




#1628617 kernel version info

Posted by Beeker on 25 June 2024 - 09:51

From my experience this happens when you flash the image directly after a build from scratch(build dir deleted).

So I have to re-run the build before flash.

 

With DEPENDS = "virtual/kernel", enigma-info waits until do_install() kernel is ready.

It seems that's  too soon.

 

STAGING_KERNEL_DIR does exist quit early in the build.

${PKGDATA_DIR}/kernel-depmod/kernel-abiversion is created by kernel.bbclass

emit_depmod_pkgdata() {
	# Stash data for depmod
	install -d ${PKGDESTWORK}/${KERNEL_PACKAGE_NAME}-depmod/
	echo "${KERNEL_VERSION}" > ${PKGDESTWORK}/${KERNEL_PACKAGE_NAME}-depmod/${KERNEL_PACKAGE_NAME}-abiversion
	cp ${B}/System.map ${PKGDESTWORK}/${KERNEL_PACKAGE_NAME}-depmod/System.map-${KERNEL_VERSION}
}

PACKAGEFUNCS += "emit_depmod_pkgdata"

emit_depmod_pkgdata() will be executed in package.bbclass

   for f in (d.getVar('PACKAGEFUNCS') or '').split():
        bb.build.exec_func(f, d)

    oe.qa.exit_if_errors(d)

So I try this patch now.

diff --git a/meta-openpli/recipes-openpli/enigma2/enigma-info.bb b/meta-openpli/recipes-openpli/enigma2/enigma-info.bb
index d15422fa..f9eab9ef 100644
--- a/meta-openpli/recipes-openpli/enigma2/enigma-info.bb
+++ b/meta-openpli/recipes-openpli/enigma2/enigma-info.bb
@@ -3,7 +3,7 @@ SUMMARY = "enigma.info used by BoxInfo"
 PRIORITY = "required"
 MAINTAINER = "OpenPLi team"
 
-DEPENDS = "virtual/kernel"
+do_install[depends] += "virtual/kernel:do_rm_work"
 
 require conf/license/openpli-gplv2.inc
 

enigma-info waits until the kernel has been built completely then.




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