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 e22b5c6de2 - Show all commits

View File

@@ -1,8 +1,13 @@
#!/bin/bash
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"
else
echo "Downloading only with url, ignoring artist and title"
python3 download_youtube.py "$@"
fi
# ./process_music.sh