Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Plugins/Viewers
| | |-+  Musicbrainz support to Last.fm Scrobbler
« previous next »
  • Print
Pages: [1]

Author Topic: Musicbrainz support to Last.fm Scrobbler  (Read 2174 times)

Offline shof

  • Member
  • *
  • Posts: 3
Musicbrainz support to Last.fm Scrobbler
« on: May 16, 2008, 09:41:11 AM »
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>

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.


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
« Last Edit: May 16, 2008, 09:43:33 AM by shof »
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Plugins/Viewers
| | |-+  Musicbrainz support to Last.fm Scrobbler
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.046 seconds with 15 queries.