about summary refs log tree commit homepage
path: root/lib/dtas/source/sox.rb
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2022-01-11 18:21:04 +0000
committerEric Wong <e@80x24.org>2022-01-21 20:29:57 +0000
commitbf9787ac517fe19af5fd6ba918a66b220fcbc923 (patch)
treee30cf4a74c599bb8037f41340fc1ed8800d8af4c /lib/dtas/source/sox.rb
parent88a8d4793473259b392241f1e2d20d39bd96b214 (diff)
downloaddtas-bf9787ac517fe19af5fd6ba918a66b220fcbc923.tar.gz
This ought to save some memory for dtas-player and
dtas-readahead users with multiple instances of the same
track(s) on their track list.
Diffstat (limited to 'lib/dtas/source/sox.rb')
-rw-r--r--lib/dtas/source/sox.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/dtas/source/sox.rb b/lib/dtas/source/sox.rb
index e38e23c..6ca29bc 100644
--- a/lib/dtas/source/sox.rb
+++ b/lib/dtas/source/sox.rb
@@ -63,7 +63,7 @@ class DTAS::Source::Sox # :nodoc:
         comments.each do |k,v|
           v.chomp!
           DTAS.try_enc(v, enc)
-          comments[k] = v
+          comments[k] = -v
         end
       end
       dst