jpochyla / psst

Fast and multi-platform Spotify client with native GUI
MIT License
8.41k stars 215 forks source link

Credits support #509

Open LuckyTheCoder opened 1 month ago

LuckyTheCoder commented 1 month ago

Is your feature request related to a problem? Please describe. No

Describe the solution you'd like When right clicking on a track (playing or not), you'll have to option to view credits of a song.

Describe alternatives you've considered N/A

Additional context N/A

jacksongoode commented 1 month ago

Definitely would want to see this! We would need some third party API to get this info since Spotify does not provide the credits as an endpoint.

jacksongoode commented 1 month ago

It would be a great first PR if you'd like to @LuckyTheCoder, my guess either MusicBrainz or Discogs could be integrated as both have free APIs. And then we would just need a button to trigger the action in a new window!

kingosticks commented 1 month ago

I believe track credits can be obtained from GET https://spclient.wg.spotify.com/track-credits-view/v0/experimental/<TRACK URI>/credits with valid Bearer authorization and client-token headers, You'll get a JSON response.