[mythtv-commits] mythtv/master commit: f2d222c12 by Paul Harrison (paul-h)

MythTV noreply at mythtv.org
Thu Jan 26 23:39:33 UTC 2012


      Author:  Paul Harrison <pharrison at mythtv.org>
 Change Date:  2012-01-26T15:39:02-08:00
   Push Date:  2012/01/26 15:39:17 -0800
  Repository:  mythtv
      Branch:  master
New Revision:  f2d222c123dc520eac0d91c57b094fc076d8e211
   Changeset:  https://github.com/MythTV/mythtv/commit/f2d222c12

Log:

MythMusic: Refactor the music start directory handling

We was passing and storing the music start directory in several places this
changes everywhere to use the one in gMusicData.

Also change the metadata class to store the tracks path and filename minus the
start directory. This is one tiny step closer to supporting storage groups and
has the added benefit of saving approx. 200K of memory on my setup.

Modified:

   mythplugins/mythmusic/mythmusic/cdrip.cpp
   mythplugins/mythmusic/mythmusic/decoderhandler.cpp
   mythplugins/mythmusic/mythmusic/importmusic.cpp
   mythplugins/mythmusic/mythmusic/main.cpp
   mythplugins/mythmusic/mythmusic/metadata.cpp
   mythplugins/mythmusic/mythmusic/metadata.h
   mythplugins/mythmusic/mythmusic/musicplayer.cpp
   mythplugins/mythmusic/mythmusic/musicutils.cpp



More information about the mythtv-commits mailing list