Update play.rs

This commit is contained in:
killahtree 2022-11-03 20:10:49 -04:00 committed by GitHub
parent b1e1e61a94
commit 39b37d344f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -25,7 +25,8 @@ async fn main() {
}
let credentials = Credentials::with_password(&args[1], &args[2]);
let track = SpotifyId::from_base62(&args[3]).unwrap();
let mut track = SpotifyId::from_base62(&args[3]).unwrap();
track.item_type = SpotifyItemType::Track;
let backend = audio_backend::find(None).unwrap();