[mythtv-commits] mythtv commit: r8135 - in trunk/mythtv by cpinkham

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Tue Dec 6 00:21:00 EST 2005


      Author: cpinkham
        Date: 2005-12-06 05:20:59 +0000 (Tue, 06 Dec 2005)
New Revision: 8135
   Changeset: http://cvs.mythtv.org/trac/changeset/8135

Modified:

   trunk/mythtv/libs/libmythtv/remoteutil.cpp
   trunk/mythtv/programs/mythbackend/mainserver.cpp
   trunk/mythtv/programs/mythbackend/playbacksock.cpp
   trunk/mythtv/programs/mythfrontend/playbackbox.cpp
   trunk/mythtv/programs/mythfrontend/statusbox.cpp

Log:

GetFree[Disk]Space changes.

Fix PlaybackBox's free disk space calculations.  Previously, it was only
using the first entry returned from RemoteGetFreeSpace() so it was only
showing the Master's disk space.  Now, it adds up all the free space
from all entries in the vector.

Move StatusBox's eliminate_duplicates logic up into remoteutil's
RemoteGetFreeSpace().  This way the PlaybackBox can benefit also.
This should eliminate counting free space twice in PlaybackBox if any
backends are sharing storage.

In MainServer::HandleQueryFreeSpace(), keep track of which hosts
we've put on the list so we don't put the same host on multiple times
if there is more than one encoder on that host.  This should prevent
the same hostname from appearing twice in the hostname field after
the duplicate elimination code is run in RemoteGetFreeSpace().






More information about the mythtv-commits mailing list