Control Spotify playback directly from your Unfolded Circle Remote 2 or Remote 3 with full media browsing, search, Spotify Connect device switching, and real-time playback updates with album artwork.
If you find this integration useful, consider supporting development:
- Playback Controls โ Play/Pause, Next, Previous, Seek, Shuffle, Repeat
- Volume Management โ Precise 1% step volume control with instant UI feedback
- Media Information โ Title, artist, album with high-quality artwork and live progress
- Source Selection โ Switch between all Spotify Connect devices
- Real-time Updates โ 10-second polling with optimistic state updates
Browse and play your Spotify library directly from the Remote's media browser:
- Playlists โ All your playlists with artwork
- Saved Albums โ Your album library
- Liked Songs โ Saved tracks collection
- Top Tracks โ Your most-played tracks
- Top Artists โ Your most-listened artists with top tracks and discography
- Followed Artists โ Artists you follow
- Recently Played โ Recent listening history
- New Releases โ Latest album releases
- Search โ Full-text search across tracks, albums, artists, and playlists
- Three-Source Discovery โ Devices from Spotify API + Zeroconf/mDNS + 24h cache
- Zeroconf/mDNS โ Discovers devices on your local network (even when idle)
- Smart Name Resolution โ Queries each device's getInfo endpoint for real friendly names
- Device Caching โ Previously-seen devices remain available for 24 hours
- Instant Switching โ Transfer playback between devices with one tap
- Physical Button Mapping โ Play/Pause, Next, Previous, Volume Up/Down
- Custom UI Page โ Playback controls with shuffle and repeat
- Simple Commands โ Play, Pause, Next, Previous, Volume Up/Down, Shuffle, Repeat
- Now Playing โ Current track title and artist as text
- Active Device โ Currently active Spotify Connect playback device
- Active Device โ Browse and switch between all discovered Spotify Connect devices with next/previous cycling
- Protocol: Spotify Web API (OAuth 2.0 Authorization Code Flow)
- Account: Spotify Premium required (API no longer supports Free accounts)
- Internet: Required for Spotify API access
- Local Network: Required for Zeroconf device discovery
- Polling: 10-second intervals (configurable)
- Token Management: Automatic refresh with persistence
- Navigate to the Releases page
- Download the latest
uc-intg-spotify-<version>-aarch64.tar.gzfile - Open your remote's web interface (
http://your-remote-ip) - Go to Settings โ Integrations โ Add Integration
- Click Upload and select the downloaded
.tar.gzfile
Image: ghcr.io/mase1981/uc-intg-spotify:latest
Docker Compose:
services:
uc-intg-spotify:
image: ghcr.io/mase1981/uc-intg-spotify:latest
container_name: uc-intg-spotify
network_mode: host
volumes:
- </local/path>:/data
environment:
- UC_CONFIG_HOME=/data
- UC_INTEGRATION_HTTP_PORT=9090
- PYTHONPATH=/app
restart: unless-stoppedDocker Run:
docker run -d --name=uc-intg-spotify --network host -v </local/path>:/data -e UC_CONFIG_HOME=/data -e UC_INTEGRATION_HTTP_PORT=9090 -e PYTHONPATH=/app --restart unless-stopped ghcr.io/mase1981/uc-intg-spotify:latestBEFORE INSTALLATION: Create a Spotify Developer App (free, 5 minutes):
- Go to Spotify Developer Dashboard
- Log in with your Premium Spotify account
- Click "Create App"
- Fill in:
- App Name:
UC Remote(or any name) - App Description:
Unfolded Circle Remote integration - Redirect URI:
https://example.com/callbackโ ๏ธ Must be exactly this - API: Check "Web API"
- App Name:
- Click "Save"
- Note your Client ID and Client Secret (click "Show Client Secret")
- โ Spotify Premium required โ API no longer supports Free accounts
- โ
Redirect URI must be exactly
https://example.com/callback - โ Keep credentials secure โ don't share them
- โ No recurring costs โ one-time setup
- After installation, go to Settings โ Integrations โ Spotify
- Click "Configure"
- Enter your Spotify Client ID
- Enter your Spotify Client Secret
- Click Next
- Click the Spotify authorization URL displayed on screen
- Log into your Spotify account and click Agree
- Browser shows "page not found" โ this is normal!
- Copy the
code=...value from the browser address bar (or paste the entire URL) - Paste into setup form and click Finish
Five entities are created automatically:
- Spotify Player โ Media Player with browse, search, and playback control
- Spotify Remote โ Remote entity with button mappings and custom UI
- Spotify Active Device โ Select entity for device switching
- Spotify Now Playing โ Sensor showing current track
- Spotify Active Device โ Sensor showing active playback device
- Developer: Meir Miyara
- Protocol: Spotify Web API with OAuth 2.0
- Framework: Unfolded Circle ucapi-framework
- Discovery: Zeroconf/mDNS for Spotify Connect device resolution
- Community: Testing and feedback from UC community
This project is licensed under the MPL-2.0 License - see LICENSE file for details.
This is an independent, unofficial project using Spotify's public Web API. Not sponsored, endorsed, or affiliated with Spotify AB.
- GitHub Issues: Report bugs and request features
- UC Community Forum: General discussion and support
- Developer: Meir Miyara
- Spotify Support: Official Spotify Support
Made with โค๏ธ for the Unfolded Circle and Spotify Communities โ Thank You: Meir Miyara