Opened 18 years ago

Closed 14 years ago

#1116 closed task (wontfix)

please add "space available for recordings" stat to go along with "disk space available"

Reported by: xris Owned by: cpinkham
Priority: minor Milestone: unknown
Component: MythTV - General Version: head
Severity: low Keywords:
Cc: Ticket locked: no

Description

With the new LiveTV code saving its recordings, I've had a couple of users mention that MythWeb now reports "incorrect" disk space usage, since the drive could always look like it's full even though LiveTV recordings will get tossed as soon as space is needed for a "real" recording.

Would be useful to have a stat that shows how much space is really available for recordings (basically, available space on disk + sum of all shows that can be expired). Might be nice to also have one that shows only the difference that LiveTV recordings make, too.

Change History (12)

comment:1 Changed 18 years ago by Robert Tsai <rtsai1111>

Can't mythweb compute this itself? It already knows whether or not a recording is set to auto-expire, it knows how big each file is, and it knows whether or not it belongs to the "LiveTV" group ...

comment:2 Changed 18 years ago by Robert Tsai <rtsai1111>

(I'm talking about the bottom of the "Recorded Programs" page, but maybe you're talking about the main "Backend Status" information page ...)

comment:3 Changed 18 years ago by xris

Milestone: 0.20
Owner: changed from Isaac Richards to cpinkham

comment:4 Changed 18 years ago by Isaac Richards

Type: enhancementtask

comment:5 Changed 18 years ago by cpinkham

Status: newassigned

comment:6 Changed 18 years ago by Janne <janne-mythtv@…>

Component: mythtvmythweb

comment:7 Changed 18 years ago by anonymous

Component: mythwebmythtv

comment:8 Changed 18 years ago by cpinkham

Pushing this off till 0.21. It's not overly complicated, but isn't as simple as it seems. I also wonder if this could now be handled in MythWeb itself given the recent changes. MythWeb has access to the filesize, expire status, and recording group and could calculate the amount of space in use by expirable programs and/or LiveTV programs itself. Will take another look after 0.20 is out.

comment:9 Changed 18 years ago by cpinkham

Milestone: 0.200.21

comment:10 Changed 16 years ago by cpinkham

Milestone: 0.21unknown

Changing milestone to unknown. The scope of this has increased with the addition of Storage Groups and the special 'Deleted' recording group. There was someone looking at making a patch for this, but I have not heard how much progress, if any, they have made so far.

comment:11 Changed 14 years ago by stuartm

Component: mythtvMythTV - General

comment:12 Changed 14 years ago by robertm

Resolution: wontfix
Status: acceptedclosed

Closing for now as there's never been any progress on it in four years. When/if someone actually writes code to this end, a new ticket can be opened. (Refs #6589)

Note: See TracTickets for help on using tickets.