Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Users

Removing Channels

 

 

MythTV users RSS feed   Index | Next | Previous | View Threaded


joelf at altelco

Apr 11, 2003, 5:20 PM

Post #1 of 7 (3165 views)
Permalink
Removing Channels

Is there a good way to remove a channel permanently? HBO and SHOWTIME
show up in my listing, but I don't actually get those channels, and they
clog up my searches for movies to record.

If I remove all mention of them from the database will they still be
downloaded by mythfilldatabase, or is there another file that has this
info in it?

Joel Feenstra


mythtv at lamedomainname

Apr 11, 2003, 5:24 PM

Post #2 of 7 (2864 views)
Permalink
Re: Removing Channels [In reply to]

On Friday 11 April 2003 08:20 pm, Joel Feenstra wrote:

>
> If I remove all mention of them from the database will they still be
> downloaded by mythfilldatabase, or is there another file that has this
> info in it?
>

~/.xmltv/tv_grab_na


dlou99 at yahoo

Apr 12, 2003, 11:42 AM

Post #3 of 7 (2850 views)
Permalink
Re: Removing Channels [In reply to]

Joel Feenstra wrote:
>[How do I] remove a channel permanently?
>xxx shows up in my listing, but I don't actually
>get [that] channel...

thor replied:
>~/.xmltv/tv_grab_na

I nominate this for the FAQ and/or misc section
of the HOWTO.

-Dennis

__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more
http://tax.yahoo.com


joelf at altelco

Apr 12, 2003, 11:59 AM

Post #4 of 7 (2881 views)
Permalink
Re: Removing Channels [In reply to]

I had to goto my -/.mythtv/Source.xmltv that had a list of channels, I
commented out some of them, then I used phpmyadmin to delete the program
entries. All is now good, I think. I haven't done a filldatabase yet, so
they might come back. The whole point of it was to get rid of the
listings of movies on those channels in the program finder, I don't know
if myth does an database house keeping but they would probably still
show-up there if you only got rid of their mention in the channels table.

Joel Feenstra

Dennis Lou wrote:
> Joel Feenstra wrote:
>
>>[How do I] remove a channel permanently?
>>xxx shows up in my listing, but I don't actually
>>get [that] channel...
>
>
> thor replied:
>
>>~/.xmltv/tv_grab_na
>
>
> I nominate this for the FAQ and/or misc section
> of the HOWTO.
>
> -Dennis
>
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Tax Center - File online, calculators, forms, and more
> http://tax.yahoo.com
> _______________________________________________
> mythtv-users mailing list
> mythtv-users [at] snowman
> http://lists.snowman.net/cgi-bin/mailman/listinfo/mythtv-users
>
>


bjm at lvcm

Apr 12, 2003, 3:35 PM

Post #5 of 7 (2862 views)
Permalink
Re: Removing Channels [In reply to]

Joel Feenstra wrote:
> I had to goto my -/.mythtv/Source.xmltv that had a list of channels, I
> commented out some of them, then I used phpmyadmin to delete the program
> entries. All is now good, I think. I haven't done a filldatabase yet, so
> they might come back. The whole point of it was to get rid of the
> listings of movies on those channels in the program finder, I don't know
> if myth does an database house keeping but they would probably still
> show-up there if you only got rid of their mention in the channels table.

You are correct that it is the <sourcename>.xmltv file
that needs to be edited. If you comment out a channel
(leading "#") mythfilldatabase won't grab the listings
for that channel. For any channel that is grabbed but
not in the the mysql "channel" table, mythfilldatabase
INSERTs a new entry. Therefore, you need to do this before
you delete it from the channel table or else it will be
re-added the next time mythfilldatabase runs. The EPG will
show all channels that are in the channel table even if
there are no listings.

So, to get rid of a channel, first comment it out of the
<sourcename>.xmltv file then delete the unwanted item
from the channel table:

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

To get rid of current the current listings:

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

Hope this helps,

-- bjm


bjm at lvcm

Apr 12, 2003, 5:39 PM

Post #6 of 7 (2871 views)
Permalink
Re: Removing Channels [In reply to]

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


rkulagowski at thrupoint

Apr 12, 2003, 6:47 PM

Post #7 of 7 (2850 views)
Permalink
RE: Removing Channels [In reply to]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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

I've updated the CVS HOWTO. Thanks.

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 7.0.3 for non-commercial use <http://www.pgp.com>

iQA/AwUBPpjBwPc1NpCTlP0JEQLe6QCfScTTIOJAUm6/Xj0X/1jYYAb3E9YAoOYd
SvlzLghMNImdJPXOqJnP1Dqk
=pQDs
-----END PGP SIGNATURE-----

MythTV users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.