Transform your music experience with G-Assist! This plugin lets you control Spotify using simple voice commands or the G-Assist interface. Whether you want to play your favorite tracks, manage playlists, or control playback, managing your Spotify has never been easier.
- 🎵 Control Spotify playback (play, pause, next, previous)
- 🔀 Toggle shuffle mode
- 🔊 Adjust volume levels
- 📑 Access and manage your playlists
- 🎮 Seamlessly integrates with your G-Assist setup
- 🔧 Easy to set up and configure
Make sure you have:
- Windows PC
- Python 3.x installed on your computer
- Spotify Account (Free or Premium)
- Spotify Developer Account
- G-Assist installed on your system
💡 Tip: Some Spotify Web API functions are only available to Premium subscribers. Check the API documentation for details!
- Sign up for Spotify at https://accounts.spotify.com/en/login
- Create a Developer Account at https://developer.spotify.com/
- Accept the developer terms of service
- Go to https://developer.spotify.com/dashboard
- Click "Create App" and enter:
- App Name: My App
- App Description: This is my first Spotify app
- Redirect URI: "https://open.spotify.com"
- Select "Web API" in Permissions
- Accept the Developer Terms of Service and create the app
Create a config.json
file with your app credentials:
{
"client_id": "<Your Client ID>",
"client_secret": "<Your Client Secret>",
"username": "<Your Spotify Username>"
}
Run our setup script to create a virtual environment and install dependencies:
setup.bat
💡 Tip: The script will display "Setup complete" when successful!
build.bat
This will create a dist\spotify
folder containing all the required files for the plugin.
- Copy the entire
dist\spotify
folder to:%PROGRAMDATA%\NVIDIA Corporation\nvtopps\rise\plugins\
💡 Tip: Make sure all G-Assist clients are closed when copying files!
The plugin includes these main functions:
spotify_start_playback
: Start playing musicspotify_pause_playback
: Pause the current trackspotify_next_track
: Skip to next trackspotify_previous_track
: Go to previous trackspotify_shuffle_playback
: Toggle shuffle modespotify_set_volume
: Adjust volumespotify_get_currently_playing
: Get current track infospotify_queue_track
: Add a track to queuespotify_get_user_playlists
: List your playlists
- Build failed? Make sure Python is in your system PATH
- Plugin not working? Verify all files are copied to the plugins folder
- Can't authenticate? Double-check your client ID and secret in config.json
If you run into issues:
- Verify your Spotify credentials are correct
- Check that G-Assist is running
- Ensure your
config.json
is properly formatted - Try restarting G-Assist
- 🎮 Built using the Spotify Web API
- 🚀 Part of the NVIDIA G-Assist platform