Closed brokenprogrammer closed 3 years ago
Found the following package and links which might be interesting for ideas on how to use this from typescript.
https://www.npmjs.com/package/@types/spotify-web-playback-sdk
Update: This wont work in electron due to it has some DRM features missing.
We need to use a fork of electron see: https://github.com/callbackinsanity/Et-in-Electron-Ego-III
This can be done through the spotify api: https://developer.spotify.com/documentation/web-playback-sdk/quick-start/#source-code
Not 100% sure how this is done but I think we could import it within the electron app through electrons remote require and place the sqript within index.html for the app.
This is experimental so we'll see how it works out.