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 :)
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 :)