Jump to content


Photo

Is there a plugin to view themes ?


  • Please log in to reply
6 replies to this topic

#1 zebulon7

  • Senior Member
  • 243 posts

+3
Neutral

Posted 22 September 2022 - 16:58

Hi,

 

i would like to know if there is a plugin to view the skins before to install them ?


Vu+ Duo 4K SE / OpenPLi 8.3 / Double Tuner TNT


Re: Is there a plugin to view themes ? #2 scriptmelvin

  • Senior Member
  • 317 posts

+14
Neutral

Posted 22 September 2022 - 19:46

Why? You have this preview thing here so you can judge the look and feel, well, at least the look Attached File  skin-preview.jpg   109.76KB   3 downloads

 

Or just install the skin. Installation and GUI reboot takes almost no time. If you don't like it, remove it afterwards.


Edited by scriptmelvin, 22 September 2022 - 19:50.

Vu+ Uno 4K SE CD Triple LNB Quad Triax TDS64 OpenPLi NB 2022-09-23


Re: Is there a plugin to view themes ? #3 mimisiku

  • Senior Member
  • 4,721 posts

+91
Good

Posted 22 September 2022 - 19:58

This only applies for build-in skins.. I think he wants a preview of all possible skins… Impossible task since skins use different renderers…


Met één been in het graf..... Helaas

Re: Is there a plugin to view themes ? #4 scriptmelvin

  • Senior Member
  • 317 posts

+14
Neutral

Posted 22 September 2022 - 20:22

The preview in my screenshot isn't a complete rendered skin, it's just a pixmap (prev.png). Installable skins could show such a preview (screenshot by the skin author) in the plugin browser.

 

By the way, why doesn't OpenPLi show previews in the plugin browser? I've seen other images that do.


Edited by scriptmelvin, 22 September 2022 - 20:22.

Vu+ Uno 4K SE CD Triple LNB Quad Triax TDS64 OpenPLi NB 2022-09-23


Re: Is there a plugin to view themes ? #5 zebulon7

  • Senior Member
  • 243 posts

+3
Neutral

Posted 23 September 2022 - 08:41

This only applies for build-in skins.. I think he wants a preview of all possible skins… Impossible task since skins use different renderers…

Exactly ;)


Vu+ Duo 4K SE / OpenPLi 8.3 / Double Tuner TNT


Re: Is there a plugin to view themes ? #6 WanWizard

  • PLi® Core member
  • 63,622 posts

+1,519
Excellent

Posted 23 September 2022 - 10:03

The preview in my screenshot isn't a complete rendered skin, it's just a pixmap (prev.png). Installable skins could show such a preview (screenshot by the skin author) in the plugin browser.

 

Not every skin author has included a preview image.

 

By the way, why doesn't OpenPLi show previews in the plugin browser? I've seen other images that do.

 

Because nobody has made it?

 

Besides that, to be able to find the preview image (if it exists), and show it in the plugin list, you need to:

  • download every ipk, unpack it, check if the image exists, and pull it out of the tarball
  • or do this server side and have the plugin browser download images
  • or include the images in the base image and have them local

First two will be slow, the last one introduces unwanted bloat.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), SAB AlphaTriple HD (S2+T2), (Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will have periods of inactivity, during which I won't respond to posts or PM.

Many answers to your question can be found in our new and improved wiki.


Re: Is there a plugin to view themes ? #7 scriptmelvin

  • Senior Member
  • 317 posts

+14
Neutral

Posted 23 September 2022 - 15:42

Not every skin author has included a preview image.

All skins on the NB feed have a preview. Most (non-skin) plugins don't have one. So maybe do it for skins only?
 

Besides that, to be able to find the preview image (if it exists), and show it in the plugin list, you need to:

  • download every ipk, unpack it, check if the image exists, and pull it out of the tarball
  • or do this server side and have the plugin browser download images
  • or include the images in the base image and have them local

HDMU uses the second option, and they use jpg for smaller files.
 

First two will be slow

Not noticeable with the second option on modern internet. The images are ~15k each, and they could be downloaded lazily, and only if the selection remains on the same option for, say, 0.3 seconds.


Vu+ Uno 4K SE CD Triple LNB Quad Triax TDS64 OpenPLi NB 2022-09-23



0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users