Jump to content


Photo

[WIP] PLi-DarkOS Skin


  • Please log in to reply
2041 replies to this topic

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

  • PLi® Core member
  • 57,163 posts

+698
Excellent

Posted 9 April 2024 - 21:52

Fallback tuner was a new design (and also already years ago) while partnerbox is an old plugin with no real integration at all.

Years ago the idea was to avoid settings when they did not have a real added value and the idea was a client box always needs the remote timer as default and the design was for full client boxes without tuner. This was not true and helpfull afterwards after all these years.

Edited by littlesat, 9 April 2024 - 21:55.

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


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

  • PLi® Core member
  • 70,510 posts

+1,810
Excellent

Posted 10 April 2024 - 12:58

You've made me a very happy bunny now.


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 #1743 WanWizard

  • PLi® Core member
  • 70,510 posts

+1,810
Excellent

Posted 10 April 2024 - 17:58

Just a question: just updated, and noticed that the default value for the setting is "yes", which is normally not what we do, introducing a setting that changes the behaviour without a user choosing to do so?

 

Fine for me, but maybe unexpected for others?


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

  • PLi® Core member
  • 57,163 posts

+698
Excellent

Posted 10 April 2024 - 18:06

For you the default was indeed no as you enabled a tuner. But for most, as fallback was initially designed for client boxes without enabled tuner, yes is the default. We can of course depend the default if you have a tuner enabled yes/no as addition so users get not surprised by this change… but from the other side add a depandancy might also be obvious. So I doubted about this detail and did consider not to add it.I suggest it has low risk to keep it as it is now (but we do need to mention it in release notes). Better do not have the dependancy for the default as later when you decide to enable/disable a tuner on a client box it also flips… and actually when you enable a fallback tuner you most times want to have this as default as otherwise you usually do not enable it.

Edited by littlesat, 10 April 2024 - 18:13.

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


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

  • PLi® Core member
  • 70,510 posts

+1,810
Excellent

Posted 10 April 2024 - 18:13

I understand your reasoning, I'm just saying that after the update, the box behaves differently from before the update.  If that is justified, it's fine by me.


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

  • PLi® Core member
  • 57,163 posts

+698
Excellent

Posted 10 April 2024 - 23:26

I understand it…. But I weighted it… when I avoid it the new side effect is that when you enable/disable a tuner on the client box the behavior for the fallback timer default also changes… and I thought that was worser… and I couldn’t think about any logic to resolve this.

Edited by littlesat, 10 April 2024 - 23:26.

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


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

  • PLi® Contributor
  • 1,573 posts

+70
Good

Posted 11 April 2024 - 06:06

Yep I fully understand... and actually I like it as this example makes skinning less depended at the end on the code... And your code is soo clean most times :D

 

Now I can't wait for a merge request...

 

OK here it is https://github.com/O...igma2/pull/3951

 

Skin updated too.


Edited by DimitarCC, 11 April 2024 - 06:12.

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

  • PLi® Core member
  • 57,163 posts

+698
Excellent

Posted 11 April 2024 - 09:57

:D


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


Re: [WIP] PLi-DarkOS Skin #1749 Pr2

  • PLi® Contributor
  • 6,181 posts

+261
Excellent

Posted 11 April 2024 - 12:31

@littlesat,  you should think of people that do support for EPG question (I think to doglover), it is already complicated for people that try to add EPG to IPTV and failed due to mis-understanding. Now if the EPG came from a box with conflicting self defined service reference I guess it will be a nightmare to know where the EPG is coming from.  EPG Import, over the air (EIT, etc), self defined and now fallback tuner.

So I would have a conservative approach keep it off, and people that want to use it should enable it and so they know what they do.

 

Imagine all the mess that can happens if EPG Import is running on client box and on the server box, and client box will merge the EPG from the server box.  We have a real risk of double conflicting EPG for the same service reference.


NO SUPPORT by PM, it is a forum make your question public so everybody can benefit from the question/answer.
If you think that my answer helps you, you can press the up arrow in bottom right of the answer.

Wanna help with OpenPLi Translation? Please read our Wiki Information for translators

Sat: Hotbird 13.0E, Astra 19.2E, Eutelsat5A 5.0W
VU+ Solo 4K: 2*DVB-S2 + 2*DVB-C/T/T2 (used in DVB-C) & Duo 4K: 2*DVB-S2X + DVB-C (FBC)

AB-Com: PULSe 4K 1*DVB-S2X (+ DVB-C/T/T2)
Edision OS Mio 4K: 1*DVB-S2X + 1*DVB-C/T/T2
 


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

  • PLi® Core member
  • 70,510 posts

+1,810
Excellent

Posted 11 April 2024 - 12:37

This is in response to? I wasn't aware that this was a discussion, or even something that was desired (why)?


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 #1751 Pr2

  • PLi® Contributor
  • 6,181 posts

+261
Excellent

Posted 11 April 2024 - 12:58

It is a about the fallback tuner and EPG download, isn't it what you are discussing right now in this skin thread?


NO SUPPORT by PM, it is a forum make your question public so everybody can benefit from the question/answer.
If you think that my answer helps you, you can press the up arrow in bottom right of the answer.

Wanna help with OpenPLi Translation? Please read our Wiki Information for translators

Sat: Hotbird 13.0E, Astra 19.2E, Eutelsat5A 5.0W
VU+ Solo 4K: 2*DVB-S2 + 2*DVB-C/T/T2 (used in DVB-C) & Duo 4K: 2*DVB-S2X + DVB-C (FBC)

AB-Com: PULSe 4K 1*DVB-S2X (+ DVB-C/T/T2)
Edision OS Mio 4K: 1*DVB-S2X + 1*DVB-C/T/T2
 


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

  • PLi® Core member
  • 70,510 posts

+1,810
Excellent

Posted 11 April 2024 - 16:06

It is a about the fallback tuner and EPG download, isn't it what you are discussing right now in this skin thread?

 

I get that, but I haven't seen any discussion about merging sources?

 

( which also means I have no idea which posts this is all about, and which to split off )


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

  • PLi® Core member
  • 57,163 posts

+698
Excellent

Posted 11 April 2024 - 17:30

Please read back as the skin is updated and the enigma2 code not yet... so you've to wait for the next build to get it fixed.


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


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

  • PLi® Core member
  • 57,163 posts

+698
Excellent

Posted 12 April 2024 - 08:38

In the makefile the new addon for MainMenu was missing.... I repaired that but now when we press menu we get 

Traceback (most recent call last):
  File "/usr/lib/enigma2/python/Components/ActionMap.py", line 57, in action
    res = self.actions[action]()
  File "/usr/lib/enigma2/python/Screens/InfoBarGenerics.py", line 1061, in mainMenu
    self.session.openWithCallback(self.mainMenuClosed, MainMenu, menu)
  File "/usr/lib/enigma2/python/StartEnigma.py", line 295, in openWithCallback
    dlg = self.open(screen, *arguments, **kwargs)
  File "/usr/lib/enigma2/python/StartEnigma.py", line 308, in open
    self.execBegin()
  File "/usr/lib/enigma2/python/StartEnigma.py", line 233, in execBegin
    c.show()
  File "/usr/lib/enigma2/python/Screens/Screen.py", line 130, in show
    x()
  File "/usr/lib/enigma2/python/Components/Addons/Pager.py", line 46, in onContainerShown
    self.initPager()
  File "/usr/lib/enigma2/python/Components/Addons/Pager.py", line 199, in initPager
    l_orientation = self.getSourceOrientation()
  File "/usr/lib/enigma2/python/Components/Addons/Pager.py", line 155, in getSourceOrientation
    orig_source = self.source.master.master
AttributeError: 'NoneType' object has no attribute 'master'
[ePyObject] (CallObject(<bound method ActionMap.action of <Components.ActionMap.HelpableActionMap object at 0xae9def70>>,('InfobarMenuActions', 'mainMenu')) failed)

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


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

  • PLi® Core member
  • 57,163 posts

+698
Excellent

Posted 12 April 2024 - 08:51

When I chanded e.g. that function to the below code I get a menu, but I cannot select anything.

def getSourceOrientation(self):
 if isinstance(self.source, List):  # Components.Sources.List
  orig_source = self.source.connectedGuiElement or self.source.master.master
 else:
  orig_source = self.source
 if hasattr(orig_source, "instance") and hasattr(orig_source.instance, "getOrientation"):
  return orig_source.instance.getOrientation()
 return eListbox.orVertical

Edited by littlesat, 12 April 2024 - 08:51.

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


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

  • PLi® Contributor
  • 1,573 posts

+70
Good

Posted 12 April 2024 - 09:27

That is weird.....Are some of you using LCD4Linux plugin?


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

  • PLi® Core member
  • 57,163 posts

+698
Excellent

Posted 12 April 2024 - 10:22

Nope.... no LCD4Linux plugin.... And as I'm not deep diving into this it is also hard for me to troubleshoot.

 

I only get that I can select... but press OK or a number you go not go to the slected menu....


Edited by littlesat, 12 April 2024 - 10:23.

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


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

  • PLi® Contributor
  • 1,573 posts

+70
Good

Posted 12 April 2024 - 11:28

OK i have found the issue....

But indeed it is interesting why it works on my side....

Anyway i will prepare a fixing PR

 

P.S. here it is https://github.com/O...igma2/pull/3953

 

With that it works and menus seems to be able to be selected.


Edited by DimitarCC, 12 April 2024 - 11:41.

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

  • PLi® Core member
  • 57,163 posts

+698
Excellent

Posted 12 April 2024 - 12:14

I can confirm it is resolved...

 

E.g. on the attached screen there is still kind of lack of space.... I did not check if it is due to the max value and/or 'border margins' or so...

 

Attached File  menu.jpg   63.76KB   2 downloads

 


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


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

  • PLi® Core member
  • 57,163 posts

+698
Excellent

Posted 12 April 2024 - 12:28

maybe we just need to give the maxwidth a bit more room for this in the MainMenu addon....... maxWidth is now 700 default in the code), maybe change it to 800


Edited by littlesat, 12 April 2024 - 14:02.

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



1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users