Jump to content


Photo

[WIP] PLi-DarkOS Skin


  • Please log in to reply
2057 replies to this topic

Re: [WIP] PLi-DarkOS Skin #941 DimitarCC

  • PLi® Contributor
  • 1,583 posts

+71
Good

Posted 21 December 2023 - 12:50

I'm personally still of the opinion that skin related files and skin related code should be part of the skin and not of the base image, but appearently I am alone in that.

 

Now it is not in the core files, but in a dependency package.


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 #942 DimitarCC

  • PLi® Contributor
  • 1,583 posts

+71
Good

Posted 21 December 2023 - 12:55

for the recipe use that example from OE-A

 

https://github.com/o...ma2-boxlogos.bb

 

Maybe have to be adapted for PLi


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 #943 Tech

  • Forum Moderator
    PLi® Core member
  • 14,944 posts

+488
Excellent

Posted 21 December 2023 - 12:55

As a dependency it is also okay, the package is only included when you install the skin, but I share Wanwizard's opinion that it belongs to the skin unless there is some common ground and the logos can also be used for other plugins..


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 Geplaatste afbeelding 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 #944 Tech

  • Forum Moderator
    PLi® Core member
  • 14,944 posts

+488
Excellent

Posted 21 December 2023 - 12:57

for the recipe use that example from OE-A

 

https://github.com/o...ma2-boxlogos.bb

 

Maybe have to be adapted for PLi

In that recipe the images are placed in the enigma2 folder while it does not really have anything to do with enigma2, it is really skin related..


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 Geplaatste afbeelding 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 #945 littlesat

  • PLi® Core member
  • 57,384 posts

+708
Excellent

Posted 21 December 2023 - 12:59


I'm personally still of the opinion that skin related files and skin related code should be part of the skin and not of the base image, but appearently I am alone in that.

Maybe you miss understood. But having renderers and converters for each separate skin is not done. What of they have the same file name....? Then skins could start a 'war'. Install one skin and the other will not work is what is promoted here.

Actually when a skin needs extra features it needs to be supported.

 

I always have the meaning that skins should only use xml code and just as exception have some (python) code inside the xml that can post or pre process something (like we do for the notification box).

 

Boxlogo.py here has common ground perspective... any skin can use it... then not every skin that can use needs to add the code with the same name or a slightly different name.


WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: [WIP] PLi-DarkOS Skin #946 littlesat

  • PLi® Core member
  • 57,384 posts

+708
Excellent

Posted 21 December 2023 - 13:01


In that recipe the images are placed in the enigma2 folder while it does not really have anything to do with enigma2, it is really skin related..

 

I do not see it as skin related. Other skins may also use it (in future). Maybe that is also why I hate those specific skin's renderers and converters... Beside they can have a war with eachother. I remember in the past skins did add the skin name with underscore and then the name of renderer or converter, but then skins came with same name so they had a war on boxes again... I hope this 'red flag' regarding skin specific renderers and converters is clear for now.

 

But the location of the files are indeed not optimal. I suggest a better to let it landed on the box in /usr/share/enigma2/boxlogos or so.... that is the location where enigma2 usually stored these kind of things.


Edited by littlesat, 21 December 2023 - 13:11.

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: [WIP] PLi-DarkOS Skin #947 DimitarCC

  • PLi® Contributor
  • 1,583 posts

+71
Good

Posted 21 December 2023 - 14:03

Currently logos are stored in /usr/share/enigma2....

Generally its not an issue to be in subfolder too. that can be extended later.


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 #948 littlesat

  • PLi® Core member
  • 57,384 posts

+708
Excellent

Posted 21 December 2023 - 14:17

We do have the black.mvi and radio.mvi in that 'root' folder... but no pictures (png, jpg, svg) in that root... that is why I prefer a subfolder there. The same as done with rc_models, which point me to this was a good weighted location.

 

Take you time....


Edited by littlesat, 21 December 2023 - 14:18.

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: [WIP] PLi-DarkOS Skin #949 cobus

  • Senior Member
  • 4,775 posts

+69
Good

Posted 21 December 2023 - 14:44

Yesterday the decoder (Multibox) have a green screen with this skin. the VU Uno 4K SE don't.


Groetjes Cobus R

 

VU+ UNO 4K SE FBC DVB-C (8x)

MUTANT HD66SE FBC DVB-C (3x)

MAXYTEC MULTIBOX COMBO

MUTANT HD60 DVB-S

 

 

Ziggo (digitaal) Kabel TV (FTV) op alle decoders met oa fallback tuner

 


Re: [WIP] PLi-DarkOS Skin #950 DimitarCC

  • PLi® Contributor
  • 1,583 posts

+71
Good

Posted 21 December 2023 - 14:49

its WIP and currently there are a lot of changes going under the hood.


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 #951 littlesat

  • PLi® Core member
  • 57,384 posts

+708
Excellent

Posted 21 December 2023 - 14:57


Yesterday the decoder (Multibox) have a green screen with this skin. the VU Uno 4K SE don't.

 

This is known... sorry for that... the work-a-round is remove the skin 'row' in /etc/enigma2/settings with help from putty and vi or so... and temporary use the old standard skin and wait... DimitarCC could also put the replacement here for the renderer that gives the GSOD.


Edited by littlesat, 21 December 2023 - 14:58.

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: [WIP] PLi-DarkOS Skin #952 DimitarCC

  • PLi® Contributor
  • 1,583 posts

+71
Good

Posted 21 December 2023 - 15:07

Well since the renderer now dont exists anymore you can download it from here https://forums.openp...dpost&p=1591828

 

Or just delete it till the update and under the hood changes are done.


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 #953 DimitarCC

  • PLi® Contributor
  • 1,583 posts

+71
Good

Posted 21 December 2023 - 15:21

So meanwhile i have changed the renderer to search the logos in /usr/share/enigma2/logos. I have named the subfolder simply "logos" since there are not only "box" logs but brand and distro logo. So i think "logos" is better name for 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 #954 littlesat

  • PLi® Core member
  • 57,384 posts

+708
Excellent

Posted 21 December 2023 - 15:23

I agree this is a good weighted folder name... At least there is an idea, disclaimer and argument behind it.


Edited by littlesat, 21 December 2023 - 15:24.

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: [WIP] PLi-DarkOS Skin #955 WanWizard

  • PLi® Core member
  • 70,762 posts

+1,830
Excellent

Posted 21 December 2023 - 17:11

Maybe you miss understood. But having renderers and converters for each separate skin is not done. What of they have the same file name....? Then skins could start a 'war'. Install one skin and the other will not work is what is promoted here.

 

If non-active skins have active code, then the skin system design is all wrong. I see this kind of argument a lot, something isn't possible because "that is not how it works", without asking yourself if the design should be changed.


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 #956 littlesat

  • PLi® Core member
  • 57,384 posts

+708
Excellent

Posted 21 December 2023 - 17:40


If non-active skins have active code, then the skin system design is all wrong. 

 

Here you have the point the design is so wrong....  but we all know it.

 

But as it is designed now you have renderers and converters etc. in the enigma2 python code. Skins should not put their own stuff there in the same directly as this creates a kind of war in those folders. It can even overwrite standard code. Here I can only draw red flags...

 

But there is nothing in the design to put them decently elsewhere..

 

So I think when a skin need a feature then we have two choices... make a redesign so skins can add imbedded renderers and converters... or we add a helpful converter that also other skins can share...


Edited by littlesat, 21 December 2023 - 17:44.

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: [WIP] PLi-DarkOS Skin #957 WanWizard

  • PLi® Core member
  • 70,762 posts

+1,830
Excellent

Posted 21 December 2023 - 18:01

So we're back to "we don't fix anything that is wrong, we just pile more shit on top"...


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 #958 littlesat

  • PLi® Core member
  • 57,384 posts

+708
Excellent

Posted 21 December 2023 - 18:43

I only try to avoid more shit on the shit... At least I think this is a good beginning...

 

The whole skin stuff in enigma2 is a nightmare... We improved it a lot over more than a decennia... but the real fix is a complete re-design... and you're aware if it... I thought we all agreed that poking around in enigma2 standard code should be avoided... and dumping renderers and converters by skins in the enigma directories with even a risk overwriting standard code was something we should avoid.... and that is exactly why I try to avoid this here.


Edited by littlesat, 21 December 2023 - 18:57.

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: [WIP] PLi-DarkOS Skin #959 Huevos

  • PLi® Contributor
  • 4,747 posts

+167
Excellent

Posted 21 December 2023 - 19:22

So how are you going to manage to install 2 packages with the same filenames? OPKG is not going to allow that. Or are you talking about people not using OPKG? If so let them sort their own mess out.



Re: [WIP] PLi-DarkOS Skin #960 Huevos

  • PLi® Contributor
  • 4,747 posts

+167
Excellent

Posted 21 December 2023 - 19:29

 

Maybe you miss understood. But having renderers and converters for each separate skin is not done. What of they have the same file name....? Then skins could start a 'war'. Install one skin and the other will not work is what is promoted here.

 

If non-active skins have active code, then the skin system design is all wrong. I see this kind of argument a lot, something isn't possible because "that is not how it works", without asking yourself if the design should be changed.

 

Skins don't have code except in the xml file. We are talking about py files that are packaged with the skin because they are missing in the image. Surely you can't be suggesting hiding python code based on what skin is running.


Edited by Huevos, 21 December 2023 - 19:34.



2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users