hasteful copy/paste
This commit is contained in:
parent
14dbab3976
commit
3fd3450875
5
atom
5
atom
@ -141,6 +141,9 @@ getConfigDestination() {
|
|||||||
'mp3')
|
'mp3')
|
||||||
destinationformat["$destination"]=mp3
|
destinationformat["$destination"]=mp3
|
||||||
;;
|
;;
|
||||||
|
'opus')
|
||||||
|
destinationformat["$destination"]=opus
|
||||||
|
;;
|
||||||
'vorbis')
|
'vorbis')
|
||||||
destinationformat["$destination"]=vorbis
|
destinationformat["$destination"]=vorbis
|
||||||
;;
|
;;
|
||||||
@ -1269,7 +1272,7 @@ encodeFile::opus() {
|
|||||||
[ -n "$track" ] && opusencopts+=(--comment "TRACKNUMBER=${track%/*}")
|
[ -n "$track" ] && opusencopts+=(--comment "TRACKNUMBER=${track%/*}")
|
||||||
[ -n "${track#*/}" ] && opusencopts+=(--comment "TRACKTOTAL=${track#*/}")
|
[ -n "${track#*/}" ] && opusencopts+=(--comment "TRACKTOTAL=${track#*/}")
|
||||||
[ -n "$year" ] && opusencopts+=(--comment "DATE=$year")
|
[ -n "$year" ] && opusencopts+=(--comment "DATE=$year")
|
||||||
opusencopts+=(-o "$destdir/$destfile.ogg" "$tempdir/$tmpfile.wav")
|
opusencopts+=("$tempdir/$tmpfile.wav" "$destdir/$destfile.opus")
|
||||||
encodetaskid=$(
|
encodetaskid=$(
|
||||||
Insert tasks <<-EOInsert
|
Insert tasks <<-EOInsert
|
||||||
key ${fileid}opusenc$destination
|
key ${fileid}opusenc$destination
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user