

You need to replace smith with your Last.fm user name and file_path with the path to the empty file. Once you have an account you can backuo Last.fm loved tracks to a CSV file by first a creating an empty file and then issuing the following sync_songs sync -color -vs smith:lastfm:loved file_path:csv:library It is free and quite easy to get such an account. To use it with Last.fm you need an API account as described in. The simplest way to install sync_songs is via RubyGems (which can be installed via sudo apt-get install rubygems1.9.1 on Debian-based systems): sudo gem install sync_songsįor details and other ways to install see the readme.

It requires Ruby which can be installed via sudo apt-get install ruby1.9.1. If you want to backup loved songs you can use sync_songs. By default it exports scrobbles but you can change the behavior by setting the flags -t to either loved or banned. The script also allows for exporting loved and banned tracks. In other words, you can give and receive music. The application comes with all of the features from the famous music site. It allows its users to keep themselves connected to their Last.fm account, so you can share your favorite music from any place and at any time. By default it will be named exported_tracks.txt Last.fm is the official application from the service of the same name. You can now find the exported tracks in the same directory as the script. Also note that if you got real time stats hidden (under privacy settings) you have to enable it for this to work. Note that this requires you to have Python installed and that you replace last.fm_user_name with your last.fm user name. Run it with the following terminal command: python lastexport.py -u last.fm_user_name As Backing up Last.FM scrobbles explains you should be able to use the script lastexport.py in LastToLibre.
