Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spotify Access Token keeps being Disabled and Blocked #8

Open
mschut opened this issue Apr 28, 2023 · 6 comments
Open

Spotify Access Token keeps being Disabled and Blocked #8

mschut opened this issue Apr 28, 2023 · 6 comments

Comments

@mschut
Copy link

mschut commented Apr 28, 2023

Am using the Spotty plugin for years now, very happy with it. However, in the recent months or so my Access Tokens (Spotify Development) keep being Disabled and Blocked. If I look at the "endpoints" (I assume the # of API calls) is above 4k per day.

Schermafbeelding 2023-04-28 om 09 39 29

I am using 6 Spotify users on 1 LMS server, but am doing this for years already. Dus to this behaviour I have to create a new App in the Spotify Development portal, but this is not fixing the real issue. Anyone any idea?

@michaelherger
Copy link
Owner

That's pretty high numbers. With four users I'm in the 150-200 calls range. And I don't see that much activity on /v1/playlists/. Are you using Connect mode extensively? Or do you have particularly large playlists? The API would only return 50 tracks per playlist. If you play lists with hundreds or thousands of tracks, this can result in high numbers of calls to those endpoints.

FWIW: the default client embedded in to the plugin sees about 60-70 requests per day and user. That would be closer to my number than yours on average. But that's a client ID with a "quota extension".

@michaelherger
Copy link
Owner

michaelherger commented Apr 28, 2023

BTW: you'd likely reach more users posting to https://forums.slimdevices.com.

@mschut
Copy link
Author

mschut commented Apr 29, 2023

That's pretty high numbers. With four users I'm in the 150-200 calls range. And I don't see that much activity on /v1/playlists/. Are you using Connect mode extensively? Or do you have particularly large playlists? The API would only return 50 tracks per playlist. If you play lists with hundreds or thousands of tracks, this can result in high numbers of calls to those endpoints.

FWIW: the default client embedded in to the plugin sees about 60-70 requests per day and user. That would be closer to my number than yours on average. But that's a client ID with a "quota extension".

Thanks for the two leads. I have the Connect option enabled, but I would think this is not used so regularly and steady. The best lead would be the Playlists, I think my children do have very extensive playlists on Spotify. The best option to try is not to sync these playlists. To be sure, the top setting in the LMS Add-on of Spotty, where you could add account. There is an option "Import". Is this the "import playlists/library into LMS"?

@michaelherger
Copy link
Owner

That flag is to tell whether a collection should be part of the LMS library or not. If you want to skip playlists only, then you have to set that option in the Online Music Library Integration plugin settings (available from the same dropdown menu).

@mschut
Copy link
Author

mschut commented May 3, 2023

If you want to skip playlists only, then you have to set that option in the Online Music Library Integration plugin settings (available from the same dropdown menu).

I am looking at this, but I don't see an option specific for Playlists. I have disabled checking for updates, hopes that helps.

Schermafbeelding 2023-05-03 om 09 42 35

@michaelherger
Copy link
Owner

Oh, sorry. This is a new feature in LMS 8.4 - I guess you're running 8.3 or older? If you want to give it a try, you'll have to install that pre-release version. It's pretty stable at this point: https://downloads.slimdevices.com/nightly/?ver=8.4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants