X-Git-Url: https://git.shemshak.org/~bandali/configs/blobdiff_plain/75cd13295a74a113d6da8d3e8cb02553f8a8c6c0..23e6afcbccdfe657a618a094b71e43687ce2784b:/zsh/.zshrc.local diff --git a/zsh/.zshrc.local b/zsh/.zshrc.local index 496f94b..be7ad02 100644 --- a/zsh/.zshrc.local +++ b/zsh/.zshrc.local @@ -14,6 +14,5 @@ function take() { function y() { cd ~/music - youtube-dl -f bestaudio $1 - for f in *.m4a; do ffmpeg -i "$f" -codec:v copy -codec:a libmp3lame -q:a 2 "${f%.m4a}.mp3"; rm "$f"; done + youtube-dl --extract-audio --audio-format mp3 --audio-quality 0 $1 }