[mythtvnz] EPG icons
Dagan Galarneau
mythtvnz@lists.linuxnut.co.nz
Wed, 21 Dec 2005 14:52:23 +1300
I started with the dump from http://210.56.39.237/xmltv/mytvlistings.asp
which no longer contains program data, but still has a decent channel
listing. I had to make a bunch of edits so it matched the hairy.geek
channel IDs, and it also contained a few outdated channels and was missing
some newer ones. In the end, it probably would have been just as easy to
do it by hand, except for the icon references.
If David or Robin managed to automate it in some fashion, it would make
life easier for everyone doing an initial setup. The icon info only has to
be in there for the first run of mythfilldatabase, but I doubt it would
slow anything down to include it every time.
At 02:25 p.m. 21/12/2005 +1300, Nick Rout wrote:
>Thanks, so you hand built the initial xml file?
>
>
>On Wed, 21 Dec 2005 13:46:03 +1300
>Dagan Galarneau wrote:
>
> > Thanks for the info on icons, Nick.
> >
> > There is indeed a way to import the icons via mythfilldatabase. On my
> > initial setup (done with mythfilldatabase --manual), I used an XML file
> > with just my channel listings, carefully matched to my eventual EPG source
> > (hairy.geek). The <icon> tag in the XML file is used to point to an icon,
> > either locally or on the web:
> >
> > <icon src="http://210.56.39.237/xmltv/logos/tv1_newzealand.jpeg"/>
> >
> > Here's an example of an entire entry. Populate the XML file with all of
> > your channels in this manner, and you're pretty much all set:
> >
> > <channel id="TV1@SkyTV.tv.nz"><display-name
> > lang="en">TV1</display-name><display-name lang="en">1</display-name><icon
> > src="http://210.56.39.237/xmltv/logos/tv1_newzealand.jpeg"/></channel>
> >
> > If the icons are located on the web, they're downloaded and stored locally
> > the first time mythfilldatabase parses the file.
> >
> > At 10:11 a.m. 21/12/2005 +1300, Nick Rout wrote:
> > >4. I think there is a way to do it using mythfilldatabase, if anyone has
> > >made this work, post away.