We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e93bfee commit 734894dCopy full SHA for 734894d
spotify/index.js
@@ -987,6 +987,7 @@ ControllerSpotify.prototype.spotifyApiConnect = function () {
987
var d = new Date();
988
989
self.spotifyApi = new SpotifyWebApi();
990
+ self.spotifyApi.setDefaultHeaders({'Accept-Language': self.commandRouter.sharedVars.get('language_code')});
991
992
// Retrieve an access token
993
self.spotifyClientCredentialsGrant()
spotify/package.json
@@ -32,7 +32,7 @@
32
"kew": "^0.7.0",
33
"node-cache": "^4.1.1",
34
"socket.io-client": "2.1.1",
35
- "spotify-web-api-node": "^5.0.2",
+ "spotify-web-api-node": "volumio/spotify-web-api-node#caf4921d71a3b67badfa25a1f2d5b36aa55e32a4",
36
"superagent": "^8.1.2",
37
"v-conf": "^1.4.2",
38
"ws": "^8.13.0"
0 commit comments