https://github.com/dbeley/lastfm-to-librefm
Python script to transfer lastfm scrobbles to a librefm account.
https://github.com/dbeley/lastfm-to-librefm
lastfm librefm
Last synced: 2 days ago
JSON representation
Python script to transfer lastfm scrobbles to a librefm account.
- Host: GitHub
- URL: https://github.com/dbeley/lastfm-to-librefm
- Owner: dbeley
- License: mit
- Created: 2019-08-21T21:08:26.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2020-06-01T05:11:35.000Z (about 6 years ago)
- Last Synced: 2025-02-27T15:45:57.325Z (over 1 year ago)
- Topics: lastfm, librefm
- Language: Python
- Size: 17.6 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# lastfm-to-librefm
Simple python script to export lastfm scrobbles to a librefm account.
## Instructions
- Be sure to have the credentials for a lastfm account and your librefm account, as well as an API key and an API secret for lastfm (get them at https://www.last.fm/api/account/create).
- Download the [lastfm-scraper](https://github.com/dbeley/lastfm-scraper) repository.
- In the lastfm-scraper folder, fill your credentials in config.ini (take config_sample.ini as an example)
- Run the lastfm-complete_timeline.py script (The timeline will be exported in a folder called "Exports") :
```
python lastfm-complete_timeline.py -u USERNAME
# You can also extract timelines of several lastfm accounts
python lastfm-complete_timeline.py -u USERNAME1,USERNAME2
```
- Download the [lastfm-to-librefm](https://github.com/dbeley/lastfm-to-librefm) repository.
- In the lastfm-to-librefm folder, fill your librefm credentials in config.ini (config_sample.ini as an example).
- Run the lastfm-to-librefm.py script (Change the path accordingly) :
```
python lastfm-to-librefm.py -f timeline_USERNAME.txt
# You can also transfer several timelines to your librefm account
python lastfm-to-librefm.py -f timeline_USERNAME1.txt,timeline_USERNAME2.txt
```
## Requirements
- pandas
- pylast