Yooooomi / your_spotify

Self hosted Spotify tracking dashboard
GNU General Public License v3.0
2.67k stars 109 forks source link

README: Update app creation info #341

Closed glensc closed 4 months ago

glensc commented 5 months ago

The instructions in readme are out of date, spotify has changed ther website.

image

The old instructions (wth screenshots) can be seen here:

seems spotify switched from pub/priv key part to client_id/client_secret?

glensc commented 5 months ago

I've managed to create app by filling:

  1. name: "your_spotify"
  2. description: "your_spotify"
  3. redirect uri: "http://localhost/oauth/spotify/callback"
  4. accept terms of service

didn't fill or check any other option

glensc commented 5 months ago

to find client_id and client_secret:

next steps:

  1. find the application from app list
  2. click "settings" for it
  3. find "Client ID" and "Client secret" under "Basic Information"

but what do I do with them? SPOTIFY_PUBLIC, SPOTIFY_SECRET variables want key's not tokens...

glensc commented 5 months ago

well. seems the terminology here is wrong. and that the linuxserver container creates public/private key pairs adds to confusion.

the client id and client id from basic information, needs to be filled as env for this application

      - SPOTIFY_PUBLIC=__your_spotify_client_id__
      - SPOTIFY_SECRET=__your_spotify_secret__

also noted in the previous blog:

Yooooomi commented 4 months ago

Taken into account, will be available next release. Thanks!

glensc commented 4 months ago

please share commits as well that implemented these changes