add: last.fm status integration
This commit is contained in:
parent
3e2bdceb99
commit
0765156697
17 changed files with 397 additions and 3 deletions
|
@ -155,12 +155,20 @@ pub struct ConnectionsConfig {
|
|||
/// <https://developer.spotify.com/documentation/web-api>
|
||||
#[serde(default)]
|
||||
pub spotify_client_id: Option<String>,
|
||||
/// <https://www.last.fm/api/authspec>
|
||||
#[serde(default)]
|
||||
pub last_fm_key: Option<String>,
|
||||
/// <https://www.last.fm/api/authspec>
|
||||
#[serde(default)]
|
||||
pub last_fm_secret: Option<String>,
|
||||
}
|
||||
|
||||
impl Default for ConnectionsConfig {
|
||||
fn default() -> Self {
|
||||
Self {
|
||||
spotify_client_id: None,
|
||||
last_fm_key: None,
|
||||
last_fm_secret: None,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue