[mythtv-commits] mythtv commit: r21941 by mdean

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Sat Sep 19 00:21:43 UTC 2009


      Author: mdean
        Date: 2009-09-19 00:21:42 +0000 (Sat, 19 Sep 2009)
New Revision: 21941
   Changeset: http://cvs.mythtv.org/trac/changeset/21941

Modified:

   trunk/mythtv/programs/mythtv-setup/checksetup.cpp

Log:

Fix mythtv-setup's checkStoragePaths() and checkImageStoragePaths() so they only log a DB error if there was a DB error (and not when there are no storage groups defined for the host--in which case the DB error is empty and, therefore, useless).

Also fixes the checkStoragePaths logic such that, when run on the master backend, users are alerted of the problem if there are no storage groups defined on the master backend (which should always have a Default storage Group defined).  Previously, the check could have been fooled if a user configured a special storage group on a non-master backend before configuring the master backend.  I did not go to the extent of checking if the defined storage group is the Default storage group, but this change will improve the accuracy of the check without adding a lot of extra code.





More information about the mythtv-commits mailing list