[mythtv] Patch for mythfilldatabase --no-delete

Oscar Carlsson webmaster at trekotor.se
Sun Feb 27 16:49:57 UTC 2005


Andrew M. Bishop wrote, On 2005-02-27 10:13:
> Somewhere between version 0.16 and version 0.17 the code for the
> --no-delete option to mythfilldatabase was changed.  The use of the
> no_delete variable was inverted in one of the if() statements.
> 
> The first of the two attached patches (mythfilldatabase.patch1.diff)
> fixes this.  Without the fix there are thousands of sql insert errors
> and the database ends up with overlapping programs.  It might have
> been changed this way for a reason rather than in error, in that case
> you might want to consider making this code run for both options.
> 

 From the help:

"--no-delete
    Do not delete old programs from the database until 7 days old.
    Do not delete existing programs from the database when updating."

It works that way, right? You mean that the last part should be removed, 
and only the 7 days old part of the functionality should be kept?

Don't see how that text differs from the current behaviour.

/O


More information about the mythtv-dev mailing list