merge with branch and pass arguments directly

This commit is contained in:
SemvdHoeven
2026-05-08 15:42:45 +02:00
2 changed files with 3 additions and 1 deletions

View File

@@ -1,8 +1,9 @@
#!/bin/bash
echo "Downloading youtube song $1"
source .env/bin/activate
echo "using artist $2 and title $3"
python3 download_youtube.py "$@"
./process_music.sh
# ./process_music.sh
echo "Done!"

View File

@@ -4,6 +4,7 @@ import sys
artist = ""
title = ""
print(sys.argv)
if len(sys.argv) == 4:
artist = sys.argv[2]
title = sys.argv[3]