[mythtv-users] Getting Rid of Input

Colin Armstrong colin at carolnrob.net
Thu Aug 21 15:10:47 EDT 2003


Actually, all I wanted to remove was one of the video sources from
mythtvsetup. I did have to remove all of them, but there was only one
that I wanted to have there so it was not that big of a deal.
Colin
On Thu, 2003-08-21 at 12:29, Joseph A. Caputo wrote:
> > -----Original Message-----
> > From: mythtv-users-bounces at mythtv.org
> > [mailto:mythtv-users-bounces at mythtv.org]On Behalf Of Ray Olszewski
> > Sent: Thursday, August 21, 2003 2:51 PM
> > To: Discussion about mythtv
> > Subject: Re: [mythtv-users] Getting Rid of Input
> >
> >
> > At 01:04 PM 8/21/2003 -0400, Isaac Richards wrote:
> > >On Thursday 21 August 2003 12:49 pm, Colin Armstrong wrote:
> > > > Does anyone know how to get rid of one of the signals that you defined
> > > > in mythtvsetup?
> > >
> > >Say 'yes' to the first question it asks when you run the setup program.
> >
> > Do you really mean, Isaac, that the only way to get rid of *some* of the
> > "signals" (not actually sure which of several things the original
> > poster is
> > referring to here)  is to delete *all* of them ( and, presumably,
> > reinstall
> > the ones you still want)? If so, you might want to consider improving the
> > functionality here.
> 
> I think we have a mis-communication here...
> 
> Isaac, I think what he wanted to know was 'how do I suppress a channel that
> was automatically configured through XMLTV when I ran the backend setup?'
> 
> Ray, what you need to do is find the XML file for your video source.  It
> should be in ${HOME}/.mythtv/<sourcename>.xmltv (where ${HOME} is for the
> user that runs mythbackend and mythfilldatabase).
> 
> Simply open up that file and comment out ('#' character) any channel you
> don't want.  It will no longer get program data for that channel.  Now, to
> keep the empty channel from showing up in your EPG, you need to drop it from
> the database.  Try the following:
> 
> 	% mysql mythconverg
> 	mysql> select chanid, channum, name from channel;
> 
> This will list all the channels in your database.  Note the 'chanid' value
> for the channel(s) you want to remove.  Suppose the chanid is '1050' (FYI,
> that's channel 50 on video source 1).  You would then do:
> 
> 	mysql> delete from channel where chanid = 1050 ;
> 
> Now the channel won't show up in your EPG, and since you commented it out of
> your XMLTV file, it won't get re-added next time you run mythfilldatabase.
> 
> Good luck!
> 
> -JAC
> 
> 
> ______________________________________________________________________
> 
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users



More information about the mythtv-users mailing list