merge with branch and pass arguments directly
This commit is contained in:
@@ -1,8 +1,9 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
echo "Downloading youtube song $1"
|
echo "Downloading youtube song $1"
|
||||||
source .env/bin/activate
|
source .env/bin/activate
|
||||||
|
echo "using artist $2 and title $3"
|
||||||
python3 download_youtube.py "$@"
|
python3 download_youtube.py "$@"
|
||||||
|
|
||||||
./process_music.sh
|
# ./process_music.sh
|
||||||
|
|
||||||
echo "Done!"
|
echo "Done!"
|
||||||
|
|||||||
@@ -4,6 +4,7 @@ import sys
|
|||||||
|
|
||||||
artist = ""
|
artist = ""
|
||||||
title = ""
|
title = ""
|
||||||
|
print(sys.argv)
|
||||||
if len(sys.argv) == 4:
|
if len(sys.argv) == 4:
|
||||||
artist = sys.argv[2]
|
artist = sys.argv[2]
|
||||||
title = sys.argv[3]
|
title = sys.argv[3]
|
||||||
|
|||||||
Reference in New Issue
Block a user