Skip to content

Commit

Permalink
example: adjust to model change
Browse files Browse the repository at this point in the history
  • Loading branch information
photovoltex committed Dec 19, 2024
1 parent fbe1657 commit 67ceecd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/play_connect.rs
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ async fn main() {
repeat: false,
repeat_track: false,
// the index specifies which track in the context starts playing, in this case the first in the album
playing_track: PlayingTrack::Index(0),
playing_track: PlayingTrack::Index(0).into(),
})
.unwrap();
});
Expand Down

0 comments on commit 67ceecd

Please sign in to comment.