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

Forum rules
Get Help using the Schedules Direct service. NOTE: application issues are probably better resolved via the application's support methods. If you post here, at least include your application name!
Post Reply
psm321
Posts: 12
Joined: Fri Aug 31, 2007 3:23 pm

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

Post 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?

pvr4me
Posts: 6
Joined: Thu Aug 23, 2007 5:23 am
Location: Oakville, Canada. Mac Mini Myth FE/BE on OSX, HDHomeRun, ATSC.

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

Post 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

Ron Garrison
Posts: 20
Joined: Wed Aug 22, 2007 10:54 pm

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

Post 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

psm321
Posts: 12
Joined: Fri Aug 31, 2007 3:23 pm

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

Post by psm321 »

odd... refresh-all DOES work for me while refresh-today and refresh-second don't

Ron Garrison
Posts: 20
Joined: Wed Aug 22, 2007 10:54 pm

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

Post 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

Post Reply