[mythtv] PATCH Potential DataDirect icon solution

Anduin Withers awithers at anduin.com
Thu May 20 22:54:30 EDT 2004


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: ddicons2.patch
Type: application/octet-stream
Size: 16548 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20040520/38abab7b/ddicons2-0001.obj


More information about the mythtv-dev mailing list