mirror of
https://github.com/librespot-org/librespot.git
synced 2024-12-18 17:11:53 +00:00
Fix example
This commit is contained in:
parent
80f0d3c59b
commit
a60d63637d
1 changed files with 2 additions and 2 deletions
|
@ -33,10 +33,10 @@ async fn main() {
|
|||
exit(1);
|
||||
}
|
||||
|
||||
let plist = Playlist::get(&session, plist_uri).await.unwrap();
|
||||
let plist = Playlist::get(&session, &plist_uri).await.unwrap();
|
||||
println!("{:?}", plist);
|
||||
for track_id in plist.tracks() {
|
||||
let plist_track = Track::get(&session, *track_id).await.unwrap();
|
||||
let plist_track = Track::get(&session, track_id).await.unwrap();
|
||||
println!("track: {} ", plist_track.name);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue