fix comment

This commit is contained in:
2026-05-19 20:23:59 +00:00
parent da98aaa7ad
commit e9e1f3169e

View File

@@ -2,10 +2,11 @@
echo "Downloading youtube song $1" echo "Downloading youtube song $1"
source .env/bin/activate source .env/bin/activate
if [ "$2" = "-" ] && [ "$3" = "-" ]; then if [ "$2" = "-" ] && [ "$3" = "-" ]; then
echo "using artist $2 and title $3" echo "Downloading only with url, ignoring artist and title"
python3 download_youtube.py "$1" python3 download_youtube.py "$1"
else else
echo "Downloading only with url, ignoring artist and title" echo "Downloading only with url, ignoring artist and title"
echo "using artist $2 and title $3"
python3 download_youtube.py "$@" python3 download_youtube.py "$@"
fi fi