mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-10 22:10:15 -05:00
@@ -71,17 +71,6 @@ spotify_deinit(void)
|
||||
backend->deinit();
|
||||
}
|
||||
|
||||
int
|
||||
spotify_login(const char *username, const char *password, const char **errmsg)
|
||||
{
|
||||
struct spotify_backend *backend = backend_set();
|
||||
|
||||
if (!backend || !backend->login)
|
||||
return -1;
|
||||
|
||||
return backend->login(username, password, errmsg);
|
||||
}
|
||||
|
||||
int
|
||||
spotify_login_token(const char *username, const char *token, const char **errmsg)
|
||||
{
|
||||
|
||||
@@ -30,9 +30,6 @@ spotify_init(void);
|
||||
void
|
||||
spotify_deinit(void);
|
||||
|
||||
int
|
||||
spotify_login(const char *username, const char *password, const char **errmsg);
|
||||
|
||||
int
|
||||
spotify_login_token(const char *username, const char *token, const char **errmsg);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user