mirror of
https://github.com/librespot-org/librespot.git
synced 2024-11-08 16:45:43 +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 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();
|
let backend = audio_backend::find(None).unwrap();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue