mirror of
https://github.com/librespot-org/librespot.git
synced 2024-12-18 17:11:53 +00:00
Update play.rs
This commit is contained in:
parent
b1e1e61a94
commit
39b37d344f
1 changed files with 2 additions and 1 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in a new issue