From: Colin P. McCabe Date: Wed, 1 Mar 2023 21:14:00 +0000 (-0800) Subject: Rename mtube.sh to tube, use yt-dlp X-Git-Url: http://club.cc.cmu.edu/~cmccabe/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b3ae7d8c427f9dc45db9eb7117cb2b609e4bfae5;p=cmccabe-bin Rename mtube.sh to tube, use yt-dlp --- diff --git a/mtube.sh b/tube similarity index 87% rename from mtube.sh rename to tube index 2343649..ddc9731 100755 --- a/mtube.sh +++ b/tube @@ -11,7 +11,7 @@ ABSPATH_MTUBE_DIR="$(pwd)/${MTUBE_DIR}" mkdir "${MTUBE_DIR}" || die "failed to mkdir ${MTUBE_DIR}" trap "rm -rf -- \"${ABSPATH_MTUBE_DIR}\"" EXIT pushd "${MTUBE_DIR}" || die "failed to pushed ${MTUBE_DIR}" -youtube-dl -f bestaudio -- ${MTUBE_ARGS} || die "youtube-dl failed" +yt-dlp -f bestaudio -- ${MTUBE_ARGS} || die "yt-dlp failed" music-to-mp3.sh * || die "music-to-mp3.sh failed" shopt -s extglob rm !(*.mp3) || die "rm of non-mp3 files failed"