Picon path - what is it ?
Added by Piotr Kuchciak about 10 years ago
Hello
I update to version 3.9.1612 and i see in GENERAL option is ne value: PICON PATH. What is it ? Can you explaine me ?
Replies (43)
RE: Picon path - what is it ? - Added by wet willy almost 10 years ago
Having just used HTTP icons earlier, I decided to try this new picon thing.
After building and moving the picon files, not wanting to remove every old icon entry manually I did:
sudo service tvheadend stop
cp -rp ~hts/.hts/tvheadend/channel/config ~hts/.hts/tvheadend/channel/config.bak
sed -i 's/http:*.*/",/g' ~hts/.hts/tvheadend/channel/config/*
sudo service tvheadend start
The sed line above would leave the icon line as such: "icon": "",
After restarting tvh the URL for all user icons on services changed to: file:///home/hts/picons
Does anyone have clue how the mapping of icon<->service is done? Or do I have to do it manually?
I'm using dvb-c if it matters.
Edit:
After testing manually adding the full icon URL to an service the icon shows up in the tvh webgui, but not in my tvhguide frontend on android, however http icons were visible in tvhguide.
I'm also curious on what this option does?
Prefer picons over channel name:
RE: Picon path - what is it ? - Added by Prof Yaffle almost 10 years ago
You'd normally have a set of picons that are named after the various channel/service configuration parameters - that's how they're matched. I didn't build my own picons, I searched the interwebs for a suitable set and simply downloaded them, and tvheadend handled the mapping.
Examples:
/vol0/public/Picons$ ls 1_0_1_10_1_85_C00000_0_0_0.png 1_0_1_6FF7_42A_1_C00000_0_0_0.png 1_0_1_1045_1050_233A_EEEE0000_0_0_0.png 1_0_1_6FFF_436_1_C00000_0_0_0.png 1_0_1_105_2_85_C00000_0_0_0.png 1_0_1_7001_436_1_C00000_0_0_0.png 1_0_1_106_2_85_C00000_0_0_0.png 1_0_1_7002_436_1_C00000_0_0_0.png 1_0_1_1070_7E5_2_11A0000_0_0_0.png 1_0_1_7003_436_1_C00000_0_0_0.png 1_0_1_107_2_85_C00000_0_0_0.png 1_0_1_7004_436_1_C00000_0_0_0.png 1_0_1_1076_7E5_2_11A0000_0_0_0.png 1_0_1_7031_41B_1_C00000_0_0_0.png
... you get the idea. It seems a bit arcane as to exactly how they're named, but it's a combination of frequencies, orientation/orbital position, and so on.
RE: Picon path - what is it ? - Added by wet willy almost 10 years ago
Thank you Prof Yaffle.
Giving good answers as usual
Does your picon icons show up in xbmc as well? Or in the tvhguide android client if you use that?
It would be nice to know how tvh handles/initiates the mapping, since it seem to have mapped my radio channels, which had no icons earlier. But not my tv services, even after replacing with "empty" icon url.
RE: Picon path - what is it ? - Added by Prof Yaffle almost 10 years ago
One does one's best
Icons show up in XBMC (I'm using Gotham) and tvhguide.
It might be that you need to clear out the icon cache in some way. If you have a file:/// URI (e.g. file://///path/to/icons/BBC One.png) then that's pointing to a specific icon file; if the picons are being used, you'll get something like picon://1_0_2_27FE_806_2_11A0000_0_0_0.png instead.
I think the 'prefer picons' option tells tvh to over-ride any previously-defined icons with the picon definition - otherwise, you end up with 'things I already had defined' and 'new picons where I had a blank'.
RE: Picon path - what is it ? - Added by Helder Leite almost 10 years ago
hi guys, can anybody help me out please to see if i am doing anything wrong?
i am using this:
in tvh configuration
file:///storage/picon
then i chose use picon over channel name.
then i have all picons inside: /storage/picon
for example
/storage/picon/1_0_1_132_26_36_CE40000_0_0_0.png
what am i doing wrong?
thank you in advance
(using latest openelec with tvheadend)
RE: Picon path - what is it ? - Added by Prof Yaffle almost 10 years ago
Nothing that I can immediately see. Try clearing your icon cache (Configuration -> General) and/or the 'Reset Icon' button on Configuration -> Channel/EPG -> Channels.
RE: Picon path - what is it ? - Added by Andy Pandy almost 10 years ago
Hi,
first at all I want to thank you for this great feature and work behind!
I set up everything following the howto but experiencing some things don't work.
- not all SD channels are showing up with an icon
- no HD channel Shows an Icon, but the icons are in the folder and hts has all rights to access them and the automatically mapped icon names seem to fit to the icons
- 1 icon is wrong - german channel Pro7 is showing SAT1. icon
What can I do to fix These Problems?
Best!
Andy
RE: Picon path - what is it ? - Added by Piotr Kuchciak almost 10 years ago
Data Freak can you build lates picons shd.white-black please ?
RE: Picon path - what is it ? - Added by Piotr Kuchciak over 9 years ago
Can you help me and upload build latest picons... please...
RE: Picon path - what is it ? - Added by Akos Sz over 9 years ago
Normally you need to download Enigma2 style picon set. Google shows many hits but hard to find suitable and up to date set. Neither I could find.
On the other hand Tvheadend generated picon file name is not always good. For example it is totally bad for satellites with west position. Furthermore other parts of the picon name may not match (frequency, namespace). If the generated picon name does not exactly match with the filename then no picon will be shown for that channel.
I use my Tvheadedit tool to assign picon names since it scans the picon folder and tries to find the appropriate file to exclude the above mentioned errors. If you do not have the right picon locally you can still use an URL to channel icon on the web. (It is also supported in my tool)
RE: Picon path - what is it ? - Added by jenda benda over 9 years ago
Hi there,
could you check if the picons names are generated correctly please?
We think Tvheadend still doesn't correctly calculate the namespace, sure for orbital position 0.8W or 1.0W you should take 0.8 or 1.0 multiple that by 10, and do 3600-8 or 3600-10, in the case of 0.8W you'll get 3592, converting this to hex is E08. For 1.0W it's E06.
Could you confirm please? Check/repair it please?
TVH 3.9.2524~gbd06d3c
RE: Picon path - what is it ? - Added by Datafreak - over 9 years ago
Piotr Kuchciak wrote:
Here you can find a build from 2015-02-28:Can you help me and upload build latest picons... please...
- picons-binaries-7z_2015-02-28.7z
- picons-binaries-bz2_2015-02-28.tar.bz2
- picons-binaries-ipk_2015-02-28.zip
Best Regards,
Datafreak
RE: Picon path - what is it ? - Added by jenda benda over 9 years ago
could you have a look at this link as well please?
https://github.com/picons/picons-source/blob/master/1-build-servicelist.sh#L79
RE: Picon path - what is it ? - Added by Akos Sz over 9 years ago
jenda benda wrote:
could you have a look at this link as well please?
https://github.com/picons/picons-source/blob/master/1-build-servicelist.sh#L79
I opened a case for picon name generation problems.
https://tvheadend.org/issues/2700
RE: Picon path - what is it ? - Added by Piotr Kuchciak over 9 years ago
Ok i found my icon but i dont find BBC earth, Dicsovery Life, and iPol TV
RE: Picon path - what is it ? - Added by jenda benda over 9 years ago
Akos Sz wrote:
jenda benda wrote:
could you have a look at this link as well please?
https://github.com/picons/picons-source/blob/master/1-build-servicelist.sh#L79I opened a case for picon name generation problems.
https://tvheadend.org/issues/2700
Status of the case is accepted, but I think it's not corrected, is it? According to my test it's not...
thx
j.
RE: Picon path - what is it ? - Added by Akos Sz over 9 years ago
jenda benda wrote:
Akos Sz wrote:
jenda benda wrote:
could you have a look at this link as well please?
https://github.com/picons/picons-source/blob/master/1-build-servicelist.sh#L79I opened a case for picon name generation problems.
https://tvheadend.org/issues/2700Status of the case is accepted, but I think it's not corrected, is it? According to my test it's not...
thx
j.
No, it is not yet corrected.
- « Previous
- 1
- 2
- Next »