fixed example play.rs initalizing player
@@ -36,7 +36,7 @@ fn main() {
let session = core.run(Session::connect(session_config, credentials, None, handle))
.unwrap();
- let player = Player::new(player_config, session.clone(), None, move || (backend)(None));
+ let (player,_)= Player::new(player_config, session.clone(), None, move || (backend)(None));
println!("Playing...");
core.run(player.load(track, true, 0)).unwrap();
