[mythtv] [PATCH] small patch to mythweb recorded programs, adds space info to top

Nigel Pearson nigel at ind.tansu.com.au
Wed Mar 2 23:01:21 UTC 2005

> This patch will move the total shows / disk usage to the top above the  
> 'Show Recordings / Show Group' section. I have a ton of recordings and  
> it is sometimes slow when loading the info / thumbnails and I just  
> want to see the total disk space and start deleting shows.

	Good idea - I can see the need (sometimes the page load
time can get a little long :), but I like it down the bottom.

	How about adding just the disk usage at the top,
and keeping total programs plus disk usage at the bottom?
Something like:

2005-02-09 22:34:51.000000000 -0500
+++ recorded_programs.php	2005-03-02 10:46:58.431606646 -0500
@@ -48,6 +48,14 @@
  <form id="program_titles" action="recorded_programs.php" method="get">
  <table class="command command_border_l command_border_t  
command_border_b command_border_r" border="0" cellspacing="0"  
cellpadding="4" align="center">
+  <td colspan="4" align="center"><?php
+    echo t('Using $1 out of $2.', nice_filesize(disk_used),  
+   ?></td>
      <td><?php echo t('Show recordings') ?>:</td>
      <td><select name="title"  
          <option value=""><?php echo t('All recordings')  

Nigel Pearson, nigel at ind.tansu.com.au | "Reality is that which,
Telstra BI&D, Sydney, Australia       |  when you stop believing
Office: 8255 4222    Fax:  8255 3153  |  in it, doesn't go away."
Mobile: 0408 664435  Home: 9792 6998  |  Philip K. Dick - 'Valis'

More information about the mythtv-dev mailing list