[mythtv-users] Removing Channels

Bruce Markey bjm at lvcm.com
Sun Apr 13 00:39:52 UTC 2003


If I'm going to harp on other to contribute to the docs,
I guess I should take my own advice =).


How can I remove an unwanted channel?
=====================================

If <code>mythfilldatabase</code> grabbed a channel which
you do not want to include in your TV listings, you can
remove the entries from the xmltv config file and the
mysql database.

First, comment it out of the ~/.mythtv/<sourcename>.xmltv
file by inserting a "#" in front of the unwanted entry.
This will prevent grabbing future listings.

Next, delete the unwanted item from the channel table
so that it will not appear in the EPG or when changing
channels:

mysql> delete from channel where chanid = '<number>';

Old program data will be removed over the course of a
week. However, you may want to immediately delete any
current program listings for the channel that has been
removed:

mysql> delete from program where chanid = '<number>';

===

This is too verbose so that it includes any info that
I think might be helpful. I'll trust you to tighten it
up as you see fit.

Thanks,

--  bjm



More information about the mythtv-users mailing list