A lightweight Python bot that automatically monitors one or more Spotify playlists and sends you instant push notifications via Pushover when new songs are added.
- ✅ Detects newly added songs
- ✅ Sends instant notifications with song title & artist
- ✅ Tracks multiple playlists
- ✅ Automatically refreshes Spotify tokens (no manual input required)
- ✅ Railway-ready (free cloud hosting)
- ✅ Configurable check interval
| Tool | Purpose |
|---|---|
| Python | Core programming language |
| Spotify Web API | Playlist data access |
| Pushover API | Mobile Push notifications |
| Railway | Cloud hosting |
| JSON | Local data storage (playlist snapshots) |
- Go to the Spotify Developer Dashboard
- Create a new app and fill it in:
TrackifyTracks playlists on psotify
- Under Redirect URIs, add:
http://localhost:8080/callback
- Under API/SDKs, select:
Web API
- Go to the app and hit settings and copy:
Client IDClient Secret
- Download Pushover on your device
- Create a new app
- Copy your:
User KeyAPI Token/Key
Follow the prompts to generate a permanent refresh token.
This prevents you from having to generate a new Spotify API key every hour.
python spotify_refresh_token_generator.py- Fork this repository to your own GitHub account
- Fill these fields:
CLIENT_ID = "your_client_id"
CLIENT_SECRET = "your_client_secret"
REFRESH_TOKEN = "your_refresh_token"
PUSHOVER_USER_KEY = "your_pushover_user_key"
PUSHOVER_API_TOKEN = "your_pushover_api_token"
SPOTIFY_PLAYLISTS = {
"My Playlist": "your_playlist_id"
}You can also add multiple playlists like this:
SPOTIFY_PLAYLISTS = {
"Playlist 1": "playlist_id_1",
"Playlist 2": "playlist_id_2"
}- Sign into Railway using github
- Select the forked repo in Railway
- Let it run