Type in your question below and we'll check to see what answers we can find...
Loading article...
Submitting...
If you couldn't find any answers in the previous step then we need to post your question in the community and wait for someone to respond. You'll be notified when that happens.
Simply add some detail to your question and refine the title if needed, choose the relevant category, then post.
Before we can post your question we need you to quickly make an account (or sign in if you already have one).
Don't worry - it's quick and painless! Just click below, and once you're logged in we'll bring you right back here and post your question. We'll remember what you've already typed in so you won't have to do it again.
Please see below the most popular frequently asked questions.
Loading article...
Loading faqs...
Please see below the current ongoing issues which are under investigation.
Loading issue...
Loading ongoing issues...
Hi,
I started using https://github.com/castlabs/electron-releases/ recently to build an app that uses the Spotify Playback SDK. Supposedly this version of electron comes with a signed development license of Widevine which i've tested on a couple sites like https://shaka-player-demo.appspot.com/demo/ and works fine.
However, when I try to get the playback SDK working with Spotify, only the first few seconds of the song plays before it stops due to a request to `
`https://api.spotify.com/v1/widevine-license/v1/audio/license?exp=1591569937&cp=&tok=xxx` failing.
Does anyone know if Spotify requires a production Widevine license or should a development Widevine license still allow playback of content through the spotify SDK?
Thanks
Hey @pirates19, help's here!
First things first, just to make sure, could you check the following items:
Let me know!
Have a good one, happy coding!
Hubo
Hey @pirates19, thanks for getting back to me!
Hmm, it looks like this could be happening due to the API's limitations. Right now, you can only use this API in Chrome, Firefox, Microsoft Edge and IE. You can't embed this API in an Electron app, just yet.
If this is something you'd like to see I recommend posting this on the Ideas board! That way, Spotify can keep track of it. 🙂
Let me know if you have any questions.
Happy coding,
Hubo
hi! i'm having the same problem on web chrome when i try to play a song, strictly following the sdk tutorials so i'm kinda stuck
any help is appreciated
thanks!
It sounds like you're experiencing a separate issue because Chrome has a production licensed Widevine DRM built into it that should work out of the box (unlike electron). Maybe check that you aren't missing a scope that you need?
Hey you were absolutely right, thank you so much for your help!
for anyone wondering it worked with this scopes.
We're running into a similar issue. Does anyone have any advice on how to fix? We've confirmed Widevine is working in our Electron app in development (we can play Widevine DRM content). We see the Spotify player connect because we get a device id. However, when we start playing we're seeing 500 errors from https://api.spotify.com/v1/widevine-license/v1/audio/license endpoint. Any ideas on how to fix this?
Hey there you, Yeah, you! 😁 Welcome - we're glad you joined the Spotify Community! While you here, let's have a fun game and get…