Re-organized providers and added a few
This commit is contained in:
@@ -32,6 +32,8 @@ struct AuthStatus {
|
||||
ytdlp_version: Option<String>,
|
||||
ytdlp_latest: Option<String>,
|
||||
ytdlp_update_available: bool,
|
||||
lastfm_api_key_set: bool,
|
||||
fanart_api_key_set: bool,
|
||||
}
|
||||
|
||||
/// GET /api/ytauth/status — check YouTube auth state.
|
||||
@@ -78,6 +80,8 @@ async fn status(state: web::Data<AppState>, session: Session) -> Result<HttpResp
|
||||
ytdlp_version,
|
||||
ytdlp_latest,
|
||||
ytdlp_update_available,
|
||||
lastfm_api_key_set: config.metadata.lastfm_api_key.is_some(),
|
||||
fanart_api_key_set: config.metadata.fanart_api_key.is_some(),
|
||||
}))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user