No matter what the HTTP status code is, # you must inspect the content of the response This is the error element's code attribute in the XML returned in the response body. The lfm error code (when the lfm status was failed) further describes the cause of the error.The lfm status attribute of the lfm XML element returned in the response body.Store the scrobble in the user's profile.A batch request may contain up to 50 scrobbles. Multiple scrobbles may be sent in a single batch request, this is recommended when there are cached scrobbles to be sent in the case of previous errors. The web service method for sending scrobbles is track.scrobble.Īs with all our write web services, requests must be sent as HTTP POST requests to with form urlencoded (using utf-8) parameters in the body of the request. If there is any ambiguity or doubt then don't send this value. from a Last.fm radio stream from some other recommendation service or radio show put together by a DJ or host) then this value should be set to "false". However, if the user is listening to music that is effectively chosen by someone other than themselves (e.g. In most cases where a user is scrobbling their own music you can safely ignore this parameter. This parameter is used to indicate when a scrobble comes from a source that the user doesn't have "direct" control over. # When to set the "chosenByUser" parameter
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |