[mythtv-commits] mythtv commit: r26032 by robertm

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Tue Aug 31 20:18:30 UTC 2010


      Author: robertm
        Date: 2010-08-31 20:18:30 +0000 (Tue, 31 Aug 2010)
New Revision: 26032
   Changeset: http://svn.mythtv.org/trac/changeset/26032

Log:

libmythmetadata:  Start moving towards being able to offer a few different scan behaviors.  First, add a convenience method that will simply scan all video directories, hosts, and video storage directories, doScanAll().

Also, remove some of the legacy non-MythUI removal prompting that has been commented out since the MythUI port, and rename the removal method to align the language with recordings-style terminology.

Next steps will be to add flags to start the scan with an explicit option not to delete any orphaned item, but simply to flag it as "missing."  Then we can add some UI to notify the user that items were missing, and get their explicit go-ahead to remove any missing items (or alternately, to go investigate why they are not being found).  At this point, the scan can be fairly easily put into the backend and run on a schedule, as we won't have to worry about metadata being cleared when someone's network card goes down.


Modified:

   trunk/mythtv/libs/libmythmetadata/parentalcontrols.h
   trunk/mythtv/libs/libmythmetadata/videoscan.cpp
   trunk/mythtv/libs/libmythmetadata/videoscan.h




More information about the mythtv-commits mailing list