Replace Spotify username/password with access token

This commit is contained in:
Jonas Kvinge
2024-09-28 00:09:23 +02:00
parent ca8aa40034
commit dae4943593
8 changed files with 11 additions and 82 deletions

View File

@@ -915,7 +915,7 @@ GstEnginePipelinePtr GstEngine::CreatePipeline() {
pipeline->set_fading_enabled(fadeout_enabled_ || autocrossfade_enabled_ || fadeout_pause_enabled_);
#ifdef HAVE_SPOTIFY
pipeline->set_spotify_login(spotify_username_, spotify_password_);
pipeline->set_spotify_access_token(spotify_access_token_);
#endif
pipeline->AddBufferConsumer(this);