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
signature.asc
Description: OpenPGP digital signature
_______________________________________________ mythtv-dev mailing list [email protected] http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
