Fixed Encoder#apply_tags usage.
authorTilman Sauerbeck <tilman@code-monkey.de>
Wed, 3 Mar 2010 19:02:34 +0000 (20:02 +0100)
committerTilman Sauerbeck <tilman@code-monkey.de>
Wed, 3 Mar 2010 19:02:34 +0000 (20:02 +0100)
rb-rip

diff --git a/rb-rip b/rb-rip
index 164d58187467ccd6b9dd09979181c7e50f214acb..33c96bf7e92d241a42b402be6935ab7457c1120c 100755 (executable)
--- a/rb-rip
+++ b/rb-rip
@@ -324,9 +324,8 @@ album.tracks.each_with_index do |t, i|
        puts "Ripping: #{track_no}. #{t.name} => #{file + enc.suffix}"
        `#{rip_cmd} | #{encode_cmd}`
 
-       apltags = enc.apply_tags(file + enc.suffix, metadata)
        puts "Applying tags..."
-       `#{apltags} > /dev/null`
+       enc.apply_tags(file + enc.suffix, metadata)
 end
 
 rplgain_cmd = enc.compute_replaygain(files)