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
Showing only changes of commit e9e1f3169e - Show all commits

View File

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