Opened 18 years ago
Closed 18 years ago
#1008 closed enhancement (fixed)
Add a new autoexpire method that uses time and priority
Reported by: | Owned by: | cpinkham | |
---|---|---|---|
Priority: | minor | Milestone: | 0.20 |
Component: | mythtv | Version: | head |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
I generally want to expire low priority shows first, but I also want to expire old shows. Rather than choosing between these two criteria, this patch adds a method that uses both criteria to decide what to expire.
It is a simple linear combination. The easiest way to view it is expiring oldest shows first, but giving each show some bonus time based on its priority. The number of days bonus per priority point is adjustable.
This patch as written makes the preference panel it changes overflow slightly. I don't think that this should go into 0.19, and mythui is changing for 0.20, so I didn't worry about this too much at this stage.
Attachments (1)
Change History (4)
Changed 18 years ago by
Attachment: | time-pri-expire.diff added |
---|
comment:1 Changed 18 years ago by
Owner: | changed from Isaac Richards to cpinkham |
---|
comment:2 Changed 18 years ago by
Milestone: | → 0.20 |
---|---|
Version: | → head |
comment:3 Changed 18 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
(In [9038]) Add a new Auto Expire method based on weighted time and priority. This allows you to use a combination of lowest priority and oldest starttime. The actual sort order is (starttime + (recpriority * weight-days)), so for a recording with a a recpriority of 3 with the global weight of 3, the recording would be assumed to be 9 days newer than it actually is to allow other older recordings to be expired first.
Closes #1008 by applying a very slightly modified patch.
The patch implementing time/priority autoexpire