[WIP] PLi-DarkOS Skin
Re: [WIP] PLi-DarkOS Skin #821
Posted 13 December 2023 - 08:19
Aan de rand van de afgrond is een stap voorwaarts niet altijd vooruitgang....
On the edge of the abyss, a step forward is not always progress....
Hardware: 2x Daily used Vu+ Ultimo 4K - Vu+ Duo 4K SE and a lot more.... - VisioSat BiBigsat - Jultec Unicable Multiswitch 4 positions: 19.2/23.5/28.2 East - Diseqc motorized flatdish antenna
Software : HomeBuild OpenPLi Develop and Scarthgap builds, local cards driven by OsCam
Press the button on the buttom right of this message
Have you tried our wiki yet? Many answers can be found in our OpenPLi wiki
Re: [WIP] PLi-DarkOS Skin #822
Re: [WIP] PLi-DarkOS Skin #823
Posted 13 December 2023 - 10:41
Having them in /etc/enigma2 is I think not a good idea (settings belong to there and no pictures)...
Better to let them land in a subfolder on /usr/share/enigma2/ something like the rc_models.... but then in another subfolder... e.g. box_model... (without s)... so /usr/share/enigma2/box_model
And put the skin specific in the skin and use a renderer to decide to display the box specific one when it exists...
Then we can put the box specific svgs somewhere on github. Could be a shared location as I hate forking.... So also here a structure is welcome...
Edited by littlesat, 13 December 2023 - 10:47.
WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W
Re: [WIP] PLi-DarkOS Skin #824
Posted 13 December 2023 - 10:51
They should be in /usr/share/enigma2, they are not configuration files.
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: [WIP] PLi-DarkOS Skin #825
Re: [WIP] PLi-DarkOS Skin #826
Re: [WIP] PLi-DarkOS Skin #827
Re: [WIP] PLi-DarkOS Skin #828
Posted 13 December 2023 - 12:17
I have no preference.
Where is the logic to determine which image is required? In the python code? Or in the build recipe (and only install one image file with a generic name)?
If in the code, we need to add logic to the recipe to remove all unwanted images, like we do for the WebIf.
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: [WIP] PLi-DarkOS Skin #829
Posted 13 December 2023 - 12:21
Keep in mind that images have to be svgs since png have huge quality loss when they are scaled down.
Or have to be decide the size of them but that will not give flexibility to the skinner...
Vu+DUO4KSE, DM920UHD, Vu+Uno4KSE, SF8008Mini, 2xPulse4K, Vu+Solo2, Dreambox DM500HD, Triax 78 (7E,9E,13E,19.2E,23.5E) & 2xTriax 78 (39E)
Re: [WIP] PLi-DarkOS Skin #830
Re: [WIP] PLi-DarkOS Skin #831
Re: [WIP] PLi-DarkOS Skin #832
Posted 13 December 2023 - 13:14
Where is the logic to determine which image is required? In the python code? Or in the build recipe (and only install one image file with a generic name)?
If in the code, we need to add logic to the recipe to remove all unwanted images, like we do for the WebIf.
Has to be done in the build so each box has one image for model and one for brand.
So should work pretty much the same as the rc.png image for the help screens and wizards.
Re: [WIP] PLi-DarkOS Skin #833
Posted 13 December 2023 - 13:49
Don't see that being a problem.
The only challenge will be the fact we still don't have any boxinfo, and build a 1:N between image and box model, so displaying the correct image in all cases will be complex without some runtime 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.
Re: [WIP] PLi-DarkOS Skin #834
Posted 13 December 2023 - 14:19
Don't see that being a problem.
The only challenge will be the fact we still don't have any boxinfo, and build a 1:N between image and box model, so displaying the correct image in all cases will be complex without some runtime code.
Let's not complicate things. You don't need boxinfo. If the file is in /usr/share/enigma2 it will be found on a SCOPE lookup. The file will be named the same on all boxes irrespective of model, brand, distro.
Edited by Huevos, 13 December 2023 - 14:22.
Re: [WIP] PLi-DarkOS Skin #835
Posted 13 December 2023 - 14:50
So renderer have to be in base code....-> I think always... at least never in the skin package as they can 'eat' each other when you have e.g. two skins that have the same filenames... but e.g. different code insider and/or you remove a skin and the renderer is gone.
When they get too much maybe put in a dependency package.... but this can be considered later... when it is really getting to much... and special...
Edited by littlesat, 13 December 2023 - 14:52.
WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W
Re: [WIP] PLi-DarkOS Skin #836
Posted 13 December 2023 - 15:04
Let's not complicate things. You don't need boxinfo. If the file is in /usr/share/enigma2 it will be found on a SCOPE lookup. The file will be named the same on all boxes irrespective of model, brand, distro.
You missed my point.
We build one image for lets say the Zgemma H9. So we can only include one box zvg. But Zgemma has multiple H9 models. For the WebIf, we include all images, and determine which one is displayed at runtime using box detection.
OE-A has a 1:1 between build and box, so those images don't have that problem.
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: [WIP] PLi-DarkOS Skin #837
Re: [WIP] PLi-DarkOS Skin #838
Posted 13 December 2023 - 15:46
If the about screen shows detailed model info, it is because of runtime code in systeminfo. The same happens in Owif.
My suggestion is that someone implements a compatible boxinfo as soon as possible, like yesterday...
I'm willing to cooperate with whoever does the Python side, and deal with the OE side of things ( as that will work differently from how OE-A does it ).
I was planning to do this, but I don't have the time and the energy for it. And we need to have it anyway, if we want to switch to the new WebIf.
We need runtime code in bash that can complete the boxinfo data at first boot, and can also rename the correct box model image.
Edited by WanWizard, 13 December 2023 - 15:58.
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: [WIP] PLi-DarkOS Skin #839
Posted 13 December 2023 - 15:58
Well we all also dont have much spare time... We are doing all this in the free time...
Isnt there in PLi team someone that have time to do this? We are not even members of PLi team so not expect to share much time on it
Vu+DUO4KSE, DM920UHD, Vu+Uno4KSE, SF8008Mini, 2xPulse4K, Vu+Solo2, Dreambox DM500HD, Triax 78 (7E,9E,13E,19.2E,23.5E) & 2xTriax 78 (39E)
Re: [WIP] PLi-DarkOS Skin #840
Posted 13 December 2023 - 15:59
It wasn't directed at you. Or Huevos... .
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.
20 user(s) are reading this topic
0 members, 19 guests, 0 anonymous users
-
Bing (1)