diff options
author | Soispha <soispha@vhack.eu> | 2023-12-19 16:39:58 +0100 |
---|---|---|
committer | Soispha <soispha@vhack.eu> | 2023-12-19 16:39:58 +0100 |
commit | 1d745e237f183a4ec412eca2fba2e9f440d406c7 (patch) | |
tree | c1276edb9a5fa04052dbdcae823093b0437c3f3d /hm | |
parent | chore(version): v1.20.0 (diff) | |
download | nixos-config-1d745e237f183a4ec412eca2fba2e9f440d406c7.tar.gz nixos-config-1d745e237f183a4ec412eca2fba2e9f440d406c7.zip |
fix(hm/pkgs/src/spodi): Use correct quoting in arguments
Diffstat (limited to '')
-rwxr-xr-x | hm/soispha/pkgs/scripts/wrappers/spodi | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hm/soispha/pkgs/scripts/wrappers/spodi b/hm/soispha/pkgs/scripts/wrappers/spodi index fe10a912..55f813a0 100755 --- a/hm/soispha/pkgs/scripts/wrappers/spodi +++ b/hm/soispha/pkgs/scripts/wrappers/spodi @@ -31,7 +31,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 @@ -45,6 +45,7 @@ fi rm "$DOWN_DIR/spotdl.log" cd "$DOWN_DIR" || die "BUG: no $DOWN_DIR" +touch "$DOWN_DIR/spotdl-errors.log" # The sub shell needs to be unquoted, as the arguments may not be treated as one. |