Control spotify with Shell GPT #552
SpaceShaman
started this conversation in
Functions
Replies: 1 comment
-
This is so cool, nice work! I like the way you are pulling out method names and description from the lib. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
This AI function allows you to control Spotify with Shell GPT. You can ask it to play a song, pause, skip, or even ask to find a song for you and add it to your playlist.
All commands from the Spotify API are supported.
spotify-2024-04-21_17.18.14.mp4
spotify-2024-04-21_17.51.42.mp4
How to use
Install the requirements
Create a Spotify app and get the client ID and client secret. You can do this by going to the Spotify Developer Dashboard and creating a new app.
Add the client ID and client secret to the
~/.config/shell_gpt/.sgptrc
file.Save below code as
spotify.py
in the~/.config/shell_gpt/functions
directory.Beta Was this translation helpful? Give feedback.
All reactions