Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

volume level control #167

Open
Lockeddoor opened this issue Jun 27, 2021 · 1 comment
Open

volume level control #167

Lockeddoor opened this issue Jun 27, 2021 · 1 comment

Comments

@Lockeddoor
Copy link

maybe if you add a feature to control the volume would be great also ı have coded my own Spotify apı and control for my project so ı got an example for you if you add it that would be so good

def volume_level():
print("volume")
vol = ""
try:
vol = vol.join(filter(str.isdigit, query))
sp = spotipy.Spotify(auth=refresh())
sp.volume(int(vol))
except:
print("something went wrong")

this is the code for python. it takes input and gets the percentage into it and changes to it you had already got a refresh token just add it. Also ı used AI so ı got a aı command that to you can use
"tag": "volume_level",
"patterns": [" Spotify volume", "change the Spotify volume to", "make the Spotify volume", " Spotify %"],

ı hope these can help if you add it that would be good have a great day :)

@forslund
Copy link
Owner

forslund commented Aug 6, 2021

Sorry for the late response, this is an excellent Idea. will try to get it in before the end of the vacation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants