[mythtv-commits] mythtv commit: r21150 by stuartm

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Fri Aug 7 22:32:21 UTC 2009


      Author: stuartm
        Date: 2009-08-07 22:32:20 +0000 (Fri, 07 Aug 2009)
New Revision: 21150
   Changeset: http://cvs.mythtv.org/trac/changeset/21150

Modified:

   trunk/mythplugins/mythmusic/mythmusic/metaio.cpp
   trunk/mythplugins/mythmusic/mythmusic/metaio.h
   trunk/mythplugins/mythmusic/mythmusic/metaioavfcomment.cpp
   trunk/mythplugins/mythmusic/mythmusic/metaioflacvorbis.cpp
   trunk/mythplugins/mythmusic/mythmusic/metaioflacvorbis.h
   trunk/mythplugins/mythmusic/mythmusic/metaioid3.cpp
   trunk/mythplugins/mythmusic/mythmusic/metaiomp4.cpp
   trunk/mythplugins/mythmusic/mythmusic/metaiooggvorbis.cpp
   trunk/mythplugins/mythmusic/mythmusic/metaiooggvorbis.h
   trunk/mythplugins/mythmusic/mythmusic/metaiotaglib.cpp
   trunk/mythplugins/mythmusic/mythmusic/metaiotaglib.h
   trunk/mythplugins/mythmusic/mythmusic/metaiowavpack.cpp

Log:

Add another overload readFromFilename which works with an existing metadata object so we can fill in the gaps instead of settling for either the filename or the tag. Removed the fileextension stuff from MetaIO since it's not required and was based on the idea that each class only dealt with a single extension, thus breaking reading from the filename for many additional extensions. Replaced two unnecessary regexps with more efficient alternatives.




More information about the mythtv-commits mailing list