LastFM fingerprinting

Daniel Dewald Daniel.Dewald at time-shift.de
Mon Oct 11 16:57:00 CEST 2010


On Monday, 11. October 2010 16:34:25 123kash at gmail.com wrote:
> Finally I got a time to look on lastfm fingerprinting system. And
> immediately appeared a question. In case of switching from MusicDNS to
> Lastfm fingerprinter, which library i supposed to use? liblastfm (already
> used by lastfm service, and i guess i either should use It) or fplib
> (original lastfm fingerprinting lib, It is completely contained by previous
> one). 

The use of liblasfm would be advisable here. However as mentioned in my 
previous posts, I already did that so there is no real need to do so.

> The problem is that liblastfm hide all "low-level" functions of
> fplib, accepts LastFmTrack as argument and uses Its own decompresser
> (consisted of separated libraries), which supports fewer formats than
> ffmpeg does.

liblastfm doesn't provide ANY decoding functions. In fact it only provides an 
interface (FingerprintableSource) to write your own decoding class that can be 
used by liblastfm for fingerprinting afterwards. For phonon all this work has 
already been done by me. So if you want to write anything here just write a 
fingerprintable source and we can use it with my code for fingerprinting. 
However liblastfm does bring some unfortunate problems with it like exceptions 
that have to be handled etc. Its rather complicated to handle. I've updated my 
lastfm fingerprinting merge request 
(http://gitorious.org/amarok/amarok/merge_requests/152). So if you really want 
to do anything in that direction PLEASE have a look at it first and try to 
prevent double written code!

Greetz

Daniel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2921 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/amarok-devel/attachments/20101011/6fce0370/attachment.p7s 


More information about the Amarok-devel mailing list