[mythtv] DVD Channel Auto-Add

John Pullan john.pullan at gmail.com
Tue Jun 7 09:11:24 UTC 2005


On 07/06/05, William Uther <willu.mailingLists at cse.unsw.edu.au> wrote:
> 
> > Hey All,
> >
> > I have tried this question twice on mythtv-users, and was met with
> > stunning
> > silence...
> >
> > So here we go with hopefully more knowledgable people:
> >
> > I have configured my MythTV box with a DVICO Fuson HDTV DVB card
> > that is
> > working a treat with an VIA MII 10000 board. But for some reason
> > after about
> > a week of running, all the other channels in a multiplex start
> > appearing in
> > my epg. In australia most of the commericical stations have 3-4
> > channels but
> > they are are duplicates. So to reduce clutter, I never added them. But
> > something is adding them, and I want to find out what it is and
> > kill it.
> >
> > Does mythtv detect extra channels on the digital mutiplexed
> > broadcast and add
> > them automatically ?
> > I'm sick of deleting them from my channels config. I'm sure this
> > feature would
> > be great for most people, but it is highly annoying at the moment.
> > Anybody
> > have any ideas as to what is causing this ?
> 
> I started seeing this recently and, on the advice of a post I now
> can't find, made this change:
> 
> diff -u -r1.189 tv_rec.cpp
> --- libs/libmythtv/tv_rec.cpp   4 Jun 2005 02:46:30 -0000       1.189
> +++ libs/libmythtv/tv_rec.cpp   7 Jun 2005 06:24:55 -0000
> @@ -102,8 +102,8 @@
>           channel = new DVBChannel(videodev.toInt(), this);
>           channel->Open();
> -        scanner = new SIScan((DVBChannel *)channel, 1);
> -        pthread_create(&scanner_thread, NULL, SpawnScanner, scanner);
> +//        scanner = new SIScan((DVBChannel *)channel, 1);
> +//        pthread_create(&scanner_thread, NULL, SpawnScanner, scanner);
>           if (inputname.isEmpty())
>               channel->SetChannelByString(startchannel);
> 
> That has fixed the problem for me.  It probably also gives my
> grandmother back pain and other strange side effects, so use at own
> risk.
> 
> Be well,
> 
> Will           :-}
> 

(That two liner was from me :) )

TBH the update code is probably correct in principal but in practice
stuff goes wrong. I do believe that it should update the channel table
automatically in the same way as STBs. However we have issues at the
moment when people change the "channel idents" etc.
I think The proper solution is 
a) Fix the update code
b) use set visible 

-- 
John


More information about the mythtv-dev mailing list