Convert spotify search into separate module and allow specifying artist and title while calling script for youtube #8

Merged
sem merged 9 commits from feature/separate-spotify-search-module into main 2026-05-19 20:25:27 +00:00
2 changed files with 3 additions and 1 deletions
Showing only changes of commit bf2fcfbe5c - Show all commits

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]