Support and General Use > Plugins/Viewers

Musicbrainz support to Last.fm Scrobbler

(1/1)

shof:
I use musicbrainz picard to tag all of my files, however sometimes i get an error on my submitted tracks about badly tagged. Which is kinda impossbile since i use Picard to tag of my music. In addition, when i play the songs on my computer i dont get that error. Digging down deeper, i noticed the offical last.fm program supports mbid submissions. Mbids are MusicBrainz IDs. Which look like this:

(bigger pic: http://i26.tinypic.com/2praaeh.png)

Looking at the .xml file the last.fm program produces to submit the tracks to my profile i noticed this:

--- Quote ---    <pathPow(d)er Pussy - Just 2 Annoy You\06 RTFM.mp3</path>
    <fpId>822142</fpId>
    <mbId>eacb353c-2277-4774-8549-8f9798617c0d</mbId>
    <playerId>wa2</playerId>
--- End quote ---

When you look up the Mbid on the musicbrainz site: http://musicbrainz.org/track/eacb353c-2277-4774-8549-8f9798617c0d.html you will noticed that the release information and artist infomation is the same as found in the screenshot i posted above. Thus, submitting perfect tracks with good tags that will prevent the badly tag error message that last.fm puts out on alot of my music tracks

Some information about these tags:
http://wiki.musicbrainz.org/MusicBrainzTag
http://musicbrainz.org/docs/specs/metadata_tags.html
http://www.pipian.com/stuffforchat/txxx.htm
http://www.id3.org/id3v2.4.0-frames

I found this on the musicbrainz irc chat:

--- Quote ---11:21:05 [Tykling]
    anyone here using foobar who can check something for me ? when I go to properties for an mp3 tagged with MBID I can see album MBID and artist MBID but not track ID ? but if I load the same song in picard the track MBID is there all right, like foobar can't see it or something ?
11:21:23 [srotta]
    Tykling: Foobar doesn't read UFID.
11:21:32 [srotta]
    IIRC.
11:21:36 [srotta]
    Because it's binary field.
11:22:03 [srotta]
    Yeah. UFID is a generic field for track identifiers.
--- End quote ---


Looking at the Last.fm Program source code, i noticed that they are files used to pickup the mbids tags from the mp3 tracks. Those files can be found here:
http://shof515.com/rockboxmbid/

One thing i noticed, instead of using .log file to track submissions, the last.fm program uses a .xml which is able to cache tracks played when it is unable to connect to the last.fm services. The cache xml file looks like this:
http://shof515.com/rockboxmbid/shof515_submissions.xml

In a nutsell, it seems all we have to do is just clone the process last.fm uses to pick up these id3 musicbrainz tags and create an xml output instead of the .log file

The only issue we might have is getting a program to read the new xml log file with the mbids. However, i dont think thats a problem because the last.fm source code be downloaded and its cross platform. So all we need to make is a plugin similar to its ipod submissions that it has by default


The last.fm program source code can be found here:
svn://svn.audioscrobbler.net/clientside/Last.fm

Navigation

[0] Message Index

Go to full version