[mythtv] mythfilldatabase failed and also destroyed by schedule!

Craig Rindy developstuff at qwest.net
Sun Jun 6 21:38:44 EDT 2004


One final post to apprise everyone of the situation and to propose a fix for handling future scheduling service errors.

http://bb.labs.zap2it.com/viewtopic.php?t=134

But it doesn't explain why (or even acknowledge that) it seems to have worked for some (according to previous dev posts).  My guess is that the lucky ones just got their schedule while the service happened to be working for a short time amidst the earlier portion of the down time.

As someone mentioned on the users list, MythTV should probably be checking for "valid" data from the source before dropping all of the day's existing program data.  I think at least one show a day per channel should be a reasonable definition of "valid".  I could look into this if someone with more experience in this area doesn't feel like it.

I wrote:
> Just so others don't think they're going nuts (or just to point out that 
> I'm doing so), DataDirect schedules from zap2it.com are still broken for 
> me.  There's a thread on the users list -- 
> http://www.gossamer-threads.com/lists/mythtv/users/71626 -- that seems 
> to describe the same problem.
> 
> When I run mythfilldatabase, every stream from zap2it is 4424 bytes long 
> (length apparently dependent on the channels you've selected), and there 
> is no schedule information.  I unfortunately lost today's and tomorrow's 
> program data, so I'm stuck manually looking up what I want to record and 
> scheduling manual recordings until they fix the error.  Oddly, I can't 
> explain how this works for the lucky people who fixed it by "running it 
> by hand" (I'm assuming that just means running "mythfilldatabase" from 
> the command line).  Did anyone who got it working have to do something 
> like "clean up the channel data"?  If so, could you explain?  I've got 
> two channel "3"s (chanid 1003 and 3003), but they're on two different 
> sources -- this is still okay to have in the database, isn't it?
> 
> Derek Atkins wrote:
> 
>> Yes, running it by hand fixed it... But I lost my newscast recording
>> this morning because it was scheduled after mythfilldatabase ran (and
>> destroyed my schedule) but before I woke up and noticed the problem.
>>
>> -derek
>>
>> "Scott Rowe" <mythgnomer at rowelab.com> writes:
>>
>>
>>> I don't have duplicate channels, and noticed the same thing today..
>>> Re-running mythfilldatabase fixed it, tho..
>>>
>>>> -----Original Message-----
>>>> From: mythtv-dev-bounces at mythtv.org 
>>>> [mailto:mythtv-dev-bounces at mythtv.org] On Behalf Of Derek Atkins
>>>> Sent: Sunday, June 06, 2004 2:23 PM
>>>> To: Development of mythtv
>>>> Subject: Re: [mythtv] mythfilldatabase failed and also destroyed by 
>>>> schedule!
>>>>
>>>> "James L. Reese" <jim at hosemore.net> writes:
>>>>
>>>>
>>>>> I saw this symptom and found I had duplicate channel 
>>>>
>>>>
>>>> entries in the database.  This was a result of my trying to use the 
>>>> datadirect service with 0.14.  I cleaned up the channel data and 
>>>> it's been working fine since.
>>>>
>>>> Well, I *do* have two channel lineups, so I probably do have 
>>>> duplicate channel entries.  But they were all created with 0.15, not 
>>>> 0.14.  How did you "clean up the channel data"?
>>>>
>>>> -derek
>>>> -- 
>>>>       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
>>>>       Member, MIT Student Information Processing Board  (SIPB)
>>>>       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
>>>>       warlord at MIT.EDU                        PGP key available
>>>>



More information about the mythtv-dev mailing list