[mythtv-commits] mythtv branch master updated by paulh. v0.28-pre-835-g7fec2d4

Git Repo Owner noreply at mythtv.org
Tue Feb 11 13:36:22 UTC 2014


The branch, master has been updated on the
mythtv repository by gitolite user paulh.
       via  7fec2d41e7f8092456458839ffe4ee6d688353aa (commit)
      from  8e0c6c505cf727dd00404ede6afb6c76e06101a5 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 7fec2d41e7f8092456458839ffe4ee6d688353aa
Author:    Paul Harrison <pharrison at mythtv.org> at Tue, 11 Feb 2014 13:35:28 +0000
Committer: Paul Harrison <pharrison at mythtv.org> at Tue, 11 Feb 2014 13:35:28 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=7fec2d41e7f8092456458839ffe4ee6d688353aa

MusicMetadata: make sure the various get*Id() functions return the actual ID
Under most circumstances getDirectoryId() will return -1 since by default we
don't fetch the proper ID until dumpToDatabase() is called. This was causing
dumping the AlbumArt to the database to fail because it requires a valid
directoryID.

This just makes sure getDirectoryId(), getArtistId(), getAlbumId and getGenreId
will fetch the proper ID if necessary rather than returning an invalid ID.



-----------------------------------------------------------------------

Summary of changes:
 mythtv/libs/libmythmetadata/musicmetadata.cpp |  169 ++++++++++++++++---------
 mythtv/libs/libmythmetadata/musicmetadata.h   |    8 +-
 2 files changed, 111 insertions(+), 66 deletions(-)

-- 



More information about the mythtv-commits mailing list