mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-11-25 13:01:07 +00:00
spotify: document how to use with non Facebook accounts
See discussion on #203. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1490>
This commit is contained in:
parent
7a46377627
commit
03abb5c681
3 changed files with 8 additions and 7 deletions
|
@ -8,10 +8,11 @@ to respect their legal/licensing restrictions.
|
||||||
|
|
||||||
## Spotify Credentials
|
## Spotify Credentials
|
||||||
|
|
||||||
This plugin requires a [Spotify Premium](https://www.spotify.com/premium/) account configured
|
This plugin requires a [Spotify Premium](https://www.spotify.com/premium/) account.
|
||||||
with a [device password](https://www.spotify.com/us/account/set-device-password/).
|
If your account is linked with Facebook, you'll need to setup
|
||||||
|
a [device username and password](https://www.spotify.com/us/account/set-device-password/).
|
||||||
|
|
||||||
You can then set the device username and password using the `username` and `password` properties.
|
Those username and password are then set using the `username` and `password` properties.
|
||||||
|
|
||||||
You may also want to cache credentials and downloaded files, see the `cache-` properties on the element.
|
You may also want to cache credentials and downloaded files, see the `cache-` properties on the element.
|
||||||
|
|
||||||
|
|
|
@ -30,13 +30,13 @@ impl Settings {
|
||||||
pub fn properties() -> Vec<glib::ParamSpec> {
|
pub fn properties() -> Vec<glib::ParamSpec> {
|
||||||
vec![glib::ParamSpecString::builder("username")
|
vec![glib::ParamSpecString::builder("username")
|
||||||
.nick("Username")
|
.nick("Username")
|
||||||
.blurb("Spotify device username from https://www.spotify.com/us/account/set-device-password/")
|
.blurb("Spotify username, Facebook accounts need a device username from https://www.spotify.com/us/account/set-device-password/")
|
||||||
.default_value(Some(""))
|
.default_value(Some(""))
|
||||||
.mutable_ready()
|
.mutable_ready()
|
||||||
.build(),
|
.build(),
|
||||||
glib::ParamSpecString::builder("password")
|
glib::ParamSpecString::builder("password")
|
||||||
.nick("Password")
|
.nick("Password")
|
||||||
.blurb("Spotify device password from https://www.spotify.com/us/account/set-device-password/")
|
.blurb("Spotify password, Facebook accounts need a device password from https://www.spotify.com/us/account/set-device-password/")
|
||||||
.default_value(Some(""))
|
.default_value(Some(""))
|
||||||
.mutable_ready()
|
.mutable_ready()
|
||||||
.build(),
|
.build(),
|
||||||
|
|
|
@ -8494,7 +8494,7 @@
|
||||||
"writable": true
|
"writable": true
|
||||||
},
|
},
|
||||||
"password": {
|
"password": {
|
||||||
"blurb": "Spotify device password from https://www.spotify.com/us/account/set-device-password/",
|
"blurb": "Spotify password, Facebook accounts need a device password from https://www.spotify.com/us/account/set-device-password/",
|
||||||
"conditionally-available": false,
|
"conditionally-available": false,
|
||||||
"construct": false,
|
"construct": false,
|
||||||
"construct-only": false,
|
"construct-only": false,
|
||||||
|
@ -8518,7 +8518,7 @@
|
||||||
"writable": true
|
"writable": true
|
||||||
},
|
},
|
||||||
"username": {
|
"username": {
|
||||||
"blurb": "Spotify device username from https://www.spotify.com/us/account/set-device-password/",
|
"blurb": "Spotify username, Facebook accounts need a device username from https://www.spotify.com/us/account/set-device-password/",
|
||||||
"conditionally-available": false,
|
"conditionally-available": false,
|
||||||
"construct": false,
|
"construct": false,
|
||||||
"construct-only": false,
|
"construct-only": false,
|
||||||
|
|
Loading…
Reference in a new issue