🎵 Spotify Code
Control Spotify directly from VS Code.
Features
- Play / Pause
- Next Track
- Previous Track
- Shows “Now Playing” in Status Bar
- Auto updates every 3 second
- Secure OAuth login
Setup (Important)
1. Create a Spotify App
Go to: https://developer.spotify.com/dashboard
Create an app → open settings → add this redirect URI:
http://127.0.0.1:8888/callback
Save.
2. Copy your keys
You will need:
3. Enter keys in VS Code
Open:
Settings → Spotify Extension Settings
Fill:
- Spotify Client ID
- Spotify Client Secret
Login
Run:
Spotify: Connect Account
A browser will open → log in → done.
Commands
Spotify: Connect Account
Spotify: Play/Pause
Spotify: Next Track
Spotify: Previous Track
Notes
- Spotify Premium is required for playback control (Spotify rule).
- Mobile Spotify cannot be controlled.
That's it.
Use status bar to control music anytime.
| |