Bug 14587 - Duplicate albums due to MuiscBrainz tags
: Duplicate albums due to MuiscBrainz tags
Status: CLOSED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Scanner
: 7.4.0
: PC Other
: P4 normal (vote)
: 7.4.1
Assigned To: Andy Grundman
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-10-05 10:49 UTC by Christoph Leuzinger
Modified: 2011-03-16 04:40 UTC (History)
2 users (show)

See Also:
Category: Bug


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christoph Leuzinger 2009-10-05 10:49:06 UTC
I noticed that albums I had added to my library recently ended up there multiple times: The album showed up once for each track and each album did only contain one track. After some research I found the reason for this to be the MusicBrainz meta data attached to the files in question.

The files are Ogg Vorbis and I ripped them using the GNOME music ripper app (Sound Juicer). Sound Juicer creates MusicBrainz tags like these:

MUSICBRAINZ_ALBUMID=http://musicbrainz.org/release/c91d27ac-ffb3-4c45-8f1d-31294d2485c0.html
MUSICBRAINZ_ALBUMARTISTID=http://musicbrainz.org/artist/610404f9-26bd-4be2-8697-f916495f14a4
MUSICBRAINZ_ARTISTID=http://musicbrainz.org/artist/610404f9-26bd-4be2-8697-f916495f14a4
MUSICBRAINZ_TRACKID=http://musicbrainz.org/track/b884299a-f9d2-4e89-8bb8-d84f71b8bff9

I tagged the files again using the "official" MusicBrainz Picard app which creates the following tags:

musicbrainz_albumartistid=610404f9-26bd-4be2-8697-f916495f14a4
musicbrainz_albumid=c91d27ac-ffb3-4c45-8f1d-31294d2485c0
musicbrainz_artistid=610404f9-26bd-4be2-8697-f916495f14a4
musicbrainz_trackid=b884299a-f9d2-4e89-8bb8-d84f71b8bff9

After a library re-scan the albums no longer show up as duplicates. I'm not sure how to solve this problem:

1) The MusicBrainz specification only _recommends_ a format for metadata: 
   http://musicbrainz.org/docs/specs/metadata_tags.html

2) I was unable to find a specification of the MusicBrainz UUID format

3) After a short glance at the Sound Juicer source code I noticed to things:

  i) The ".html" suffix of the album ID is appended in Sound Juicer source code
    (for reason unkown to me)
 ii) The IDs seem to be produced by the MusicBrainz library otherwise

Maybe someone more experienced with the MusicBrainz conventions can find a solution for this. For now I am re-tagging the problematic albums with Picard, but this is no satisfactory solution, of course.
Comment 1 Spies Steven 2009-10-15 14:11:53 UTC
*** Bug 13734 has been marked as a duplicate of this bug. ***
Comment 2 Spies Steven 2009-10-15 14:18:48 UTC
According to Pat in bug 13734 this is new behavior when it comes to these MusicBrainz tags from Sound Juicer in Squeezebox Server.  Unless of course this is new tag behavior in Sound Juicer.  Either way it would be nice to get a fix into 7.4.1 if it turns out to be a simple fix.
Comment 3 Pat Farrell 2009-10-15 14:20:53 UTC
Just curious, why did this one get to live and the other one
https://bugs-archive.lyrion.org/show_bug.cgi?id=13734
get marked as a duplicate of this, since the other one is at least a month older.

In a lot of shops, older bugs get higher priority.
Comment 4 SVN Bot 2009-10-15 15:10:28 UTC
 == Auto-comment from SVN commit #28878 to the slim repo by andy ==
 == https://svn.slimdevices.com/slim?view=revision&revision=28878 ==

Fixed bug 14587, sanity check all MusicBrainz ID tags to make sure we only get a UUID value
Comment 5 James Richardson 2009-10-22 11:23:33 UTC
This bug has been marked as fixed in the 7.4.1 release version of SqueezeBox
Server! 

Please see the Release Notes for all the details:
http://wiki.slimdevices.com/index.php/Release_Notes

If you haven't already, please download and install the new version from
http://www.logitechsqueezebox.com/support/download-squeezebox-server.html

If you are still experiencing this problem, feel free to reopen the bug with
your new comments and we'll have another look.