bugGNU FM - Bugs: bug #26311, import data from lastfm


bug #26311: import data from lastfm

Submitter:  None
Submitted:  Thu 23 Apr 2009 04:15:05 PM UTC
Votes: 10
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup

Thu 30 Apr 2009 10:14:21 AM UTC, comment #4: 

There is also a basic PHP scraper written by the last.fm user r4myy:

webapp: http://warezat.net/lastfm/
code: http://warezat.net/lastfm/code.txt

I don't think last.fm will want to extend their API. The feature has been requested for a long time already.

See comment from martind (last.fm staff) on this issue at http://www.last.fm/group/FREE+IS+FREE/forum/119932/_/517695/1#f8994378 – scraping is the way to go for now.

Petr Viktorin <encukou>
Tue 28 Apr 2009 12:19:42 PM UTC, comment #3: 

I don't think this is really fixed yet; using lastscrape to import data isn't an acceptable long-term solution, this issue will only be fixed when the last.fm web services API adds support for exporting a user's scrobble data and we make use of that.

Michael Sheldon <elleo>
Group Member
Tue 28 Apr 2009 10:59:31 AM UTC, comment #2: 

That's fixed - today i made an full last.fm -> libre.fm import.

Please close

Not Available <piotrszulawski>
Thu 23 Apr 2009 10:21:45 PM UTC, comment #1: 

i'm using lastscrape (http://ideas.libre.fm/index.php/Using_lastscrape), but I have an error in the sql insert query:

import.py: error: Server returned: FAILED MDB2 Error: constraint violation - _doQuery: [Error message: Could not execute statement]

Thu 23 Apr 2009 04:15:05 PM UTC, original submission:  

use the lastfm webservices apid to export the listening data, and collect them into the librefm database.



(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by kraymer (Voted in favor of this item)
  • -email is unavailable- added by encukou (Posted a comment)
  • -email is unavailable- added by elleo (Posted a comment)
  • -email is unavailable- added by piotrszulawski (Posted a comment)

    There are 10 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.


    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2009-05-07 kraymer Carbon-Copy- Added kraymer

    Back to the top

    Powered by Savane 3.13-f762.
    Corresponding source code