From bf9787ac517fe19af5fd6ba918a66b220fcbc923 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Tue, 11 Jan 2022 18:21:04 +0000 Subject: deduplicate and freeze pathnames + metadata 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. --- lib/dtas/source/sox.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/dtas/source') 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 -- cgit v1.2.3-24-ge0c7