Author |
Message |
alexvd
|
Posted: Tue May 08, 2007 9:23 am |
|
Joined: Wed Jun 01, 2005 3:59 pm
Posts: 199
|
Hi running a backend, with slave backend and several frontends. I have two zap2itlineups atsc and directv. During setup somehow I must have selected doing channel icons for the local directv channels only. Right now I have no Channel icons for my HDTV OTA Channels or the DirecTV non locals.
I searched but I cannot seem to figure out how to rerun the channel icon setup script. Back in the day it was mkiconmap.pl then I think it changed to channel grab north america. Just not sure what it is now.
The only other dumb question is if I run it in on the backend do I need to run it on all the frontends as well?
|
|
Top |
|
 |
spalVl
|
Posted: Tue May 08, 2007 10:45 am |
|
Joined: Mon Aug 29, 2005 4:04 pm
Posts: 729
Location:
Philadelphia, PA US
|
|
Top |
|
 |
alexvd
|
Posted: Tue May 08, 2007 3:54 pm |
|
Joined: Wed Jun 01, 2005 3:59 pm
Posts: 199
|
thanks for the reply yes I remember this used to be the old way and it didnt seem to work. invalid postal code error
here is output from console
root@mythtvmasterbackend:~# /usr/bin/mkiconmap.pl
Calling tv_grab_na_icons...
Postal Code: 07092
07092
Invalid Postal Code, try again
Postal Code: Never got lineup selection prompt, 1:TIMEOUT
root@mythtvmasterbackend:~# 07092
-bash: 07092: command not found
root@mythtvmasterbackend:~# /usr/bin/mkiconmap.pl
Calling tv_grab_na_icons...
Postal Code: 07092
07092
Invalid Postal Code, try again
Postal Code: 07092
Never got lineup selection prompt, 1:TIMEOUT
root@mythtvmasterbackend:~# 07092
-bash: 07092: command not found
|
|
Top |
|
 |
alexvd
|
Posted: Tue May 08, 2007 4:06 pm |
|
Joined: Wed Jun 01, 2005 3:59 pm
Posts: 199
|
Doing a search I found this link from a post here.
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:
URL:http://snapshot.xmltv.org
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
cpan> quit
Now go ahead and untar/uncompress the file downloaded
above and run:
perl Makefile.PL
make
make test
make install
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
-update-icon-map
Works like a charm.
Thanks All!!!
Is this all necessary now? I thought this was fixed. It did pull down some local channel icons so I am not sure this is all necessary.
Has to be an easier way. I mean if you need to rerun other scripts its pretty simple. ie lirc or netcardconfig etc..
|
|
Top |
|
 |
alexvd
|
Posted: Thu May 31, 2007 6:22 pm |
|
Joined: Wed Jun 01, 2005 3:59 pm
Posts: 199
|
Bumping this.
Kinda of annoying looking at the guide without the channel icons.
I saw on the main mythtv mailing list an update for svn but I am sure it worked when I ran the initial setup for RE50.
Can someone please tell me if channel icon setup is working properly right now?
|
|
Top |
|
 |