summaryrefslogtreecommitdiff
path: root/scripts/populate.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/populate.sh')
-rw-r--r--scripts/populate.sh12
1 files changed, 10 insertions, 2 deletions
diff --git a/scripts/populate.sh b/scripts/populate.sh
index d8ccf8d..0f1ac0c 100644
--- a/scripts/populate.sh
+++ b/scripts/populate.sh
@@ -3,11 +3,19 @@ echo activate virtual environment? \(source ~/.venv/bin/activate\) [y/n]
read answer
if [[ $answer == 'y' ]] then
- source ~/.venv/bin/activate
+ source ~/.config/venv/bin/activate
fi
-python3 scripts/populate/main.py
+mkdir -p lyrics_cache
+cd lyrics_cache
+
+python3 ../scripts/populate/main.py
+
+cd ..
+mv lyrics_cache/covers ./
+rm -rf lyrics_cache
if [[ $answer == 'y' ]] then
deactivate
fi
+