summaryrefslogtreecommitdiff
path: root/songgrab
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2022-08-30 08:13:17 -0500
committerzachir <zachir@librem.one>2022-08-30 08:13:17 -0500
commitaf8bace587c631ab64b6f30635a1d41ecbdf85ef (patch)
treeb3dea9238959820403b1a650f0919677747d7460 /songgrab
parent609b70596fdfec97ca341936f68e96443ae86308 (diff)
parentfb117fabcdc06a7898a88d6a5b6cbd7f1e29823e (diff)
update songgrab with notifications
Diffstat (limited to 'songgrab')
-rwxr-xr-xsonggrab2
1 files changed, 1 insertions, 1 deletions
diff --git a/songgrab b/songgrab
index e96861c..808ecb4 100755
--- a/songgrab
+++ b/songgrab
@@ -81,7 +81,7 @@ fi
# download the video(s)
notify-send "songgrab" "Starting download..."
printf "Starting download..."
-ls | grep -q "$(echo $URL | cut -d'=' -f2 | cut -d'&' -f1)" && echo "Already downloaded" || youtube-dl $SPLITTER_FLAGS --format bestaudio --restrict-filenames "$URL"
+ls | grep -q "$(echo $URL | cut -d'=' -f2 | cut -d'&' -f1)" && echo "Already downloaded" || yt-dlp $SPLITTER_FLAGS --format bestaudio --restrict-filenames "$URL"
notify-send "songgrab" "Download stopped."
printf "Download stopped."