From abd73a7cd3cb236dffcc52c4cb32ba9084d9e664 Mon Sep 17 00:00:00 2001 From: Marty Sluijtman Date: Fri, 20 Dec 2024 10:07:23 +0100 Subject: [PATCH] invyt: Download audio command --- src/bin/invyt | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/bin/invyt b/src/bin/invyt index b0a5fce..8a4617b 100755 --- a/src/bin/invyt +++ b/src/bin/invyt @@ -58,7 +58,14 @@ def "main dl" [url: string, --max-res(-m): string] { } } - def "main play" [url: string] { mpv (main $url) } + +def "main dla" [url: string] { + yt-dlp --embed-chapters --embed-metadata -x (parse_url $url) +} + +def "main download audio" [url: string] { + yt-dlp --embed-chapters --embed-metadata -x (parse_url $url) +}