Fix opus encoding arguments (--music option removed)
This commit is contained in:
parent
55b3c1ee81
commit
001c927375
@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
encodeFile::opus() {
|
||||
opusencopts=(${ionice}opusenc --music --quiet)
|
||||
opusencopts=(${ionice}opusenc --quiet)
|
||||
opusencopts+=(--bitrate ${destinationquality[$destination]})
|
||||
[ -n "${destinationloss["$destination"]}" ] \
|
||||
&& opusencopts+=(--expect-loss "${destinationloss["$destination"]}")
|
||||
@ -15,7 +15,7 @@ encodeFile::opus() {
|
||||
[ -n "$track" ] && opusencopts+=(--comment "TRACKNUMBER=${track%/*}")
|
||||
[ -n "${track#*/}" ] && opusencopts+=(--comment "TRACKTOTAL=${track#*/}")
|
||||
[ -n "$year" ] && opusencopts+=(--comment "DATE=$year")
|
||||
opusencopts+=("$tempdir/$tmpfile.wav" "$destdir/$destfile.opus")
|
||||
opusencopts+=("$tempdir/$tmpfile".wav "$destdir/$destfile.opus")
|
||||
encodetaskid=$(
|
||||
Insert tasks <<-EOInsert
|
||||
key ${fileid}opusenc$destination
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user