[mythtv] PATCH Potential DataDirect icon solution

Anduin Withers awithers at anduin.com
Fri May 21 00:42:01 EDT 2004


Last time, this should make non-zap2it files easier to make as base URLs are
now exported/imported.

-- 
Anduin Withers


> -----Original Message-----
> From: mythtv-dev-bounces at mythtv.org [mailto:mythtv-dev-bounces at mythtv.org]
> On Behalf Of Anduin Withers
> Sent: Thursday, May 20, 2004 7:55 PM
> To: 'Development of mythtv'
> Subject: RE: [mythtv] PATCH Potential DataDirect icon solution
> 
> Another day, another version.
> 
> DOM, done. Also took DataDirect out of several places as this is a general
> solution to fetching any channel icon from anywhere (I use DataDirect so
> that is what is setup by default).
> 
> Calls the channel icon update now, even if you are using the XMLTV
> grabber.
> 
> --
> Anduin Withers
> 
> 
> > -----Original Message-----
> > From: mythtv-dev-bounces at mythtv.org [mailto:mythtv-dev-
> bounces at mythtv.org]
> > On Behalf Of Anduin Withers
> > Sent: Thursday, May 20, 2004 5:41 AM
> > To: 'Development of mythtv'
> > Subject: [mythtv] PATCH Potential DataDirect icon solution
> >
> > Idea:
> >
> > There are a finite number of broadcast networks, even fewer with icons
> > available from ap2it. It should be somewhat easy to maintain a master
> list
> > of call sign to network to icon mappings.
> >
> > Implementation:
> >
> > Two new tables added to the DB:
> >
> > networkiconmap - maps a network (like CBS) to some URL which will lead
> to
> > a
> > suitable icon.
> >
> > callsignnetworkmap - maps a call sign to a network (the idea being that
> > there are somewhat fewer networks than channels).
> >
> > New options to mythfilldatabase:
> >
> > --export-dd-icon-map - exports your icon mappings to an XML file.
> > --import-dd-icon-map - takes an exported XML file and imports it.
> > --dd-icon-update - just did an import but don't want to fetch listing
> > data?
> > Use this.
> >
> > Missing:
> >
> > - A GUI to help manage the mappings.
> > - A large set of call sign to network to icon mappings.
> > - DOM for file import, what is there works but is many lines longer than
> > needed.
> >
> > Attached:
> >
> > - The patch.
> > - A little kickstart data, not very useful unless you have the same call
> > signs as me but most major networks (that zap2it has icons for) are
> > defined.
> >
> > --
> > Anduin Withers
> >

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ddicons3.patch
Type: application/octet-stream
Size: 20130 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20040520/3e009886/ddicons3.obj


More information about the mythtv-dev mailing list