REACT

From Hydrogenaudio Knowledgebase
Revision as of 17:38, 4 January 2006 by Synthetic Soul (talk | contribs) (Inital draft, more detail to come)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

REACT (Run EAC Tasks) can be used in conjunction with Exact Audio Copy (EAC), as an external compressor.

It is, however, not an encoder, but an interim application that provides a scripting facility to call muliple encoders or pre-/post-encoding applications to process the WAVE files created by EAC, or the files created by the script itself. In short, REACT allows you to run multiple tasks on the audio extracted, instead of only one.

REACT integrates with Exact Audio Copy, adding some hotkeys combinations to access often used functions more quickly. It will also alter the default name for image files according to your INI settings, and close the extraction dialogue in order for the logfile to be created and used from within your script. It can auto-configure EAC, updating the external compression options so that EAC is ready to run REACT immediately. This feature is extremely useful for novice users.

REACT is configured using an INI file. The INI file consists of named sections for both single and image file ripping. The commands used within the INI file are command line/DOS commands, with the addition of numerous variables which REACT makes available. For example, any instance of @artist@ in the script will be replaced by the freedb artist name, while $artist$ will be replaced with a filename-friendly version of the artist name (with illegal characters replaced according to your requirements).


Available Variables

Variable Description
PATHS
@reactdir@ The path to the directory in which REACT resides
@encdir@ The path to the directory in which the encoders reside. Set within the INI file
@mydocumentsdir@ The path to your My Documents folder
@musicdir@ The path to your music folder. Set within the INI file. Used as a root for other paths
@sourcedir@ The path to the folder in which the source files are located (WAV/LOG/CUE)
@destbase@ The base path of all destination files, e.g.: "E:\My Files\Artist - Album"
@removabledriveN@ The path to your removable drive number N. Set within the INI file
@destdirN@ Directory path N used within your script. Set within the INI file
@destN@ File path N, used within your script. Set within the INI file
@source@ The path to the temporary source WAVE file
@image@ The path to the final image file, when used in Copy Image mode
@sourcecuesheet@ The path to the source cuesheet, when used in Copy Image mode
@cuesheet@ The path to the final cuesheet, when used in Copy Image mode
@eaglog@ The path to the log file created by EAC
METADATA
@cdartist@ The name of the CD artist. Use $cdartist$ in paths
@artist@ The name of the track artist. Use $artist$ in paths
@album@ The name of the album. Use $album$ in paths
@title@ The song title. Use $title$ in paths
@track@ The track number. Use $track$ to zero-pad the track number, i.e.: turn 9 into 09
@numtracks@ The total number of tracks
@islast@ Whether the current track is the last, for track mode
@genre@ The album genre. Use $genre$ in paths
@year@ The album year
@comment@ The comment. Use $comment$ in paths
@freedbid@ The freedb ID
OTHER
@crc@ The CRC of the file
@bitrate@ The value of the Bitrate dropdown on EAC's External Compressor dialogue
@curdate@ The current date


Global INI Variables

IN PROGRESS!!!

Config=FLAC EAC=C:\Program Files\Exact Audio Copy\EAC.exe musicdir=C:\DOS\CDBackup-FLAC encdir=C:\Program Files\REACT\Encoders LogFile=react.txt CodePage=1252 MinimizeCompressionWindow=1 ProcessPriority=1 ImageHotkey={F10} ImageNaming=CDImage KeyRemap1={F4}|+{F5} KeyRemap2=| KeyRemap3=| Sla_Bks_Col_Qst_Bar_Quo_Ast_Lt_Gt=-|-|-||!|'|#|[|] Version=0.996 Debug=0