Page 1 of 1

mythfilldatabase --refresh-today and --refresh-second don't

Posted: Wed Sep 05, 2007 9:22 pm
by psm321
Please let me know if I should post this to mythtv lists instead of here.

After switching to SD (from datadirect), --refresh-today and --refresh-second don't work in mythfilldatabase anymore. --refresh-all does work, but I obviously don't want to put that kind of load on the servers when I just want to see if some generic data has been updated with a more complete version (which often happens)

I get something like this:

2007-09-06 00:13:45.593 Checking day @ offset 0, date: Thu Sep 6 2007
2007-09-06 00:13:45.593 Data Refresh needed because user specified --refresh-today
2007-09-06 00:13:45.593 Data is already present for Thu Sep 6 2007, skipping
2007-09-06 00:13:45.594
2007-09-06 00:13:45.594 Checking day @ offset 1, date: Fri Sep 7 2007
2007-09-06 00:13:45.594 Data Refresh needed because user specified --refresh-today
2007-09-06 00:13:45.594 Data is already present for Fri Sep 7 2007, skipping
2007-09-06 00:13:45.594
2007-09-06 00:13:45.594 Checking day @ offset 2, date: Sat Sep 8 2007
2007-09-06 00:13:45.689 Data is already present for Sat Sep 8 2007, skipping
2007-09-06 00:13:45.689

(and so on...)

but it never does any downloads, whereas before (I think) it would only show the already present, skipping message only for the days other than today/tomorrow, and actually do the downloads for those 2 days

Any ideas?

Re: mythfilldatabase --refresh-today and --refresh-second don't

Posted: Thu Sep 06, 2007 5:15 am
by pvr4me
I noticed the same thing. Wasn't sure if it was a Myth 0.20.2 thing or a Schedules Direct thing.

Craig

Re: mythfilldatabase --refresh-today and --refresh-second don't

Posted: Fri Sep 07, 2007 10:56 am
by Ron Garrison
In this thread:

viewtopic.php?f=5&t=98&st=0&sk=t&sd=a&start=10

StuartM posted the following:
StuartM wrote:--refresh-today, --refresh-second etc and --refresh-all were unfortunately broken in 0.20.2 . During the changes to support SD and new xmltv grabbers a necessary line was accidentally deleted.

To force an update you'd need to delete existing programme data from the database. e.g. DELETE FROM program; or TRUNCATE program;

The mistake has already been fixed and any packages based on the -fixes branch (most of them) should reflect this when the packagers next update.

Ron

Re: mythfilldatabase --refresh-today and --refresh-second don't

Posted: Fri Sep 07, 2007 11:07 am
by psm321
odd... refresh-all DOES work for me while refresh-today and refresh-second don't

Re: mythfilldatabase --refresh-today and --refresh-second don't

Posted: Fri Sep 07, 2007 11:16 am
by Ron Garrison
I will say that I was running a verision of .20-fixes before this fix went into place and --refresh-all worked for me as well. I never checked --refresh-today or --refresh-second. Perhaps -refresh-all was never really broken, just the other two.

Ron