[mythtv-users] SOLVED: cannot get mkiconmap.pl to download icons
sf_basilix at yahoo.com
Fri Jun 16 01:28:03 UTC 2006
For anyone else who was trying to get this to work,
there is a fix. Mythtv's mkiconmap.pl script actually
calls XMLTV's tv_grab_na_icons. It was actually this
script that was using the old web-page's format, not
mkiconmap.pl. The developers for XMLTV have quickly
fixed this code to reflect the changes on zap2it's
website. (Thanks!) So to fix this, you have to
download the new code found here:
For those who have installed mythtv from packages,
you'll need to do a few things first. Before you can
do anything with this, perl will need some modules to
get this compiled correctly (XML::Writer and
XML::Twig, if you don't already have them installed).
For those who would like to use Perl's CPAN, run this:
# perl -MCPAN -eshell
(go through the questions if it's the first time you
are running this. If you're not sure what answers to
provide, go with the defaults)
Once you get through all the questions, you should see
a cpan> prompt. Next,
cpan> install XML::Writer
cpan> install XML::Twig
Now go ahead and untar/uncompress the file downloaded
above and run:
Now you can run the mkiconmap.pl script and then
import it into the database. (sample below)
$ mkiconmap.pl --grab --share=/tmp --out=iconmap.xml
$ mythfilldatabase --import-icon-map iconmap.xml
Works like a charm.
--- SF Basilix <sf_basilix at yahoo.com> wrote:
> I seem to be having a problem when attempting to
> download the station icons for mythtv - running
> version 0.19 on Fedora Core 4. Every time I run the
> perl script mkiconmap.pl (tried it as both the
> user and root) it just keeps returning the
> $ mkiconmap.pl
> Calling tv_grab_na_icons...
> Postal Code: <I enter my 5 digit postal code>
> Invalid Postal Code, try again
> I can put in any postal code, and it just returns
> same error. Since I used yum to install mythtv, I
> downloaded the source code and ran the one that is
> the contrib directory - still same thing.
> I do have xmltv installed (xmltv-0.5.43-66.rhfc4.at)
> and have both the firewall and selinux disabled.
> Am I missing some packages or settings in order to
> this? Zap2It found my postal code fine when I
> registered on the website and found my cable
> with no issues, but for some reason this script
> saying invalid postal code?
> Thanks in advance!
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam
> protection around
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
More information about the mythtv-users