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 _______________________________________________ mythtv-dev mailing list [email protected] http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
