From 39b37d344f4ae40d331a596d2425855a2dd13848 Mon Sep 17 00:00:00 2001 From: killahtree <34866740+wholivesinapineappleunderthesea@users.noreply.github.com> Date: Thu, 3 Nov 2022 20:10:49 -0400 Subject: [PATCH] Update play.rs --- examples/play.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/play.rs b/examples/play.rs index 1209bf95..3cb338a4 100644 --- a/examples/play.rs +++ b/examples/play.rs @@ -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();