Announcements

Help Wizard

Step 1

NEXT STEP

Electron, Widevine, and the Spotify SDK: Do they work?

Electron, Widevine, and the Spotify SDK: Do they work?

I've gone as far as connecting to the Spotify SDK in Electron, but I get a playback error with this status 500 POST error when trying to play:

https://api.spotify.com/v1/widevine-license/v1/audio/license?exp=1622751382&cp=&tok=xxxxxxx

loading the link gives this:

{
  "error": {
    "status": 401,
    "message": "No token provided"
  }
}


For a little more context, I used CastLabs to deal with Widevine (https://github.com/castlabs/electron-releases/) which works fine.  Just playing songs so far is the problem for me.

I started reading on the 3 (Electron, Widevine, and Spotify SDK) more online and an article I read stated that so far, connecting the Spotify SDK to Electron may be impossible... but I need to hear it here ( and maybe cry 😞 ). 

Is there a solution?  Or at least, is there another desktop framework that is 100% guaranteed to work AND supports global key presses (https://www.electronjs.org/docs/api/global-shortcut)?

Thanks,

Reply
0 Replies

Suggested posts