Giter Club home page Giter Club logo

lastfm-to-csv's Introduction

lastfm-to-csv

Web based tool for exporting Last.fm scrobbles as a csv file.

lastfm-to-csv's People

Contributors

benfoxall avatar davidstraka2 avatar hum4n01d avatar jebeck avatar matteocontrini avatar pedrocx486 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

lastfm-to-csv's Issues

Retry erroring responses

A lot of the errors are 503 / code 8

Operation failed - Most likely the backend service failed. Please try again.

image

These usually work on re-request (I'd imagine there's trouble accessing long-term storage). Re-requesting should let us fill in the missing data (currently they are just skipped)

artist/album/track -> artist/track/album

Would it be possible for you to upload a version that would provide the result as artist/track/album instead of artist/alubm/track?

I would like to use this: http://universalscrobbler.com/bulk.php
But it uses the following format:

"{artist}", "{track}", "{album}", "{timestamp}", "{album artist}", "{duration}" (e.g. "Jeff Buckley", "Last Goodbye", "Grace", "2016-01-26 15:35:55", "Jeff Buckley", "275")

Invalid Characters Returned

Hi Ben - this is a really fantastic tool, which I use regularly.

There is one issue that I can't get round though - when I fetch data it's returned with invalid characters in place of umlauts etc.

For example Blue Öyster Cult is returned as Blue Öyster Cult.

Is this a known issue? I've run the requests in W10, Chrome, and Firefox - but all return the same invalid characters.

Regards

Iain

Feature request: Stop before 10k of scrobbles and write a csv file

Hi Ben,

first let me thank you very much for your useful tool that fills a huge gap between accessing the Last.fm scrobbling data and doing something useful with it like creating a Spotify playlist with Ivy, another great free online tool. I could successfully get my 188k of scrobbles from my user profile (hjbardenhagen), although two errors were shown in red during the process, but not verbosely what they were. So the end result was not exactly the same number as shown on my profile, perhaps about 400 less. It took about one hour and went fine otherwise.

Long story short: in order to create Spotify playlists with Ivy and your csv files, they should not have more than 10k of scrobbles, because Spotify has a track limit for single playlists at 10k. If the Ivy search result is bigger than that, you cannot copy & paste it to a new playlist in the Spotify desktop software. So it would be useful if you can stop Last.fm to csv at 10k or some point below that, let it write the first csv file and then continue automatically.

Another nice feature would be if we could choose the necessary data in the csv file, as Ivy does not need the album info or scrobbling date and time. It only blows up the size of the csv file which gets too large for Ivy anyhow, e.g. my original 188k scrobbles file (size 17 MB) was not accepted by Ivy, so I had to delete the related columns first and also all multiple scrobbles of the same track which are usually included, but not necessary for a search of the Spotify database. I could eliminate them with a standard filter function in LibreOffice Calc. Afterwards the csv file contained only 62k of unique scrobbles, and the file size came down to 4 MB which could be read by Ivy. It found about two thirds of my Last.fm scrobbles on Spotify (39k) and needed more than seven hours for that, by the way: http://www.ivyishere.org

Scrapping automation

Hello. I would like to automatize the export of the scrobbles on a list of users that would be on my local disk.
The point is not to have to do so many clicks (first one to send the name at first, and several ones to save the processed CSV file) when you want to proceed on dozens of profiles.
I thought an easy way would be to execute a script on my machine, for each element of my list. I am trying to do it in Python (and its mechanize library) so far, but I am quite stuck because of the actual Javascript process that is undertaken when submitting an identifier online in the form.
Would you have any insight on this issue? It would be much appreciated!

Firefox

Seems to be a problem with jQuery selectors in firefox

image

Stops after around 1000 scrobbles

The process stops at page 6 out of 157 pages of my scrobbles. At first I thought it was a rate limiting thing, but it does the same with my virgin LastFM API key.

Maybe their API changed recently? Worked a couple of weeks ago.

Is there a way to debug what's going on from the client side?

Last.fm to csv freezes after 600 fetched pages

I have tried to download my listening history of 1,164 pages several times now in different browsers on several machines, and it looks like the site has a memory leak, as I only have one browser tab open, and the task manager shows 750 MB RAM usage only for Last.fm to csv after about 600 pages. Sometimes it gets to about 800 pages, but is very slow then until I have to close the browser. Or is there some kind of timeout now maybe, either in the API or in your tool?

My Last.fm username is hjbardenhagen, by the way, and I didn't have any problems fetching my listening history about a year ago which was about 15% smaller then.

Include Album Artist Data

from RadioKaKa

Hi, thanks for your Last.fm data export widget, it's great for those who didn't receive any email despite official request of scrobbles data. IMHO, it would be better if the Album Artist data is included, in order to make Top Albums chart. As you know, Album Artist is always different from Track Artist for soundtrack and compilation albums by various artists.

Empty artist field

In my downloaded CSV file many (21339 of 54276 total tracks) tracks are without the album field. Why is that? Is it a known bug?

Include Loved flag

Hi!

This is a feature proposal: can you include "loved" flag in the export?

Thanks in advance!
Tom

musicbrainz ID

Hi,

is it possible to also fetch the tracks musicbrainz id?

Display oldest date loaded

Hi @benfoxall, I would find it very useful to show the oldest date loaded as part of the partial loading indicator, as well as the page count. Would you accept a pull request to this effect? E.g. “Fetching page 3/100 (20 Feb 2024)” rather than just “Fetching page 3/100”

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.