- Go to your Spotify Dashboard
- Click on create an app, now you'll be able to see your
Client IdandClient Secret - Click on
EDIT SETTINGS - Add
5EF1 http://localhost:{port}/callbackto theRedirect URIsfield, the default port is8889 - Click on
SAVE
After installing the plugin you'll find a new node called Gopotify
- Add a
Gopotifynode to your scene - Select the
Gopotifynode and in the inspector paste theClient IdandClient Secretin their respective inputs underScript Variables
| Function | Description |
|---|---|
| play() | Resumes music reproduction in the current active device |
| pause() | Pauses music reproduction in the current active device |
| next() | Skips to next song |
| previous() | Returns to previous song |
| get_player_state() | Returns an object with the player state as a raw json |
Check the godottpd project for more on running an http server in godot