Modify

Ticket #1116 (closed task: wontfix)

You must read the TicketHowTo before creating a new ticket or commenting on an existing ticket.

Opened 6 years ago

Last modified 21 months ago

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.

Attachments

Change History

comment:1 Changed 6 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 6 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 6 years ago by xris

  • Owner changed from ijr to cpinkham
  • Milestone set to 0.20

comment:4 Changed 6 years ago by ijr

  • Type changed from enhancement to task

comment:5 Changed 6 years ago by cpinkham

  • Status changed from new to assigned

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

  • Component changed from mythtv to mythweb

comment:7 Changed 6 years ago by anonymous

  • Component changed from mythweb to mythtv

comment:8 Changed 6 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 6 years ago by cpinkham

  • Milestone changed from 0.20 to 0.21

comment:10 Changed 4 years ago by cpinkham

  • Milestone changed from 0.21 to 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 Changed 2 years ago by stuartm

  • Component changed from mythtv to MythTV - General

comment:12 Changed 21 months ago by robertm

  • Status changed from accepted to closed
  • Resolution set to wontfix

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)

View

Add a comment

Modify Ticket

Action
as closed
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.