mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-11-22 11:30:59 +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.
|
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
|
Provide a Spotify access token with 'streaming' scope using the `access-token` property. Such a token can be obtained by using either:
|
||||||
[Spotify's OAuth flow](https://developer.spotify.com/documentation/web-api/concepts/authorization) or using the facility on their
|
- [this webpage](https://open.spotify.com/get_access_token) for easy testing;
|
||||||
[Web SDK getting started guide](https://developer.spotify.com/documentation/web-playback-sdk/tutorials/getting-started).
|
- [Spotify's OAuth flow](https://developer.spotify.com/documentation/web-api/concepts/authorization);
|
||||||
A token can also be obtained using [librespot-oauth](https://github.com/librespot-org/librespot/blob/dev/oauth/examples/oauth.rs):
|
- 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
|
```console
|
||||||
cargo install librespot-oauth --example oauth && oauth
|
cargo install librespot-oauth --example oauth && oauth
|
||||||
|
|
Loading…
Reference in a new issue