Opened 17 years ago

Closed 17 years ago

#3310 closed patch (fixed)

mythfilldatabase not run if suggested minimum hour is bigger than the maximum hour

Reported by: anonymous Owned by: cpinkham
Priority: minor Milestone: 0.21
Component: mythtv Version: head
Severity: medium Keywords: patch mythbackend mythfilldatabase
Cc: Ticket locked: no

Description

It is currently not possible to set the suggested mythfilldatabase time interval to intervals where the minimum hour is bigger than the maximum hour. In these cases mythfilldatabase and housekeeping are simply not run. Examples are the valid intervals 23 - 6 and 4 - 1. It should be possible to use these intervals. The attached patch implements this.

Kind regards, WP van Paassen

Attachments (1)

housekeeper.diff (3.3 KB) - added by wp.van.paassen@… 17 years ago.
vsn diff for file housekeeping.cpp in mythtv/programs/mythtvbackend

Download all attachments as: .zip

Change History (3)

Changed 17 years ago by wp.van.paassen@…

Attachment: housekeeper.diff added

vsn diff for file housekeeping.cpp in mythtv/programs/mythtvbackend

comment:1 Changed 17 years ago by cpinkham

Owner: changed from Isaac Richards to cpinkham

comment:2 Changed 17 years ago by cpinkham

Resolution: fixed
Status: newclosed

(In [13524]) Allow the user to set a mythfilldatabase run period where the max hour is less than the min hour, for instance if they want the run period to be from 8PM till 4AM.

This is loosely based on a patch by WP van Paassen in #3310. I shortened it up a bit, and removed a part unecessary with current SVN head. While I was in the housekeeper, I also converted a few things like now.toString(QString("d")).toInt() to a much cleaner now.date().day().

Closes #3310.

Note: See TracTickets for help on using tickets.