Sound Juicer Love Hour

Does anyone fancy hacking for an hour on a neat little feature for Sound Juicer, as a way of learning the code base a little? This shouldn't take more than an hour or so, and would be good for the world.

When Musicbrainz can't find the track listing for a CD, it automatically queries FreeDB and will attempt to return something from the garbled nonsense that FreeDB generally contains. The user cannot tell the difference, unless they notice that the track listings are badly formatted, the album artist is incorrect, or the encoding is wrong. The user will not notice any trivial issues, fix any obvious problems and then rip the CD, or just give up now if the encoding is wrong.

This is bad.

What should happen is that Sound Juicer should subtly point out to the user if the data is proxied from FreeDB, so that they can import it into MusicBrainz where more data can be added and verified. What I'd like to see is a little pane appear if a CD is from FreeDB (SJ knows this already) with a link to the relevant import URL, so the user can quickly import it once for the benefit of everyone else who rips the album in the future.

Does anyone fancy hacking this? As I said, it sounds like an hour of coding for someone who can code GTK+ but hasn't touched SJ before.

NP: This Book Is About Words, Ahmad Szabo

14:30 Wednesday, 20 Jun 2007 [#] [computers/sound-juicer] (11 comments)

Posted by Pierre at Wed Jun 20 17:12:51 2007:
I've skimmed thru the Wikipedia pages for both projects. Whi is Musicbrainz better thant Freedb as they're both open.
On the opposite MB seems to rely on partnerships to recognize data.
Posted by Ross at Wed Jun 20 17:27:32 2007:
Where shall I start?

Reasons to use Musicbrainz:
* defined encoding on content
* Defined API to make queries
* Useful metadata such as album artist
* Sortable names
* Standard library to interface
* Moderation of submitted metadata
* Ability to edit submitted metadata
* Ability to merge multiple albums into a single entry with multiple TOCs

It has a complete store of music metadata, and will only proxy to freedb if there is nothing in its own database.
Posted by iain at Wed Jun 20 17:30:40 2007:
* The FreeDB format is a crock of shit
* Parsing the FreeDB format is insanity.

http://www.jwz.org/doc/cddb.html
Posted by Luca Cavalli at Thu Jun 21 14:51:39 2007:
What about reusing the message area widget from gedit (and eog, Seahorse, glChess, Accerciser and probably many others)? The widget code is here:

http://svn.gnome.org/viewcvs/gedit/trunk/gedit/gedit-message-area.c?view=markup
http://svn.gnome.org/viewcvs/gedit/trunk/gedit/gedit-message-area.h?view=markup

I also made a quick mockup:

http://www.rootshell.be/~loopback/random/sj-musicbrainz-mockup.png
Posted by Ross at Thu Jun 21 14:57:25 2007:
Luca: perfect.  Fancy turning the mockup into working code?
Posted by Luca at Thu Jun 21 15:21:21 2007:
Ross, I will try to find the time this weekend (if no one else will be faster :)
Posted by Luca Cavalli at Thu Jun 21 22:30:16 2007:
OK, this is done by real code now :)

http://www.rootshell.be/~loopback/random/sj-message-area.png

Well, actualy this is the actual output:

http://www.rootshell.be/~loopback/random/sj-message-area-corrupted.png

I just have to solve this redraw problem and handle "Submit Album" pressing (calling the same code for "Submit Trak Names..." menu item).
Posted by Ross at Thu Jun 21 22:40:20 2007:
GO LUCA GO!
Posted by Luca Cavalli at Thu Jun 28 22:35:45 2007:
Opened bug #452047 on bgo.
Posted by Joel at Mon Aug 27 17:34:25 2007:
Does the new release include this?
I have encountered problems with my SJ rips on two CD's (fairly obscure), and found that they were solved by submitting the disc TOC.  After rescanning the CD, it worked just fine.

So a few items:
a) Awesome program, and thank you for choosing MusicBrainz - I love it, and am now an active member.  And I totally understand the reasons, I've experienced FreeDB's crap:
  -two of my CD's from the same artist (ApologetiX) were filed under two different artists (ApologetiX and Apologetix), which was annoying
  -A track had the wrong artist, presumably because of a slash in the title
b) Now that I know that submitting the TOC will fix it, I'll make it normal practice, especially for my more obscure albums.
c) This popup thing will be really helpful, so I know when to submit TOC's.  I would also suggest having a button in the popup for submitting TOC - since that's been my problem in both cases, to save the trouble of trying to re-import or whatever would happen otherwise.

I'll check out the bug above to add a note about c), and I have never coded GTK+, but I'd love to get started if help is still needed.
Posted by Ross at Thu Aug 30 10:55:59 2007:
No, this hasn't been integrated yet.

Name:


E-mail:


URL:


Add 10 and 6 (required):


Comment: