[mythtv] PATCH Potential DataDirect icon solution

David Shay david at shay.net
Thu May 20 09:22:13 EDT 2004


Interesting approach.  I'm wondering if the callsign to network mapping
could use the "Affiliate" field returned by Data Direct to provide a source
for this portion of the data?  In my case, anyway, that field contains
something like "NBC Affiliate", or "PBS Affiliate"..

----- Original Message ----- 
From: "Anduin Withers" <awithers at anduin.com>
To: "'Development of mythtv'" <mythtv-dev at mythtv.org>
Sent: Thursday, May 20, 2004 8:40 AM
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
>
>
>


----------------------------------------------------------------------------
----


_______________________________________________
mythtv-dev mailing list
mythtv-dev at mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev




More information about the mythtv-dev mailing list