[mythtv] PATCH Potential DataDirect icon solution

Anduin Withers awithers at anduin.com
Thu May 20 08:40:55 EDT 2004


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: icons.xml
Type: text/xml
Size: 12961 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20040520/fd7a6900/icons.xml
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ddicons.patch
Type: application/octet-stream
Size: 19996 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20040520/fd7a6900/ddicons.obj


More information about the mythtv-dev mailing list