[mythtv-users] Guide data until 2016 ?
Michael T. Dean
mtdean at thirdcontact.com
Sat Feb 2 09:01:44 UTC 2008
On 02/01/2008 09:11 PM, Mudit Wahal wrote:
> I just noticed that I've guide data till 2016 ?
>
> There's guide data until 2016-06-16 16:31 (3058 days).
>
Does it say who's playing in the Superbowl that year? :)
> Any ideas what happened and how do I fix it ?
Bad EIT data. IIRC, the trunk version (soon 0.21) does a /much/ better
job of ignoring data that's ridiculously-far in the future (or, if not,
there's a patch for it in Trac).
> I even ran mythfilldatabase
> --refresh-all, still this bad data doesn't go away. I think I need to delete
> some entries manually, but don't know which table(s).
Yeah. That's probably the best approach. It's the program table. Just
delete the shows that are outside the normal range, i.e.:
DELETE FROM program WHERE starttime > ADDDATE(NOW(), 14);
This will likely leave some garbage in other tables, but it will get
cleaned up eventually and won't hurt anything in the meantime (and takes
virtually no space).
Mike
More information about the mythtv-users
mailing list