Exact Audio Copy v0.99 with Scripting support - Run EAC Tasks

Version 0.99 prebeta 5 is an outdated version of EAC. Among other things, it does not support unicode track titles, and the preset freedb configuration does not work as freedb has been shut down by it's owner, Magix. I do not recommend to use this version any longer, but will leave it here for reference. I now recommend to use the current Exact Audio Copy v1.5.

EAC is the best audio grabber, but installation and configuration is somewhat tricky. I have the following requirements:

  1. Maintain highest possible audio quality
  2. Simple and speedy grabbing
  3. MP3 and FLAC formats for all CDs grabbed
  4. Proper MP3 tagging
  5. Integration of Album Art into the track file
  6. Compatible with Logitech's SqueezeCenter
  7. Compatible with iPod / iPhone / iPad (filenames and structure consistent with iTunes)

With EAC, the scripting extension REACT, and proper configuration, all of the above can be achieved with only 2 mouse clicks per CD, as long as CD or track title do not need to be modified.

Installation

  1. Download and install EAC 0.99 prebeta 5. On a 64 bit system, this installs to C:\Program Files (x86).
  2. Download and install REACT_2.0.akku.b04.zip. Make sure you download and install exactly this version, any other version will not work with EAC 0.99. You can unzip the content to any directory, for example C:\PortableCustom. Make sure you modify all paths in REACT.ini.
  3. Download and install the current 64 bit version of LAME from Rarewares' LAME Bundles to the tools folder of the REACT install. As of 19 March 2016, this is version 3.99.5.
  4. Download and install the current 64 bit version of FLAC to the tools folder of the REACT install. As of 19 March 2016, this is version 1.3.1.
  5. Download and install the current 64 bit version of Album Art Downloader. Album Art Downloader needs .NET 3.5 Framework to run, which you might need to install first.
  6. Make sure an email address is registered in EAC –> freedb / Database Options….

Optional

Download and install Foobar2000.

Windows 10

Make sure that the user account they are logged in has read+write permissions for the following folders:

  • REACT folder (C:\PortableCustom\REACT2)
  • EAC folder (C:\Program Files (x86)\Exact Audio Copy)
  • “Use this directory” path setting in EAC (default set by REACT: user “My Music” folder). If you used your “Music” folder, create one in your original user home, e.g. the original path to “Music”.
  • INI “OutRoot” folder (default setting: user “My Music\EAC” folder)

Configuration

The configuration below was first tested on my English Windows XP SP3 environment, and then migrated to Windows 7 Ultimate (Home Premium should work the same way). It was set up to grab audio tracks in flac and mp3. Other formats would work as well, but with limited functionality.

Configure EAC

After installing EAC, run EAC (without REACT) first to configure your basic settings including CD reader. Go through the procedure of determining wether your CD reader can provide proper CR2 error feedback. To do this, copy a CD to a new disk and scratch this disk with a few scratches. If the CD reader can provide proper CR2 feedback, then EAC will detect a faulty CD within a few seconds, but will not detect any scratches on the original of the same CD.

Configure REACT

After EAC has been properly configured, run REACT and configure EAC for REACT (type Ctrl-F2). After this has been done, some settings of EAC have been reset to default values to work well with REACT. Do not change these settings, as only with these default settings the scripting interface will work properly, even if it's possible to change some of the settings. It is important that the reset naming convention for tracknames remains at the default setting, including the name for compilation CDs, which defaults to “Various Artists”. If you change any of these, REACT will not work properly!

AlbumArt Downloader

When properly configured as below, the Album Art Downloader is invoked when F4 is pressed in REACT. From 15 sources all matchable cover arts are fetched, after which you need to select one by right clicking the image and selecting “Save”. Do not save to any specific path, selecting save will save to the configured temporary album art path (D:\My Music), the REACT script will later copy the album art to the music folder.

ReplayGain

The predefined settings for replay gain calculation would not work, also, the program Glob.exe necessary in the REACT default configuration file is not installed. Please refer to my configuration file examples to obtain a working replay gain calculation.

Note that replay gain can be done in 2 different ways. Either as a volume offset in the meta tags (supported by SqueezeCenter and Foobar2000) or by recoding the music track. I prefer the first which leaves the original music track, which you can find in the enclosed settings.

Note: ReplayGain is great for a music compilation of pop and rock, specially when you love to hear your music managed by playlists. But it is not recommended for classical music. Set ReplayGain=1 in REACT.ini before you rip classical music.

Configuration files

REACT can be configured through a ini file and a cfg file. The ini file contains the necessary modifications to grab the CD to a wave file (default EAC behaviour), convert the wav to flac and mp3, and then delete the wav file. Before grabbing, album art downloader is initiated, and the respective album art is saved to the music folder and automatically embedded into the track files. The cmd file is saved with extension cfg and is a batch file. The only thing I modified is saving the log file to the music folder, but other changes are possible, too.

The files provided here work with the setup as described in this post. You can also try to load my profile for EAC, but then need to rerun the CD reader detection, and might need to reset the file path settings.

Note: I did not modify EAC's default path to the temporary music folder (D:\My Music). REACT will delete all files created during the process, as long as the REACT process was properly completed. If you interrupt the script, you need to delete these files manually. You need to modify the music folder path for the permanent storage to your server or drive you are using. To do this, modify the 2 keys, CoverDownloaderLocalPath and OutRoot in REACT.ini. For your reference, my setting in the enclosed sample settings files are M:\EAC.

Multi CD Albums

I prefer to have all music files in one directory for multiple CD albums, rather than having them split into different album names. This needs some editing of the CD album name before ripping. In addition, you need to rename the music files after ripping of each CD to keep control of the different CDs within SqueezeCenter and iPod.

Since REACT does not provide a possibility to do this automatically, I wrote a small utility which does this job automatically. To use it, download and unzip cdnum. Update the path name in the registry file to point to the path where cdnum.exe was saved, and where to find the LAME and FLAC encoding executables, then enter the registry information to your registry.

Follow the following steps to grab a multi CD album:

  1. Use REACT to grab the first CD, e.g. “Live Dates”
  2. Find the CD folder “Live Dates”, right click on it, select “EAC: Convert names to CD1”. Now, all tracknames are renamed to the same name with “1-” preceding. E.g. title “01 The King Will Come” was renamed to “1-01 The King Will Come”
  3. Use REACT to grab the second CD to the same folder “Live Dates”
  4. Find the CD folder “Live Dates”, right click on it, select “EAC: Convert names to CD2”. Now, all new tracknames are renamed to the same name with “2-” preceding. E.g. title “01 The Pilgrim” was renamed to “2-01 The Pilgrim”

Convert wave files

Since REACT does not provide a possibility to encode wav files directly, I wrote a small utility which does this job automatically. To use it, download and unzip wavcode. Update the path names in the registry file to point to the path where wavcode.exe was saved, and where to find the LAME and FLAC encoding executables, then enter the registry information to your registry.

Play flac files on your computer

Install Foobar2000 on your computer. It plays flac and mp3 files, and gives you comprehensive meta tag information on both formats.