From c896b4f65eb9e370e375fa5be11910aacd8e0d83 Mon Sep 17 00:00:00 2001 From: cho Date: Thu, 4 May 2023 22:21:53 +0700 Subject: [PATCH] add soundcloud --- home/default/.local/bin/musdl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home/default/.local/bin/musdl b/home/default/.local/bin/musdl index df5437b..151471b 100755 --- a/home/default/.local/bin/musdl +++ b/home/default/.local/bin/musdl @@ -4,7 +4,7 @@ file="$(wl-paste)" directory="$HOME/Music" case "$file" in - *youtube.com*|*youtu.be*|*bandcamp.com*) + *youtube.com*|*youtu.be*|*bandcamp.com*|*soundcloud.com*) notify-send "Downloading" "$file" cd $directory && yt-dlp --embed-metadata --embed-thumbnail -xc -f bestaudio/best --restrict-filenames "$file" && notify-send "Music added!" "$file is now saved to the music directory." ;;