Skip to content

Commit

Permalink
Fix Spotify
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaeldamasceno committed Apr 22, 2024
1 parent a353d6a commit 17c85b2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/commands/play.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ pub async fn play(
Some("open.spotify.com") => {
let spotify = SPOTIFY.lock().await;
let spotify = verify(spotify.as_ref(), ParrotError::Other(SPOTIFY_AUTH_FAILED))?;
spotify.request_token().await?;
Some(Spotify::extract(spotify, url).await?)
}
Some(other) => {
Expand Down

0 comments on commit 17c85b2

Please sign in to comment.