[mythtv] [mythtv-commits] Ticket #2207: mythfilldatabase does not update status info to DB when run in eitonly mode

Michael T. Dean mtdean at thirdcontact.com
Sun Aug 20 22:04:54 UTC 2006

On 08/20/06 15:10, MythTV wrote:

>#2207: mythfilldatabase does not update status info to DB when run in eitonly mode

> 'mythfilldatabaseLastRunStatus' also get's always a warning messsage about
> possible problems although it shouldn't (eitonly does not add anything to
> program table).

> Also if we are in eitonly -mode, LastRunStatus get's proper
> message.
The status fix seems to break when the user has a mix of eitonly and 
non-eitonly sources.  Looks like it will prevent the error message from 
ever showing up if users have any eitonly sources.

I think we need to find out the total number of sources and then count 
the number of times we find an "externally_handled" source (eitonly and 
no_grabber).  If the total number of sources and the number of 
externally_handled sources match, /then/ we can safely ignore the error...

I attached a patch that works on my system (one no_grabber source and 
one source with a grabber and it gave me an error where it should), but 
was hoping you'd test on a system with all "externally_handled" 
sources--i.e. all eitonly for you--so I don't have to delete a useful 
video source from my system.  :)

The patch also extends your fix to handle no_grabber sources, too.  If 
it works for you, feel free to upload it to the ticket.


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: mythfilldb-externally_handled.diff
Url: http://mythtv.org/pipermail/mythtv-dev/attachments/20060820/930590df/attachment.diff 

More information about the mythtv-dev mailing list