summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael T. Dean <mdean@mythtv.org>2012-01-20 21:36:48 (GMT)
committer Michael T. Dean <mdean@mythtv.org>2012-01-20 21:36:48 (GMT)
commit6e862025b172ac35b5f45a0e87cbcd472e8b2916 (patch)
treef692a9b75e5ccb4fe86a491f297f33043548e4d4
parent60db2e9e08a776327f533836cac8f522cf267534 (diff)
Update "Removing unwanted channels" instructions
in -fixes docs.
-rw-r--r--mythtv/docs/mythtv-HOWTO.sgml39
1 files changed, 12 insertions, 27 deletions
diff --git a/mythtv/docs/mythtv-HOWTO.sgml b/mythtv/docs/mythtv-HOWTO.sgml
index bc4171b..4836738 100644
--- a/mythtv/docs/mythtv-HOWTO.sgml
+++ b/mythtv/docs/mythtv-HOWTO.sgml
@@ -5755,33 +5755,18 @@ modify your lineup. Uncheck the boxes for any unwanted channels, and they
will no longer be included in your download.
If you are using a grabber from XMLTV, comment out the channel from the
-<tt>~/.mythtv/&lt;sourcename&gt;.xmltv</tt> file by inserting the word "not
-" (including the space) in front of the unwanted entry. This will prevent
-<bf>xmltv</bf> from 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. To delete the data from the
-database we need to perform some steps. First, assuming that HBO is channel
-15, we need to find out the internal <tt>chanid</tt> used by MySQL:
-<tscreen><verb>
-$ mysql -u root mythconverg
-mysql> select chanid from channel where channum=15;
-+--------+
-| chanid |
-+--------+
-| 1015 |
-+--------+
-1 row in set (0.00 sec)
-mysql> delete from channel where chanid = 1015;
-</verb></tscreen>
-
-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:
-<tscreen><verb>
-$ mysql -u root mythconverg
-mysql> delete from program where chanid = 1015;
-</verb></tscreen>
+<tt>~/.mythtv/&lt;sourcename&gt;.xmltv</tt> file appropriately for your XMLTV
+grabber. Some grabbers do this by inserting "# " (including the space) in front
+of the unwanted entry (for example, change "channel=&lt;name&gt;" to "#
+channel=&lt;name&gt;") and others by changing the "=" to a "!" in the unwanted
+entry (for example, change "channel=&lt;name&gt;" to "channel!&lt;name&gt;").
+This will prevent <bf>xmltv</bf> from grabbing future listings.
+
+Next, either delete the unwanted channel or mark it as not visible using
+mythtv-setup's channel editor, so that it will not appear in the EPG or when
+changing channels. If you delete the channel, it may be added back on a future
+scan. If you mark it as not visible, it will be left not visible on future
+scans.
<sect1>NFS
<p>You may want to use a central server to store your files.