https://github.com/cyberflamego/spotifytolfm.py
Scrobbles Spotify playlists, tracks, and albums to LastFM via Python
https://github.com/cyberflamego/spotifytolfm.py
lastfm music playlists python scrobble scrobbling spotify
Last synced: 17 days ago
JSON representation
Scrobbles Spotify playlists, tracks, and albums to LastFM via Python
- Host: GitHub
- URL: https://github.com/cyberflamego/spotifytolfm.py
- Owner: CyberFlameGO
- Created: 2024-07-03T15:49:02.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-11-20T15:49:23.000Z (7 months ago)
- Last Synced: 2026-02-19T15:49:24.603Z (4 months ago)
- Topics: lastfm, music, playlists, python, scrobble, scrobbling, spotify
- Language: Python
- Homepage:
- Size: 15.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SpotifyToLFM.py
Modified from reddit snippet - incomplete but now uses environment variables from a `.env` file for API credentials.
## Setup
1. Copy `.env.example` to `.env`.
2. Fill in your Last.fm and Spotify credentials.
3. Install dependencies and run:
```bash
uv sync
uv run python main.py
```
Required variables:
- `LASTFM_API_KEY`
- `LASTFM_API_SECRET`
- `SPOTIPY_CLIENT_ID`
- `SPOTIPY_CLIENT_SECRET`