Guillaume Desmottes 2024-10-24 18:12:41 +02:00
parent 0ea7e9a59c
commit cdaee85a19

View file

@ -10,10 +10,11 @@ to respect their legal/licensing restrictions.
This plugin requires a [Spotify Premium](https://www.spotify.com/premium/) account.
Provide a Spotify access token with 'streaming' scope using the `access-token` property. Such a token can be obtained by completing
[Spotify's OAuth flow](https://developer.spotify.com/documentation/web-api/concepts/authorization) or using the facility on their
[Web SDK getting started guide](https://developer.spotify.com/documentation/web-playback-sdk/tutorials/getting-started).
A token can also be obtained using [librespot-oauth](https://github.com/librespot-org/librespot/blob/dev/oauth/examples/oauth.rs):
Provide a Spotify access token with 'streaming' scope using the `access-token` property. Such a token can be obtained by using either:
- [this webpage](https://open.spotify.com/get_access_token) for easy testing;
- [Spotify's OAuth flow](https://developer.spotify.com/documentation/web-api/concepts/authorization);
- the facility on their [Web SDK getting started guide](https://developer.spotify.com/documentation/web-playback-sdk/tutorials/getting-started);
- [librespot-oauth](https://github.com/librespot-org/librespot/blob/dev/oauth/examples/oauth.rs):
```console
cargo install librespot-oauth --example oauth && oauth