PDA

View Full Version : HOWTO: Channel Icons in MythTV


plb
January 5th, 2007, 10:50 AM
Please Note, this howto assume you already have MythTV setup and running

First things first, we will need xmltv installed:
sudo apt-get install xmltv

Next, we will need a script to make the iconmap
wget http://svn.mythtv.org/trac/browser/trunk/mythtv/contrib/mkiconmap.pl?format=raw

For clarity's sake:
mv mkiconmap.pl\?format\=raw mkiconmap.pl

Next:
perl mkiconmap.pl

And finally:
mythfilldatabase --import-icon-map iconmap.xml --update-icon-map

Once that is done, you should have channel icons throughout your program guide.

mtron
January 7th, 2007, 05:40 PM
Seems to work only for North America :(

Is there a way to grab the icons for us at the other side of the pond?

sparky06
January 16th, 2007, 10:41 AM
Here's a guide for getting UK Freeview icons and the Radio Times schedules in mythtv

http://parker1.co.uk/mythtv_id.php

Dubstar_04
January 16th, 2007, 11:01 AM
What I did was actually ad them myself. it does take a while but you have the option of using higher quality icons.

If you down load the icons from the following link, and store then in a folder out of the way:

http://forum.team-mediaportal.com/showthread.php?t=2172&page=8

When you have the icons unzipped open the mythtv backend and go to the channel editor (option 5) and in the channel list click on each channel and edit the location of the icon.

Like I say this is a long process but it will achieve the required result and with better icons than the xmltv method.

I would also recommend using a small font in the tv guide and using only the channel name. these options are configured in the frontend.

I hope this helps.

Titus A Duxass
January 16th, 2007, 11:05 AM
Here in Germany I get my icons when I do myththfilldatabase --manual, but it takes a bloody age to complete the task.

superm1
January 16th, 2007, 03:56 PM
Very nice howto. I've added it to the community documentation (and credited plb of course)

Here is the direct link:
https://help.ubuntu.com/community/MythTV/Install/WhatNext/channel_icons

It shows up inline with several of the larger howtos in the What Next section as well

lingenfr
April 25th, 2007, 09:46 PM
Having done this once manually, I really would like for this to work. Unfortunately, the link to download the script is broken. I tried to figure out what it should be, but I can't read the text explaining why they changed the link. Help.

newlinux
April 26th, 2007, 12:37 AM
It doesn't seem to recognize my postal code or any that I put in... something broken?

disruptor108
April 27th, 2007, 04:12 PM
I tried looking at http://svn.mythtv.org/trac/browser/trunk/mythtv/contrib/master_iconmap and downloaded the .xml file from there. I then performed mythfilldatabase on that .xml file, but it didn't appear to work. Anyone have any suggestions on this one?

majoridiot
April 27th, 2007, 07:17 PM
try:

$ wget "http://svn.mythtv.org/trac/browser/trunk/mythtv/contrib/master_iconmap/master_iconmap.xml?format=txt" -O master_iconmap.xml
$ mythfilldatabase --import-icon-map master_iconmap.xml --update-icon-map

lingenfr
May 27th, 2007, 10:45 AM
That works. Thanks. It pulled about 80-90% of the icons. Can I manually get the others and get them to appear?

cmcginty
June 14th, 2007, 02:15 AM
Does it matter if the commands are run on frontend or backend machine?

dyslexicbunny
August 6th, 2007, 08:06 PM
try:

$ wget "http://svn.mythtv.org/trac/browser/trunk/mythtv/contrib/master_iconmap/master_iconmap.xml?format=txt" -O master_iconmap.xml
$ mythfilldatabase --import-icon-map master_iconmap.xml --update-icon-map

So I tried this approach but I only have a quarter of the icons when you include all the PPV and music channels. Everything that would be considered available under analog has 1 icon and 3 titles. How would I go about adding these other channel icons and information? I think it requires me to change the master_iconmap script but I'm not quite sure.

Additionally when I run mythfilldatabase by itself, it locks up after downloading a day of material (four hours past midnight) and then deleting the whole day starting at midnight. But it might be due to the icons not working properly.

Thanks.

mjezell
December 18th, 2007, 10:52 AM
Very nice Howto. I've been trying to install the channel icons for a while now and this is the post that actually had all the elements needed to get it done. Thanks so much.