One of the best sources of channel icons is http://www.lyngsat-logo.com/ . There, you can browse the available icons and choose those appropriate for your system. However, doing so can be a lot of work (requiring many page hits and a lot of time).

+

=Channel Icon Download System=

+

As of 0.21, MythTV includes a channel icon download system in ''mythtv-setup'' which will attempt to automatically download icons for channels in your database from services.mythtv.org. If it cannot find an icon it will present you with a list of options, an the ability to define your own search parameters.

−

An easier approach is to use [[Channel_icons.pl | channel_icons.pl]] a new feature in the post-0.20-SVN trunk of MythTV to quickly look up the information. Doing so requires the MythTV Perl bindings (which can be compiled/installed by passing the "--with-bindings=perl" argument to the MythTV configure script). However, the script requires Perl bindings from SVN trunk. So, if you're using 0.20-fixes, please see [http://mythtv.org/docs/mythtv-HOWTO-9.html#ss9.5 the MythTV HOWTO].

+

To configure icon downloading in mythtv-setup:

+

* run "mythtv-setup"

+

* select "Channel Editor"

+

* click on "Icon Download"

+

* select either "Download all icons.." or "Rescan for missing icons.."

−

If you have the appropriate MythTV Perl bindings, checkout the required scripts with:

+

==Universal Location==

+

By default the icon will be downloaded to the '/home/<user>/.mythtv/channels' directory. This is not very friendly when you have multiple frontends and wish them all to share the icons. One method to get around this is to use a symlink for this directory that directs to a network located directory that all your frontends have access to, say '/var/mythtv/channels' for example.

−

<pre>

+

Before downloading the icons, do the following, or similar as per your distribution:

Doing so will create a directory called "master_iconmap" underneath the current directory. The master_iconmap directory contains a file called "channel_icons.pl", which can be used to retrieve channel icon information. See http://www.gossamer-threads.com/lists/mythtv/commits/255099#255099 and "./master_iconmap/channel_icons.pl --usage" for more information.

+

<code><pre>

+

rm ~/.mythtv/channels -rf

+

sudo mkdir /var/mythtv/channels

+

sudo chown <user>:<group> /var/mythtv/channels

+

ln -s /var/mythtv/channels ~/.mythtv/channels

+

</pre></code>

−

There is currently (as of 10/08/2007) a bug in either the channel_icon.pl script or the Myth.pm file.

+

You will want to run

+

<code><pre>

+

rm ~/.mythtv/channels -rf

+

ln -s /var/mythtv/channels ~/.mythtv/channels

+

</pre></code>

+

for all the users that can run MythTV as well.

−

[http://svn.mythtv.org/trac/ticket/4047 MythTV Ticket #4047]

+

=Channel Icon Sources=

+

One of the best sources of channel icons is http://www.lyngsat-logo.com/ . There, you can browse the available icons and choose those appropriate for your system. However, doing so can be a lot of work (requiring many page hits and a lot of time). Once downloaded you should put the resulting JPEG files into .mythtv/channels/ for the user running the front-end. To add them to a channel you will need to run mythtv-setup and go to the channel editor and specify the icon file name for each channel.

−

Currently, the easiest work around is to edit the channel_icon.pl script and rename the one call to "load_channels" to "_load_channels".

Revision as of 08:20, 9 September 2012

Contents

Channel Icon Download System

As of 0.21, MythTV includes a channel icon download system in mythtv-setup which will attempt to automatically download icons for channels in your database from services.mythtv.org. If it cannot find an icon it will present you with a list of options, an the ability to define your own search parameters.

To configure icon downloading in mythtv-setup:

run "mythtv-setup"

select "Channel Editor"

click on "Icon Download"

select either "Download all icons.." or "Rescan for missing icons.."

Universal Location

By default the icon will be downloaded to the '/home/<user>/.mythtv/channels' directory. This is not very friendly when you have multiple frontends and wish them all to share the icons. One method to get around this is to use a symlink for this directory that directs to a network located directory that all your frontends have access to, say '/var/mythtv/channels' for example.

Before downloading the icons, do the following, or similar as per your distribution:

Channel Icon Sources

One of the best sources of channel icons is http://www.lyngsat-logo.com/ . There, you can browse the available icons and choose those appropriate for your system. However, doing so can be a lot of work (requiring many page hits and a lot of time). Once downloaded you should put the resulting JPEG files into .mythtv/channels/ for the user running the front-end. To add them to a channel you will need to run mythtv-setup and go to the channel editor and specify the icon file name for each channel.