Jamendo Song ID

Harald Sitter sitter.harald at gmail.com
Sat Jun 9 00:02:54 CEST 2007


On Friday 08 June 2007 22:10:17 Nikolaj Hald Nielsen wrote:
> Actually, if a song from Jamendo has lyrics, they will be present in
> full in the XML file I am using for the Jamendo service. This means we
> could just write the lyrics to a text file for each track when
> downloading an album without having to do additional queries.
>
> On 6/8/07, Harald Sitter <sitter.harald at gmail.com> wrote:
> > Today I tried to create a proper lyrics script for Jamendo.... and I
> > noticed that their API is not really trivial for that kind of stuff.
> >
> > Main reason: Jamendo is giving every song a special ID which is (as I
> > understood until now) used when doing a query for the lyrics.
> >
> > Now if the ID is not known it's necessary to do about 4 HTTP queries to
> > get it properly... therefore I suggest to store the ID in the database
> > when downloading a song with Amarok, or, which would be even better in
> > case database nukes itself, store the ID in the file.
> >
> > If we know the ID it's also possible to produce 100% correct search
> > results for Jamendo music, as this ID (actully it's just a continuous
> > growing number) is totally unique and therefore the song with ID 19973
> > either got lyrics, or it didn't.

omg that would be hell awesome :D

-- 
Harald Sitter
Amarok team        Rokymotion division     sitter.harald at gmail.com
amarok.kde.org     rokymotion.pwsp.net     apachelogger at kdetalk.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/amarok-devel/attachments/20070609/330fc97b/attachment.pgp 


More information about the Amarok-devel mailing list