Jump to content


Photo

How to use picons

picons

  • Please log in to reply
36 replies to this topic

Re: How to use picons #21 Abu Baniaz

  • PLi® Contributor
  • 2,528 posts

+64
Good

Posted 18 September 2022 - 02:39

Got the script to work. You have only a few left to sort out.

 

Attached Files



Re: How to use picons #22 nick61

  • Senior Member
  • 27 posts

0
Neutral

Posted 18 September 2022 - 07:10

Hi, sorry for late reply, it was a little bit too late for me (gmt+3)

 

Ok, you were right, I do have picons on most channels with snp now.

 

I do not understand why it did not work from the very beginning, as I think I've installed a snp plugin as the first step, only the dimension was different (100x60) and it was also the "delta.dark-on-white" picon plugin.

 

Yes there are some picons missing but I'm ok with that.

 

Thank you very much for your attention, now I'm on the next step, trying to make EPGexport plugin to "publish" these picons for Plex.

 

I did not succeed until now as you could see in the screencaps below:

 

EPGexport settings (the IP in the image is the IP of my VU box):

https://pasteboard.co/zr7W96wLJKOy.jpg

 

Plex screen with missing picons (it seems that EPGexport does not find the picons on the VU):

https://pasteboard.co/VQ4JnyhFQ0hY.png

 

Plex channels with picons with xteve between my box and plex server (VU+ -> xteve -> plex instead VU+ -> plex)

https://pasteboard.co/sSPiH6ovjPzd.png



Re: How to use picons #23 s3n0

  • Senior Member
  • 673 posts

+62
Good

Posted 18 September 2022 - 09:35

Here is the lame file (I don't see any option to add files here):

 

https://wetransfer.c...17204529/0013a4

If you want, you can also use SRC (Service Referenc Code). You have to find the SRCs and then modify the names of the ".png" files according to them. It is simple. You only need to change the character ":" from the code (Service Reference Code) to the character "_" in the file name, because the colon is unacceptable character in the names of files and folders. You can find the SRCs, for example, in Enigma2 OpenWebif (as a URL link, if you move your mouse over the link to the channel) or in the files "/etc/enigma2/userbouquet.*.tv"

This is exactly what I've tried to do (3 messages above :) but obviously I did something wrong.

 

I have logos in the proper format for my channels but I did not succeed to link them with channels until now.

 


If you start your receiver in console/debug mode, you will be able to see which picon directory is being used and what it is trying to use and where it fails. I would expect for you to have at least a few picons showing if you installed the SNPicon and enabled the show picons in service list option.

I don't know how exactly to do it.

 

Thank you guys,

 

Hi.

 

Picons are assigned by the Enigma2 algorithm itself (rendered in the channel list) or also by the SKIN algorithm (rendered in the lower InfoBar on the screen, when switching channels).

 

The algorithm for assigning ".png" files (picons) to channels decides what the correct ".png" file name should be used - depending on the channel name. It can be googled somewhere on the internet. I don't remember exactly what this algorithm (procedure) is for trimming the channel name to a file name.

 

However, if you only use SRC (Service Reference Code) as file names for picons, that's easy. As I already wrote, you can find the SRCs in the OpenWebif (the Enigma2 web-interface, which you connect to via a web-browser) and there, in the channel list, when you move the mouse over individual channels, you will see these SRCs. You can also download your entire list (.M3U) in OpenWebif by clicking the "display" (LCD monitor) icon in the title of a channel list.

 

Of course, the easiest way is to download a ready-made package with picons, if it is located on the feed server of your Enigma2 (on the OpenPLi server). The problem is that you can't always find the picons you need. So far, Enigma2 is always used exclusively for satellite TV and only occasionally for cable or terrestrial TV. But times are changing. More and more, Linux set-top boxes with Enigma2 are being used, also for cable, terrestrial and even for IPTV. I personally use a set-top box with Enigma2 also for IPTV, and I added the picones myself.

 

BTW, I am also the author of the plugin for updating Chocholousek's picons (https://github.com/s...cholousekPicons). But your cable-TV probably won't be there (I mean picons, of course). Chocholousek is a picon designer for a large number of satellites in Europe (https://picon.cz/forum/). And with this plugin, you can update the picons.


Edited by s3n0, 18 September 2022 - 09:39.


Re: How to use picons #24 nick61

  • Senior Member
  • 27 posts

0
Neutral

Posted 18 September 2022 - 11:34

 

Here is the lame file (I don't see any option to add files here):

 

https://wetransfer.c...17204529/0013a4

If you want, you can also use SRC (Service Referenc Code). You have to find the SRCs and then modify the names of the ".png" files according to them. It is simple. You only need to change the character ":" from the code (Service Reference Code) to the character "_" in the file name, because the colon is unacceptable character in the names of files and folders. You can find the SRCs, for example, in Enigma2 OpenWebif (as a URL link, if you move your mouse over the link to the channel) or in the files "/etc/enigma2/userbouquet.*.tv"

This is exactly what I've tried to do (3 messages above :) but obviously I did something wrong.

 

I have logos in the proper format for my channels but I did not succeed to link them with channels until now.

 


If you start your receiver in console/debug mode, you will be able to see which picon directory is being used and what it is trying to use and where it fails. I would expect for you to have at least a few picons showing if you installed the SNPicon and enabled the show picons in service list option.

I don't know how exactly to do it.

 

Thank you guys,

 

Hi.

 

Picons are assigned by the Enigma2 algorithm itself (rendered in the channel list) or also by the SKIN algorithm (rendered in the lower InfoBar on the screen, when switching channels).

 

The algorithm for assigning ".png" files (picons) to channels decides what the correct ".png" file name should be used - depending on the channel name. It can be googled somewhere on the internet. I don't remember exactly what this algorithm (procedure) is for trimming the channel name to a file name.

 

However, if you only use SRC (Service Reference Code) as file names for picons, that's easy. As I already wrote, you can find the SRCs in the OpenWebif (the Enigma2 web-interface, which you connect to via a web-browser) and there, in the channel list, when you move the mouse over individual channels, you will see these SRCs. You can also download your entire list (.M3U) in OpenWebif by clicking the "display" (LCD monitor) icon in the title of a channel list.

 

Of course, the easiest way is to download a ready-made package with picons, if it is located on the feed server of your Enigma2 (on the OpenPLi server). The problem is that you can't always find the picons you need. So far, Enigma2 is always used exclusively for satellite TV and only occasionally for cable or terrestrial TV. But times are changing. More and more, Linux set-top boxes with Enigma2 are being used, also for cable, terrestrial and even for IPTV. I personally use a set-top box with Enigma2 also for IPTV, and I added the picones myself.

 

BTW, I am also the author of the plugin for updating Chocholousek's picons (https://github.com/s...cholousekPicons). But your cable-TV probably won't be there (I mean picons, of course). Chocholousek is a picon designer for a large number of satellites in Europe (https://picon.cz/forum/). And with this plugin, you can update the picons.

 

I'll check that plugin, thank you, in the meantime I've solved the picons problem, at least partially (most of the picons are ok).

 

 

Hi, sorry for late reply, it was a little bit too late for me (gmt+3)

 

Ok, you were right, I do have picons on most channels with snp now.

 

I do not understand why it did not work from the very beginning, as I think I've installed a snp plugin as the first step, only the dimension was different (100x60) and it was also the "delta.dark-on-white" picon plugin.

 

Yes there are some picons missing but I'm ok with that.

 

Thank you very much for your attention, now I'm on the next step, trying to make EPGexport plugin to "publish" these picons for Plex.

 

I did not succeed until now as you could see in the screencaps below:

 

EPGexport settings (the IP in the image is the IP of my VU box):

https://pasteboard.co/zr7W96wLJKOy.jpg

 

Plex screen with missing picons (it seems that EPGexport does not find the picons on the VU):

https://pasteboard.co/VQ4JnyhFQ0hY.png

 

Plex channels with picons with xteve between my box and plex server (VU+ -> xteve -> plex instead VU+ -> plex)

https://pasteboard.co/sSPiH6ovjPzd.png

Does anyone have any ideea how to trick EPGexport to see the existing picons? (maybe a symlink ?)

 

Thank you,



Re: How to use picons #25 Abu Baniaz

  • PLi® Contributor
  • 2,528 posts

+64
Good

Posted 18 September 2022 - 16:20

I don't use the plugins you have mentioned nor plex. You have manually set the picons. Did you use SRP names or SNP names?  Reason for asking is that those plugins maybe using their own picon renderer and not using the SNP names.



Re: How to use picons #26 nick61

  • Senior Member
  • 27 posts

0
Neutral

Posted 18 September 2022 - 17:12

I think I didn't use picons "manually", I've simply installed one of the snp picons plugins...

Thank you,

Re: How to use picons #27 Abu Baniaz

  • PLi® Contributor
  • 2,528 posts

+64
Good

Posted 18 September 2022 - 19:54

Please explain what you mean by "Picons in Plex, set manually in xteve" in your screenshot. Once we understand what the manual change you made, we can perhaps go forward.

 

If the plugin/setup you are using does not work with SNPs, you can test by setting up symlinks in the picon folder. Just add a couple of links SRP linked to SNP. Details of getting service reference have been posted above already.



Re: How to use picons #28 nick61

  • Senior Member
  • 27 posts

0
Neutral

Posted 19 September 2022 - 11:04

Your question guided me somehow (thank you Abu Baniaz) and I think I have found the problem.

First, to answer your question, this is the xml (part of it) that xteve sends to plex, as the EPG info (with picons included, picons taken from external source)

-----------

<?xml version="1.0" encoding="UTF-8"?>
<tv generator-info-name="xTeVe" source-info-name="xTeVe - 2.2.0">
      <channel id="1145">
          <display-name>Comedy Central</display-name>
          <icon src="https://static.****.ro/img/tv/stations_logo/40/comedy-central.jpg"/>
      </channel>
      <channel id="1059">
          <display-name>AXN HD</display-name>
          <icon src="https://static.****.ro/img/tv/stations_logo/40/axn-hd.jpg"/>
      </channel>

-----------------

Now this is what I have found:

The picons list in OpenPLI/Enigma is available at http://box-IP/picon/ and EPGExport plugin "knows" to get the corresponding picon from there BUT, EPGExport does not authorize the connection to http://box-IP/picon/ (there is no option to insert user/password) so I had to force somehow the connection to http://root:password@box-IP/picon/

This is how EPGExport sends EPG info:

-------
<?xml version="1.0" encoding="UTF-8"?>
<tv generator-info-name="EPG Export Plugin © gutemine 2019" generator-info-url="https://sourceforge....cts/gutemine/">
  <channel id="TVR INFO HD">
    <display-name lang="en">TVR INFO HD</display-name>
    <icon src="http://192.168.100.1...n/tvrinfohd.png" />
  </channel>
  <channel id="EURONEWS ROMANIA">
    <display-name lang="en">EURONEWS ROMANIA</display-name>
  </channel>
  <channel id="JimJam">
    <display-name lang="en">JimJam</display-name>
    <icon src="http://192.168.100.1...icon/jimjam.png" />
  </channel>
------------

And here is what I've obtained after I have modified settings:

------------
<?xml version="1.0" encoding="UTF-8"?>
<tv generator-info-name="EPG Export Plugin © gutemine 2019" generator-info-url="https://sourceforge....cts/gutemine/">
  <channel id="TVR INFO HD">
    <display-name lang="en">TVR INFO HD</display-name>
    <icon src="http://root:password...n/tvrinfohd.png" />
  </channel>
  <channel id="EURONEWS ROMANIA">
    <display-name lang="en">EURONEWS ROMANIA</display-name>
  </channel>
  <channel id="JimJam">
    <display-name lang="en">JimJam</display-name>
    <icon src="http://root:password...icon/jimjam.png" />
  </channel>
  ------------
 
  Now it works, I get picons in Plex and other IPTV players, getting EPG directly from my VU box.
 
  Now I'm looking how to fulfill all the missing picons (I don't know yet how to do it).
 
  Thank you very much Abu Baniaz!
 



Re: How to use picons #29 Abu Baniaz

  • PLi® Contributor
  • 2,528 posts

+64
Good

Posted 19 September 2022 - 12:57

Have a look at the picon repository (website) that I linked to earlier and check if the logos are present there or not. If they are present, we just need to add the link and the picons will be created on next run.

If the channel logos are not present, try and find them and we can add them. You may be able to find them from other websites. Svg files are better.

Edited by Abu Baniaz, 19 September 2022 - 13:09.


Re: How to use picons #30 Dream1975

  • Senior Member
  • 1,634 posts

+14
Neutral

Posted 27 September 2022 - 07:21

Would it be possible to have the picons changes also in the commit overview screen? I use this screen a lot to see what is changed.

Attached Files


Edited by Dream1975, 27 September 2022 - 07:22.

Mutant HD2400, OpenPLi nightly, 2x DVB-C & 2x DVB-S

Mutant HD51, OpenPLi nightly, 1x DVB-C & 1x DVB-S

Wavefrontier T55 (Astra 1,2,3 en HB)

Smartcards Ziggo (Irdeto) and CDS (Seca) on Oscam

 


Re: How to use picons #31 WanWizard

  • PLi® Core member
  • 70,891 posts

+1,833
Excellent

Posted 27 September 2022 - 12:24

That might be a challenge, because there are about 15 repositories we use picons from (which is the main reason they are not there).

 

We build picons every morning at 5:00 GMT, so if there are updates, a software update will tell you.


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: How to use picons #32 Dream1975

  • Senior Member
  • 1,634 posts

+14
Neutral

Posted 27 September 2022 - 12:32

That might be a challenge, because there are about 15 repositories we use picons from (which is the main reason they are not there).

 

We build picons every morning at 5:00 GMT, so if there are updates, a software update will tell you.

 

Clear, thank you for your answer, I was hoping there might be one repository that could be shown easily. But as this is not the case, never mind and I'll indeed see it when updating.


Mutant HD2400, OpenPLi nightly, 2x DVB-C & 2x DVB-S

Mutant HD51, OpenPLi nightly, 1x DVB-C & 1x DVB-S

Wavefrontier T55 (Astra 1,2,3 en HB)

Smartcards Ziggo (Irdeto) and CDS (Seca) on Oscam

 


Re: How to use picons #33 GT8k

  • Senior Member
  • 139 posts

+2
Neutral

Posted 24 February 2024 - 18:35


The default directory path for picons on every Enigma2, is usually this one: "/usr/share/enigma2/picon/"

On Pli-9 what's the path?? Some picons from feed don't match I would like to rename them.



Re: How to use picons #34 WanWizard

  • PLi® Core member
  • 70,891 posts

+1,833
Excellent

Posted 24 February 2024 - 18:50

On OpenPLI, that path is NEVER used, not in any version.

 

Picons are installed in "/picon" of the mountpoint you decide to install them on (so could be /media/hdd/picon or /media/hdd/picon too).


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: How to use picons #35 Isaac

  • Senior Member
  • 33 posts

0
Neutral

Posted 26 February 2024 - 21:46

Really? I came from another image (which used "/usr/share/enigma2/picon/") so I put all my picons again into that folder.
I think after that the picons still were not there in enima2 channel list or info screen - so I've installed a picon package from the feed. After that picons were there but I removed that picons package a few minutes after installation. And now openpli uses all my picons from "/usr/share/enigma2/picon/" folder. 

 

That's what I think ;) (I don't have a /media/hdd/picon folder and also no usb stick plugged in)


Edited by Isaac, 26 February 2024 - 21:48.

* Octagon SF8008 (Develop Build)


Re: How to use picons #36 Abu Baniaz

  • PLi® Contributor
  • 2,528 posts

+64
Good

Posted 26 February 2024 - 23:12

If you look at picon.py, the locations searched are listed. The PLi version includes the /usr/share/enigma2/picon location too.

The picon packages you will find generally install to the picon folder on root of internal flash memory or storage device.

Re: How to use picons #37 WanWizard

  • PLi® Core member
  • 70,891 posts

+1,833
Excellent

Posted 27 February 2024 - 12:20

Yes, we had to add this location because of third-party ipk's installing in this location hardcoded (OpenPLi give you a choice of locations when installing picons).

 

The search for a location stops at the first hit, so if a /picon exists, it will never get to picons further down the search list. This is why installing them in multiple locations doesn't work.


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.




Also tagged with one or more of these keywords: picons

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users