lofi icon indicating copy to clipboard operation
lofi copied to clipboard

API Calls possible fix

Open TheMasterDingo opened this issue 3 years ago • 2 comments

Custom spotify id https://www.youtube.com/watch?v=Z0S430tm5ZI

Tuna and AudioBand uses this method and is very responsive. Can lofi implement something similar?

TheMasterDingo avatar May 22 '22 20:05 TheMasterDingo

We are already using this https://github.com/dvx/lofi/blob/master/src/main/auth.ts#L13

The issue with throttling is that we are doing too many requests to Spotify's REST api (once per second or so). I think we can circumvent that with the following: https://github.com/dvx/lofi/issues/190

stamoun avatar May 23 '22 12:05 stamoun

With the one i posted each user (premium) can create their own client id and secret code so the api calls can be sent separately, at least this will offload the current system for the freemium users

TheMasterDingo avatar May 23 '22 13:05 TheMasterDingo