This forum has been archived. All content is frozen. Please use KDE Discuss instead.

30 seconds rule for audioscrobbler

Tags: None
(comma "," separated)
cw
Karma
0

30 seconds rule for audioscrobbler

Sun Nov 27, 2005 2:37 pm
Moin!


I was listenening to some Napalm Death songs with amaroK and noticed that some of their shorter songs didn\'t show up on my last.fm page. Further investigation lead to the assuption that there was a 30 seconds rule for submitting tracks to last.fm.

And indeed, when looking at the source I found this:

// Songs with no artist or title data or a duration of less than
// 30 seconds must not be submitted.
if ( bundle.artist() != NULL && bundle.title() != NULL && bundle.length() >= 30 )
{
m_item = new SubmitItem( bundle.artist(), bundle.album(), bundle.title(), bundle.length() );
m_validForSending = true;
}


in scrobbler.cpp.

So, there should be no problem fixing this problem for myself, but I wonder why there is such a rule, that only songs longer than 30 seconds are submitted to last.fm?

-cord
User avatar
eean
KDE Developer
Posts
1016
Karma
0
OS
I\'d assume its something from the specifications for plugins from last.fm.


Amarok Developer
cw
Karma
0
Yep, you\'re right. I found it here:
http://www.audioscrobbler.net/wiki/Protocol1.1

Shame really... :(


Bookmarks



Who is online

Registered users: Bing [Bot], claydoh, Google [Bot], rblackwell, Yahoo [Bot]