From fd6ff36272b37f3424c59253b502062358eb6541 Mon Sep 17 00:00:00 2001 From: Soispha Date: Tue, 19 Dec 2023 16:43:31 +0100 Subject: 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. --- hm/soispha/pkgs/scripts/wrappers/spodi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'hm/soispha/pkgs') 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 -- cgit 1.4.1