[mythtv] [PATCH] MythMusic metadata duplication avoidance

Isaac Richards ijr at po.cwru.edu
Fri Jan 23 01:11:58 EST 2004


On Thursday 22 January 2004 09:32 am, Corey Mutter wrote:
> I have a patch against MythMusic 0.13.
>
> My music collection is a rat's nest of symbolic links, to provide
> by-artist, by-CD, favorites, etc. organization. When MythMusic
> scans this directory, it finds more than one of each song, and the
> duplicates show up in playlists, etc.

Just applied this to CVS, thanks.

> This patch will keep MythMusic from inserting a row in the metadata
> table if all of the metadata (except filename) matches an existing
> entry. It would be nice to make this a config option but I don't yet
> understand the codebase well enough to do that.

Config options like this are pretty simple -- just need a settings class to 
define the defaults/etc, and then just a call to gContext->Get(Num)Setting, 
and you're set.

Isaac


More information about the mythtv-dev mailing list