It handles all Spotify Web API endpoints including control of players (https://developer.spotify.com/documentation/web-api/reference/)
- A spotify premium account and a registered app
- PowerShell 5.0 or later
- A cup of coffee or a nice tea
- Install from PSGallery
Install-Module Spotishell
- Import module
Import-Module Spotishell
- List commands available in the module. Familiarize yourself with these.
Get-Command -Module Spotishell
- Set up your credential (use keys from your registered app referenced in the prerequisites)
New-SpotifyApplication -ClientId "blahblahblah" -ClientSecret "blahblahblahblah"
-
Add "http://localhost:8080/spotishell" as a redirect URL in your Spotify app settings spotify developer Dashboard
-
Give it a whirl!
Start-Playback -TrackUris @('spotify:track:4juzduULFJiZVIcrC1tkxE') # Start Banquet of Bloc Party on the first available device
Search-Item -Query 'Bloc Party' -Type Artist # look for Bloc Party artist
- Enjoy the music and bountiful data :^)
"Music is the silence between the notes"
- Claude Debussy
See HELP for the synopsis, syntax, and parameters for each of the cmdlets.
If you feel so inclined, buy me a coffee