Forums » Tutorial and setups »
TVH loads wrong logos
Added by Matej Munih almost 4 years ago
Hello,
I am facing huge and incomprehensible problem with channel/picons association
Under Channels menu, besides the name and number of every channel, I specify the path to its relative picon
file:///home/hts/picons/Rai1.png
file:///home/hts/picons/Rai2.png
file:///home/hts/picons/Rai3.png
file:///home/hts/picons/Rai4.png
file:///home/hts/picons/Rai5.png
file:///home/hts/picons/RaiMovie.png
file:///home/hts/picons/LA7.png
file:///home/hts/picons/TV8.png
file:///home/hts/picons/Nove.png
file:///home/hts/picons/Slo1.png
file:///home/hts/picons/Slo2.png
file:///home/hts/picons/Slo3.png
file:///home/hts/picons/Koper.png
file:///home/hts/picons/RaiNews.png
file:///home/hts/picons/Raistoria.png
file:///home/hts/picons/Telequattro.png
file:///home/hts/picons/RealTimeHD.png
file:///home/hts/picons/Cielo.png
file:///home/hts/picons/Focus.png
file:///home/hts/picons/Dmax.png
file:///home/hts/picons/VH1.png
file:///home/hts/picons/Radiofreccia.png
file:///home/hts/picons/Raipremium.png
file:///home/hts/picons/Raiscuola.png
file:///home/hts/picons/Raigulp.png
file:///home/hts/picons/La7d.png
file:///home/hts/picons/Rai4k.png
file:///home/hts/picons/Boing.png
file:///home/hts/picons/Raiyoyo.png
file:///home/hts/picons/Nasatv.png
file:///home/hts/picons/Arte.png
file:///home/hts/picons/BBC.png
file:///home/hts/picons/Mezzo.png
file:///home/hts/picons/Euronews.png
file:///home/hts/picons/Aljazeera.png
file:///home/hts/picons/Rai3fvg.png
file:///home/hts/picons/Rai3bis.png
The problem is that tvheadend is showing the wrong picon. This is happening for every channel.
Example:
Channel name: RAI 1 HD
Channel number: 1
Picon: file:///home/hts/picons/Rai1.png
TVH client and Kodi HTSP clients are showing RAI 5 HD icon.
I don't understand how to fix this problem. Why Does TVH not simply take the picture from the indicated path?
Replies (11)
RE: TVH loads wrong picons - Added by saen acro almost 4 years ago
You use logos not picons, name of logo is not equal to name of channel.
use help inside TVH to see location to input
%C The transliterated channel name in URL encoded ASCII with safe characters only - WDR Köln :<>*?'" will be WDR%20Koln%20________ %c The transliterated channel name in URL encoded ASCII
for example use
https://github.com/Jasmeet181/mediaportal-it-logos/
RE: TVH loads wrong picons - Added by Matej Munih almost 4 years ago
Hi Sean,
I followed your instructions and unfortunately I am facing the same problem.
File name in logos folder: Rai 1 HD.png
Channel number: 1
File path: file:///home/hts/picons/Rai%201%20HD.png
Now tvheadend is showing a Rai YoYo logo... so completely random logo
RE: TVH loads wrong logos - Added by saen acro almost 4 years ago
No need to set logos individually (you dont use picons)
Just set where they are
ex:
file:///qualche/cartella/logos/%c
use Reset icon to set all automatically.
https://github.com/OpenLD/HotBird13e-TivuSat-Transparent
https://github.com/OpenLD/HotBird13e-TivuSat-White
picons names are very different as you see
download and put picons path to folder
RE: TVH loads wrong logos - Added by Matej Munih almost 4 years ago
Hello Sean,
ok, I entered file:///home/hts/picons/%C and I can see the links to correct logos neraby the channel names under Channels menu.
Now the problem is that my client (iPhone with TVH Client - 192.168.3.57) doesn't load logos.
Looking at the tvheadend log, I see the following:
2020-11-11 16:37:05.464 http: 192.168.3.57: HTTP/1.1 GET /imagecache/45 -- 404
2020-11-11 16:37:05.465 http: 192.168.3.57: HTTP/1.1 GET /imagecache/43 -- 404
2020-11-11 16:37:05.465 http: 192.168.3.57: HTTP/1.1 GET /imagecache/44 -- 404
2020-11-11 16:37:05.467 http: 192.168.3.57: HTTP/1.1 GET /imagecache/46 -- 404
2020-11-11 16:37:05.469 http: 192.168.3.57: HTTP/1.1 GET /imagecache/47 -- 404
2020-11-11 16:37:05.597 http: 192.168.3.57: HTTP/1.1 GET /imagecache/46 -- 404
2020-11-11 16:37:05.597 http: 192.168.3.57: HTTP/1.1 GET /imagecache/44 -- 404
2020-11-11 16:37:05.597 http: 192.168.3.57: HTTP/1.1 GET /imagecache/45 -- 404
I tried to change ownership buy have no effect
matej@server:/home/hts$ sudo chown -R hts:video picons
drwxrwxr-x 2 hts video 4096 nov 11 08:22 picons
Same problem even if I change ownership to hts:hts
RE: TVH loads wrong logos - Added by saen acro almost 4 years ago
%c
small not capital C
do you clear image cache?
RE: TVH loads wrong logos - Added by Matej Munih almost 4 years ago
hi,
I modified with lower case c, deleted every file into /imagecache/meta folder, reset icons in channel menu, restarted tvhclient on ipad and iphone and still the same 404 error.
RE: TVH loads wrong logos - Added by saen acro almost 4 years ago
What say log when restart service?
RE: TVH loads wrong logos - Added by Matej Munih almost 4 years ago
If I digit
sudo systemctl restart tvheadend
nothing strange happens: service simply restart and there is no errors in the logs
Anyway, as soon as I turn on tvhclient or Kodi client, I get the imagecache 404 errors
RE: TVH loads wrong logos - Added by Matej Munih almost 4 years ago
Dear Sean,
I found the * solution* : forgot to put .png at the end of file:///qualche/cartella/logos/%c .png
Here is what I did:
1. Rename logo files in order to match the Channel name in Tvheadend. Example: Channel Rai 1 HD > File name Rai 1 HD.png
2. Copy the logos to a folder, preferably in /home/hts/logos/
3 Change the ownership of such folder to hts:video
cd /home/hts/
sudo chown -R hts:video logos
4. Delete any file under /home/hts/.hts/tvheadend/imagecache/ (PS. meta folder and config file are not always existing)
sudo su
cd /home/hts/.hts/tvheadend/imagecache/
rm -rf meta
rm config
5. Tvheadend > General > Base > Channel Icon Path >Enter: file:///home/hts/logos/%c.png
6. You will see populating the Icon column in Channels menu
7. Restart tvheadend service
sudo systemctl restart tvheadend
8. restart TVHClient or Kodi Client
Result: your client will show correct channel logos
Thank you for your help, Sean
RE: TVH loads wrong logos - Added by Evan Gelion over 3 years ago
Where I can find “service name” for missing picons, for rename and upload my own image file? I mean name like "1_0_1_428D_2BC0_13E_820000_0_0_0" ?
RE: TVH loads wrong logos - Added by saen acro over 3 years ago
Evan Gelion wrote:
Where I can find “service name” for missing picons, for rename and upload my own image file? I mean name like "1_0_1_428D_2BC0_13E_820000_0_0_0" ?
You need enigma2 style why not use human readable name's?
Picon 1_0_19_379C_14B4_FBFF_820000_0_0_0 Service reference 1:0:19:379C:14B4:FBFF:820000:0:0:0 ---> A:B:C:D:E:F:G:H:I:L A : is a default value and it is always equal to 1 B : this is also a default value, and it is always equal to 0 C : service type: TV = 1, Radio = 2, TV HD = 19 D : service Id E: Trasponder Id F : NId, Network Id G : Namespace H : default value, always = 0 I : default value, always = 0 L : default value, always = 0