lib/audio_monster/monster.rb in audio_monster-1.2.2 vs lib/audio_monster/monster.rb in audio_monster-1.2.3

- old
+ new

@@ -264,12 +264,13 @@ end def info_for_mpeg(path, info = nil) info = info_for_audio(path) mp3_info ||= Mp3Info.new(path) - info[:version] = mp3_info.mpeg_version - info[:layer] = mp3_info.layer - info[:padding] = mp3_info.header[:padding] + info[:channel_mode] = mp3_info.channel_mode + info[:version] = mp3_info.mpeg_version + info[:layer] = mp3_info.layer + info[:padding] = mp3_info.header[:padding] info end alias info_for_mp2 info_for_mpeg alias info_for_mp3 info_for_mpeg