spotify-web-api-node
spotify-web-api-node copied to clipboard
Player command failed: Cannot control device volume VOLUME_CONTROL_DISALLOW
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 😄
I"m also getting same error
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