[mythtv-users] Channel Icons....yes, I did search!

Bob Sully rcs at malibyte.net
Tue Mar 13 04:33:39 UTC 2007


Mike...thanks, but I've done that already (see below).  The mkiconmap.pl
script ran, but didn't ask me for my zip code or anything else.

I tried grabbing the one from SVN, per the wiki you gave, but I got an
error from the server:

[root at vader: /home/mythtv]$ wget
http://svn.mythtv.org/trac/browser/trunk/mythtv/contrib/mkiconmap.pl?format=raw
--20:12:21-- 
http://svn.mythtv.org/trac/browser/trunk/mythtv/contrib/mkiconmap.pl?format=raw
           => `mkiconmap.pl?format=raw'
Resolving svn.mythtv.org... 140.211.167.132
Connecting to svn.mythtv.org|140.211.167.132|:80... connected.
HTTP request sent, awaiting response... 500 Internal Server Error
20:12:21 ERROR 500: Internal Server Error.

I do have the libwww-perl package installed, though Mandriva uses a
different name:

[root at vader: ~]$ rpm -qa | grep libwww
perl-libwww-perl-5.803-1mdk

Thanks
Bob


Message: 24
Date: Mon, 12 Mar 2007 17:40:18 -0700
From: mike <michaelachandler at cox.net>
Subject: Re: [mythtv-users] Channel Icons....yes, I did search!
To: mythtv-users at mythtv.org
Message-ID: <200703121740.18874.michaelachandler at cox.net>
Content-Type: text/plain;  charset="iso-8859-1"

On Monday 12 March 2007 14:24, Bob Sully wrote:
> Hi -
>
> Now that I have Myth pretty well doing what it needs to (other than the
> remote setup, which I started a thread on yesterday), I'm looking at some
> of the other smaller details.
>
> I don't have channel icons.  I have searched gossamer-threads, but can/t
> seem to get things to work properly.  I have an iconmap.xml file in
> /usr/share/doc/mythtv-0.20/contrib, but it's empty:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <!-- generated by mkiconmap.pl -->
> <iconmappings>
>
>
> </iconmappings>
>
>
> There's nothing in the ~/.mythtv/channels directory:
>
> [mythtv at vader: ~]$ lsl .mythtv/channels/
> total 8
> drwxr-xr-x  2 mythtv mythtv 4096 Sep 16 11:58 ./
> drwxr-xr-x  9 mythtv mythtv 4096 Jan 18 19:47 ../
>
>
> I do get regular database updates with mythfilldatabase, and the listing
> info is accurate.  The callsigns in the database match up with what's in
> my zap2it accounts.
>
> The perl script does not ask me for my zip code, so I assume that's why I
> get no icon updates when I ask for them:
>
> [root at vader: /usr/share/doc/mythtv-0.20/contrib]$ perl mkiconmap.pl
> Calling tv_grab_na_icons...
> Generating iconmap.xml...
>
> Tried it as the regular Myth user, also; it created the same empty
> iconmap.xml file in the home directory.
>
> If I try to regen/update it:
>
> [mythtv at vader: ~]$ mythfilldatabase --import-icon-map iconmap.xml
> --update-icon-map
> 2007-03-12 14:10:46.435 Using runtime prefix = /usr
> 2007-03-12 14:10:46.723 New DB connection, total: 1
> 2007-03-12 14:10:46.736 Connected to database 'mythconverg' at host:
> localhost
> 2007-03-12 14:10:46.855 mythfilldatabase: Listings Download Started
> Importing icon mapping from iconmap.xml...
> 2007-03-12 14:10:46.857 New DB connection, total: 2
> 2007-03-12 14:10:46.857 Connected to database 'mythconverg' at host:
> localhost
> 2007-03-12 14:10:46.858 New DB connection, total: 3
> 2007-03-12 14:10:46.859 Connected to database 'mythconverg' at host:
> localhost
> 2007-03-12 14:10:46.859 New DB connection, total: 4
> 2007-03-12 14:10:46.859 Connected to database 'mythconverg' at host:
> localhost
> 2007-03-12 14:10:46.860 Updating icons for sourceid: 1
> 2007-03-12 14:10:46.861 Updating icons for sourceid: 2
> 2007-03-12 14:10:46.861 Updating icons for sourceid: 3
> 2007-03-12 14:10:46.861 Marking repeats.
> 2007-03-12 14:11:29.788     Found 0
> 2007-03-12 14:11:29.788 Unmarking new episode rebroadcast repeats.
> 2007-03-12 14:11:30.357     Found 0
> 2007-03-12 14:11:30.378
> ===============================================================
>
> | Attempting to contact the master backend for rescheduling.  |
> | If the master is not running, rescheduling will happen when |
> | the master backend is restarted.                            |
>
> ===============================================================
> 2007-03-12 14:11:30.379 Connecting to backend server: 192.168.1.9:6543
> (try 1 of 5)
> 2007-03-12 14:11:30.379 Using protocol version 30
> 2007-03-12 14:11:30.471 Received a remote 'Clear Cache' request
> 2007-03-12 14:11:30.478 mythfilldatabase run complete.
>
>
> [mythtv at vader: ~]$ lsl iconmap.xml
> -rw-r--r--  1 mythtv mythtv 142 Mar 12 14:08 iconmap.xml
>
> The file hasn't been altered, and the ~/.mythtv/channels file is still
> empty.
>
> Can someone tell me what I'm missing here?
>
> Thanks
> Bob

Hi Bob, I did the channel icons following this how-to, and it worked like a
charm.
http://www.knoppmythwiki.org/index.php?page=ChannelIconsHowTo

The "mkiconmap.pl.gz" is
in  /usr/share/doc/mythtv-backend/contrib/mkiconmap.pl.gz
(on my machine...yours may be elsewhere).

Copy that "mkiconmap.pl.gz" to your home directory (or where you want it) and
extract it.
Then, run :
perl mkiconmap.pl

and follow the instructions on the how-to I linked above.
Let me know how it goes, good luck.
Mike


-- 
________________________________________
Bob Sully - Simi Valley, California, USA
http://www.malibyte.net
http://www.malibyte.com


More information about the mythtv-users mailing list