about summary refs log tree commit diff stats
path: root/hm
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-12-19 16:43:31 +0100
committerSoispha <soispha@vhack.eu>2023-12-19 16:43:31 +0100
commitfd6ff36272b37f3424c59253b502062358eb6541 (patch)
tree2e866089f11e23a18ebfc6fb0926a0f461716f30 /hm
parentchore(version): v1.20.1 (diff)
downloadnixos-config-fd6ff36272b37f3424c59253b502062358eb6541.tar.gz
nixos-config-fd6ff36272b37f3424c59253b502062358eb6541.zip
fix(hm/pkgs/src/spodi): Remove quotes in the error-log path
They resulted in spotdl being unable to access the file. Thus, we simply
assume that the `DOWN_DIR` path does not contain a space and remove the
quotes.
Diffstat (limited to '')
-rwxr-xr-xhm/soispha/pkgs/scripts/wrappers/spodi3
1 files changed, 2 insertions, 1 deletions
diff --git a/hm/soispha/pkgs/scripts/wrappers/spodi b/hm/soispha/pkgs/scripts/wrappers/spodi
index 55f813a0..cd18c47c 100755
--- a/hm/soispha/pkgs/scripts/wrappers/spodi
+++ b/hm/soispha/pkgs/scripts/wrappers/spodi
@@ -3,6 +3,7 @@
 # shellcheck source=/dev/null
 SHELL_LIBRARY_VERSION="1.9.0" . %SHELL_LIBRARY_PATH
 
+# This path must not contain spaces
 DOWN_DIR="/home/soispha/media/music/down/spotify";
 
 download_url="$1";
@@ -31,7 +32,7 @@ cat << EOF | clean > "$config"
 --format opus
 --output {artists}_-_{title}
 --print-errors
---save-errors '$DOWN_DIR/spotdl-errors.log'
+--save-errors $DOWN_DIR/spotdl-errors.log
 --generate-lrc
 --overwrite skip