[mythtv] Mythweb tweak - show disk space in GB?

Richard Shaw hobbes1069 at gmail.com
Mon Nov 12 03:53:20 UTC 2018


On Sun, Nov 11, 2018 at 3:01 AM Ian Campbell <ijc at hellion.org.uk> wrote:

> On Sat, 2018-11-10 at 12:45 -0600, Richard Shaw wrote:
> > I'm not good with perl/php otherwise I would give it a try, but since
> > Mythweb is not going away in V30, what would it take to change the
> > backend status from MB to GB... With HDTV and modern disks I don't
> > think it make sense to report MB anymore and it's difficult to read
> > when I have a 3TB main drive and a dedicated 2TB drive for
> > recordings.
>
> I think the code you want is actually in
> mythtv/programs/mythbackend/httpstatus.cpp and is just proxied by
> mythweb so lack of Perl/php shouldn't be a barrier.
>

A bit closer... I found the bit shifts ">>10" and changed them to ">>20"
for GB but still need to find where to change "MB" to "GB"...

Thanks,
Richard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-dev/attachments/20181111/0d07aee5/attachment.html>


More information about the mythtv-dev mailing list