| Developer: | Korey's Plugins |
| Category: | A/V and IR Equipment |
| Github: | Github Repo |
| Assistance: | Get help! |
| Plugin ID: | com.sherwinsound.spotifycontrol |
| Latest release: | v1.0.7 released on April 13, 2026 |
| Release downloaded: | 0 times |
| Requires: | Indigo v2022.1.0 or higher |
| Download latest release |
A comprehensive Indigo plugin for controlling Spotify and monitoring all playback data in real-time.
The plugin tracks and updates the following Spotify information:
Spotify.indigoPlugin packageChoose how often the plugin checks Spotify status: - 0.5 seconds: Smoothest updates, higher CPU usage - 1 second: Recommended for most uses - 2-5 seconds: Good for background monitoring - 10 seconds: Minimal CPU usage
If enabled, the plugin will create and update Indigo variables with all Spotify data:
- Variables are named: {Prefix}{StateName} (e.g., SpotifyTrackName)
- Useful for Control Pages and other integrations
- Variables are created automatically if they don't exist
-- In Indigo Actions
Execute Action "Spotify Player - Play"
Execute Action "Spotify Player - Pause"
Execute Action "Spotify Player - Next Track"
-- Set volume to 50%
Execute Action "Spotify Player - Set Volume" with value "50"
-- Increase volume by 10
Execute Action "Spotify Player - Volume Up" with value "10"
-- Mute/Unmute
Execute Action "Spotify Player - Mute"
Execute Action "Spotify Player - Unmute"
-- Play a specific track
Execute Action "Spotify Player - Play Specific Track"
Track URI: "spotify:track:3n3Ppam7vgaVa1iaRUc9Lp"
-- Play a playlist
Execute Action "Spotify Player - Play Playlist"
Playlist URI: "spotify:playlist:37i9dQZF1DXcBWIGoYBM5M"
-- Search and play
Execute Action "Spotify Player - Search and Play"
Search Query: "Bohemian Rhapsody Queen"
Search Type: "Track"
Create triggers based on device state changes:
- Trigger when playback starts: isPlaying becomes true
- Trigger when specific artist plays: artist contains "The Beatles"
- Trigger when volume changes: soundVolume changes
- Trigger when shuffle enabled: shuffling becomes true
Add Spotify controls to your Control Pages:
- Display current track: Use status state
- Show album art: Use artworkUrl state
- Display progress: Use playerPositionFormatted and durationFormatted
- Volume slider: Control via Set Volume action
- Play/Pause button: Use Play/Pause Toggle action
The plugin accepts both Spotify URIs and URLs:
URI Format (preferred):
spotify:track:3n3Ppam7vgaVa1iaRUc9Lp
spotify:album:6QaVfG1pHYl1z15ZxkvVDW
spotify:artist:3WrFJ7ztbogyGnTHbHJFl2
spotify:playlist:37i9dQZF1DXcBWIGoYBM5M
URL Format (automatically converted):
https://open.spotify.com/track/3n3Ppam7vgaVa1iaRUc9Lp
https://open.spotify.com/album/6QaVfG1pHYl1z15ZxkvVDW
https://open.spotify.com/artist/3WrFJ7ztbogyGnTHbHJFl2
https://open.spotify.com/playlist/37i9dQZF1DXcBWIGoYBM5M
To get URIs/URLs: 1. Right-click any item in Spotify 2. Select Share → Copy Spotify URI (or Copy Link) 3. Paste into plugin action
# Get current track info
spotify_dev = indigo.devices[12345] # Your device ID
track = spotify_dev.states['trackName']
artist = spotify_dev.states['artist']
indigo.server.log(f"Now playing: {artist} - {track}")
# Control playback
indigo.device.execute("Spotify Player", action="play")
indigo.device.execute("Spotify Player", action="nextTrack")
tell application "IndigoServer"
-- Get current track
set trackName to value of variable "SpotifyTrackName"
-- Execute actions
execute action "Play/Pause Toggle" of device "Spotify Player"
end tell
The plugin uses AppleScript to communicate with Spotify: - Spotify must be the desktop app (not web player) - macOS may prompt for accessibility permissions - Grant permissions in System Preferences → Security & Privacy
For issues or feature requests: 1. Check Indigo plugin log for errors 2. Verify Spotify desktop app is working 3. Test with different update frequencies 4. Report issues with log excerpts
This plugin is provided as-is for use with Indigo home automation.
Note: This plugin controls the Spotify desktop application on the Mac running Indigo. It does not control Spotify Connect devices or other Spotify instances. For multi-room control, use Spotify Connect within the Spotify app itself.
| Released on: | April 13, 2026 |
| Requires: | Indigo v2022.1.0+ |
| Downloaded: | 0 times |
| Download this release | |
Spotify Control v1.0.7 New Added Indigo plugin store icon (3D cube style to match other SherwinSound plugins) Improved handling for Spotify URIs (track, album, playlist, artist) Improved Search & Play now correctly respects selected search type More reliable AppleScript execution with basic error handling Cleaner state updates when Spotify is not running Better handling of invalid or empty user input in actions General code cleanup and consistency improvements Fixed Fixed issue where all URIs were treated as track URIs Fixed potential crashes from invalid numeric inputs Fixed stale metadata remaining when playback stops Corrected plugin metadata inconsistencies in Info.plist Renamed plugin internally from “Spotify Control2” to “Spotify Control” Technical Standardized plugin versioning to 1.0.7 Added missing IwsApiVersion Cleaned bundle (removed macOS zip artifacts like __MACOSX) Verified plugin structure and Python compilation