From 3fd345087587c833b3aeb1bb83a7769e0c4f472d Mon Sep 17 00:00:00 2001 From: Vincent Riquer Date: Fri, 5 Apr 2013 00:36:11 +0200 Subject: [PATCH] hasteful copy/paste --- atom | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/atom b/atom index 9df6c32..faf100d 100755 --- a/atom +++ b/atom @@ -141,6 +141,9 @@ getConfigDestination() { 'mp3') destinationformat["$destination"]=mp3 ;; + 'opus') + destinationformat["$destination"]=opus + ;; 'vorbis') destinationformat["$destination"]=vorbis ;; @@ -1269,7 +1272,7 @@ encodeFile::opus() { [ -n "$track" ] && opusencopts+=(--comment "TRACKNUMBER=${track%/*}") [ -n "${track#*/}" ] && opusencopts+=(--comment "TRACKTOTAL=${track#*/}") [ -n "$year" ] && opusencopts+=(--comment "DATE=$year") - opusencopts+=(-o "$destdir/$destfile.ogg" "$tempdir/$tmpfile.wav") + opusencopts+=("$tempdir/$tmpfile.wav" "$destdir/$destfile.opus") encodetaskid=$( Insert tasks <<-EOInsert key ${fileid}opusenc$destination