Tvheadend Picons?

I set up my icons manually as I too have found the regular methods to be flaky.

Here is something that you could try based upon my UK Freeview setup.

Download the following vdr icons and meta files and extract them.

SSH into your box, moving existing picons and meta files from the following locations to your PC for restoration if this process doesn’t work.

/storage/picons/vdr

/storage/.kodi/userdata/addon_data/service.tvheadend42/imagecache/meta

Then copy the extracted picons and meta files to these 2 locations respectively.

Reboot and test.

You may find one or two channels require manual alterations but in the main it should work.

The meta files contain the details of the location of each picon file.

There is nothing to lose as you can simply restore your backed up files.

1 Like

Nope, nothing?

There is obviously something else missing to get this to work. What are you setting the path to picons to ?

Shoog

Ive tried

file:///storage/picons/tvh/%C.png

and

file:///storage/picons/vdr/%C.png

Channel icon path: file://storage/picon/tvh

Picon path: file://storage/picon

The Picon path will be that way.The folder name in .kodi is picon.

That is even worse than what i had, it found 2 lol.

If i type what you put nothing, as its totally different to what everyone else says?


Ok i put the path back to how i originally had it. But i changed the setting to lower case only, as most files are in lower case.

And bang it now finds most of them. But what i have noticed is they have to be named exactly ie

Oneplus4 on my system has to be One+4 Exactly how it appears in the channel list.

As I said previously

Uncheck prefer picons over icons

And I put together a selection of Icons for UK TV
tvh.zip (2.2 MB)

I only Lower Cased the ones I used but its a good start.

Copy them into the \coreelec\Piccons\tvh directory you will need to convert the remaining items to lower case if you need them also they have to match the channel name exactly in Lower case.

PS If you want to Lcase() all the items in the folder SSH into the box

cd ~/picons/tvh/
for f in *; do mv "$f" "$f.tmp"; mv "$f.tmp" "`echo $f | tr "[:upper:]" "[:lower:]"`"; done

Here they are in Lower Case

tvhinlowercase.zip (2.2 MB)

Source https://stackoverflow.com/questions/7787029/how-do-i-rename-all-files-to-lowercase

My settings are

48

It then sets up the default paths, for which nothing happens, even when the files are in the correct location and of the right file name/case. Selecting prefer picons also resulted in nothing.

So I just manually altered the channe/epg guide to reflect where there are and what their name is (does not work if there are some characters in the file name, such as the + symbol).

Each meta file then contains the specific link information, which I hoped would enable moving to other boxes.

I should add that I am using the Confluence skin, so I’m not aware if this would change anything if the basic locations are the same.

Lol sounds like something different works for everybody.

Ive got it working so not going to touch it.

Now to see why i have NO HD channels?

How did you set up your tuner. Is it set up as a T2 Device you may only get the main T2 mux on a Xbox Tuner. Try looking on https://ukfree.tv/maps/freeview and finding the frequency for the main mux on that

Yep - Xbox tuners seem to be lower sensitivity (i.e. need a stronger signal) than others. I’ve got 2 of them sitting unused because they gave me a significant error count when connected to the same aerial that was error free with a PCTV290e, August T220 and Win TV Dual HDs.

However getting DVB-T but not DVB-T2 with a given tuner can also be a symptom of a dodgy driver - so I’d try the Crazy Cat and Media Build DVB tuner packs as well as the default CoreElec one.

None of these settings have worked on my client N2.
Its far from clear what the logic is behind picons in CE, it certainly isn’t as simple as setting it up in TVHeadend and it working everywhere. CE and Kodi settings also have an important part to play but the priority of each is far from obvious.

Picons in TVH are a f**king mess.

Shoog

I made no changes in Kodi or my Kodi PVR back-end to enable PICONs via the route I posted much earlier. The only change I make, which I always make, in the Kodi Live TV settings are to enable back end channel numbering, so Freeview HD LCNs are used within Kodi. (BBC One London on 1, BBC One HD on 101 etc.)

All the Picon config I did was within my TV Headend install on my N2 and from the web interface, once I’d uploaded my newly rendered picons with Service Reference file names which were generated from my TV Headend service list. I placed these in the picons/tvh/ folder in CoreElec (I created a subfolder with them in within that folder, and pointed to it in the web interface)

This has ‘just worked’ as I posted.

If you are even vaguely confident in command line Linux in Raspbian, Ubuntu, Debian etc. - then it’s very straightforward to do. (FileZilla will let you easily get the tar file off the build machine) You have to create a config file with your TV Headend server details for the script to interrogate your TVH server for a service list (so the build machine and your TV Headend machine need to be on the same network), and you need to uncomment at least one picon resolution and colour-scheme (by removing the # in the file on the line which defines the picons you want)

Doing this will be a great way of learning about Linux if you are new to it - and skills like SSHing, using Nano, apt install to install programs etc. are all going to be useful.

I flashed a spare uSD card with the latest Raspbian Lite, and did the picon builds in about 30 minutes on a spare Pi 3B+ or 4B (can’t remember which I used now)

Happy to walk people through this if they need. It worked fine for me first time.

Im already using the Media Build DVB drivers, guess i could try the crazycat ones.

Just tried my Xbox One USB DVB-T2 tuner and it works fine on PSB3 (545.8MHz) from Crystal Palace in London. I’m pretty certain I’m using Media_Build drivers (as my Win TV HD Dual needed them) and I’m running an N2 with CoreElec nightly builds.

If you’re in a marginal signal area - the Xbox One tuner isn’t that sensitive - so it may not perform as well as a TV or alternative DVB-T2 driver.

When I connect my tuner I get this in dmesg : https://pastebin.com/eZSuUN0L

Can you boot up your CoreElec set-up with out the Xbox One Tuner plugged in, and then connect it once booted, SSH in and capture the output of :

dmesg | grep dvb

If you paste that to a pastebin site then it may tell us more

Thats all i got, not sure if i did it right?.

I tried changing the drivers to crazycat and rescanned, exactly the same, so changed back to the other drivers, only now i cant log in to the tvheadend interface, asking for a password even if i select default log in.

Fck this program.

That looks like the adaptor is being found and initialised.

Just checking you have the PSB3 mux (I’m assuming you’re in the UK) in your MUX list in TV Headend?

Are you getting a ‘FAIL’ when they scan?

In London PSB3 is 545800000Hz, DVB-T2, 8MHz bandwidth, 256QAM, 32k carriers (I leave the rest as AUTO)

I dont know, now i cant log in its asking for a password but i never ever set one, just used default login.

friends give me emergency softcam directions I installed oscam and do not know the path to the softcam folder

I have loads of fails, and another pageful after this, i have no idea??