[mythtv-commits] mythtv commit: r25895 - in trunk by robertm

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Sat Aug 28 01:31:02 UTC 2010


      Author: robertm
        Date: 2010-08-28 01:31:02 +0000 (Sat, 28 Aug 2010)
New Revision: 25895
   Changeset: http://svn.mythtv.org/trac/changeset/25895

Log:

MythVideo/MythTV:  Move all of the behind the scenes scanning, metadata, and DB manipulation of MythVideo into MythTV.

Takes the parental controls, video metadata, videometadata DB access, metadata class, metadatalistmanager, scanning, and global variable defaults and creates a new core library called "libmythmetadata."

Initially, libmythmetadata only exists to serve mythvideo.  As MythVideo is destined for core MythTV, this is less of a stretch than one might imagine.  This also opens the door for the backend and uPnP to take advantage of MythVideo's scanning and metadata classes.  It should be a fairly minor task to add automatic scanning and metadata updates to the backend, allow the uPnP server to access the full breadth of metadata available (while eliminating its own scanner).

A couple of tasks remain outstanding:

1)  We need a core DB update to add videometadata for all Myth systems, not just those with MythVideo installed.

once this is complete, we can proceed to:

2) Move the UI portions of MythVideo into the core, eliminating it as a plugin.

3) Add scanner and metadata downloader classes (both already complete) to the backend, run them on a regular schedule.  This will require a management interface for media that is not found during a scan-- we need to notify the user and get their okay before flushing it from the DB.

4) Have the uPnP server use the libmythmetadata/metadata.cpp classes to get lists of all the content available, their artwork, etc.

5) ???

6) Profit!

This bumps the lib version, you will need to make clean and recompile plugins.


Added:

   trunk/mythtv/libs/libmythmetadata/
   trunk/mythtv/libs/libmythmetadata/cleanup.cpp
   trunk/mythtv/libs/libmythmetadata/cleanup.h
   trunk/mythtv/libs/libmythmetadata/dbaccess.cpp
   trunk/mythtv/libs/libmythmetadata/dbaccess.h
   trunk/mythtv/libs/libmythmetadata/dirscan.cpp
   trunk/mythtv/libs/libmythmetadata/dirscan.h
   trunk/mythtv/libs/libmythmetadata/globals.cpp
   trunk/mythtv/libs/libmythmetadata/globals.h
   trunk/mythtv/libs/libmythmetadata/libmythmetadata.pro
   trunk/mythtv/libs/libmythmetadata/metadata.cpp
   trunk/mythtv/libs/libmythmetadata/metadata.h
   trunk/mythtv/libs/libmythmetadata/metadatalistmanager.cpp
   trunk/mythtv/libs/libmythmetadata/metadatalistmanager.h
   trunk/mythtv/libs/libmythmetadata/parentalcontrols.cpp
   trunk/mythtv/libs/libmythmetadata/parentalcontrols.h
   trunk/mythtv/libs/libmythmetadata/quicksp.h
   trunk/mythtv/libs/libmythmetadata/videoscan.cpp
   trunk/mythtv/libs/libmythmetadata/videoscan.h
   trunk/mythtv/libs/libmythmetadata/videoutils.cpp
   trunk/mythtv/libs/libmythmetadata/videoutils.h

Removed:

   trunk/mythplugins/mythvideo/mythvideo/cleanup.cpp
   trunk/mythplugins/mythvideo/mythvideo/cleanup.h
   trunk/mythplugins/mythvideo/mythvideo/dbaccess.cpp
   trunk/mythplugins/mythvideo/mythvideo/dbaccess.h
   trunk/mythplugins/mythvideo/mythvideo/dirscan.cpp
   trunk/mythplugins/mythvideo/mythvideo/dirscan.h
   trunk/mythplugins/mythvideo/mythvideo/globals.cpp
   trunk/mythplugins/mythvideo/mythvideo/globals.h
   trunk/mythplugins/mythvideo/mythvideo/metadata.cpp
   trunk/mythplugins/mythvideo/mythvideo/metadata.h
   trunk/mythplugins/mythvideo/mythvideo/metadatalistmanager.cpp
   trunk/mythplugins/mythvideo/mythvideo/metadatalistmanager.h
   trunk/mythplugins/mythvideo/mythvideo/parentalcontrols.cpp
   trunk/mythplugins/mythvideo/mythvideo/parentalcontrols.h
   trunk/mythplugins/mythvideo/mythvideo/quicksp.h
   trunk/mythplugins/mythvideo/mythvideo/videoscan.cpp
   trunk/mythplugins/mythvideo/mythvideo/videoscan.h
   trunk/mythplugins/mythvideo/mythvideo/videoutils.cpp
   trunk/mythplugins/mythvideo/mythvideo/videoutils.h

Modified:

   trunk/mythplugins/mythvideo/mythvideo/dbcheck.cpp
   trunk/mythplugins/mythvideo/mythvideo/editmetadata.cpp
   trunk/mythplugins/mythvideo/mythvideo/fileassoc.cpp
   trunk/mythplugins/mythvideo/mythvideo/globalsettings.cpp
   trunk/mythplugins/mythvideo/mythvideo/main.cpp
   trunk/mythplugins/mythvideo/mythvideo/mythvideo.pro
   trunk/mythplugins/mythvideo/mythvideo/playercommand.cpp
   trunk/mythplugins/mythvideo/mythvideo/videodlg.cpp
   trunk/mythplugins/mythvideo/mythvideo/videodlg.h
   trunk/mythplugins/mythvideo/mythvideo/videofilter.cpp
   trunk/mythplugins/mythvideo/mythvideo/videofilter.h
   trunk/mythplugins/mythvideo/mythvideo/videolist.cpp
   trunk/mythplugins/mythvideo/mythvideo/videopopups.cpp
   trunk/mythtv/libs/libmythdb/mythversion.h
   trunk/mythtv/libs/libs.pro




More information about the mythtv-commits mailing list