[mythtv-users] Responsiveness of zap2it to lineup discrepancies?

Michael T. Dean mtdean at thirdcontact.com
Thu Jul 6 19:36:51 UTC 2006


On 07/06/2006 02:57 PM, f-myth-users at media.mit.edu wrote:
>     Date: Thu, 06 Jul 2006 14:34:30 -0400
>     From: "Michael T. Dean" <mtdean at thirdcontact.com>
>
>     > On 07/06/2006 12:50 PM, f-myth-users at media.mit.edu wrote:
>
>     > >Should I just run it by hand with this flag, followed optionally
>     > >by running it again with --refresh-today if today's listings aren't
>     > >fixed?  Should I take care to run it as the mythtv user and not as
>     > >me or root, or does this not matter?
>
>     > Best bet is to delete all the channels from the lineup and then run it.  
>     > That will clean out a bunch of old garbage.  As a matter of fact, you 
>     > may even want to just use mythtv-setup to "Delete All" your video 
>     > sources (which will delete channels) and clean everything up.
>
> Okay, I'll try that:  start mythtv-setup, say "NO!" to bashing my card
> settings, say "yes" to bashing my video sources, and then set up all
> the video sources again.  This is a pretty big pain just because the
> provider changed its channel numbers around.  Should myth "just
> recover" from this if I instead wait a day?  Perhaps recovering only
> for "next day" and "last day" as time marches on?  If so, maybe I'll
> wait a day instead.
>   

It should work pretty well (updating with the +1 and +13 approach), but 
you have invalid data in your database, so problems can occur...

>     >Is there some reason this should be a default argument to my calls to
>     >mythfilldatabase every day, assuming that I'm not hand-editing my
>     >channels?  (I'm not, and have no wish to start.)  If so, I'll add
>     >that along with --no-delete, which I've been meaning to do for ages;
>     >I presume this is some page in the mythtv-setup UI somewhere that I
>     >need to go hunt down again.
>
>     No.  It's only useful for listings changes.
>
> Right, but if things don't get reset when listings change without
> running this, it seems like running it preemptively might make
> sense---assuming it isn't doing a ton of work or reinitializing
> things that shouldn't be reinitialized.  I'm not sure -what- it's
> doing, frankly.

mythfilldatabase does not currently ever delete channels because it 
would be unsafe to do so.  (Is the channel really gone or is there a 
problem with the provider or ...?)

Therefore, when you need to delete a channel, you need to do so 
explicitly.  So, as long as you have to make a change to a lineup, it 
doesn't hurt to clear it out first (since mythfilldatabase can 
repopulate it for you).  I have to admit, though, that I'm a bit 
obsessive about getting invalid data out of my DB.

Mike


More information about the mythtv-users mailing list