[mythtv] [PATCH] Stop mythfilldatabase from overwriting channel names

Doug Larrick doug at ties.org
Tue Jan 25 21:23:34 EST 2005


thor wrote:
>  Attached is a short patch that will add a command line option
> (--no_channel_name_updates) to mythfilldatabase. This will prevent the
> updating logic from rewriting the channel's name with whatever it is called
> by the source of the listing data. Ie. You can edit your channel names in the
> setup program (Channel Editor) and those custom names will not get
> overwritten.
>
>  I sent it as a patch rather than just commiting it as I've never touched
> mythfilldatabase before, and I have not really thought through all the logic.

Note that the way you've coded this will only take effect for
DataDirect.  Which is fine, but the help text should probably say so.

There was some brief discussion about having mythfilldatabase not touch
existing channel names, channum, or freqid at all for existing channels.
  The advantage of this would be if Zap2it has incorrect or cosmetically
unappealing info, user's hand edits would be preserved.  The
disadvantage is that Myth won't automatically track channel
reassignments (the user would have to delete the channel to get it
recreated).  This change would also be more compatible with allowing
HDTV/DVB in-stream guide data to be the master source of channel
information.

This change would be easy enough to put together (quite similar to the
patch from the quoted message); does anyone have any further thoughts on
this?

-Doug
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 256 bytes
Desc: OpenPGP digital signature
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20050125/f11c8a01/signature.pgp


More information about the mythtv-dev mailing list