Opened 20 years ago
Closed 16 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 by , 20 years ago
comment:2 by , 20 years ago
(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 by , 20 years ago
| Milestone: | → 0.20 |
|---|---|
| Owner: | changed from to |
comment:4 by , 20 years ago
| Type: | enhancement → task |
|---|
comment:5 by , 20 years ago
| Status: | new → assigned |
|---|
comment:6 by , 20 years ago
| Component: | mythtv → mythweb |
|---|
comment:7 by , 20 years ago
| Component: | mythweb → mythtv |
|---|
comment:8 by , 20 years ago
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 by , 20 years ago
| Milestone: | 0.20 → 0.21 |
|---|
comment:10 by , 18 years ago
| Milestone: | 0.21 → unknown |
|---|
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 by , 17 years ago
| Component: | mythtv → MythTV - General |
|---|
comment:12 by , 16 years ago
| Resolution: | → wontfix |
|---|---|
| Status: | accepted → closed |
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)

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 ...