mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-12-22 18:16:28 +00:00
spotify: README: add https://open.spotify.com/get_access_token
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1882>
This commit is contained in:
parent
0ea7e9a59c
commit
cdaee85a19
1 changed files with 5 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue