Well if there is nothing extra in the python code how will OpenWebIf import it?
I meant besides the boxinfo class....
Posted 16 December 2023 - 16:42
Well if there is nothing extra in the python code how will OpenWebIf import it?
I meant besides the boxinfo class....
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.
Posted 16 December 2023 - 17:51
Edited by littlesat, 16 December 2023 - 17:52.
WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W
Posted 16 December 2023 - 23:22
As soon the enigma2.info file is extended with branding info and maybe more I will add the boxinfo global.
But I hope we do not need integers and floats, octal binaries and booleans because the design of the info file is not really designed for this.
What global? BoxInfo is a python class and for compatibility you are going to need everything identical.
And also WanWizard already said most of the stuff will be coming direct from the image, not enigma.info.
Posted 17 December 2023 - 11:23
Edited by littlesat, 17 December 2023 - 11:30.
WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W
Posted 17 December 2023 - 14:46
@Littlesat, "lost patience"? This debate has been going on over 12 years. First, Branding Module, PLi didn't like. Then the Proc module, PLi didn't implement. Now BoxInfo, developed and in use for several years, and PLi don't like that either.
The real truth is the problem is PLi doesn't have the data in its build environment... and doesn't even want it either... WanWizard even calls it "litter"...
So do you really expect others not to lose patience? And they are not acting alone. It is PLi that is acting alone. All the other distros are acting together.
So now PLi is stuck with the obsolete version of OpenWebIf because PLi want to go in a different direction to everyone else (or do nothing at all).
Posted 17 December 2023 - 14:49
So Dimitar has added a repo for box logos: https://github.com/D...rCC/e2-boxlogos
And in OE-A repo we have added a recipe for that: https://github.com/o...d286ea8bf9793df
Posted 17 December 2023 - 14:57
Actually boxinfo is a global the same for SystemInfo… and all system info’s are available by boxinfo as well. So somehow you also have two systems in one thing.
This is not true. You cannot overwrite the values in BoxInfo that come from the text file. In SystemInfo it is a dict that can be written to from anywhere. So bad code in a plugin can affect values everywhere throughout enigma in the case of SystemInfo, but no so with BoxInfo (nor Branding Module).
Edited by Huevos, 17 December 2023 - 14:58.
Posted 17 December 2023 - 15:13
Edited by littlesat, 17 December 2023 - 15:17.
WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W
Posted 17 December 2023 - 15:14
The real truth is the problem is PLi doesn't have the data in its build environment... and doesn't even want it either... WanWizard even calls it "litter"...
No, I wrote "littered around in OE".
But all not every relevant, I promised I would take care of generating the complete enigma.info, sometime this week, and I will.
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.
Posted 17 December 2023 - 15:15
It is still a global… but it is the way it is done.
Everything but the kitchen sink is global in E2, so if that is an issue, a major rewrite is long overdue...
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.
Posted 17 December 2023 - 15:19
Edited by littlesat, 17 December 2023 - 15:21.
WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W
Posted 17 December 2023 - 15:21
Maybe, but at the moment it is what it is, and it works. So lets not try to find new arguments to justify not implementing it again, it has taken long enough, simply to avoid a few lines of python code.
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.
Posted 17 December 2023 - 15:25
WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W
Posted 17 December 2023 - 16:07
Can someone send me a complete enigma.info file as an example? I'm on holiday and don't have access to a non-openpli box at the moment.
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.
Posted 17 December 2023 - 16:15
Can someone send me a complete enigma.info file as an example? I'm on holiday and don't have access to a non-openpli box at the moment.
My one from OE-A looks like this.
architecture=cortexa15hf-neon-vfpv4 avjack=False blindscanbinary=blindscan brand=vuplus ci=True compiledate='20231217' dboxlcd=False developername=openvix displaybrand=Vu+ displaydistro=OpenViX displaymodel=Ultimo4K displaytype=colorlcd800 distro=openvix driversdate='20190424' dvi=False feedsurl=http://openvixdev.satellites-xml.org/feeds/openvix/developer/6.4/vuultimo4k fhdskin=True forcemode=no fpu=hard friendlyfamily=vuultimo4k hdmi=True hdmifhdin=True hdmihdin=False hdmistandbymode=0 imagebuild='010' imagedevbuild='019' imagedir=vuplus/ultimo4k imagefs=tar.bz2 imagetype=developer imageversion='6.4' imglanguage=multilang imgrevision='010' imgversion='6.4' kernel='3.14.28-1.12' kexecmb=True kernelfile=kernel_auto.bin machinebuild=vuultimo4k mediaservice=servicegstreamer middleflash=False mkubifs=-m 2048 -e 126976 -c model=vuultimo4k mtdbootfs= mtdkernel=mmcblk0p1 mtdrootfs=mmcblk0p4 multilib=False multitranscoding=False oe=OE-Alliance 5.3 platform=vuultimo4k python='3.11' rca=False rcidnum=2 rcname=vu2 rctype=0 rootfile=rootfs.tar.bz2 scart=False noscartswitch= scartyuv=False smallflash=False socfamily='bcm7376' svideo=False timerwakeupmode=0 transcoding=True ubinize=-m 2048 -p 128KiB vfdsymbol=False wol=True wwol=True yuv=False checksum=b24743748d2c4b3bfaade400afb0e5aa
Note: things like python version are wrapped with quotes so they parse as strings. e.g. 3.10 becomes "3.10" in the enigma.info file. Otherwise it will parse as "3.1". Anyway anything that could be understood as numeric, but that is not needs to wrapped in quotes.
Edited by Huevos, 17 December 2023 - 16:16.
Posted 17 December 2023 - 16:21
Also note, things like "distro=openvix" and "model=vuultimo4k" should be uniform across all distros (except where model names don't match) because they are used if conditionals, but other things like displaydistro and displaymodel don't matter because they are only used in the GUI output, lot for code logic.
Edited by Huevos, 17 December 2023 - 16:21.
Posted 17 December 2023 - 16:25
A lot of them we do on runtime do we really need them in this info file?
I will remove them at runtime, that is the purpose of this exercise.
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.
Posted 17 December 2023 - 16:29
For items that need a specific value, is there documentation available of what those should be? Fields like "brand", "displaytype", "rcidnum", "timerwakeupmode", etc?
And what about data we don't have, like "imagedevbuild", "imgrevision"?
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.
0 members, 6 guests, 0 anonymous users