diff options
-rw-r--r-- | yt/src/select/cmds.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/yt/src/select/cmds.rs b/yt/src/select/cmds.rs index db3685a..0d06bd5 100644 --- a/yt/src/select/cmds.rs +++ b/yt/src/select/cmds.rs @@ -48,11 +48,12 @@ pub async fn handle_select_cmd( entry: yt_dlp::wrapper::info_json::InfoJson, ) -> Result<()> { let video = video_entry_to_video(entry, None)?; + add_video(app, video.clone()).await?; + println!( "{}", (&video.to_formatted_video(app).await?.colorize()).to_line_display() ); - add_video(app, video).await?; Ok(()) } |