decodeSox, decodeMpcdec, decodeOpus: use SQL placeholder

This commit is contained in:
Vincent Riquer 2026-02-15 03:28:32 +01:00
parent 3624e50416
commit e0c3aea43c
3 changed files with 3 additions and 3 deletions

View File

@ -2,5 +2,5 @@
decodeMpcdec() {
tmpfile="${fileid}mpcdec"
commandline=(${ionice}mpcdec)
commandline+=("$sourcepath/$filename" "$tempdir/$tmpfile.wav")
commandline+=("$sourcepath/${filename//$'\n'/::AtOM:NewLine:SQL:Inline::}" "$tempdir/$tmpfile.wav")
}

View File

@ -2,5 +2,5 @@
decodeOpusdec() {
tmpfile="${fileid}opusdec"
commandline=(${ionice}opusdec)
commandline+=("$sourcepath/$filename" "$tempdir/$tmpfile.wav")
commandline+=("$sourcepath/${filename//$'\n'/::AtOM:NewLine:SQL:Inline::}" "$tempdir/$tmpfile.wav")
}

View File

@ -12,7 +12,7 @@ decodeSox() {
then
commandline+=("$1")
else
commandline+=("$sourcepath/$filename")
commandline+=("$sourcepath/${filename//$'\n'/::AtOM:NewLine:SQL:Inline::}")
fi
if [ -n "${destinationfrequency["$destination"]}" ] \
&& (( ${rate:-0} != ${destinationfrequency["$destination"]} ))