full listings » Playback


Scrubz georges

A Media View to clean up missing metadata in your library via the Music Brainz service.


Scrubz



Description

This media view allows you to clean up tracks in your library that are missing metadata. A background process will fingerprint every track via MusicDNS and then will look up corresponding metadata from Music Brainz.

The addon is highly experimental and only works on OS X and Windoz for now.
Possible side effect could include loss of data, nausea, vomiting, receding hairline, eczema, excessive body odor, uneven tire wear, or immaculate conception. Use at your own risks. Feedback is welcome!




Release Notes

Note: There has been many reports of the mipcore process running away on OS X causing spike in CPU usage. If you experience this, uninstalling the add-on will fix the problem.

  • Refactored code to better handle error case and invoke the genpuid utility on its own thread
  • Added Windows support (experimental)



Images

(1)
  • Picture_1_thumbnail
 

Comments

(56)


GeekShadow
GeekShadow

If you can make this work for Windows it would be awesome !!!

about 1 year ago
GeekShadow
GeekShadow

@georges I'm looking at the code... what is genpuid.sh for ?

about 1 year ago
georges
georges

It's a shell script wrapper to invoke the genpuid utility that fingerprints all the tracks. It's needed so that results can be read back into the addons, in the form of an xml file. For now, this is the platform specific part. There is a version for Windows and Linux that I'm planning to integrate with shortly. Hopefully, it will be pretty painless. Stay tuned.

about 1 year ago
roblord
roblord

I'm seeing "No match" for every track in my library on Sb0.7/OS X. Not sure how to debug...

about 1 year ago
GeekShadow
GeekShadow

@georges awesome !!!

about 1 year ago
stevo
stevo

This one really kills my mac, there are 4 mipcore processes that take up a gig of virtual memory each and a couple hundred megs of real memory, they also take about 20% cpu each. Needless to say it bogs down my mac book :(

about 1 year ago
atomdari
atomdari

i'm waiting joyously for the windaz version. i love you.

about 1 year ago
georges
georges

@stevo
Yeah, unfortunately, mipcore has been known to have some issues (http://forums.musicip.com/index.php?act=idx). I've seen it happen on my machine as well (up to 9 of them :)
Hopefully I can find a way to tame it into shape.

about 1 year ago
faaaab
faaaab

Wow, this sounds really promising. Musicbrainz integration is one of the things I've been waiting for a long time. I just wanted to know : what do you write exactly in metadata? Only standard id3 tags? Because musicbrainz Picard application writes other data like MBID which help identify your song in the musicbrainz database.
Can we disable MusicDNS fingerprinting and only search by using existing metadata (title, artist, album or length) to find missing metadata? Maybe it'll help save ressources and it should be efficient enough for most of the cases. It is possible on Picard (well actually, I never userd fingerprinting with Picard)

about 1 year ago
georges
georges

@faaaab
Currently it copies Artist, Title and Album only and write those back to the file. The PUID is written in the track property but not committed back to the file. The MBID is not stored yet. I'd like to add Genre and Track # but you have to fish them out of the Music Brainz data model.

Doing lookup only based on existing metadata would be trivial, but I think the real value is to be able to make sense of the Track1, Track2, Track3 files that I'm sure are lying around in everyone's collection.

about 1 year ago
Angryman
Angryman

It looks like the mipcore and Genpuid processes start scanning as soon as the plugin is installed and songbird restarted. I encountered that this causes a problem with my MacBook Pro if the network drive is not connected. Then i have several processes of mipcore running crazy. Could you add an option to start the scanning process with a button and not automatic?

about 1 year ago
faaaab
faaaab

@georges
I understand your interest in making sense of track without names. Anyway, that's not how I'm using musicbrainz. I'm using it to maniacally tag every song as accurately as possible. And usually I don't miss a lot of information. Most of the time it's Album name, AlbumArtist, ArtistSortName and AlbumArtistSortname (I guess those will be really useful when SortName will be implemented (which I'm sure will be soon or later)), track number or cover. That's why I don't use fingerprinting. That's also why MBID is useful, it helps me keeping my data up to date with little effort. And I don't think I'm the only one person using musicbrainz this way (http://www.last.fm/group/Get+Your+Damn+Tags+Right Last.fm tag maniacs group).
Anyway, this addon seems to be a great step forward and I can't wait to see its improvements. Congratulation!

about 1 year ago
GeekShadow
GeekShadow

Version 0.0.3 don't work on Windows :

Error: syntax error
Source File: chrome://scrubz/content/media-page.xul?libraryGUID=00860fa6-3583-4ca3-8d76-9207a6c1f63b&listGUID=00860fa6-3583-4ca3-8d76-9207a6c1f63b
Line: 1, Column: 1
Source Code:
Invalid puid.

about 1 year ago
abo
abo

Massive memory leaks on windows.

about 1 year ago
tacoman359
tacoman359

Is there any way that I can contact you personally georges? I've got some crash reports and other information that may help you fix all the bugs in this addon.

about 1 year ago
alest
alest

Why song table blinks balck when I select any of them?

about 1 year ago
alest
alest

It seems that it for some reason reloads library data... :(

about 1 year ago
alest
alest

"Massive memory leaks on windows." And constant crashes, unfortunally. :(

about 1 year ago
boris
boris

Georges,
There is a bug reporting playback problem on Windows XP.
The reporter uninstalled all the add-ons one by one.
The problem is gone after uninstalling Scrubz.
http://bugzilla.songbirdnest.com/show_bug.cgi?id=12436

about 1 year ago
jokerigno
jokerigno

i have the same problem too...

about 1 year ago
Yex
Yex

No Match for every song...

about 1 year ago
nruest
nruest

any word on linux support?

about 1 year ago
Yves
Yves

I don't really get why you use shell scripts when you can use JavaScript and XHR2 ...
Whatever, are you still working on it, do you look for some help ?
Would be awesome, this add-on is promising :)

about 1 year ago
djpaulie
djpaulie

When will this be updated to support 1.0? I NEED MY BRAINZ! :)

about 1 year ago
mingolo
mingolo

Exactly what I have been looking for. Are u also working on a linux support?

about 1 year ago
Cameron
Cameron

I also would like to know if linux support is planned.

Cheers

about 1 year ago
sergioll
sergioll

will be posible a new version? please. thaks.

about 1 year ago
flinty
flinty

not compatible with sb 1.0

about 1 year ago
Inspired
Inspired

Is this going to be released for Linux also?
Thanks...

about 1 year ago
oshada
oshada

is this supporting online tag update

about 1 year ago
rex
rex

Can we get this for 1.0?

about 1 year ago
trueshanti
trueshanti

kindly please update :-) .. tnx 10000x

about 1 year ago
scyrius
scyrius

I would LOVE to have this updated for use on Windows Songbird 1.1.1

11 months ago
mairondil
mairondil

Just installed this tonight, I had to edit the install.rdf file before installing for 1.1.2 to accept this as a valid extension. Loaded up just a couple of songs so as to not overwhelm the library. Got "No match for: " for all the songs. Ran genpuid from the command line. Here's my results:

C:\Program Files\Mozilla\Songbird\extensions\scrubz@songbirdnest.com\lib\Windows
_NT>genpuid 4cca1d5c7cbe6cc05f966f139c6c2c7d -xml -logex -noanalysis -rmd=1 "c:\
documents and settings\administrator\my documents\my music\03 crash into me.mp3"

<genpuid songs="1">
6231820 Elapsed time: 8
** Stopping Processing
  <track file="c:\documents and settings\administrator\my documents\My Music\03
crash into me.mp3" status="unavailable"></track>
</genpuid>

C:\Program Files\Mozilla\Songbird\extensions\scrubz@songbirdnest.com\lib\Windows
_NT>genpuid 4cca1d5c7cbe6cc05f966f139c6c2c7d -xml -logex -noanalysis -rmd=1 "c:\
documents and settings\administrator\my documents\my music\01 kryptonite.mp3"
<genpuid songs="1">
** Stopping Processing
  <track file="c:\documents and settings\administrator\my documents\My Music\01
kryptonite.mp3" puid="2cee2cb1-fb80-6571-9580-feef2b9d6287">
    <title>Kryptonite</title>
    <artist>
      <name>3 Doors Down</name>
    </artist>
    <puid-list>
      <puid id="2cee2cb1-fb80-6571-9580-feef2b9d6287"/>
    </puid-list>
  </track>
</genpuid>

C:\Program Files\Mozilla\Songbird\extensions\scrubz@songbirdnest.com\lib\Windows
_NT>

As you can see, genpuid works, but the extension still shows "No Match For: " in Songbird.

Windows XP Pro

10 months ago
Silver.Knight
Silver.Knight

I also would like to echo those commenters requesting update for newer versions of Songbird as well as add my vote to the request for Linux support if that is possible. Thank you. :)

10 months ago
SzalonyMjut
SzalonyMjut

Why last release far is 8 month?

10 months ago
Rave
Rave

Sorry to ask this but i'm newbee on songbird and i would like to known how to install this extension on my 1.1.2 version.

Thx a lot

10 months ago
choicefresh
choicefresh

Pleeeease release the Windows version.

9 months ago
MartinB3
MartinB3

georges! Are you looking for folks to fix up this addon or help maintain the Windows version? I'd love to get this working for Windows without writing my own from scratch -- martin@mbs3.org.

8 months ago
getsome831
getsome831

I gave up and just grabbed an external metadata handler. Found several here, tried the one they recommended. Worked great for me.

http://lifehacker.com/233336/alpha-geek-whip-your-mp3-library-into-shape-part-iii-metadata

7 months ago
petermossa
petermossa

is very good

7 months ago
SongBirdLover
SongBirdLover

Any chance, that this incredible Add-On will work with Songbird 1.2.0 for Windows?

Where can I see the actual development status?

This idea to fingerprint every track via MusicDNS and then look up the corresponding metadata from Music Brainz would be so fantastic. Both sources would help to organize the songs with some few mouse clicks and enrich the data quality.

Actually I have to do this manually with MusicIP for fingerprinting, with Mp3tag to search in Musicbrainz and write the id3tags. It would save a lot of time, if SCRUBZ would do this inside Songbird.

6 months ago
SongBirdLover
SongBirdLover

Until now, I found the following facts (valid for Windows Vista):
a) After changing the install.rdf as mentioned by mairondil, Scrubz is running with Songbird 1.2.0

b) The search results from MusicDNS are stored inside files looking like a GUID, i.e. {826de94a-b463-4054-afa0-3da281ed8450}, saved in the path
C:\Dokumente und Einstellungen\YourName\Lokale Einstellungen\Anwendungsdaten\Songbird2\Profiles

c) This files containts songnames and
status="pending"
until the result from MusicDNS replace it with a puid like this
puid="0de0fff2-6c24-2e80-ecf9-30222da75fd5"

d) The problems seems to be, that even with such a found PUID, Scrubz actually doesn't read it correctly. I assume, that the function
finish: function()
in the file
C:\Dokumente und Einstellungen\YourName\Anwendungsdaten\Songbird2\Profiles\abc12l34.default.default\extensions\scrubz@songbirdnest.com\chrome\content\fingerprint.js
has a problem.

Unfortunately I have no idea how to code or even debug *.js
Maybe this function works and the following procedures can't get it or show it correctly in Songbird.

e) It is true that mp3 files, already correctly tagged with the PUID in the id3 frames MUSICMAGIC FINGERPRINT and/or MUSICMAGIC DATA are not detected. Such files are displayed with N/A in the Songbird row PUID as well.

Maybe this could help to find the problem?
Just let me know, if I should do some further tests.

6 months ago
SongBirdLover
SongBirdLover

It's me again:
I'm really not sure if it is because of 'Scrubz' or not but all my mp3 doesn't have id3tags anymore!!
Please be very carefull until I'm absolutely sure what the reason could be...

6 months ago
SongBirdLover
SongBirdLover

ALL-CLEAR!!
It seems that my 2TB external WD connected with USB on a XP-PC has "hidden" the id3tags. The tracks itself were still visible but without id3 information.

After a complete reboot of both - the PC and the external harddisc - the id3tags are appearing again and can be read by Songbird.

Sorry for any confusion...

6 months ago
SongBirdLover
SongBirdLover

After inserting many dozens of debug lines, I found a workaround .-)

Open the file 'fingerprint.js' like I wrote it above for d)
Search the line with the function
readResult: function() {
Inside this function, search for the line
this.results.remove(false);
Disable this line with two slashes // in front of this line. It should look like this:
//this.results.remove(false);

It seems that there is a windows security problem during the remove (=delete) attempt of the temporary files (I wrote about it in b)
If this file can not be deleted an error occurs:
Component returned failure code: 0x80520015 (NS_ERROR_FILE_ACCESS_DENIED) [nsILocalFile.remove]" nsresult: "0x80520015 (NS_ERROR_FILE_ACCESS_DENIED)" location: "JS frame :: chrome://scrubz/content/fingerprint.js :: anonymous :: line 1xx"

If you don't remove this files, the following scrubz-code seems to work as it should.

The PUID itself seems not to be written inside the mp3. At least I have not found any information inside my test mp3.

In my own tests, the PUID will be displayed in Songbird. Now I have to test how the identification works with Musicbrainz.

It would be great if someone could try this workaround and let me know, if it works for XP (I only have Vista Ultimate) and other users too.

6 months ago
trueshanti
trueshanti

sad it died :-(

3 months ago
albert
albert

Any update here? Or replacement? I guess this is not compatible anymore for Songbird 1.4.

3 months ago
trueshanti
trueshanti

well .. that was quite easy .. no full test run yet in 1.4.3(mac) .. but it seems to work .. fingerprintcounter counting up not yet finished .. and no critical messages in the error console .. the following desciption may work for Linux and MAC both .. ntl i use MAC so try yourself ...

i manually downloaded scrubz.xpi and opened it in 'mc' ( midnightcommander [port install mc] ) on the cli and edited the install.rdf at line 15 , set the <em:maxversion> to 1.4.4 (or whatever) ... then symlinked the binaries in the lib/Darwin-subfolder to my private binary-path (:~/bin:) .. now i run tests ..

share your experience !

2 months ago
trueshanti
trueshanti

howto-fix-update: before i symlinked the binaries i manually installed the plugin (of course) .. the 'cd /Library/Application Support/Songbird2/Profiles/$SBPROFILE/extensions/scrubz@songbirdnest.com/lib/Darwin' .. and then symlinked ;-D

2 months ago
trueshanti
trueshanti

# cd ~/Library/Application Support/Songbird2/Profiles/$SBPROFILE/extensions/scrubz@songbirdnest.com/lib/Darwin

"and this forum-software sucks ;-p"

2 months ago
trueshanti
trueshanti

ok worked quite well (1.4.3 mac) .. but disabled it after indexing my library , for it slows SB down and filling up buffer-RAM .. hope it will be developed again :-)

2 months ago
KNT
KNT

Wee... neeeed... Linux.... suppooort...

2 months ago
lexei
lexei

Hey this isn't supported by songbird 1.4.3 Is there anything i can do to get it to work with this version of songbird? an alternative program? Maybe a date apon which this version will be editied?

about 1 month ago
marilena
marilena

Please update.

10 days ago



Log in to Post a Comment


Download
Statistics
Downloads: 7,920

Average Rating:
4 out of 5  based on 13 ratings

Images: 1

Comments: 56

Last Updated: about 1 year ago
Details
Name: Scrubz

Author: georges

Version: 0.0.3 version history

Categories:


Log in to Add a Tag
Share
Embed:

Share: