From bc591dcedf45b80f70661f33c42c68dbd581e901 Mon Sep 17 00:00:00 2001 From: jdlugosz963 Date: Mon, 11 Aug 2025 17:36:57 +0200 Subject: Migrate to RDE --- files/.bin/download_music.sh | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100755 files/.bin/download_music.sh (limited to 'files/.bin/download_music.sh') diff --git a/files/.bin/download_music.sh b/files/.bin/download_music.sh deleted file mode 100755 index e3a3601..0000000 --- a/files/.bin/download_music.sh +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/sh - -BOLD="\e[1"; -ENDCOLOR="\e[0m"; -Green="32"; -LightRed="31"; - -if ! [ $1 ]; then - echo "" - echo -e $BOLD";"";"$LightRed"m Please provide music url!"$ENDCOLOR - echo "" - exit -fi - -MUSIC_DIR="~/Documents/Music/%(artist)s/%(album)s/%(title)s-%(id)s.%(ext)s" -if [ $2 ]; then - MUSIC_DIR="${a}/%(artist)s/%(album)s/%(title)s-%(id)s.%(ext)s" -fi - -echo "" -echo -e $BOLD";"";"$Green"m Music will download to ${MUSIC_DIR} directory!"$ENDCOLOR -echo "" - -sleep 1 - -yt-dlp -x --audio-format mp3 --embed-metadata -o $MUSIC_DIR $1 -- cgit v1.2.3