Difference between revisions of "Channel icons"

From MythTV Official Wiki
Jump to: navigation, search
m (updated SVN link to point to new location within the trunk)
(Updated for 0.21)
Line 1: Line 1:
 +
As of 0.21, MythTV includes a channel icon downloader in mythtv-setup which will automatically download the icons for channels it knows about, or guide you to find icons for channels it doesn't.
 +
 
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).
 
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).
 
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].
 
 
If you have the appropriate MythTV Perl bindings, checkout the required scripts with:
 
 
<pre>
 
svn co http://svn.mythtv.org/svn/trunk/mythtv/contrib/icons/master_iconmap
 
</pre>
 
 
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.
 
 
There is currently (as of 10/08/2007) a bug in either the channel_icon.pl script or the Myth.pm file.
 
 
[http://svn.mythtv.org/trac/ticket/4047 MythTV Ticket #4047]
 
 
Currently, the easiest work around is to edit the channel_icon.pl script and rename the one call to "load_channels" to "_load_channels".
 
 
=== Example ===
 
 
An example to get all icons installed on a brand new system would be:
 
 
./channel_icons.pl --find-missing --rescan --icon-dir /path/to/store/icons
 
  
 
=International Channel Logos=
 
=International Channel Logos=
 
[http://www.mythtv.org/wiki/index.php/Netherlands#Channel_logos Netherlands]
 
[http://www.mythtv.org/wiki/index.php/Netherlands#Channel_logos Netherlands]

Revision as of 16:01, 9 March 2008

As of 0.21, MythTV includes a channel icon downloader in mythtv-setup which will automatically download the icons for channels it knows about, or guide you to find icons for channels it doesn't.

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).

International Channel Logos

Netherlands