spotify-web-api-node icon indicating copy to clipboard operation
spotify-web-api-node copied to clipboard

Player command failed: Cannot control device volume VOLUME_CONTROL_DISALLOW

Open iboxgithub opened this issue 3 years ago • 2 comments

Hi, as indicated in the title, if I want to cange the volume I get the error below... This happens when I call setVolume from the WebAPI SDK spotifyApi.setVolume(volume) I don't know how to fix it as I can't find an explanation in Spotify docs. Has anyone ever had this problem? Thanks for your help 😄

image

iboxgithub avatar Jan 20 '22 00:01 iboxgithub

I"m also getting same error

demonking15543 avatar Oct 12 '22 07:10 demonking15543

found this issue after trying to work on a similar feature, i'm curious if yall were using iOS ? i am playing audio on Spotify through my iPhone and when i try to use this library's setVolume() i get the same error. however, after looking into it a little further i think this may be the fault of the Spotify app on the device that's currently playing the audio, and not the fault of spotify-web-api-node

seems like the SDK for the app used to allow this, but has subsequently stopped (and they have no plans to re-enable that). https://github.com/spotify/ios-sdk/issues/32

bmrobin avatar Jan 26 '23 17:01 bmrobin