[mythtv] mythfilldatabase --file doesn't remove old program data

Bastiaan Van Eeckhoudt bastiaanve at gmx.net
Fri Feb 6 17:36:21 EST 2004


Hi,

I looked at my mythtv database and was surprised to find 10 megabytes of
program data, going back half a year.
It seems mythfilldatabase with the --file option doesn't remove the old
entries.
Here's a patch:

--- filldata.cpp.orig	2004-02-05 20:56:17.000000000 +0100
+++ filldata.cpp	2004-02-05 20:58:03.000000000 +0100
@@ -2046,6 +2046,7 @@
     else if (from_file)
     {
         grabDataFromFile(fromfile_id, fromfile_offset, fromfile_name);
+        clearOldDBEntries();
     }
     else
     {

Bastiaan

-- 
Bastiaan Van Eeckhoudt
bastiaan[at]vaneeckhoudt[dot]net


More information about the mythtv-dev mailing list