HydrogenAudio

CD-R and Audio Hardware => CD Hardware/Software => Topic started by: Synthetic Soul on 2006-11-17 07:53:46

Title: REACT 2 Released
Post by: Synthetic Soul on 2006-11-17 07:53:46
REACT 2.0 is not backward compatible with version 1.0. This version is  more powerful, easier to use and configure. It uses only two  configuration scripts: REACT-image.cfg, and REACT-track.cfg. Image mode  (F10) is recommended, as it may be used for creating both an image and  tracks, and is a little more robust. With Nyaochi's excellent ACDIR, it  will split the image to tracks while encoding. You can pick and choose  from which formats you want by only editing a few characters in the  .cfg file. See examples below.

NEWSFEATURES
The wiki has more info : http://wiki.hydrogenaudio.org/index.php?title=REACT (http://wiki.hydrogenaudio.org/index.php?title=REACT)

More information and download (http://www.hydrogenaudio.org/forums/index.php?showtopic=50259) in the thread REACT 2, EAC plugin (http://www.hydrogenaudio.org/forums/index.php?showtopic=50259)
Title: REACT 2 Released
Post by: Xenion on 2006-11-17 10:39:09
i'm new to this tool. is it possible to rip as image, then replaygain, write this replaygain information to the cuesheet and then encode wavpack with embedded cue and log ?
Title: REACT 2 Released
Post by: tycho on 2006-11-17 11:26:35
If you rip as image, you may encode to either a wavpack image or to wavpack tracks.

For tracks, set ImageExt=wav in REACT.ini and Wavpack=1 in REACT-image.cfg.
For image, set ImageExt=wv in REACT.ini and Wavpack=0 in REACT-image.cfg. It will embed both cuesheet and log file as tags in the image. For wv-images, REACT (wvgain actually) can only compute album gain (not track gain for individual tracks). Replaygain will be stored as tags in the image file only - not in the cuesheet.

However, if you encode to wavpack tracks, it will compute both album and track gain values and tag them to the track files. Make sure ReplayGain=1 in the .cfg file.

edit: just realized that for wavpack images, no replaygain computation is done. You will have to add
    if %ReplayGain%==1 @tools@\wvgain.exe -a "@image@"
after the wavpack.exe call in the .cfg file.
Title: REACT 2 Released
Post by: drbeachboy on 2006-11-17 17:12:52
Hi Tycho,

With embedded cuesheets (Especially with FLAC), foobar2000 rewrites (the embedded cuesheet) all the track PERFORMER's to "Various" if you use "-T artist="@artist@"" tag on Various Artists images. Replacing the ARTIST tag with the  ALBUM ARTIST tag would fix this problem.

Is it possible to set up 2 scenarios in the config file; one for regular images (with ARTIST tag) and one for VA's (with ALBUM ARTIST tag)?


Thanks,

Dirk
Title: REACT 2 Released
Post by: Synthetic Soul on 2006-11-17 17:34:58
Hi Tycho,

With embedded cuesheets (Especially with FLAC), foobar2000 rewrites (the embedded cuesheet) all the track PERFORMER's to "Various" if you use "-T artist="@artist@"" tag on Various Artists images. Replacing the ARTIST tag with the  ALBUM ARTIST tag would fix this problem.

Is it possible to set up 2 scenarios in the config file; one for regular images (with ARTIST tag) and one for VA's (with ALBUM ARTIST tag)?
This has only come to my attention recently, possibly due to behavioural changes in foobar 0.9, or possibly that I generally use ACDIR in my REACT script.  It is a reasonable issue really, considering REACT and foobar's userbase.

I would certainly favour using ARTIST or ALBUM ARTIST depending on the situation.  It seems that this could be done using something like:

Code: [Select]
if @various@==0 set ArtistField=artist
if @various@==1 set ArtistField=album artist
...
@tools@\flac.exe %Flac_opt% %Flac_RG% %Flac_RG% %Flac_cover% -T "%ArtistField%=@cdartist@" -T album="@album@"...
...
@tools@\wavpack.exe %Wavpack_opt% -w "%ArtistField%=@cdartist@" -w album="@album@"...

... possibly.

Also note the use of @cdartist@ and not @artist@.
Title: REACT 2 Released
Post by: valnar on 2006-11-17 20:32:28
You know, I never had to uninstall REACT v1.0.  How do you do it?  Just delete the folder?

Robert
Title: REACT 2 Released
Post by: Keykey on 2006-11-17 20:39:19
I am a total newbie to REACT, sorry.

How do I get it to make a FLAC CDImage and loose mp3s? 

Waht should I change and how?

Greetz
Title: REACT 2 Released
Post by: Gow on 2006-11-17 22:34:39
Awesome release.  Keep up the good work.
Title: REACT 2 Released
Post by: wolfsong on 2006-11-17 23:38:15
Can't wait to try this release tonight when I get home.

I'm also wondering can the disc ID be saved to a tag?
Title: REACT 2 Released
Post by: HbG on 2006-11-18 01:03:29
Just set it up to work with flake and metaflac for adding the cuesheet. Works beautifully. React rocks!
Title: REACT 2 Released
Post by: hanning on 2006-11-18 03:56:08
It seems that the following section in REACT-image.cfg is failing if @cover@ is containing a closing parenthesis, ")":

Code: [Select]
if exist "@cover@" (
    set Flac_cover=--picture="|image/jpeg|||@cover@"
    set MetaFlac_cover=--import-picture="|image/jpeg|||@cover@"
    set MetaMP3_cover=--pict "{3}@cover@"
    set AacTag_cover_acdir=-add-cover:front:$q@cover@$q
    set add_cover=1
    set add_meta=1
)


It fails silently on the "set AacTag_cover_acdir=..." line as the closing parenthesis in @cover@ isn't inside a "quoted string". The following code seems to work around the issue:

Code: [Select]
if not exist "@cover@" goto end_cover
    set Flac_cover=--picture="|image/jpeg|||@cover@"
    set MetaFlac_cover=--import-picture="|image/jpeg|||@cover@"
    set MetaMP3_cover=--pict "{3}@cover@"
    set AacTag_cover_acdir=-add-cover:front:$q@cover@$q
    set add_cover=1
    set add_meta=1
:end_cover


I hope this helps. Thanks for a great tool!
Title: REACT 2 Released
Post by: wolfsong on 2006-11-18 06:54:34
So I just tried it out and like the new config but I have some questions.

  • Accepts both "Various" and "Various Artists" as compilation disk.

How do I get:

Code: [Select]
\Various Artist\$album$

when EAC only uses Various? The wiki mentions @Various-destN@ but I have no idea how to use it. Thanks.
Title: REACT 2 Released
Post by: Synthetic Soul on 2006-11-18 09:49:27
I am a total newbie to REACT, sorry.
We are all noobs to v2.0, which has a very different format to v1, so I'm afraid we're all in the same position.  Take a look at the readme and experiment.

I'm also wondering can the disc ID be saved to a tag?
Isn't that the @freedbid@ token?  I think it is...

How do I get:

Code: [Select]
\Various Artist\$album$

when EAC only uses Various? The wiki mentions @Various-destN@ but I have no idea how to use it.
Sorry wolfsong, I forget: do you use images or tracks?

In REACT-image.cfg you have lines like:

set Flac_ImageDir=%OutRoot%\Flac-Images\$cdartist$

You could add somewhere (soon) below this something like:

IF @various@==1 set Flac_ImageDir=%OutRoot%\Flac-Images\Various Artists
Title: REACT 2 Released
Post by: drbeachboy on 2006-11-18 17:32:38
I also found the tag lines for embedding the cuesheet & eaclog in FLAC incorrect. You need to change the tag line to: "--tag-from-file" instead of "-T".
Title: REACT 2 Released
Post by: wolfsong on 2006-11-18 18:09:39
I'm also wondering can the disc ID be saved to a tag?
Isn't that the @freedbid@ token?  I think it is...
Actually I should have been more specific. I meant the TOC which I don't think is the same as @freedbid@.
Sorry wolfsong, I forget: do you use images or tracks?

I had been using images to get AG (never figured out how to do this in v1) and just deleting the image files. Now I just need tracks.
Title: REACT 2 Released
Post by: tycho on 2006-11-19 01:08:20
Thanks for all the great feedback. I have uploaded a new beta:
beta 2:Note that REACT.exe is unchanged (version change only). The modifications are in the .cfg files only.

@wolfsong: What TOC are you talking about? The cuesheet is a kind of a TOC. @freedbid@ is the freedb id number.
Title: REACT 2 Released
Post by: wolfsong on 2006-11-19 04:12:10
@wolfsong: What TOC are you talking about? The cuesheet is a kind of a TOC. @freedbid@ is the freedb id number.

I thought there was a unique disc ID or TOC from the CD that I could tag. From my understanding the freedb id is generated by freedb.
Title: REACT 2 Released
Post by: tycho on 2006-11-19 10:15:17
AFAIK, there is no explicit ID stored on the CD, but freedb can generate a (fairly) unique id from the table of content (TOC) of CD, which it uses for lookup in the database. The TOC itself is basically the info in the raw cuesheet (without titles/names).
Title: REACT 2 Released
Post by: wolfsong on 2006-11-19 12:42:14
AFAIK, there is no explicit ID stored on the CD, but freedb can generate a (fairly) unique id from the table of content (TOC) of CD, which it uses for lookup in the database. The TOC itself is basically the info in the raw cuesheet (without titles/names).

hmmm for some reason I though the TOC itself could be tagged and there was a specific frame for this
Title: REACT 2 Released
Post by: bhoar on 2006-11-19 19:40:37
hmmm for some reason I though the TOC itself could be tagged and there was a specific frame for this


Me too... Catalog Number?

Ah:  http://digitalx.org/cuesheetsyntax.php (http://digitalx.org/cuesheetsyntax.php)

-brendan
Title: REACT 2 Released
Post by: spoon on 2006-11-19 19:47:08
There is ISRC (International Standards Recoding Code per track stored in the sub-codes) and UPC (universal product code per disc). Both of these are optional and are not implemented anywhere near 50% of cds.
Title: REACT 2 Released
Post by: sdgenxr on 2006-11-20 04:44:17
Thanks for the great release tycho!  This version is much easier to configure and run.

My question, for anyone, is how can I have REACT run the post-processing when there is a data track.  And how can I have it encode even when I have read errors?

Thanks!
Title: REACT 2 Released
Post by: tycho on 2006-11-20 07:52:41
My question, for anyone, is how can I have REACT run the post-processing when there is a data track.
Unfortunately, this is not possible with this release. Actually, it only worked sometimes in REACT 1, so I removed the support for @islast@.  Instead, you can extract using image mode. It will split the image into tracks while encoding. This will give the same result as EAC track mode (but you always get all tracks on the CD).
And how can I have it encode even when I have read errors?
As long as you are able to rip the image (even with read errors), it will encode, so I'm not sure what you mean here.

Cheers.
Title: REACT 2 Released
Post by: TomGroove on 2006-11-20 15:23:50
 excellent, I like the new version. Struggled a little bit at the beginning as I copied over the cfg to EAC dir, and wondered, why it was not used until I changed than the cfg within react 2 directory 

how can I use the album cover downloader, where do I have to download the cover to ?.. it comes up with a  jpg list and I guess, that I have to define than the relevant directory ??

edit: so the problem was probably related to not finding the cover at all of the latest Renaissance mix...
Title: REACT 2 Released
Post by: wolfsong on 2006-11-20 16:41:12
I'm having a problem with CoverArtDownloader. It seems to not use the filename specified in the settings and instead does something like ImageDir.jpg.

Also, could a hotkey option be added to launch CAD manually with the values passed?
Title: REACT 2 Released
Post by: tycho on 2006-11-20 18:48:51
The coverdownloader will fill in a name <destdir>\<album>.jpg. You should not change this name! Simply save it to the suggested directory/file name (Doubleclick on the cover you want). The .cfg script will then take care of copying it to the folder where the encoded audio will be stored, and change name to e.g. folder.jpg.

The destination directory you set up in EAC is only a temporary directory - the files are copied/moved to the final destinations by the script.

If you don't find all covers you expect, rename some of the files in the coverdownloader\scripts directory from "<name>.boo.disabled" to "<name>.boo". Try google.boo and discogs.boo. itunes.boo does unfortunately not work anylonger.

There is already a hotkey for only launching coverdownloader (mentioned in Readme): Alt-F10
Title: REACT 2 Released
Post by: wolfsong on 2006-11-20 20:00:29
The coverdownloader will fill in a name <destdir>\<album>.jpg. You should not change this name! Simply save it to the suggested directory/file name (Doubleclick on the cover you want). The .cfg script will then take care of copying it to the folder where the encoded audio will be stored, and change name to e.g. folder.jpg.

The destination directory you set up in EAC is only a temporary directory - the files are copied/moved to the final destinations by the script.

Ahhhh Good to know.
There is already a hotkey for only launching coverdownloader (mentioned in Readme): Alt-F10

I Thought I had read that somewhere but didn't see it in the ini so I didn't find it the again. Thanks.
Title: REACT 2 Released
Post by: wolfsong on 2006-11-21 13:02:13
The destination directory you set up in EAC is only a temporary directory - the files are copied/moved to the final destinations by the script.
I tested this again this morning and this step isn't happening. The cover and log file are still in the EAC directory when using track config and deleted when using image config.

Track Config:
Code: [Select]
@echo off
chcp 1252
title @track@/@numtracks@ - "@album@"

rem ** You may consider using image mode (F10)
rem ** as it supports creating tracks via acdir.exe,
rem ** and post-processing will always work (see below).


REM ================== USER SETTINGS ======================


REM ---- Enable/disable track formats:

rem ** Flac requires flac.exe/metaflac.exe (v1.1.3)
rem ** NeroAac requires NeroAacEnc.exe/NeroAacTag.exe/AacGain.exe.
rem ** OggEnc2 requires OggEnc2.exe/VorbisGain.exe.

set Flac=0
set Wavpack=0
set LameMP3=1
set NeroAac=0
set OggEnc2=0

REM ---- General settings:

set Debug=0

rem ** I prefer applying album gain 92dB to get a reasonable
rem ** volume for my DAP. The RG tags are still relative
rem ** to 89dB SPL, i.e. album gain will be about -3.0dB.

set ReplayGain=1
set ApplyMp3AacAlbumGain=1
set AdjustMp3AacAlbumGain_dB=+0.0

REM ---- Encoder options:

set Flac_opt=-5 -f
set Wavpack_opt=-hmy
set LameMP3_opt=-V4 --vbr-new --noreplaygain --nohist
rem ** Nero LC-AAC @ ~ 90kbps - great for e.g. iPods:
set NeroAac_opt=-lc -q 0.22
set OggEnc2_opt=-q 3.0

set Flac_ver=1.1.3b2
set LameMP3_ver=3.97
set NeroAac_ver=1.0.0.2

REM ---- Output directories and track names:

set OutRoot=E:\TAGZ

rem ** Track dirs:
set Flac_TrackDir=%OutRoot%\Flac\$cdartist$\[$year$] $album$
set Wavpack_TrackDir=%OutRoot%\Wavpack\$cdartist$\[$year$] $album$
set MP3_TrackDir=%OutRoot%\$cdartist$\$album$
IF @various@==1 set MP3_TrackDir=%OutRoot%\Various Artists\$album$
set AAC_TrackDir=%OutRoot%\AAC\$cdartist$\[$year$] $album$
set OGG_TrackDir=%OutRoot%\OGG\$cdartist$\[$year$] $album$

rem ** Track names:
if @various@==0 set TrackName=[$track$] $title$
if @various@==1 set TrackName=[$track$] $title$ ($artist$)


REM ============== BEGIN MAIN SCRIPT ==================


if %Debug%==1 echo on


REM ---- Track ----


if %Flac%==0 goto end_flac_tracks
set dest=%Flac_TrackDir%
if not exist "%dest%" mkdir "%dest%"
@tools@\flac.exe %Flac_opt% -T artist="@artist@" -T album="@album@" -T tracknumber="@track@/@numtracks@" -T title="@title@" -T date="@year@" -T genre="@genre@" -T comment="Ripped with EAC/REACT" "@source@" -o "%dest%\%TrackName%.flac"
:end_flac_tracks


if %Wavpack%==0 goto end_wavpack_tracks
set dest=%Wavpack_TrackDir%
if not exist "%dest%" mkdir "%dest%"
@tools@\wavpack.exe %Wavpack_opt% -w artist="@artist@" -w album="@album@" -w track="@track@/@numtracks@" -w title="@title@" -w year="@year@" -w genre="@genre@" -w comment="Ripped with EAC/REACT" "@source@" "%dest%\%TrackName%.wv"
title @track@/@numtracks@ - "@album@"
:end_wavpack_tracks


if %LameMP3%==0 goto end_mp3_tracks
set dest=%MP3_TrackDir%
if not exist "%dest%" mkdir "%dest%"
@tools@\lame.exe %LameMP3_opt% "@source@" "%dest%\%TrackName%.mp3"
@tools@\metamp3.exe --artist "@artist@" --album "@album@" --track @track@/@numtracks@ --title "@title@" --year "@year@" --genre "@genre@" --comment "Ripped with EAC/REACT" --frame TPE2:"@cdartist@" --frame TENC:"%USERNAME%" --frame TSSE:"LAME %LameMP3_ver% %LameMP3_opt%" "%dest%\%TrackName%.mp3"
:end_mp3_tracks


if %NeroAac%==0 goto end_aac_tracks
set dest=%AAC_TrackDir%
if not exist "%dest%" mkdir "%dest%"
@tools@\neroAacEnc.exe %NeroAac_opt% -if "@source@" -of "%dest%\%TrackName%.m4a"
@tools@\neroAacTag.exe "%dest%\%TrackName%.m4a" -meta:artist="@artist@" -meta:album="@album@" -meta:track=@track@ -meta:totaltracks=@numtracks@ -meta:title="@title@" -meta:year="@year@" -meta:genre="@genre@" -meta:comment="Ripped with EAC/REACT"
:end_aac_tracks


if %OggEnc2%==0 goto end_ogg_tracks
set dest=%OGG_TrackDir%
if not exist "%dest%" mkdir "%dest%"
@tools@\oggenc2.exe %OggEnc2_opt% -c artist="@artist@" -c album="@album@" -c tracknumber="@track@/@numtracks@" -c title="@title@" -c date="@year@" -c genre="@genre@" -c comment="Ripped with EAC/REACT" "@source@" -o "%dest%\%TrackName%.ogg"
:end_ogg_tracks


rem ** Delete the source .wav

del "@source@"


REM ---- Post-processing ----


rem ** Scan and compute ReplayGain and add cover picture for supported formats.
rem **
rem ** NB: The following will only work if at least the last track is selected,
rem ** and it is a regular audio track.

if not @track@==@numtracks@ goto end_post_process

set add_rg=%ReplayGain%
set add_meta=%add_rg%
set add_cover=0
set small_cover=@cover@

if %ReplayGain%==1 (
set MetaFlac_RG=--add-replay-gain
set MetaMp3_RG=--replay-gain
)
if %ApplyMp3AacAlbumGain%==1 (
set AacGain_RG=/a /o /c /d %AdjustMp3AacAlbumGain_dB%
set MetaMP3_RG=--apply-gain album%AdjustMp3AacAlbumGain_dB%
set add_rg=1
set add_meta=1
)
if exist "@cover@" (
set MetaFlac_cover=--import-picture="|image/jpeg|||@cover@"
set MetaMP3_cover=--pict "{3}@cover@"
set AacTag_cover=-add-cover:front:"@cover@"
set add_cover=1
set add_meta=1
)


rem ** Formats:

if %Flac%==1 (
pushd "%Flac_TrackDir%"
if %add_meta%==1 @tools@\Glob.exe -v -c @tools@\metaflac.exe %MetaFlac_RG% %MetaFlac_cover% *.flac
if exist "@eaclog@" copy "@eaclog@" "EAClog.txt"
if %add_cover%==1 copy "@cover@" "folder.jpg"
popd
)

if %Wavpack%==1 (
pushd "%Wavpack_TrackDir%"
if %ReplayGain%==1 @tools@\wvgain.exe -a *.wv
if exist "@eaclog@" copy "@eaclog@" "EAClog.txt"
if %add_cover%==1 copy "@cover@" "folder.jpg"
popd
)

if %LameMP3%==1 (
pushd "%MP3_TrackDir%"
if %add_meta%==1 @tools@\metamp3.exe %MetaMP3_RG% %MetaMP3_cover% *.mp3
popd
)

if %NeroAac%==1 (
pushd "%AAC_TrackDir%"
if %add_cover%==1 for %%i in (*.m4a) do @tools@\neroAacTag.exe "%%i" %AacTag_cover%
if %add_rg%==1 @tools@\aacgain.exe %AacGain_RG% *.m4a > "gainlog.txt"
popd
)

if %OggEnc2%==1 (
pushd "%OGG_TrackDir%"
if %ReplayGain%==1 @tools@\vorbisgain.exe -a *.ogg
popd
)


rem ** Cleanup

del "@eaclog@"
del "@albumfile@.[*].cue"
del "@cover@"
:end_post_process


REM ================ END MAIN SCRIPT ===================


if %Debug%==1 (
pause
REM exit
)

rem ** Delete this .bat file:
del %0
Image Config:
Code: [Select]
@echo off
chcp 1252
title REACT - "@album@"


REM ================== USER SETTINGS ======================


rem ** To archive a CD as one large "image", you must set
rem ** ImageExt=... in the REACT.ini file (Press Alt-F2).
rem ** This will set the @imageext@ variable. Extensions
rem ** currently supported:  flac, wv, mp3. Set to 'wav'
rem ** for no image archiving (default).

REM ---- Enable/disable additional track formats:

rem ** Splits the wav-image into tracks during encoding, using ACDIR.
rem ** Flac requires flac.exe/metaflac.exe (v1.1.3)
rem ** NeroAac requires NeroAacEnc.exe/NeroAacTag.exe/AacGain.exe.
rem ** OggEnc2 requires OggEnc2.exe/VorbisGain.exe.

set Flac=0
set Wavpack=0
set LameMP3=1
set NeroAac=0
set OggEnc2=0

REM ---- General settings ----

set Debug=0

rem ** I prefer applying album gain 92dB to get a reasonable
rem ** volume for my DAP. The RG tags are still relative
rem ** to 89dB SPL, i.e. album gain will be about -3.0dB.

set ReplayGain=1
set ApplyMp3AacAlbumGain=1
set AdjustMp3AacAlbumGain_dB=+0.0

REM ---- Encoder options ----

set Flac_opt=-5 -f
set Wavpack_opt=-hmy
set LameMP3_opt=-V4 --vbr-new --noreplaygain --nohist
rem ** Nero LC-AAC @ ~ 90kbps - great for e.g. iPods:
set NeroAac_opt=-lc -q 0.22
set OggEnc2_opt=-q 3.0

set Flac_ver=1.1.3b2
set LameMP3_ver=3.97
set NeroAac_ver=1.0.0.2

REM ---- Output directories and track names ----

set OutRoot=E:\TAGZ

rem ** Image dirs:
set Flac_ImageDir=%OutRoot%\Flac-Images\$cdartist$
set Wavpack_ImageDir=%OutRoot%\Wavpack-Images\$cdartist$
set MP3_ImageDir=%OutRoot%\MP3-Images\$cdartist$

rem ** Track dirs:
set Flac_TrackDir=%OutRoot%\Flac\$cdartist$\[$year$] $album$
set Wavpack_TrackDir=%OutRoot%\Wavpack\$cdartist$\[$year$] $album$
set MP3_TrackDir=%OutRoot%\$cdartist$\$album$
IF @various@==1 set MP3_TrackDir=%OutRoot%\Various Artists\$album$
set AAC_TrackDir=%OutRoot%\AAC\$cdartist$\[$year$] $album$
set OGG_TrackDir=%OutRoot%\OGG\$cdartist$\[$year$] $album$

rem ** Track names (for ACDIR):
if @various@==0 set TrackName=[$n] $~t
if @various@==1 set TrackName=[$n] $~t ($~a)


REM ============== BEGIN MAIN SCRIPT ==================


if %Debug%==1 echo on

set add_rg=%ReplayGain%
set add_meta=%add_rg%
set add_cover=0
set small_cover=@cover@

if %ReplayGain%==1 (
set Flac_RG=--replay-gain
set MetaFlac_RG=--add-replay-gain
set MetaMp3_RG=--replay-gain
)
if %ApplyMp3AacAlbumGain%==1 (
set AacGain_RG=/a /o /c /d %AdjustMp3AacAlbumGain_dB%
set MetaMP3_RG=--apply-gain album%AdjustMp3AacAlbumGain_dB%
set add_rg=1
set add_meta=1
)
if exist "@cover@" (
set Flac_cover=--picture="|image/jpeg|||@cover@"
set MetaFlac_cover=--import-picture="|image/jpeg|||@cover@"
set MetaMP3_cover=--pict "{3}@cover@"
set AacTag_cover_acdir=-add-cover:front:$q@cover@$q
set add_cover=1
set add_meta=1
)


REM ---- Image ----


if not "@imageext@"=="flac" goto end_flac_image
set dest=%Flac_ImageDir%
if not exist "%dest%" mkdir "%dest%"
@tools@\flac.exe %Flac_opt% %Flac_RG% %Flac_RG% %Flac_cover% -T artist="@artist@" -T album="@album@" -T totaltracks="@numtracks@" -T date="@year@" -T genre="@genre@" -T comment="Ripped with EAC/REACT" -T cuesheet="@@cuesheet@" -T eaclog="@@eaclog@" "@source@" -o "@image@"
move "@image@" "%dest%"
copy "@cuesheet@" "%dest%"
if %add_cover%==1 copy "@cover@" "%dest%\@basename@.jpg"
:end_flac_image


if not "@imageext@"=="wv" goto end_wavpack_image
set dest=%Wavpack_ImageDir%
if not exist "%dest%" mkdir "%dest%"
@tools@\wavpack.exe %Wavpack_opt% -w artist="@artist@" -w album="@album@" -w totaltracks="@numtracks@" -w year="@year@" -w genre="@genre@" -w comment="Ripped with EAC/REACT" -w cuesheet="@@cuesheet@" -w eaclog="@@eaclog@" "@source@" "@image@"
title REACT - "@album@"
move "@image@" "%dest%"
copy "@cuesheet@" "%dest%"
if %add_cover%==1 copy "@cover@" "%dest%\@basename@.jpg"
:end_wavpack_image

if not "@imageext@"=="mp3" goto end_mp3_image
set dest=%MP3_ImageDir%
if not exist "%dest%" mkdir "%dest%"
@tools@\lame.exe %LameMP3_opt% "@source@" "@image@"
@tools@\metamp3.exe %MetaMP3_RG% %MetaMP3_cover% --artist "@artist@" --album "@album@" --track @numtracks@ --year "@year@" --genre "@genre@" --comment "Ripped with EAC/REACT" --frame TPE2:"@cdartist@" --frame TENC:"%USERNAME%" --frame TSSE:"LAME %LameMP3_ver% %LameMP3_opt%" "@image@"
move "@image@" "%dest%"
copy "@cuesheet@" "%dest%"
if %add_cover%==1 copy "@cover@" "%dest%\@basename@.jpg"
:end_mp3_image



REM ---- Tracks ----


if %Flac%==0 goto end_flac_tracks
set dest=%Flac_TrackDir%
@tools@\acdir.exe --overwrite --output "%dest%\%TrackName%.flac" --pipe "title $n/$N flac $#T & @tools@\flac.exe %Flac_opt% -T artist=$#a -T album=$#T -T title=$#t -T tracknumber=$n/$N -T date=$q@year@$q -T genre=$q@genre@$q -T comment=$qRipped with EAC/REACT$q - -o $#o" "@sourcecuesheet@"
if %add_meta%==1 (
pushd "%dest%"
@tools@\Glob.exe -v -c @tools@\metaflac.exe %MetaFlac_RG% %MetaFlac_cover% *.flac
popd
)
copy "@eaclog@" "%dest%\EAClog.txt"
if %add_cover%==1 copy "@cover@" "%dest%\folder.jpg"
if exist "@albumfile@.[*].cue" copy "@albumfile@.[*].cue" "%dest%"
:end_flac_tracks


if %Wavpack%==0 goto end_wavpack_tracks
set dest=%Wavpack_TrackDir%
@tools@\acdir.exe --overwrite --output "%dest%\%TrackName%.wv" --pipe "@tools@\wavpack.exe %Wavpack_opt% -w artist=$#a -w album=$#T -w title=$#t -w track=$n/$N -w year=$q@year@$q -w genre=$q@genre@$q -w comment=$qRipped with EAC/REACT$q - $#o" "@sourcecuesheet@"
if %ReplayGain%==1 (
pushd "%dest%"
@tools@\wvgain.exe -a *.wv
popd
)
title REACT - "@album@"
copy "@eaclog@" "%dest%\EAClog.txt"
if %add_cover%==1 copy "@cover@" "%dest%\folder.jpg"
if exist "@albumfile@.[*].cue" copy "@albumfile@.[*].cue" "%dest%"
:end_wavpack_tracks


if %LameMP3%==0 goto end_mp3_tracks
set dest=%MP3_TrackDir%
@tools@\acdir.exe --overwrite --output "%dest%\%TrackName%.mp3" --pipe "title $n/$N mp3 $#T & @tools@\lame.exe %LameMP3_opt% - $#o & @tools@\metamp3.exe --artist $#a --album $#T --title $#t --track $n/$N --year $q@year@$q --genre $q@genre@$q --comment $qRipped with EAC/REACT$q --frame TPE2:$q@cdartist@$q --frame TENC:$q%USERNAME%$q --frame TSSE:$qLAME %LameMP3_ver% %LameMP3_opt%$q $#o" "@sourcecuesheet@"
if %add_meta%==1 (
pushd "%dest%"
@tools@\metamp3.exe %MetaMP3_RG% %MetaMP3_cover% *.mp3
popd
)
REM copy "@eaclog@" "%dest%\EAClog.txt"
REM if %add_cover%==1 copy "@cover@" "%dest%\folder.jpg"
:end_mp3_tracks


if %NeroAac%==0 goto end_aac_tracks
set dest=%AAC_TrackDir%
@tools@\acdir.exe --overwrite --output "%dest%\%TrackName%.m4a" --pipe "title $n/$N aac $#T & @tools@\neroAacEnc.exe %NeroAac_opt% -if - -of $#o & @tools@\neroAacTag.exe $#o %AacTag_cover_acdir% -meta:artist=$#a -meta:album=$#T -meta:title=$#t -meta:track=$n -meta:totaltracks=$N -meta:year=$q@year@$q -meta:genre=$q@genre@$q -meta:comment=$qRipped with EAC/REACT$q" "@sourcecuesheet@"
if %add_rg%==1 (
pushd "%dest%"
@tools@\aacgain.exe %AacGain_RG% *.m4a > gainlog.txt
popd
)
REM copy "@eaclog@" "%dest%\EAClog.txt"
REM if %add_cover%==1 copy "@cover@" "%dest%\folder.jpg"
:end_aac_tracks


if %OggEnc2%==0 goto end_ogg_tracks
set dest=%OGG_TrackDir%
@tools@\acdir.exe --overwrite --output "%dest%\%TrackName%.ogg" --pipe "title $n/$N ogg $#T & @tools@\oggenc2.exe %OggEnc2_opt% -c artist=$#a -c album=$#T -c title=$#t -c tracknumber=$n/$N -c date=$q@year@$q -c genre=$q@genre@$q -c comment=$qRipped with EAC/REACT$q - -o $#o" "@sourcecuesheet@"
if %ReplayGain%==1 (
pushd "%dest%"
@tools@\vorbisgain.exe -a *.ogg
popd
)
REM copy "@eaclog@" "%dest%\EAClog.txt"
REM if %add_cover%==1 copy "@cover@" "%dest%\folder.jpg"
:end_ogg_tracks


REM ================ END MAIN SCRIPT ===================

if %Debug%==1 (
pause
REM exit
)

rem ** Cleanup

del "@source@"
del "@eaclog@"
del "@cuesheet@"
del "@albumfile@.[*].cue"
del "@cover@"

rem ** Delete this .bat file:
del %0

Also, are boolean arguements supported? So something like:
Code: [Select]
IF @various@==1 set MP3_TrackDir=%OutRoot%\Various Artists\Collections\$album$
IF @various@==1 AND IF @genre@==Soundtrack set MP3_TrackDir=%OutRoot%\Various Artists\Soundtracks\$album$
Title: REACT 2 Released
Post by: Synthetic Soul on 2006-11-21 13:24:48
Also, are boolean arguements supported? So something like:
Code: [Select]
IF @various@==1 set MP3_TrackDir=%OutRoot%\Various Artists\Collections\$album$
IF @various@==1 AND IF @genre@==Soundtrack set MP3_TrackDir=%OutRoot%\Various Artists\Soundtracks\$album$
You can do:

Code: [Select]
IF @various@==1 IF @genre@==Soundtrack set MP3_TrackDir=%OutRoot%\Various Artists\Soundtracks\$album$

The second IF will only run if the first is true.

If you needed to get more complex you can start using brackets and/or ELSE, e.g.:

Code: [Select]
IF @various@==1 (
  IF @genre@==Soundtrack (
    REM CD is both VA and a soundtrack
    SET MP3_TrackDir=%OutRoot%\Various Artists\Soundtracks\$album$
  ) ELSE (
    REM CD is VA but not a soundtrack
    SET MP3_TrackDir=%OutRoot%\Various Artists\$album$
  )
) ELSE (
  REM CD is not VA
  SET MP3_TrackDir=%OutRoot%\$artist$\$album$
)
Title: REACT 2 Released
Post by: wolfsong on 2006-11-21 13:48:26
You can do:

Nifty. I like the more complex option simply because it's more readable.

I also notice that albumart tends to hang and take up CPU resources (around 95%) for 30 to 90 seconds while trying to save the image. I know this isn't tycho's code, just wondering if anyone else is seeing this too.

@tycho: could this extra bit of code i'm using be throwing off how the cover image is being handled?
Title: REACT 2 Released
Post by: tycho on 2006-11-21 15:02:00

You can do:

Nifty. I like the more complex option simply because it's more readable.

I also notice that albumart tends to hang and take up CPU resources (around 95%) for 30 to 90 seconds while trying to save the image. I know this isn't tycho's code, just wondering if anyone else is seeing this too.

@tycho: could this extra bit of code i'm using be throwing off how the cover image is being handled?

First, although it looks more readable with the paranthesis blocks in the script, e.g.
IF @various@==1 (
    set MP3_TrackDir=%OutRoot%\Various Artists\$album$
    echo %MP3_TrackDir%
)
it will fail if either %OutRoot% or $album$ contains a ')' character, because the silly dos-script interprets it as closing of the block!
Also be aware of that the echo line will not print out the value you set above! First outside the parathesis block it will be readable!
Conclusion: use labels and 'goto's instead to avoid both of these problems.

Secondly, the discogs.boo script does find many covers, but I think it is because of this that albumart hangs. Disable it.
Title: REACT 2 Released
Post by: wolfsong on 2006-11-21 20:01:03
Conclusion: use labels and 'goto's instead to avoid both of these problems.

Can you give me an idea what this looks like? I'm not sure what language syntax is being used in the scripting? Is it pure DOS syntax? I'm afraid my brain can't access that file any longer (but I may have a book on the shelf at home).
Secondly, the discogs.boo script does find many covers, but I think it is because of this that albumart hangs. Disable it.

Hmm then it may just be that it hasn't finished grabbing covers when I try to save one because I tend to find one right away. I'll hold off on disabling it and giving it a chance to run first but if it gets too annoyin it'a good to know what the problem is. Thanks.
Title: REACT 2 Released
Post by: countryman on 2006-11-21 23:36:46
Hi,

I have downloaded REACT 2 but cannot get it to work.  In the ‘REACT-image.cfg’ file I have the following:

set Flac=1
set Wavpack=0
set LameMP3=0
set NeroAac=0
set OggEnc2=0

In the ‘REACT-track.cfg’ file I have:

set Flac=1
set Wavpack=0
set LameMP3=0
set NeroAac=0
set OggEnc2=0

When I hit the ‘MP3’ icon in EAC I get a new folder called ‘EAC\Flac\Artist\Album name\ but the folder is empty.  I have decided to start from scratch again and uninstall REACT but it does not appear in the ‘Add/Remove Programs’ pane.

Any advice gratefully received!

Cheers.
Title: REACT 2 Released
Post by: drbeachboy on 2006-11-22 01:36:35
Try pressing the "F10" key on your keyboard.

Also, please read the REACT wiki (http://wiki.hydrogenaudio.org/index.php?title=REACT) on how to use the program.
Title: REACT 2 Released
Post by: wolfsong on 2006-11-22 05:34:30
@tycho
Even when I leave out this extra bit of code (which seemed to work fine) the image is not copied to the destination folder. The file is in the temp directory when I select/save it but once the batch runs it's deleted. I assume it's in the post processing portion of the config that this step should occur.
Title: REACT 2 Released
Post by: tycho on 2006-11-22 08:39:43
@tycho
Even when I leave out this extra bit of code (which seemed to work fine) the image is not copied to the destination folder. The file is in the temp directory when I select/save it but once the batch runs it's deleted. I assume it's in the post processing portion of the config that this step should occur.

The .flac or .wv image is *moved* to the destination folder (default My Documents\My Music\Flac-Images\... for flac). If the move operation should fail for some reason, the compressed image will stay in the original EAC destination folder. The only image that is ever deleted is the ripped .wav image - but why would you ever want that?

@countryman: You want to create flac tracks only, right? It should actually work by pressing the MP3 icon, like you did. I think your problem is that you have forgotten to download flac.exe and metaflac.exe and put it in the REACT2\tools folder. Make sure to get the latest beta 1.1.3 beta 2 (a release is soon to come i believe).

However, like drbeachboy suggested, it is better to rip in image mode, and let REACT split the image into tracks, by hitting F10. This also starts CoverDownloader for you, so you can save a cover picture. The picture will be embedded in each flac track, using the new option in flac 1.1.3
Title: REACT 2 Released
Post by: wolfsong on 2006-11-22 11:53:37

@tycho
Even when I leave out this extra bit of code (which seemed to work fine) the image is not copied to the destination folder. The file is in the temp directory when I select/save it but once the batch runs it's deleted. I assume it's in the post processing portion of the config that this step should occur.

The .flac or .wv image is *moved* to the destination folder (default My Documents\My Music\Flac-Images\... for flac). If the move operation should fail for some reason, the compressed image will stay in the original EAC destination folder. The only image that is ever deleted is the ripped .wav image - but why would you ever want that?

Sorry. I mean cover art.
Title: REACT 2 Released
Post by: tycho on 2006-11-22 14:22:51
Ah. The cover is embeded in the tracks for flac, mp3 and m4a files, so they are not copied to the directory by default. You may extract them using metaflac, metamp3 and neroaactag correspondingly. If you want to have the cover files in the directory as standard, remove the REM from the line:
REM IF %add_cover%==1 COPY "@cover@" "folder.jpg"
for the format in question.
Title: REACT 2 Released
Post by: wolfsong on 2006-11-22 15:13:40
Ah. The cover is embeded in the tracks for flac, mp3 and m4a files, so they are not copied to the directory by default. You may extract them using metaflac, metamp3 and neroaactag correspondingly. If you want to have the cover files in the directory as standard, remove the REM from the line:
REM IF %add_cover%==1 COPY "@cover@" "folder.jpg"
for the format in question.

I'll give it a try tonight. One more thing.

Conclusion: use labels and 'goto's instead to avoid both of these problems.

Can you give me an idea what this looks like? I'm not sure what language syntax is being used in the scripting? Is it pure DOS syntax? I'm afraid my brain can't access that file any longer (but I may have a book on the shelf at home).

I did locate my DOS 6.2 books BTW if that's the syntax I can probably figure it out from there. Thanks.
Title: REACT 2 Released
Post by: Synthetic Soul on 2006-11-22 15:44:17
It is basic DOS commands BTW.

http://www.ss64.com/nt/goto.html (http://www.ss64.com/nt/goto.html)

Essentially it's as easy as:

Code: [Select]
GOTO MyLabel
REM This will never execute
:MyLabel
REM Do something here

I must admit I'm not sure exactly what Tycho has in mind, but one solution may be:

Code: [Select]
IF @various@==1 GOTO Various
REM CD is not VA
SET MP3_TrackDir=%OutRoot%\$artist$\$album$
GOTO Complete
:Various
IF @genre@==Soundtrack GOTO Soundtrack
REM CD is VA but not a soundtrack
SET MP3_TrackDir=%OutRoot%\Various Artists\$album$
GOTO Complete
:Soundtrack
REM CD is both VA and a soundtrack
SET MP3_TrackDir=%OutRoot%\Various Artists\Soundtracks\$album$
:Complete
Title: REACT 2 Released
Post by: wolfsong on 2006-11-23 18:26:48
If you want to have the cover files in the directory as standard, remove the REM from the line:
REM IF %add_cover%==1 COPY "@cover@" "folder.jpg"
for the format in question.

@tycho
FYI: This line is not in the track config. I'm assuming this line
Code: [Select]
if %add_meta%==1 @tools@\metamp3.exe %MetaMP3_RG% %MetaMP3_cover% *.mp3

adds the cover tag but since F2K doesn't have a component that reads this tag and I've seen embedded cover art cause problems, I'll also assume that I can remove the  %MetaMP3_cover% option without ill effect.

One more thing. Thanks for doing so much development and this version in particular has been the easiest to use so far. Keep up the good work.

@Synthetic Soul
Thanks for creating the wiki and always taking a crack at answering questions. You rock!
Title: REACT 2 Released
Post by: sdgenxr on 2006-11-25 05:33:15
Image creation assistance needed.  For some reason when I create an image by pressing F10 all I get is track 2 in FLAC format and nothing else.  I'm not sure what is happening here.  Any ideas?

image.cfg
Code: [Select]
@echo off
chcp 1252
title REACT - "@album@"


REM ================== USER SETTINGS ======================


rem ** To archive a CD as one large "image", you must set
rem ** ImageExt=... in the REACT.ini file (Press Alt-F2).
rem ** This will set the @imageext@ variable. Extensions
rem ** currently supported:  flac, wv, mp3. Set to 'wav'
rem ** for no image archiving (default).

REM ---- Enable/disable additional track formats:

rem ** Splits the wav-image into tracks during encoding, using ACDIR.
rem ** Flac requires flac.exe/metaflac.exe (v1.1.3)
rem ** NeroAac requires NeroAacEnc.exe/NeroAacTag.exe/AacGain.exe.
rem ** OggEnc2 requires OggEnc2.exe/VorbisGain.exe.

set Flac=1
set Wavpack=0
set LameMP3=1
set NeroAac=0
set OggEnc2=0

REM ---- General settings ----

set Debug=0

rem ** I prefer applying album gain 92dB to get a reasonable
rem ** volume for my DAP. The RG tags are still relative
rem ** to 89dB SPL, i.e. album gain will be about -3.0dB.

set ReplayGain=1
set ApplyMp3AacAlbumGain=1
set AdjustMp3AacAlbumGain_dB=+3.0

REM ---- Encoder options ----

set Flac_opt=-5 -f
set Wavpack_opt=-hmy
set LameMP3_opt=-V2 --vbr-new --noreplaygain -c --nohist
rem ** Nero LC-AAC @ ~ 90kbps - great for e.g. iPods:
set NeroAac_opt=-lc -q 0.22
set OggEnc2_opt=-q 3.0

set Flac_ver=1.1.3b2
set LameMP3_ver=3.97
set NeroAac_ver=1.0.0.2

REM ---- Output directories and track names ----

set OutRoot=E:\Ripping

rem ** Image dirs:
set Flac_ImageDir=%OutRoot%\Flac-Images\$cdartist$
set Wavpack_ImageDir=%OutRoot%\Wavpack-Images\$cdartist$
set MP3_ImageDir=%OutRoot%\MP3-Images\$cdartist$

rem ** Track dirs:
set Flac_TrackDir=%OutRoot%\Flac\$cdartist$\$cdartist$ - ($year$) - $album$
set Wavpack_TrackDir=%OutRoot%\Wavpack\$cdartist$\$cdartist$ - ($year$) - $album$
set MP3_TrackDir=%OutRoot%\MP3\$cdartist$\$cdartist$ - ($year$) - $album$
set AAC_TrackDir=%OutRoot%\AAC\$cdartist$\$cdartist$ - ($year$) - $album$
set OGG_TrackDir=%OutRoot%\OGG\$cdartist$\$cdartist$ - ($year$) - $album$

rem ** Vairous Track dirs:
if @various@==1 set Flac_TrackDir=%OutRoot%\Flac\$album$ - ($year$)
if @various@==1 set Wavpack_TrackDir=%OutRoot%\$album$ - ($year$)
if @various@==1 set MP3_TrackDir=%OutRoot%\MP3\$album$ - ($year$)
if @various@==1 set AAC_TrackDir=%OutRoot%\AAC\$album$ - ($year$)
if @various@==1 set OGG_TrackDir=%OutRoot%\OGG\$album$ - ($year$)

rem ** Track names:
if @various@==0    set TrackName=$track$ - $title$
if @various@==1    set TrackName=$track$ - $title$ ($artist$)

REM ============== BEGIN MAIN SCRIPT ==================


if %Debug%==1 echo on

set add_rg=%ReplayGain%
set add_meta=%add_rg%
set add_cover=1
set small_cover=@cover@

if %ReplayGain%==1 (
    set Flac_RG=--replay-gain
    set MetaFlac_RG=--add-replay-gain
    set MetaMp3_RG=--replay-gain
)
if %ApplyMp3AacAlbumGain%==1 (
    set AacGain_RG=/a /o /c /d %AdjustMp3AacAlbumGain_dB%
    set MetaMP3_RG=--apply-gain album%AdjustMp3AacAlbumGain_dB%
    set add_rg=1
    set add_meta=1
)
if exist "@cover@" (
    set Flac_cover=--picture="|image/jpeg|||@cover@"
    set MetaFlac_cover=--import-picture="|image/jpeg|||@cover@"
    set MetaMP3_cover=--pict "{3}@cover@"
    set AacTag_cover_acdir=-add-cover:front:$q@cover@$q
    set add_cover=1
    set add_meta=1
)


REM ---- Image ----
   

if not "@imageext@"=="flac" goto end_flac_image
    set dest=%Flac_ImageDir%
    if not exist "%dest%" mkdir "%dest%"
    @tools@\flac.exe %Flac_opt% %Flac_RG% %Flac_RG% %Flac_cover% -T artist="@artist@" -T album="@album@" -T totaltracks="@numtracks@" -T date="@year@" -T genre="@genre@" -T comment="Ripped with EAC/REACT" -T cuesheet="@@cuesheet@" -T eaclog="@@eaclog@" "@source@" -o "@image@"
    move "@image@" "%dest%"
    copy "@cuesheet@" "%dest%"
    if %add_cover%==1 copy "@cover@" "%dest%\@basename@.jpg"
:end_flac_image


if not "@imageext@"=="wv" goto end_wavpack_image
    set dest=%Wavpack_ImageDir%
    if not exist "%dest%" mkdir "%dest%"
    @tools@\wavpack.exe %Wavpack_opt% -w artist="@artist@" -w album="@album@" -w totaltracks="@numtracks@" -w year="@year@" -w genre="@genre@" -w comment="Ripped with EAC/REACT" -w cuesheet="@@cuesheet@" -w eaclog="@@eaclog@" "@source@" "@image@"
    title REACT - "@album@"
    move "@image@" "%dest%"
    copy "@cuesheet@" "%dest%"
    if %add_cover%==1 copy "@cover@" "%dest%\@basename@.jpg"
:end_wavpack_image

if not "@imageext@"=="mp3" goto end_mp3_image
    set dest=%MP3_ImageDir%
    if not exist "%dest%" mkdir "%dest%"
    @tools@\lame.exe %LameMP3_opt% "@source@" "@image@"
    @tools@\metamp3.exe %MetaMP3_RG% %MetaMP3_cover% --artist "@artist@" --album "@album@" --track @numtracks@ --year "@year@" --genre "@genre@" --comment "Ripped with EAC/REACT" --frame TPE2:"@cdartist@" --frame TENC:"%USERNAME%" --frame TSSE:"LAME %LameMP3_ver% %LameMP3_opt%" "@image@"
    move "@image@" "%dest%"
    copy "@cuesheet@" "%dest%"
    if %add_cover%==1 copy "@cover@" "%dest%\@basename@.jpg"
:end_mp3_image

   

REM ---- Tracks ----


if %Flac%==0 goto end_flac_tracks
    set dest=%Flac_TrackDir%
    @tools@\acdir.exe --overwrite --output "%dest%\%TrackName%.flac" --pipe "title $n/$N flac $#T & @tools@\flac.exe %Flac_opt% -T artist=$#a -T album=$#T -T title=$#t -T tracknumber=$n/$N -T date=$q@year@$q -T genre=$q@genre@$q -T comment=$qRipped with EAC/REACT$q - -o $#o" "@sourcecuesheet@"
    if %add_meta%==1 (
        pushd "%dest%"
        @tools@\Glob.exe -v -c @tools@\metaflac.exe %MetaFlac_RG% %MetaFlac_cover% *.flac
        popd
    )
    copy "@eaclog@" "%dest%\EAClog.txt"
    if %add_cover%==1 copy "@cover@" "%dest%\folder.jpg"
    if exist "@albumfile@.[*].cue" copy "@albumfile@.[*].cue" "%dest%"
:end_flac_tracks


if %Wavpack%==0 goto end_wavpack_tracks
    set dest=%Wavpack_TrackDir%
    @tools@\acdir.exe --overwrite --output "%dest%\%TrackName%.wv" --pipe "@tools@\wavpack.exe %Wavpack_opt% -w artist=$#a -w album=$#T -w title=$#t -w track=$n/$N -w year=$q@year@$q -w genre=$q@genre@$q -w comment=$qRipped with EAC/REACT$q - $#o" "@sourcecuesheet@"
    if %ReplayGain%==1 (
        pushd "%dest%"
        @tools@\wvgain.exe -a *.wv
        popd
    )
    title REACT - "@album@"
    copy "@eaclog@" "%dest%\EAClog.txt"
    if %add_cover%==1 copy "@cover@" "%dest%\folder.jpg"
    if exist "@albumfile@.[*].cue" copy "@albumfile@.[*].cue" "%dest%"
:end_wavpack_tracks


if %LameMP3%==0 goto end_mp3_tracks
    set dest=%MP3_TrackDir%
    @tools@\acdir.exe --overwrite --output "%dest%\%TrackName%.mp3" --pipe "title $n/$N mp3 $#T & @tools@\lame.exe %LameMP3_opt% - $#o & @tools@\metamp3.exe --artist $#a --album $#T --title $#t --track $n/$N --year $q@year@$q --genre $q@genre@$q --comment $qRipped with EAC/REACT$q --frame TPE2:"%AlbumArtist%" --frame TENC:"LAME %LameMP3_ver%" --frame TSSE:$qLAME %LameMP3_ver% %LameMP3_opt%$q $#o" "@sourcecuesheet@"
    if %add_meta%==1 (
        pushd "%dest%"
        @tools@\metamp3.exe %MetaMP3_RG% %MetaMP3_cover% *.mp3
        popd
    )
    REM copy "@eaclog@" "%dest%\EAClog.txt"
    REM if %add_cover%==1 copy "@cover@" "%dest%\folder.jpg"
:end_mp3_tracks


if %NeroAac%==0 goto end_aac_tracks
    set dest=%AAC_TrackDir%
    @tools@\acdir.exe --overwrite --output "%dest%\%TrackName%.m4a" --pipe "title $n/$N aac $#T & @tools@\neroAacEnc.exe %NeroAac_opt% -if - -of $#o & @tools@\neroAacTag.exe $#o %AacTag_cover_acdir% -meta:artist=$#a -meta:album=$#T -meta:title=$#t -meta:track=$n -meta:totaltracks=$N -meta:year=$q@year@$q -meta:genre=$q@genre@$q -meta:comment=$qRipped with EAC/REACT$q" "@sourcecuesheet@"
    if %add_rg%==1 (   
        pushd "%dest%"
        @tools@\aacgain.exe %AacGain_RG% *.m4a > gainlog.txt
        popd
    )
    REM copy "@eaclog@" "%dest%\EAClog.txt"
    REM if %add_cover%==1 copy "@cover@" "%dest%\folder.jpg"
:end_aac_tracks


if %OggEnc2%==0 goto end_ogg_tracks
    set dest=%OGG_TrackDir%
    @tools@\acdir.exe --overwrite --output "%dest%\%TrackName%.ogg" --pipe "title $n/$N ogg $#T & @tools@\oggenc2.exe %OggEnc2_opt% -c artist=$#a -c album=$#T -c title=$#t -c tracknumber=$n/$N -c date=$q@year@$q -c genre=$q@genre@$q -c comment=$qRipped with EAC/REACT$q - -o $#o" "@sourcecuesheet@"
    if %ReplayGain%==1 (
        pushd "%dest%"
        @tools@\vorbisgain.exe -a *.ogg
        popd
    )
    REM copy "@eaclog@" "%dest%\EAClog.txt"
    REM if %add_cover%==1 copy "@cover@" "%dest%\folder.jpg"
:end_ogg_tracks


REM ================ END MAIN SCRIPT ===================

if %Debug%==1 (
    pause
    REM exit
)

rem ** Cleanup

del "@source@"
del "@eaclog@"
del "@cuesheet@"
del "@albumfile@.[*].cue"
del "@cover@"

rem ** Delete this .bat file:
del %0

How do I put scroll bars and a title in the code section above?

[!--sizeo:1--][span style=\"font-size:8pt;line-height:100%\"][!--/sizeo--]Moderation: CODE to CODEBOX[/size]
Title: REACT 2 Released
Post by: wolfsong on 2006-11-25 05:42:12
How do I put scroll bars and a title in the code section above?
Change code to codebox. Not sure about title.
Code: [Select]
Here's an example
Here's an example
Here's an example
Here's an example
Here's an example
Here's an example
Here's an example
Here's an example
Here's an example
Here's an example
Here's an example
Here's an example
Here's an example
Here's an example
Here's an example
Here's an example
Here's an example
Here's an example
Here's an example
Here's an example
Here's an example
Here's an example
Here's an example
Here's an example
Title: REACT 2 Released
Post by: wolfsong on 2006-11-25 06:57:21
Thanks for all the great feedback. I have uploaded a new beta:
beta 2:
  • Sets either "album" or "album artist" tag on images, depending on @various@ (thx drbeachboy and synthetic soul)
  • Adds "album artist" tag to track files on various-artists albums (in addition to artist).
  • Using new variable %AlbumArtist%. Default to "Album Artist" for various-artists albums.

I noticed that my Album Artist was not showing tagged in F2K but looking at the config, this is actually being tagged to the TPE2 frame which is the BAND (http://wiki.hydrogenaudio.org/index.php?title=Foobar2000:ID3_Tag_Mapping) field. Any way to write this to the ALBUM ARTIST field instead?

Also, an old problem has returned. It seems multi-work genres (i.e. Acid Jazz) cause REACT to stop processiong. The batch file is created after extraction (image-config) but REACT stops at this point.
Title: REACT 2 Released
Post by: Martin H on 2006-11-26 17:10:05
@tycho

1. Would you please add an option for adding AG REM comments into the embedded cuesheet(i don't want them in the tags) ?

2. Is it possible to start the script(F10) without the Coverdownloader starting(i don't wan't covers) ?

3. Can i still use '--scale' to get AG scaled MP3 track files together with an WV image(instead of just adding RG tags to the MP3 track files) ?

I haven't tried this version yet, and is sticking to v1.0 as the above questions concerns me, but i really hope that i will be able to use the new version instead at a later time...

Thank's in advance

Martin.
Title: REACT 2 Released
Post by: wolfsong on 2006-11-26 17:59:01
2. Is it possible to start the script(F10) without the Coverdownloader starting(i don't wan't covers) ?

Change RunCoverDowloader to 0 in REACT.ini
3. Can i still use '--scale' to get AG scaled MP3 track files together with an WV image(instead of just adding RG tags to the MP3 track files) ?

I used scale before too but honestly don't know what the difference is between scale and the ApplyMp3AacAlbumGain setting.
Title: REACT 2 Released
Post by: tycho on 2006-11-26 21:48:58
Again, Thanks for all feedback.

@sdgenxr: You must set the ImageExt=flac in the REACT.ini file. The set Flac=1 in the REACT-image.cfg file is for tracks.  In the 2.0 final version, all normal user configuration is moved to the REACT.ini file, so regular user will only need to modify the REACT.ini file.

@wolfsong: The BAND field is very often interpreted as Artist Album, e.g. by Winamp. However, I guess foobar uses a TXXX frame for album artist. You may add (or replace) a TXXX frame in the mp3 tracks section:
Code: [Select]
IF @various@==1 SET VA_tag_MP3=--frame TPE2:$q$cdartist$$q --user-text $q[album artist]@cdartist@$q

I suppose I could add this in the final release.

The multi-word genre problem you mention surprises me. I have just tested a "Acid Jazz" CD with and all formats, and it worked fine. (Image mode F10).

@Martin H:
1) There is no internal support for adding Album Gain REM comments. It is however possible to do this with some advanced DOS scripting. To outline how:
Code: [Select]
WaveGain.exe -a "@source@" -e echo '%%ALBUM_GAIN%%'%%ALBUM_PEAK%%'%%ALBUM_SCALE%%'> tmp1.txt

FOR /F "tokens=1-6 delims='" %%i IN (tmp1.txt) DO (
    echo REM REPLAYGAIN_ALBUM_GAIN %%j dB> tmp2.txt
    echo REM REPLAYGAIN_ALBUM_PEAK %%k>> tmp2.txt
    SET album_scale=%%l
)
TYPE @cuesheet@ >> tmp2.txt
MOVE /Y tmp2.txt @cuesheet@
DEL tmp1.txt

And later when you encode with lame or oggenc2, you may use --scale %album_scale%

Note: The %ALBUM_PEAK% and other *_PEAK variables accessible in the WaveGain line  should be divided by 32767 to normalize them to 0.0 - 1.0 range.  If you notify john33 about it, he may fix that for next WaveGain release.

@wolfsong: Using --scale when encoding will apply volume to exactly 89 dB, whereas using aacgain or metamp3 after encoding will result in 89 +- 0.75 dB. However it allows to losslessy undo volume changes made, unlike when using --scale. Also, for AAC, you must resort to aacgain, because there is no --scale option for the encoder.

edit: formatting.
Title: REACT 2 Released
Post by: Martin H on 2006-11-26 22:31:32
@wolfsong

Thank's for your reply 

Btw, the reason i prefer the '--scale' method rather than just adding RG tags to the MP3 track files or using MP3Gain, is that it is more space effecient, as the files will be about 10% smaller on new music, when lowering the loudness before initiating the encoding process + the MP3 track files will playback as album gained in non-RG aware players also, just like if MP3Gain had been used.

@tycho

Thank you very much for your reply, and i appreciate that you have outlined a working solution for me

Thank's again mates

Martin.
Title: REACT 2 Released
Post by: wolfsong on 2006-11-27 00:08:10
@wolfsong: The BAND field is very often interpreted as Artist Album, e.g. by Winamp. However, I guess foobar uses a TXXX frame for album artist. You may add (or replace) a TXXX frame in the mp3 tracks section:
Code: [Select]
IF @various@==1 SET VA_tag_MP3=--frame TPE2:$q$cdartist$$q --user-text $q[album artist]@cdartist@$q

I suppose I could add this in the final release.

Hmm. I can't really "read" this but from what you've said it should write a custom "album artist" tag. Just to clarify does it set the album artist to the @cdartist@ when not various and Various Artists when it is?

Right now I have the 2 lines remarked that set AlbumArtist. Should I unremark them?

The multi-word genre problem you mention surprises me. I have just tested a "Acid Jazz" CD with and all formats, and it worked fine. (Image mode F10).

I retested on another PC. I was having some other problems and it looks like this was caused by a conflict with other software. Thanks.
Title: REACT 2 Released
Post by: tycho on 2006-11-27 08:39:55

@wolfsong: The BAND field is very often interpreted as Artist Album, e.g. by Winamp. However, I guess foobar uses a TXXX frame for album artist. You may add (or replace) a TXXX frame in the mp3 tracks section:
Code: [Select]
IF @various@==1 SET VA_tag_MP3=--frame TPE2:$q$cdartist$$q --user-text $q[album artist]@cdartist@$q

I suppose I could add this in the final release.

Hmm. I can't really "read" this but from what you've said it should write a custom "album artist" tag. Just to clarify does it set the album artist to the @cdartist@ when not various and Various Artists when it is?

Right now I have the 2 lines remarked that set AlbumArtist. Should I unremark them?

The line sets both the BAND and a custom user text field with "album artists" as description to "Various", when and only when the CD is Various Artists. The v2.0 Final adds a key VA in the REACT.ini file (default VA=Various Artists). This will be the value of @cdartist@ for VA albums, otherwise @cdartist@ equals @artist@. I.e. you won't need the "set AlbumArtist" lines in the final release, but for now I believe you will.
Title: REACT 2 Released
Post by: wolfsong on 2006-11-27 14:07:05
The line sets both the BAND and a custom user text field with "album artists" as description to "Various", when and only when the CD is Various Artists. The v2.0 Final adds a key VA in the REACT.ini file (default VA=Various Artists). This will be the value of @cdartist@ for VA albums, otherwise @cdartist@ equals @artist@. I.e. you won't need the "set AlbumArtist" lines in the final release, but for now I believe you will.

If I don't want BAND set do I just remove VA_tag_MP3=--frame TPE2:$q$cdartist$$q? I only want to use this field for classical recordings and would prefer it be blank for nonclassical for query purposes. Thanks.
Title: REACT 2 Released
Post by: tycho on 2006-11-27 14:23:04
Correct.
Title: REACT 2 Released
Post by: mogorp on 2006-11-27 20:15:02
I have found React 2 to work flawlessly.  I just have a couple of questions.  Just for background, I am encoding flac and Lame tracks. 

1. Can you explain the default settings for replay gain int the tracks config.  I am pretty sure that album replay gain is applied.  Is this correct?  Is the gain adjusted +3db and what is the advantage of doing this?

2.  When I looked at my flac files with foobar the cover art was present.  I did not see cover art when playing mp3 files with foobar.  I added a section to copy the cover art to my mp3/artist/album folder (see below).  Is this necessary?  Why was cover art not present orginally?  Thanks for your hard work. This really makes ripping and multiformat encoding much easier. 

Code: [Select]
if %LameMP3%==1 (
pushd "%MP3_TrackDir%"
copy "@eaclog@" "EAClog.txt"
if %add_meta%==1 @tools@\metamp3.exe %MetaMP3_RG% %MetaMP3_cover% *.mp3
if %add_cover%==1 copy "@cover@" "folder.jpg"
popd
Title: REACT 2 Released
Post by: wolfsong on 2006-11-27 20:20:28
2.  When I looked at my flac files with foobar the cover art was present.  I did not see cover art when playing mp3 files with foobar.  I added a section to copy the cover art to my mp3/artist/album folder (see below).  Is this necessary?  Why was cover art not present orginally?  Thanks for your hard work. This really makes ripping and multiformat encoding much easier. 

Code: [Select]
if %LameMP3%==1 (
pushd "%MP3_TrackDir%"
copy "@eaclog@" "EAClog.txt"
if %add_meta%==1 @tools@\metamp3.exe %MetaMP3_RG% %MetaMP3_cover% *.mp3
if %add_cover%==1 copy "@cover@" "folder.jpg"
popd
foo_uie_albumart does not support embedded album art which is what the default REACT settings provide. What you have now should embed an image and copy folder.jpg to the album's directory.
Title: REACT 2 Released
Post by: tycho on 2006-11-28 06:37:33
Quote
1. Can you explain the default settings for replay gain int the tracks config. I am pretty sure that album replay gain is applied. Is this correct? Is the gain adjusted +3db and what is the advantage of doing this?

Yes, on MP3's and M4A's, album gain is *applied*, and adjusted by +3dB to 93dB. I do this because it gives a consistent loudness between the albums. The +3dB is done because it increases the volume of my iPod a little, so I don't have to put the volume near max. Setting volme to (near) max, increases noise and distortions.
Title: REACT 2 Released
Post by: wolfsong on 2006-11-28 14:30:07
I keep running into issues and I think it's some conflicting app but haven't figured out which one. This time around I was ripping Ottmar Liebert's "Poets & Angels". Debug showed that it couldn't create the album directory, apparently because of the ampersand. I don't recall having this probelm before.

Also, with both computers, I'm getting duplicate comments.

Lastly, on the "good" PC
Code: [Select]
IF @various@==1 SET --user-text $q[album artist]@cdartist@$q

doesn't set the Album Artist field at all.
Title: REACT 2 Released
Post by: Synthetic Soul on 2006-11-28 15:38:51
Lastly, on the "good" PC
Code: [Select]
IF @various@==1 SET --user-text $q[album artist]@cdartist@$q

doesn't set the Album Artist field at all.
I haven't really been following all this, but the above looks horribly wrong.  I think you are after something like:

Code: [Select]
IF @various@==1 SET userText=--user-text $q[album artist]@cdartist@$q
...
FLAC.EXE ... %userText% ...

This will include --user-text $q[album artist]@cdartist@$q in your FLAC command line, only if the album is VA.
Title: REACT 2 Released
Post by: tycho on 2006-11-28 15:47:33
Lastly, on the "good" PC
Code: [Select]
IF @various@==1 SET --user-text $q[album artist]@cdartist@$q

doesn't set the Album Artist field at all.
I haven't really been following all this, but the above looks horribly wrong.  I think you are after something like:

Code: [Select]
IF @various@==1 SET userText=--user-text $q[album artist]@cdartist@$q
...
FLAC.EXE ... %userText% ...

This will include --user-text $q[album artist]@cdartist@$q in your FLAC command line, only if the album is VA.


Yes, that is part of the problem. However because there are no real quotes (") around the artist name (only $q), the '&' is taken to be DOS command separator, and it is therefore failing. I will try to release the final version without these problems. I've just  added the WaveGain + --scale features that martin H requested, so it should not be too far away.
Title: REACT 2 Released
Post by: wolfsong on 2006-11-28 16:52:34
Lastly, on the "good" PC
Code: [Select]
IF @various@==1 SET --user-text $q[album artist]@cdartist@$q

doesn't set the Album Artist field at all.
I haven't really been following all this, but the above looks horribly wrong.  I think you are after something like:

Code: [Select]
IF @various@==1 SET userText=--user-text $q[album artist]@cdartist@$q
...
FLAC.EXE ... %userText% ...

This will include --user-text $q[album artist]@cdartist@$q in your FLAC command line, only if the album is VA.

I'm only doing MP3s with image.cfg (to get AG & TG).
Yes, that is part of the problem. However because there are no real quotes (") around the artist name (only $q), the '&' is taken to be DOS command separator, and it is therefore failing. I will try to release the final version without these problems. I've just  added the WaveGain + --scale features that martin H requested, so it should not be too far away.

Except this is the ALBUM field, not the ARTIST.

I may have found one more quirk. I have an AutoPlaylist to check for tracks missing TG (AG is assumed) and 2 tracks ripped with REACT 2 show up. Both are initials are just initials, S.O.S. and V.F.D.
Title: REACT 2 Released
Post by: Martin H on 2006-11-29 14:13:09
[...] I've just  added the WaveGain + --scale features that martin H requested [...]

Thank you very much tycho  I really appreciate it

CU, Martin.
Title: REACT 2 Released
Post by: Synthetic Soul on 2006-11-29 14:26:13
I'm only doing MP3s with image.cfg (to get AG & TG).
OK, sorry, I'm not familiar with the configs yet (no time to rip CDs).

The basic idea is that you use the line:

Code: [Select]
IF @various@==1 SET userText=--user-text $q[album artist]@cdartist@$q

.. and then add %userText% to whatever command line you are running, where the switch should appear (if relevant).

I guess this relies on tycho's amends to cope with command symbols, like ampersand, outside of quotes.
Title: REACT 2 Released
Post by: wolfsong on 2006-11-30 19:26:06
The basic idea is that you use the line:

Code: [Select]
IF @various@==1 SET userText=--user-text $q[album artist]@cdartist@$q

.. and then add %userText% to whatever command line you are running, where the switch should appear (if relevant).

I guess this relies on tycho's amends to cope with command symbols, like ampersand, outside of quotes.

I was hoping I could do something like
Code: [Select]
SET userText=--user-text $q[album artist]%AlbumArtist%$q

since AlbumArtist is set at the beginning of the config with
Code: [Select]
if @various@==0 set AlbumArtist=$cdartist$
if @various@==1 set AlbumArtist=Various Artists

but it doesn't seem to work.
Title: REACT 2 Released
Post by: Synthetic Soul on 2006-11-30 20:12:30
It should work, unless your variable AlbumArtist contains a command symbol (like "&") as previously discussed.

Code: [Select]
SET var1=fghij
SET var2=abcde%var1%klmno
ECHO %var2%

... should result in:

abcdefghijklmno
Title: REACT 2 Released
Post by: wolfsong on 2006-11-30 23:58:57
It should work, unless your variable AlbumArtist contains a command symbol (like "&") as previously discussed.

Code: [Select]
SET var1=fghij
SET var2=abcde%var1%klmno
ECHO %var2%

... should result in:

abcdefghijklmno

The ampersand problem was in the ALBUM not ARTIST. I tested this with a compilation and it didn't work for me. I'm a bit confused about the variables since cdartist uses @ and AlbumArtist uses % but not where it's being set.
Title: REACT 2 Released
Post by: Synthetic Soul on 2006-12-01 09:09:52
I'm a bit confused about the variables since cdartist uses @ and AlbumArtist uses % but not where it's being set.
The @ parts are REACT's.  They're more tokens, or placeholders, than variables.  Those tokens are replaced by actual values before your config even runs.

The % variables are true DOS variables.  In DOS you use SET myvar=x to set a variable, and %myvar% to retrieve the value of the variable.  You need to use these DOS variables in your config to execute conditionally, whereas the @ REACT tokens will only ever return the value that REACT sets for them.

Without seeing your whole config, and even then perhaps, I can't tell you why your code is not working.  I provided the code above to prove to you that the concept is correct.  If you save the following code as a bat file and double click it you will see it in action:

Code: [Select]
@ECHO OFF
SET AlbumArtist=Test Artist
SET userText=--user-text $q[album artist]%AlbumArtist%$q
ECHO %userText%
ECHO.
PAUSE

With this in mind something else must be adversely affecting your config.
Title: REACT 2 Released
Post by: wolfsong on 2006-12-01 16:12:49
If you save the following code as a bat file and double click it you will see it in action:

Code: [Select]
@ECHO OFF
SET AlbumArtist=Test Artist
SET userText=--user-text $q[album artist]%AlbumArtist%$q
ECHO %userText%
ECHO.
PAUSE
With this in mind something else must be adversely affecting your config.
This works as expected so I assume it's a config problem. Here's the entire config just in case.

Code: [Select]
@echo off
chcp 1252
title REACT - "@album@"


REM ================== USER SETTINGS ======================


rem ** To archive a CD as one large "image", you must set
rem ** ImageExt=... in the REACT.ini file (Press Alt-F2).
rem ** This will set the @imageext@ variable. Extensions
rem ** currently supported:  flac, wv, mp3. Set to 'wav'
rem ** for no image archiving (default).

REM ---- Enable/disable additional track formats:

rem ** Splits the wav-image into tracks during encoding, using ACDIR.
rem ** Flac requires flac.exe/metaflac.exe (v1.1.3)
rem ** NeroAac requires NeroAacEnc.exe/NeroAacTag.exe/AacGain.exe.
rem ** OggEnc2 requires OggEnc2.exe/VorbisGain.exe.

set Flac=0
set Wavpack=0
set LameMP3=1
set NeroAac=0
set OggEnc2=0

REM ---- General settings ----

set Debug=0

rem ** I prefer applying album gain 92dB to get a reasonable
rem ** volume for my DAP. The RG tags are still relative
rem ** to 89dB SPL, i.e. album gain will be about -3.0dB.

set ReplayGain=1
set ApplyMp3AacAlbumGain=1
set AdjustMp3AacAlbumGain_dB=+0.0

REM ---- Encoder options ----

set Flac_opt=-5 -f
set Wavpack_opt=-hmy
set LameMP3_opt=-V4 --vbr-new --noreplaygain --nohist
rem ** Nero LC-AAC @ ~ 90kbps - great for e.g. iPods:
set NeroAac_opt=-lc -q 0.22
set OggEnc2_opt=-q 3.0

set Flac_ver=1.1.3b2
set LameMP3_ver=3.97
set NeroAac_ver=1.0.0.2

REM ---- Output directories and track names ----

set OutRoot=H:\TAGZ

if @various@==0 set AlbumArtist=$cdartist$
if @various@==1 set AlbumArtist=Various Artists

rem ** Image dirs:
set Flac_ImageDir=%OutRoot%\Flac-Images\%AlbumArtist%
set Wavpack_ImageDir=%OutRoot%\Wavpack-Images\%AlbumArtist%
set MP3_ImageDir=%OutRoot%\MP3-Images\%AlbumArtist%

rem ** Track dirs:
set Flac_TrackDir=%OutRoot%\Flac\%AlbumArtist%\[$year$] $album$
set Wavpack_TrackDir=%OutRoot%\Wavpack\%AlbumArtist%\[$year$] $album$
REM set MP3_TrackDir=%OutRoot%\MP3\%AlbumArtist%\[$year$] $album$
set AAC_TrackDir=%OutRoot%\AAC\%AlbumArtist%\[$year$] $album$
set OGG_TrackDir=%OutRoot%\OGG\%AlbumArtist%\[$year$] $album$

REM set ** MP3_TrackDir
IF @various@==1 GOTO Various
REM CD is not VA
SET MP3_TrackDir=%OutRoot%\$cdartist$\$album$
GOTO Complete
:Various
IF @genre@==Soundtrack GOTO Soundtrack
REM CD is VA but not a soundtrack
SET MP3_TrackDir=%OutRoot%\Various Artists\Collections\$album$
GOTO Complete
:Soundtrack
REM CD is both VA and a soundtrack
SET MP3_TrackDir=%OutRoot%\Various Artists\Soundtracks\$album$
:Complete

rem ** Track names (for ACDIR):
if @various@==0 set TrackName=[$n] $~t
if @various@==1 set TrackName=[$n] $~t ($~a)


REM ============== BEGIN MAIN SCRIPT ==================


if %Debug%==1 echo on

set add_rg=%ReplayGain%
set add_meta=%add_rg%
set add_cover=0

if %ReplayGain%==0 goto end_RG
set Flac_RG=--replay-gain
set MetaFlac_RG=--add-replay-gain
set MetaMp3_RG=--replay-gain
:end_RG

if %ApplyMp3AacAlbumGain%==0 goto end_apply_AG
set AacGain_RG=/a /o /c /d %AdjustMp3AacAlbumGain_dB%
set MetaMP3_RG=--apply-gain album%AdjustMp3AacAlbumGain_dB%
set add_rg=1
set add_meta=1
:end_apply_AG

if not exist "@cover@" goto end_cover
set Flac_cover=--picture="|image/jpeg|||@cover@"
set MetaFlac_cover=--import-picture="|image/jpeg|||@cover@"
set MetaMP3_cover=--pict "{3}@cover@"
set AacTag_cover=-add-cover:front:"@cover@"
set add_cover=1
set add_meta=1
:end_cover

if @various@==0 (
set ArtistField=artist
set MP3ArtistField=TPE1
) else (
set ArtistField=album artist
set MP3ArtistField=TPE2
)


REM ---- Image ----


if not "@imageext@"=="flac" goto end_flac_image
set dest=%Flac_ImageDir%
if not exist "%dest%" mkdir "%dest%"
@tools@\flac.exe %Flac_opt% %Flac_RG% %Flac_cover% -T "%ArtistField%=@cdartist@" -T "album=@album@" -T "totaltracks=@numtracks@" -T "date=@year@" -T "genre=@genre@" -T "comment=Ripped with EAC/REACT" -T encoded-by="%USERNAME%" --tag-from-file="cuesheet=@cuesheet@" --tag-from-file="eaclog=@eaclog@" "@source@" -o "@image@"
move "@image@" "%dest%"
copy "@cuesheet@" "%dest%"
if %add_cover%==1 copy "@cover@" "%dest%\@basename@.jpg"
:end_flac_image


if not "@imageext@"=="wv" goto end_wavpack_image
set dest=%Wavpack_ImageDir%
if not exist "%dest%" mkdir "%dest%"
@tools@\wavpack.exe %Wavpack_opt% -w "%ArtistField%=@cdartist@" -w "album=@album@" -w "totaltracks=@numtracks@" -w "year=@year@" -w "genre=@genre@" -w "comment=Ripped with EAC/REACT" -w "cuesheet=@@cuesheet@" -w "eaclog=@@eaclog@" "@source@" "@image@"
if %ReplayGain%==1 @tools@\wvgain.exe -a "@image@"
title REACT - "@album@"
move "@image@" "%dest%"
copy "@cuesheet@" "%dest%"
if %add_cover%==1 copy "@cover@" "%dest%\@basename@.jpg"
:end_wavpack_image


if not "@imageext@"=="mp3" goto end_mp3_image
set dest=%MP3_ImageDir%
if not exist "%dest%" mkdir "%dest%"
@tools@\lame.exe %LameMP3_opt% "@source@" "@image@"
@tools@\metamp3.exe %MetaMP3_RG% %MetaMP3_cover% --frame %MP3ArtistField%:"@cdartist@" --album "@album@" --track @numtracks@ --year "@year@" --genre "@genre@" --comment "Ripped with EAC/REACT" --frame TENC:"%USERNAME%" --frame TSSE:"LAME %LameMP3_ver% %LameMP3_opt%" "@image@"
move "@image@" "%dest%"
copy "@cuesheet@" "%dest%"
if %add_cover%==1 copy "@cover@" "%dest%\@basename@.jpg"
:end_mp3_image



REM ---- Tracks ----


if %Flac%==0 goto end_flac_tracks
set dest=%Flac_TrackDir%
if @various@==1 set Flac_VA_tag=-T $qalbum artist=%AlbumArtist%$q
@tools@\acdir.exe --overwrite --output "%dest%\%TrackName%.flac" --pipe "title $n/$N flac $#T & @tools@\flac.exe %Flac_opt% %Flac_VA_tag% -T artist=$#a -T album=$#T -T title=$#t -T tracknumber=$n/$N -T date=$q@year@$q -T genre=$q@genre@$q -T comment=$qRipped with EAC/REACT$q -T encoded-by=$q%USERNAME%$q - -o $#o" "@sourcecuesheet@"
pushd "%dest%"
if %add_meta%==1 @tools@\Glob.exe -v -c @tools@\metaflac.exe %MetaFlac_RG% %MetaFlac_cover% *.flac
copy "@eaclog@" "EAClog.txt"
if %add_cover%==1 copy "@cover@" "folder.jpg"
if exist "@albumfile@.[*].cue" copy "@albumfile@.[*].cue" .
popd
:end_flac_tracks


if %Wavpack%==0 goto end_wavpack_tracks
set dest=%Wavpack_TrackDir%
if @various@==1 set Wavpack_VA_tag=-w $qalbum artist=%AlbumArtist%$q
@tools@\acdir.exe --overwrite --output "%dest%\%TrackName%.wv" --pipe "@tools@\wavpack.exe %Wavpack_opt% %Wavpack_VA_tag% -w artist=$#a -w album=$#T -w title=$#t -w track=$n/$N -w year=$q@year@$q -w genre=$q@genre@$q -w comment=$qRipped with EAC/REACT$q - $#o" "@sourcecuesheet@"
pushd "%dest%"
if %ReplayGain%==1 @tools@\wvgain.exe -a *.wv
copy "@eaclog@" "EAClog.txt"
if %add_cover%==1 copy "@cover@" "folder.jpg"
if exist "@albumfile@.[*].cue" copy "@albumfile@.[*].cue" .
popd
title REACT - "@album@"
:end_wavpack_tracks


if %LameMP3%==0 goto end_mp3_tracks
set dest=%MP3_TrackDir%
REM if @various@==1 set MP3_VA_tag=--frame TPE2:$q%AlbumArtist%$q
SET userText=--user-text $q[album artist]%AlbumArtist%$q
@tools@\acdir.exe --overwrite --output "%dest%\%TrackName%.mp3" --pipe "title $n/$N mp3 $#T & @tools@\lame.exe %LameMP3_opt% - $#o & @tools@\metamp3.exe %MP3_VA_tag% --artist $#a --album $#T --title $#t --track $n/$N --year $q@year@$q --genre $q@genre@$q --comment $qRipped with EAC/REACT$q --frame TENC:$q%USERNAME%$q --frame TSSE:$qLAME %LameMP3_ver% %LameMP3_opt%$q $#o" "@sourcecuesheet@"
pushd "%dest%"
if %add_meta%==1 @tools@\metamp3.exe %MetaMP3_RG% *.mp3
REM copy "@eaclog@" "EAClog.txt"
if %add_cover%==1 copy "@cover@" "folder.jpg"
popd
:end_mp3_tracks


if %NeroAac%==0 goto end_aac_tracks
set dest=%AAC_TrackDir%
@tools@\acdir.exe --overwrite --output "%dest%\%TrackName%.m4a" --pipe "title $n/$N aac $#T & @tools@\neroAacEnc.exe %NeroAac_opt% -if - -of $#o & @tools@\neroAacTag.exe $#o -meta:artist=$#a -meta:album=$#T -meta:title=$#t -meta:track=$n -meta:totaltracks=$N -meta:year=$q@year@$q -meta:genre=$q@genre@$q -meta:comment=$qRipped with EAC/REACT$q" "@sourcecuesheet@"
pushd "%dest%"
if %add_cover%==1 for %%i in (*.m4a) do @tools@\neroAacTag.exe "%%i" %AacTag_cover%
if %add_rg%==1 @tools@\aacgain.exe %AacGain_RG% *.m4a > gainlog.txt
REM copy "@eaclog@" "EAClog.txt"
REM if %add_cover%==1 copy "@cover@" "folder.jpg"
popd
:end_aac_tracks


if %OggEnc2%==0 goto end_ogg_tracks
set dest=%OGG_TrackDir%
@tools@\acdir.exe --overwrite --output "%dest%\%TrackName%.ogg" --pipe "title $n/$N ogg $#T & @tools@\oggenc2.exe %OggEnc2_opt% -c artist=$#a -c album=$#T -c title=$#t -c tracknumber=$n/$N -c date=$q@year@$q -c genre=$q@genre@$q -c comment=$qRipped with EAC/REACT$q -c encoded-by=$q%USERNAME%$q - -o $#o" "@sourcecuesheet@"
pushd "%dest%"
if %ReplayGain%==1 @tools@\vorbisgain.exe -a *.ogg
REM copy "@eaclog@" "EAClog.txt"
REM if %add_cover%==1 copy "@cover@" "folder.jpg"
popd
:end_ogg_tracks


REM ================ END MAIN SCRIPT ===================

if %Debug%==1 (
pause
REM exit
)

rem ** Cleanup

del "@source@"
del "@eaclog@"
del "@cuesheet@"
del "@albumfile@.[*].cue"
del "@cover@"

rem ** Delete this .bat file:
del %0

I just had a thought. Does --user-text need to be added to?
Code: [Select]
@tools@\acdir.exe --overwrite --output "%dest%\%TrackName%.mp3" --pipe "title $n/$N mp3 $#T & @tools@\lame.exe %LameMP3_opt% - $#o & @tools@\metamp3.exe %MP3_VA_tag% --artist $#a --album $#T --title $#t --track $n/$N --year $q@year@$q --genre $q@genre@$q --comment $qRipped with EAC/REACT$q --frame TENC:$q%USERNAME%$q --frame TSSE:$qLAME %LameMP3_ver% %LameMP3_opt%$q $#o" "@sourcecuesheet@"
Title: REACT 2 Released
Post by: Synthetic Soul on 2006-12-01 18:17:15
I just had a thought. Does --user-text need to be added to?
...
Yes.

Also, on an unrelated note, on line 89 I think it should be:

Code: [Select]
if @various@==1 set TrackName=[$n] $~t ^($~a^)

... but I may be wrong.

I have still yet to actually use REACT 2, so I can't really advise on configs.
Title: REACT 2 Released
Post by: wolfsong on 2006-12-01 18:41:55
I just had a thought. Does --user-text need to be added to?
...
Yes.

Well adding it by itself doesn't work. In fact most of the tags are now blank. I guess it is expecting some sort of arguement like
Code: [Select]
--user-text $q[album artist]%AlbumArtist%$q

which seemingly makes the previous line:
Code: [Select]
SET userText=--user-text $q[album artist]%AlbumArtist%$q

unnecessary but I'm not really sure if that is correct or the syntax is right.
Also, on an unrelated note, on line 89 I think it should be:

Code: [Select]
if @various@==1 set TrackName=[$n] $~t ^($~a^)

... but I may be wrong.

I have still yet to actually use REACT 2, so I can't really advise on configs.

This part works fine actually.
Title: REACT 2 Released
Post by: Synthetic Soul on 2006-12-01 19:15:36
I'm sorry, I should have been more clear: you need to add %userText% to the command line.

Code: [Select]
@tools@\acdir.exe --overwrite --output "%dest%\%TrackName%.mp3" --pipe "title $n/$N mp3 $#T & @tools@\lame.exe %LameMP3_opt% - $#o & @tools@\metamp3.exe %MP3_VA_tag% %userText% --artist $#a --album $#T --title $#t --track $n/$N --year $q@year@$q --genre $q@genre@$q --comment $qRipped with EAC/REACT$q --frame TENC:$q%USERNAME%$q --frame TSSE:$qLAME %LameMP3_ver% %LameMP3_opt%$q $#o" "@sourcecuesheet@"

This part works fine actually.
Yes, on thinking about it, I think I had to do that previously as I had the line already in brackets.  Sorry for confusing the issue.
Title: REACT 2 Released
Post by: wolfsong on 2006-12-01 19:53:38
I'm sorry, I should have been more clear: you need to add %userText% to the command line.

Code: [Select]
@tools@\acdir.exe --overwrite --output "%dest%\%TrackName%.mp3" --pipe "title $n/$N mp3 $#T & @tools@\lame.exe %LameMP3_opt% - $#o & @tools@\metamp3.exe %MP3_VA_tag% %userText% --artist $#a --album $#T --title $#t --track $n/$N --year $q@year@$q --genre $q@genre@$q --comment $qRipped with EAC/REACT$q --frame TENC:$q%USERNAME%$q --frame TSSE:$qLAME %LameMP3_ver% %LameMP3_opt%$q $#o" "@sourcecuesheet@"

YEAH! That worked. Thanks SS.
Title: REACT 2 Released
Post by: Dondo on 2006-12-01 20:02:24
Thanks Tycho for creating REACT. I'm finding it very useful! And thanks to Synthetic Soul for the tech help. What an improvement for Various Artist albums! Excellent.

I tried the previous version for the first time about a month ago, and worked my way through the forum threads until I had a basic understanding - and a good Test & Copy Flac tracks routine.
Now, with REACTv2, I've added AAC tracks to my Test & Copy Flac tracks. It's all working well, except for one minor thing - I'd like to save CRC values in the FLAC tags, but I'm not getting the code right.

Code: [Select]
if %Flac%==0 goto end_flac_tracks
    set dest=%Flac_TrackDir%
    if not exist "%dest%" mkdir "%dest%"
    if @various@==1 set Flac_VA_tag=-T "album artist=%AlbumArtist%"
    @tools@\flac.exe %Flac_opt% %Flac_VA_tag% -T artist="@artist@" -T album="@album@" -T tracknumber="@track@/@numtracks@" -T title="@title@" -T date="@year@" -T genre="@genre@" -T comment="Ripped with EAC/REACT" -T CRC="%CRC%" "@source@" -o "%dest%\%TrackName%.flac"
:end_flac_tracks


I've probably missed something major.
Title: REACT 2 Released
Post by: Synthetic Soul on 2006-12-02 09:34:32
YEAH! That worked. Thanks SS.
No problem.  This is actually what I was referring to in post #57 when I suggested:

Code: [Select]
FLAC.EXE ... %userText% ...

... but I mistakingly used FLAC.EXE in the example assuming --user-text to be a FLAC switch, and not a METAMP3 switch.  Ah well, we got there in the end.

Code: [Select]
if %Flac%==0 goto end_flac_tracks
    set dest=%Flac_TrackDir%
    if not exist "%dest%" mkdir "%dest%"
    if @various@==1 set Flac_VA_tag=-T "album artist=%AlbumArtist%"
    @tools@\flac.exe %Flac_opt% %Flac_VA_tag% -T artist="@artist@" -T album="@album@" -T tracknumber="@track@/@numtracks@" -T title="@title@" -T date="@year@" -T genre="@genre@" -T comment="Ripped with EAC/REACT" -T CRC="%CRC%" "@source@" -o "%dest%\%TrackName%.flac"
:end_flac_tracks
I think you want -T CRC="@crc@" and not -T CRC="%CRC%", unless you have set a DOS variable previously in your config.

Thanks for the thanks.
Title: REACT 2 Released
Post by: Dondo on 2006-12-02 21:53:57
I think you want -T CRC="@crc@" and not -T CRC="%CRC%", unless you have set a DOS variable previously in your config.


I was afraid it was something simple like that! It's working perfectly now, Thanks again.

I was having something odd happen last night - I would start ripping a CD by hitting F4 - EAC would begin checking for gaps, and the coverart downloader would start. Then EAC would just stop after finishing saving the cue sheets - no copying tracks.
I've rebooted and have not been able to re-produce the problem (not that I'm complaining!).
Has anybody else had this trouble?
Title: REACT 2 Released
Post by: SpiceWeasel on 2006-12-02 23:28:20
I've installed REACT 2 several times on Windows Vista Ultimate (final, not beta or RC) and I never get a REACT.ini file.  The other files seem to be there.  Hitting Alt-F2 gets me a "Cannot find the C:\Program Files\REACT2\React.ini file would you like to create it?" dialog.  I assume I can just get a copy from somebody else or create my own if somebody can post or PM me the text of the file, right?
Title: REACT 2 Released
Post by: wolfsong on 2006-12-02 23:48:35
I've installed REACT 2 several times on Windows Vista Ultimate (final, not beta or RC) and I never get a REACT.ini file.  The other files seem to be there.  Hitting Alt-F2 gets me a "Cannot find the C:\Program Files\REACT2\React.ini file would you like to create it?" dialog.  I assume I can just get a copy from somebody else or create my own if somebody can post or PM me the text of the file, right?

Are you starting EAC or REACT? When you run REACT it creates the INI file for you. You should always start with REACT going forward.
Title: REACT 2 Released
Post by: SpiceWeasel on 2006-12-03 19:14:43
Are you starting EAC or REACT? When you run REACT it creates the INI file for you. You should always start with REACT going forward.


Yep, I'm running REACT.exe from C:\Program Files\REACT2\
You have to right click the exe and select 'Run as administrator' to get it to create the ini.  Apparently react.exe isn't allowed to create files in the Program Files directory if it isn't run by an administrator.
Title: REACT 2 Released
Post by: FauDrei on 2006-12-03 23:44:29
Hi,

Perhaps this information will spare someone's nerves and time. I've certainly spent a lot of both on this...

Watch out for the dots at the end of the album (or artist) name. When using REACT in track mode on album called f.e. "The Very Best of...", nothing will be converted.

Reason?

You can not have directory names which end with dots (most probably because of . and .. being current and parent directory).

In mentioned case ("The Very Best of..."), the directory will be created but without the dots f.e. "Q:\MUSiC\WiP\Wavpack\Mike Oldfield\[1996] The Very Best of\". Encoder will then fail to create output file because it will try to write to f.e. "Q:\MUSiC\WiP\Wavpack\Mike Oldfield\[1996] The Very Best of...\01 - Sentinel.wv".

Obvious way to solve the problem is to remove ending dots from album (or artist's) name, but this is not the flexible nor elegant way of doing it...

Possible solution could be to use pushd/popd before/after invoking encoder, and invoking encoder with just the filename.

...and BTW, nice tool - keep up the good work



            V3
Title: REACT 2 Released
Post by: Mangix on 2006-12-04 02:59:47
You can not have directory names which end with dots (most probably because of . and .. being current and parent directory).

you're right. however, i just tried mkdir(with cmd.exe) and when i tried to make a directory with the name "blahblah...", it made a directory named "blahblah". must have something to do with the way REACT or EAC writes directories.
Title: REACT 2 Released
Post by: Synthetic Soul on 2006-12-04 10:35:06
It's down to how Windows creates directories.

REACT is setting the directory name as "<something>..." but when it tells Windows to create this folder Windows creates "<something>".

You can test this yourself by just trying to create a new folder using Explorer.

Knowing that Windows cannot create a folder with 1-n full stops (periods) at the end I think REACT may have to check and amend its variable accordingly.

E.g.:

Code: [Select]
Func fRemoveTrailingPeriods($strText)
    Return StringRegExpReplace($strText, "^(.*?)\.+$", "\1")
EndFunc
Title: REACT 2 Released
Post by: tycho on 2006-12-05 08:27:17
Thanks for making me aware of this. Release 2.0 will add a fix. Unfortunately, I had no time for doing development on this last week, but hopefully within a week it should be ready. @soul: I'm still using AutoIt 3.1.1, and regex are not included there. I'll just remove any trailing dots. Edit: I'll enclose any trailing dots with []. E.g. "The Very Best Of..." becomes "The Very Best Of[...]"
As an observation, folders and files with leading dots are possible to create from a command shell, however explorer does not allow you to create them at all!
Title: REACT 2 Released
Post by: Synthetic Soul on 2006-12-05 09:20:01
Slightly OT, but, I had to upgrade to 3.2.1.10 (beta) as AVG anti-virus started complaining about AutoItSC.bin in the previous version!  Whenever I tried compiling a script it would hassle me to death.
Title: REACT 2 Released
Post by: bhoar on 2006-12-05 18:05:30
Slightly OT, but, I had to upgrade to 3.2.1.10 (beta) as AVG anti-virus started complaining about AutoItSC.bin in the previous version!  Whenever I tried compiling a script it would hassle me to death.


From what I've read, a significant number of malware apps are based on the AutoIT core executable, so I don't think the false positive issue will ever be solved.

-brendan
Title: REACT 2 Released
Post by: schnittlich on 2006-12-06 00:30:55
Just started using REACT 2 (been using the older version for quite some time) and have a question:

In the previous version, I was able to run multiple sessions simultaneously.  To be more specific, my computer has 4 Plextor Premium drives that I use for extraction.  I have 4 instances of EAC running, in the past, have been able to have it all going at one time.  With the new version, only 1 REACT command window seems to be able to open at a time.  If the compression routine is running, I cannot seem to get another running, it just never opens up.

Any thoughts?

Thanks again for this GREAT software…

brett
Title: REACT 2 Released
Post by: awnm on 2006-12-10 11:29:27
Thanks for the new version - it's great. The new format (single config file) makes it much easier.
This time around I was ripping Ottmar Liebert's "Poets & Angels". Debug showed that it couldn't create the album directory, apparently because of the ampersand. I don't recall having this probelm before.
I am having the same problem - tried to rip "The Songs Of Tim & Neil Finn" and the directory created was "The Songs Of Tim ". React2 then failed when trying to put the MP3's in the directory, as it was expecting the full name. When I changed the album name to "...Tim And Neil..." it worked fine.
Title: REACT 2 Released
Post by: tycho on 2006-12-11 12:35:28
schnittlich: I can't see why this version should be different than v1.0 in this respect. It should still support multiple instances (although I haven't tested myself). Please retest and report.

awnm: Version 2.0 final is ready, and does not have this problem. I will release it as soon as I have updated the REACT wiki documentation.
Title: REACT 2 Released
Post by: phaedra on 2006-12-11 23:31:20
... I will release it as soon as I have updated the REACT wiki documentation.


The links at the bottom of the wiki page should be updated (they still point to the download & discussion pages for v1.0).
Title: REACT 2 Released
Post by: Meddler on 2006-12-12 03:28:28
First of all let me say thank you tycho.

I've tried using REACT in the past with little success, in fact only yesterday I was pulling my hair out with my track based rips (whole album encoded as one track with the name of track 2)

Then lo and behold a new version today, which quite simply worked.

Perfect rip & encode + replay gain etc.

Just two questions if I may:

Thanks again.
Title: REACT 2 Released
Post by: tycho on 2006-12-12 09:28:12
Meddler: You're welcome.

1) metamp3/mp3gain and foobar has different implementations.  I think there will be no audible loudness differences.

2) metamp3 is similar to mp3gain, but writes ID3v2 tags instead of APEv2. REACT applies albumgain by default, and adjusts it by 3dB to 92dB, so that it can be played back on every DAP with consistent (and sufficient) loudness. The UNDO tag is there so that you may undo the gain applied with metamp3 --undo-gain <files>.

Edit: You will notice that all your mp3's will get album gain of about -3.0dB (relative to 89) because of the default settings.

If you don't want to apply album gain, set ApplyAlbumGain=0 in the REACT.ini file.
If you don't want replay gain tags at all, set ReplayGain=0 in the REACT.ini file.

phaedra: Thanks, I will update the wiki soon.
Title: REACT 2 Released
Post by: Synthetic Soul on 2006-12-12 10:46:56
Ooh.  I did it already.  I was reading the new wiki and noticed so I updated them.
Title: REACT 2 Released
Post by: drbeachboy on 2006-12-12 15:04:32
Hi tycho,

Would you please explain to me why these 2 lines are written the way they are? In the INI file, I had "UseWaveGainAG" set to 0 and "AddCuesheetAG" set to 1. Everytime I ran the program I couldn't figure out why WaveGain ran before FLAC was started to encode, until I saw the 2nd line below in REACT-image.cfg. Why is run_wavegain set to 1 when AddCuesheetAG is set to 1? Is there a correlation?

SET run_wavegain=@UseWaveGainAG@
IF @AddCuesheetAG@==1 SET run_wavegain=1


Thanks in advance for the explanation. And thank you again for REACT. :-)
Title: REACT 2 Released
Post by: Synthetic Soul on 2006-12-12 15:09:19
If I understand correctly @AddCuesheetAG@ represents whether album gain values should be written to the cuesheet.

They can only be written if first calculated by WavGain.
Title: REACT 2 Released
Post by: tycho on 2006-12-12 15:37:24
Yep, because of limitations in DOS scripting language, the two lines simply says:

"IF @AddCuesheetAG@ = 1 OR @UseWaveGainAG@ = 1 THEN execute WaveGain."


The @UseWaveGainAG@ variable says if you want to transfer the WaveGain album gain values to the encoded files, rather than using metaflac, wvgain, metamp3, aacgain..., which takes a bit longer.
Title: REACT 2 Released
Post by: drbeachboy on 2006-12-12 17:04:39
tycho & SS,

Thank you for the explanations.
Title: REACT 2 Released
Post by: Meddler on 2006-12-12 22:15:04
1) metamp3/mp3gain and foobar has different implementations.  I think there will be no audible loudness differences.

2) metamp3 is similar to mp3gain, but writes ID3v2 tags instead of APEv2. REACT applies albumgain by default, and adjusts it by 3dB to 92dB, so that it can be played back on every DAP with consistent (and sufficient) loudness. The UNDO tag is there so that you may undo the gain applied with metamp3 --undo-gain <files>.

Edit: You will notice that all your mp3's will get album gain of about -3.0dB (relative to 89) because of the default settings.


Does this mean that ApplyAlbumGain "changes" the mp3 file as opposed to just tagging it? My DAP handles replaygain through tags anyway so I'd rather leave the files alone as much as possible.

Thank you for your swift response and your software, saved me a load of time writing a VB program
Title: REACT 2 Released
Post by: robwade on 2006-12-13 01:34:31
tycho,

Hello from a longtime enthusiast and first time poster -

First and foremost, thank you for developing REACT.  It's truly an early holiday gift!

Question/comment:  With regard to VA tagging, "TITLE" and "PERFORMER" appear REVERSED in the produced cue sheet (testing FLAC image and OGG tracks - REACT 2.0 FINAL).  The result of course is that these two fields tag "backwards" for both the FLAC image and OGG tracks.  Am I doing something obviously wrong?

No changes were made in config at all.  Note that non-VA discs tag perfectly.

Thanks in advance for your thoughts and comments.
Title: REACT 2 Released
Post by: Ahmet on 2006-12-13 09:14:28
Hi everyone,

First of all I have to express my appreciation to the author of this awesome tool. I have been using it just for couple of days and it does exactly what I need except one thing. And this is the reason I dare to ask you.

I installed REACT 2.0 final. Decoding into image and separate track works flawlesly but I am not able to set coverdownloader to work for me.  My idea is just to cpy the cover art into the specified folders with ripped image (tracks).

A found cover art using albumart.exe is always stored in C:\"album".jpg form while the REACT script expects to have it in "OutRoot"\"album".jpg. It means at the end that the album covers are not copied to the specified folders for my rips.

I have struggled with coverdownloader last night but for some reason the folder set for storing the dowloaded covers cannot be changed. Every time after manual change it is again reset back to C:\"album".jpg.  I do not know if it is a problem of albumart.exe or REACT.

Does enyone have the same problem ???

Thanks for any advice.
Title: REACT 2 Released
Post by: tycho on 2006-12-13 09:19:03
@Meddler: You are correct. ApplyAlbumGain should probably have been set to 0 by default. Note that 'ApplyAlbumGain' is only for lossy formats. FLAC and WAVPACK are always tagged only.

@robwade: Welcome to the forum. This is due to that some have registered the artist / title reversed in the freedb database. Try another VA disc, and you will probably get it right.

@Ahmet: Welcome to the forum. Set a fixed extraction directory by "Use directory ..." in the EAC options -> Directories. Set it to any direrectory, it is only a temporary directory for REACT. Restart EAC/REACT. Albumart.exe should now set its output path to this directory.
Title: REACT 2 Released
Post by: Ahmet on 2006-12-13 09:55:18
Thanks Tycho for your prompt answer!!

I knew it would be something so easy that would be embarassing to ask.

But, anyway, it might help to some other newbie like me:)
Title: REACT 2 Released
Post by: tycho on 2006-12-13 12:05:31
I've just found a small glitch in the REACT-image.cfg file, in the NeroAac section:

The line:
Code: [Select]
IF @ApplyAlbumGain@==1 @tools@\aacgain.exe %ApplyAG_AacGain% *.m4a > gainlog.txt

should be:
Code: [Select]
IF %add_rg%==1 @tools@\aacgain.exe %ApplyAG_AacGain% *.m4a > gainlog.txt


Without the fix, AAC files are RG scanned only when the album gain also is *applied* to the files.
Title: REACT 2 Released
Post by: Martin H on 2006-12-14 11:39:50
I would just like to say many thanks to the great one i.e. tycho  for adding not only WaveGain and --scale support, but also optional album gain REM comments into the embedded cuesheet

I can't thank you enough tycho and i really appreciate all the hard work that you have layed into this great tool.

Thanks again tycho, you are the man



CU, Martin.
Title: REACT 2 Released
Post by: tycho on 2006-12-14 21:51:18
Thank you, Martin. You have been a great supporter for this tool. I must say I'm pretty pleased with it myself now. I guess the only thing that would have made it even simpler for beginners is a GUI for the settings in the INI file. Would be fairly easy to do using AutoIt, but I'm afraid I won't find the time to program it.

Cheers.
Title: REACT 2 Released
Post by: Martin H on 2006-12-15 11:45:06
Thank you very much tycho  Yes, the app surely has increased it's newbie friendlieness alot in this release and although no GUI present, then the new setup system shouldn't be as intimidating to the new users as it probably was for many before.

Thank's again tycho

CU, Martin.
Title: REACT 2 Released
Post by: awnm on 2006-12-16 07:23:11
Can I add my thanks Tycho - REACT is a great tool and this new version is excellent. Adding custom frames and replaygain via your metamp3 is fantastic stuff.
Title: REACT 2 Released
Post by: Martin H on 2006-12-16 10:03:29
@tycho

I have actually just now for the first time set REACT v2.0 up on my system and i am having a problem unfortunetly. The problem is that when trying to run either your own metamp3.exe or wavegain.exe, then the CLI window just reports : "The system cannot execute the specified program". I'm running a newly installed Windows XP Pro. SP2 system with all post-SP2 hotfixes and security updates installed and i also have a "msvcr71.dll" file placed in the "tools" folder, as else acdir.exe will complain about it missing and i have also tried to place a "msvcr80.dll" file in the folder, but still without any luck. I'm pretty sure that it's just a matter of some missing dependency, but i don't know which one unfortunetly ?

Thank's in advance.

CU, Martin.

Edit: Sorry tycho  I haden't even seen your announcement thread for metaMP3 and when i found it, then it clearly said that it required the VC8 runtimes. First i just downloaded and copied the two files msvcr80.dll and msvcp80.dll into the "REACT2\tools" folder, but that didn't work. Then i tried with the official installer and deleted the files from the tools folder and then everything worked perfectly.

Sorry for wasting your time reading this tycho and again many thanks for this wonderfull timesaver

CU, Martin.
Title: REACT 2 Released
Post by: Martin H on 2006-12-17 15:17:07
Well, after having played around with this new REACT release for some ours now, as to get it setup exactly to my own preference, then i really have to say that this release is simply just absolutely fantastic  Thumbs up to tycho for doing such a very well done scripting job, to say the least  Also his app metamp3.exe is also a really great and needed invention IMHO and it's great that it e.g. has options for setting any TXXX frames to MP3s + doing RG scans and adding the RG tags as ID3v2 tags instead of APEv2 tags + also being able to list what precise frames a MP3 file has in it and also list the contents of the LAME info tag etc. etc. Just bloddy brilliant  Also the ability to bypass lame.exe's anouying ID3v2 genre problem, so we don't need that '--ignore-tag-errors' switch anymore and having to edit those 'Other' genres afterwards. Another thing that also just totally blew my mind, was the ability to add an 'Album Artist' tag to VA albums in addition to the standard 'Artist' tag and all is done fully automatic  Just absolutely brilliant  Thank's again tycho for this great release and also you don't need to respond to this post, but i just wanted to express my deepest gratitude for your absolutely fantastic work and not only that, but also for sharing it with the community for absolutely free  Thank's alot mate

Anyway, to others that make WV images + MP3 track files and like me only want's AG REM comments in the embedded cuesheets and not stored as extra tags in the lossless images or in the lossy track files, then the following changes needs to be done :

Add REM in front of line 43 :

REM SET add_rg=1

Add REM in front of line 179 : (i have adjustalbumgain_db set to 0, but nonetheless...)

REM IF @ApplyAlbumGain@==1 @tools@\metamp3.exe %ApplyAG_MetaMP3% *.mp3

Also, if not wanting an external cuesheet, then add REM in front of line 120 also :

REM MOVE /Y "@cuesheet@" %dest%

Also, if not wanting a "REM REPLAYGAIN_ALBUM_SCALE X.XXXX" line under the two "REM REPLAYGAIN_ALBUM_GAIN" and "REM REPLAYGAIN_ALBUM_PEAK" lines in the embedded cuesheet(something new in this release and wasen't made in v1.0), then also add REM in front of line 73 :

REM ECHO REM REPLAYGAIN_ALBUM_SCALE %album_scale%>> %wg_tmp%.cue

Finally, i change the "-w cuesheet=xxx" and -w "eaclog=xxx" under the WavPack image part of the script to instead : "-w CUESHEET=xxx" and -w "EACLOG=xxx", since that was the format used in REACT v1.0 and i want the new rips i make to be in the same format as the old ones made vith REACT v1.0.

The first "REM" line(line 43) i did several ripping runs to find, and then only after doing a debug run, then i saw the problem. I didn't saw it at first, since as i haden't enabled %replaygain% = 1, then i couldn't understand why the RG tags where still made...

Personally i have also edited the config to not add any other tags to the WV images except 'cuesheet' and 'eaclog' and for the MP3 track files, then i have only made it to include the standard ID3v1 tags i.e. artist,album,title,tracknumber(not xx/xx, but just x),year, genre and comment and i have changed the comment tag to show how much scalling had been done like this : "--comment $qAG applied: %album_gain% dB$q", which then shows :    "AG applied: -x.xx dB". Also i have added the "--fit" switch, as to only add ID3v2 tags in addition to the ID3v1 tags, when the fields are to big to fit in ID3v1 fields. Also if an album is a VA album, or if the genre is not on the standard LAME genre list, then an ID3v2 tag is also still made, even though the fields are maybe small enough to fit in ID3v1 tags, since the ID3v1 spec. dosen't allow any "Album Artist" tags, or adding the "Genre" tag as a text string, instead of just an index number.

Anyway, i just posted this post to first show my appreciation to tycho's great work and then also to list my own setup preferences, so as to maybe give some inspiration to others...

CU, Martin.
Title: REACT 2 Released
Post by: Martin H on 2006-12-20 16:12:32
I would just like to make a correction to my previous post.

I said that i had added the metamp3.exe "--fit" switch to my LAME track file command line, which would only make ID3v2 tags besides the ID3v1 tags, when the fields where to big to fit in ID3v1 tags. Still this is of course correct, but the problem then arises when ripping VA albums. I didn't catch it at first, since i nearly never rip VA albums myself and actually dosen't even own a single one of those albums, but just to test that part of the script out, then i decided to rip a normal CD as a VA album and that way i found out that the "--fit" switch will make it so that no "Album Artist" ID3v2 tag is made unfortunetly. So if one wants only ID3v2 tags when the fields are to big to fit in ID3v1 tags, but still also would like to have VA albums tagged with an "Album Artist" ID3v2 tag, then one should not add "--fit" to the metamp3.exe command line, but instead add e.g. "%Fit_tag%" to the metamp3.exe command line and then also at an earlier place in the script add this line also : "IF @various@==0 SET Fit_tag=--fit". I personally add that line right after this line : "IF @various@==1 SET VA_tag=--user-text $q[album artist]@VA@$q". Note, that this line used to have an extra switch that added a TPE2 ID3v2 frame besides the "Album Artist" TXXX frame, but as i only wanted the TXXX frame(as fb2k also makes when making an "Album Artist" tag) and not the TPE2 frame(which will show up in fb2k as "Band"), then i deleted that last switch i.e. "--frame "TPE2:@VA@"".

CU, Martin.

Edit: D***, that "--fit" switch is making me crazy  right after posting this thread, then i just thought off another potential problem with that switch, and sure enough, i have just tested it and it also was a problem there. What i'm reffering to is genre's wich dosen't fit the LAME genre list and hence, can't be written in an ID3v1 "Genre" tag with just an index number. I would have hoped that if using the "--fit" switch and a non-standard genre was used, then an ID3v2 tag would just be made, but unfortunetly, thats not the way that switch works and instead it just dosen't even add a genre tag . Hmm, not the end of the world, as genre tags aren't really that important to me personally, but it's just a little bit annoying, that's all

Also please note that this isn't tycho's fault, but only because of id3lib - the ID3v1/2 tagging library which metamp3.exe is statically linked against and uses that libraries functions for all it's ID3 tagging operations(instead of re-inventing the wheel ).

CU, Martin.

Edit2 : Well, i have thought about this issue some more and i must confess that i'm now actually pretty pleased about the functionality of that "--fit" switch after all  The reason for that is that i personally only wants to have ID3v1 tags on my MP3 track files and then only added ID3v2 tags also, whenever it is absolutely un-avoidable i.e. whenever a tag field is to big to fit in an ID3v1 tag field, or if the album is a VA album and hence, needs an "Album Artist" ID3v2 tag also. The problem about VA albums is now easilly overcome by instead of using the "--fit" switch directly, then instead adding a conditional variable holding the switch instead and then the final problem with that switch, was about non-standard genres, but come to think about it some more, then i would actually think that adding an ID3v2 tag just because of a non-standard genre is used, isn't very good anyway, and i actually like that it just ignores it instead, since i personally don't really care that much about "Genre" tags anyway and to me it is the least important one of the ones i use.

CU, Martin.
Title: REACT 2 Released
Post by: Martin H on 2006-12-22 10:03:24
First of all, i'm sorry for making so many posts after eachother and i promise that this will be the last one untill i get some feedback

@tycho or Synthetic Soul(or if there are any others which the same great amount of REACT knowledge )

Mates, i would be very happy if one of you guys would answer something for me. I have my "ImageNaming" variable set to "$artist$ - ($year$) $album$" and also the same folder structure for the MP3 track files. This is fine for standard albums and i like this naming-sceme very much because of the cronological sorting of an artists albums based on release year. Now the problem then arises when dealing with VA albums, since IMHO it dosen't make sence to sort VA albums cronologically by release year which the following example will show :

Various - (2001) Dance Hits Vol. 1.wv

Various - (2002) Summer Hits Vol. 1.wv

Various - (2003) Dance Hits Vol. 2.wv

Various - (2004) Summer Hits Vol. 2.wv

Now because of this bad sorting for VA albums, then i would like to have another "ImageNaming" variable which would be used for VA albums and it should look like this : "Various - $album$ ($year$)" and also the same for the folder of the MP3 track files.

I would then like to ask if there is an easy and elegant solution to doing this ?

I have actually allready made it to work, but i don't think that it's very elegant and i would like a better implementation. Also the way i do it, will make it so that the log file will still show the old naming scheme for the file name of the image that's ripped when ripping VA albums. This solution additionally requires Tangerines excelent little console app "cuemod.exe", since i need that to change the "FILE "FOO BAR.wv" WAVE" line in the cuesheet from the old naming-sceme to the new one for VA albums, before it gets embedded. If anyone else should be interested, then "cuemod.exe" can be downloaded here : http://tangerine.uw.hu/prog/cuemod_060406.rar (http://tangerine.uw.hu/prog/cuemod_060406.rar). 

Basically i have added these two lines right over the line of the wavpack.exe command line :

IF @various@==0 SET Image_path="D:\Musik\WV\$artist$ - ($year$) $album$"
IF @various@==1 SET Image_path="D:\Musik\WV\Various - $album$ ($year$)" & @tools@\cuemod.exe --cue "@cuesheet@" --f "Various - $album$ ($year$).wv"

Then for the actual wavpack.exe command line that follows, i have replaced the "@image@" at the end, with instead %Image_path%. Also i have added REM in front of the line that moves the image from the temp folder to the destination folder, as the changes i made encoded the image directly to the destination folder and not in the temp folder.

Then under the MP3 track file configuration, i have just added(besides the changes explained in my previous posts) : "IF @various@==1 SET dest="D:\Musik\MP3\Various - $album$ ($year$)"".

So again, if another more elegant solution is available, then i would love to hear about it, since allthough it dosen't really matter, then it annoyes me alittle that the log file shows the wrong file name when ripping VA albums i.e. the old naming scheme and also if i could get to skip the extra "cuemod.exe" step.

Thank's in advance.

CU, Martin.
Title: REACT 2 Released
Post by: Synthetic Soul on 2006-12-22 10:53:07
I am not familair with REACT 2 at all.  In fact I am currently having my first play with it as I type.

I've just read your last three posts and it seems to me that you have consistently solved your problems with good solutions.  Thanks for the --fit tip BTW; I've just added --fit to my command line, but will make the change that you suggest.

With regard to your latest post, I think yours is the only solution that a user can make.  To resolve your log file issue I think Tycho would have to add the ability to specify an alternate ImageDir for VA albums in the INI.

With regard to the tracks it may be possible that you could do:

Code: [Select]
TrackDir_MP3=@mymusic@
...
TrackName_SA=$artist$ - ($year$) $album$\$track$ - $title$
TrackName_VA=Various - $album$ ($year$)\$track$ - $title$ ($artist$)
TrackName_SA_acdir=$A - ($r{DATE}) $T\$n - $~t
TrackName_VA_acdir=Various - $T ($r{DATE})\$n - $~t ($~a)

Not sure though,  I haven't tested.  You may need to do something to ensure the folders are created (ACDIR will create folders IIRC, but REACT may not at this point).  I may test out of interest.

If you are really bothered about the log file and Tycho sees no reason to add a VA alternate my only other thought is using an app like SED to do a find and replace on the log file.

Edit:  I have just tested my track solution above and by golly I think it works!  No need to do anything else.  I think this is slightly more elegant than your solution, as it keeps user config in the INI, rather than having to adapt the cfg file, which I think is Tycho's intention.  Not sure though.  I'm still a little confused about REACT 2...
Title: REACT 2 Released
Post by: Martin H on 2006-12-22 11:26:46
Hi Synthetic Soul

Thank you very much for your reply - i really appreciate it  Also that MP3 track file ini modification you suggested is IMHO pure genious and indeed it's much better than my retarded way of doing it, so again many thanks for giving me that solution and for being so nice as to also test it out for me

Also i must say that i really appreciate your always helpfull attitude Synthetic Soul and i wish you a merry christmas together with your nice looking family  (as seen from the picture in your profile )

Cheers mate and best regards

CU, Martin.
Title: REACT 2 Released
Post by: Synthetic Soul on 2006-12-22 11:40:40
I don't think your solution was at all retarded.  Unfortunately some workarounds do have to be achieved in the cfg file.

Thank you very much for your kind words.  A very Merry Christmas to you also Martin, and to Tycho, and all REACT users!
Title: REACT 2 Released
Post by: Meddler on 2006-12-22 13:52:25
Code: [Select]
TrackDir_MP3=@mymusic@
...
TrackName_SA=$artist$ - ($year$) $album$\$track$ - $title$
TrackName_VA=Various - $album$ ($year$)\$track$ - $title$ ($artist$)
TrackName_SA_acdir=$A - ($r{DATE}) $T\$n - $~t
TrackName_VA_acdir=Various - $T ($r{DATE})\$n - $~t ($~a)

Not sure though,  I haven't tested.  You may need to do something to ensure the folders are created (ACDIR will create folders IIRC, but REACT may not at this point).  I may test out of interest.


Now that is excellent, I was gonna start hacking around to solve this and then I read this 

Wonderful, I don't need to play with the AU3 file which is what I feared
Title: REACT 2 Released
Post by: drbeachboy on 2006-12-23 16:33:01
Hi,

I need some help with changing from AtomicParsley to NeroAACTag in my REACT-image.cfg. I use foobar2000 to play my music and it apparently cannot read tags produced by AP. I've messed with this for hours and I cannot get it to work. I had NeroAACTag working fine with REACT 1, but so far unsucessful in React 2. Any help would be surely appreciated.

Merry Christmas & Happy Holidays!

Dirk
Title: REACT 2 Released
Post by: Martin H on 2006-12-23 19:50:21
I would just like to add that i haven't got any REACT problems anymore, since i have reconcidered my approach and have now changed my mind about my naming-sceme to instead use : "cdartist" - "album", since afterall, my only interface to the files is through fb2k, which i have setup as automatically sorting by year before album for SA albums and no year before album for VA albums. Also i have decided that i will not have RG comments in the cuesheets anymore, since i don't use the lossless images for playback, but only for archiving. Also i now use tycho's new fantastic tool metamp3.exe to analyze and add RG ID3v2 tags to the MP3 track files. I have just spend the last many ours to rename my current WV images and to extract the cuesheets and logfiles to change the filename + delete the RG REM comments, and then reembed them, and then i have deleted my current MP3 track file archive(-V2 --vbr-new), and transcoded all my WV images to MP3 track files(-V5 --vbr-new) + RG analyze and tag them afterwards. Now i'm completely satisfied with my new approach, and have ammended my REACT script to reflect this new system and now everything is absolutely perfect  (also my final adjustment was to disable fb2k's clipping prevention and add the Advanced Limiter DSP instead, so as to avoid clipping while still keeping the same relative loudness between albums, since the clipping prevention will scale down clipping tracks/albums i.e. lower the loudness).

CU, Martin.
Title: REACT 2 Released
Post by: ESP85 on 2006-12-24 00:13:58
Well I've tried React 2 and it works great but is there a way to set it up so it can encode two sets of mp3s?

I want one set using -V2 for listening on my computer and one set -V4 or -V5 for the car audio so I can fit more mp3s on an mp3CD (I don't have an ipod :-/ )
Title: REACT 2 Released
Post by: drbeachboy on 2006-12-24 03:17:48
Hi,

I was finally able to figure out how to use neroAacTag in place of AtomicParsley. If anyone is interested, post here, and I will gladly post the Nero portion of the config file.
Title: REACT 2 Released
Post by: dummptyhummpty on 2006-12-27 10:19:21
I've noticed a small bug in REACT 2. EAC is set to put everything in C:\Documents and Settings\myusername\My Documents\My Music. I notice all the temp files and things end up just in the "My Documents" folder and everything gets placed in the right spot after (so I don't care). But cover downloader puts the .jpg file in the "My Music" folder so REACT doesn't find it unless I move it to "My Documents".

Also how can I add the Replay Gain tag (that says XXdb) to all the flac files i've ripped with REACT 1?

From my REACT.ini file:
Code: [Select]
[UserOutputNames]
OutRoot=@mymusic@
ImageDir_Flac=@OutRoot@\FLAC\$cdartist$\$album$
TrackDir_AAC=@OutRoot@\AAC\$cdartist$\$album$
Title: REACT 2 Released
Post by: ESP85 on 2006-12-27 18:08:16
I've noticed a small bug in REACT 2. EAC is set to put everything in C:\Documents and Settings\myusername\My Documents\My Music.

That's weird.  I have the same settings as you but my files are automatically put into "C:\EAC"


Is there anyway to set it up so the log files aren't deleted after the files are compressed?  I want them automatically moved to a log folder.
Title: REACT 2 Released
Post by: dummptyhummpty on 2006-12-27 20:58:19

I've noticed a small bug in REACT 2. EAC is set to put everything in C:\Documents and Settings\myusername\My Documents\My Music.

That's weird.  I have the same settings as you but my files are automatically put into "C:\EAC"


Is there anyway to set it up so the log files aren't deleted after the files are compressed?  I want them automatically moved to a log folder.


You need to edit REACT-image.cfg or REACT-track.cfg it should be towards the bottom. What folder do you want them moved to i'll try to write out the code.
Title: REACT 2 Released
Post by: ESP85 on 2006-12-27 21:12:37
Well the mp3s are put in C:\EAC\MP3 on my system so C:\EAC\logs would be good.  Thanks.



Edit:

Actually I think it would be a better idea to copy the log file to each output folder.

So if I rip a FLAC image and have REACT2/ACDIR split it up into MP3s then the log should go in the FLAC folder AND the MP3 folder.
Title: REACT 2 Released
Post by: Martin H on 2006-12-27 22:27:25
Just a little tip...

If you are using metamp3.exe to ReplayGain scan your MP3 track files, then besides the normal RG tags : 

REPLAYGAIN_TRACK_GAIN
REPLAYGAIN_TRACK_PEAK
REPLAYGAIN_ALBUM_GAIN
REPLAYGAIN_ALBUM_PEAK

Then there are also added :

MP3GAIN_MINMAX
MP3GAIN_ALBUM_MINMAX

If you, like me, would like to skip having metamp3.exe add these tags to your MP3 track files, then you just add this line :
Code: [Select]
IF %add_rg%==1 @tools@\metamp3.exe --remove [mp3gain_*]TXXX *.mp3

Just after this line :
Code: [Select]
IF %add_rg%==1 @tools@\metamp3.exe %RG_MetaMP3% *.mp3

So it should look like this :
Code: [Select]
IF %add_rg%==1 @tools@\metamp3.exe %RG_MetaMP3% *.mp3
IF %add_rg%==1 @tools@\metamp3.exe --remove [mp3gain_*]TXXX *.mp3

CU, Martin.
Title: REACT 2 Released
Post by: dummptyhummpty on 2006-12-28 05:57:33
Well the mp3s are put in C:\EAC\MP3 on my system so C:\EAC\logs would be good.  Thanks.

Edit:

Actually I think it would be a better idea to copy the log file to each output folder.

So if I rip a FLAC image and have REACT2/ACDIR split it up into MP3s then the log should go in the FLAC folder AND the MP3 folder.


In the flac image section of REACT-image.cfg add
Code: [Select]
COPY /Y "@eaclog@" %dest%

Between:
Code: [Select]
MOVE /Y "@cuesheet@" %dest%
IF %have_cover%==1 COPY /Y "@cover@" %dest%\"cover.jpg"

Then in the MP3/LAMEMP3 track section add it above:
Code: [Select]
REM COPY /Y "@eaclog@" "EAClog.txt"

Let me know if something dosn't work.

Also how can I add the Replay Gain tag (that says XXdb) to all the flac files i've ripped with REACT 1?


I figured it out. Any word on the bug i'm experiencing?
Title: REACT 2 Released
Post by: ESP85 on 2006-12-29 00:35:23
Thanks alot.  The code snippets work great. 


But I'm having a problem with long wav image filenames.  There is this one wav filename that is 84 characters long (88 if you include ".wav" )

This is the original image file that EAC rips.  My REACT2 is set up to compress the image to FLAC, move it to the FLAC folder, split up the image into individual MP3 tracks and move those to their respective folder.

The FLAC dir is created but only the log is copied to there.  The FLAC encoder says "The filename or extention is too long." after it finishes compressing and because of this, never moves the FLAC file.

Is there anyway around this? 88 characters definitely isn't that long of a filename; the maximum Windows will allow is 255 I think.
Title: REACT 2 Released
Post by: ESP85 on 2006-12-30 19:48:30
But I'm having a problem with long wav image filenames.  There is this one wav filename that is 84 characters long (88 if you include ".wav" )

This is the original image file that EAC rips.  My REACT2 is set up to compress the image to FLAC, move it to the FLAC folder, split up the image into individual MP3 tracks and move those to their respective folder.

The FLAC dir is created but only the log is copied to there.  The FLAC encoder says "The filename or extention is too long." after it finishes compressing and because of this, never moves the FLAC file.

Is there anyway around this? 88 characters definitely isn't that long of a filename; the maximum Windows will allow is 255 I think.


Sorry to bump the thread but does anyone know a work around for this problem?
Title: REACT 2 Released
Post by: Synthetic Soul on 2006-12-30 20:23:56
Are you sure that FLAC.EXE is the problem?  I have just encoded a file with a 100 character filename successfully.

I don't have the cfg here to check what the sequence is, but it may well be worth posting the relevant part of your log to diagnose further.

It appears that one of the apps has an issue with long-ish filenames, and we need to find out which one.
Title: REACT 2 Released
Post by: ESP85 on 2006-12-30 22:58:38
Are you sure that FLAC.EXE is the problem?  I have just encoded a file with a 100 character filename successfully.

I don't have the cfg here to check what the sequence is, but it may well be worth posting the relevant part of your log to diagnose further.

It appears that one of the apps has an issue with long-ish filenames, and we need to find out which one.

Ok.  I turned Debug on.  Apparently the problem is not with FLAC.  It's right after FLAC encodes and tries to move the cue and FLAC image to the FLAC dir.

Here's where the problem is..

Code: [Select]
C:\EAC>MOVE /Y "C:\EAC\Sublime - What I Got (Very Clean Radio Version) (Promo CD Single GAS5P-3874) [1996].flac" "C:\EAC\FLAC-images\Sublime - What I Got (Very Clean Radio Version) (Promo CD Single GAS5P-3874) [1996]"
The filename or extension is too long.

C:\EAC>MOVE /Y "C:\EAC\Sublime - What I Got (Very Clean Radio Version) (Promo CD Single GAS5P-3874) [1996].cue" "C:\EAC\FLAC-images\Sublime - What I Got (Very Clean Radio Version) (Promo CD Single GAS5P-3874) [1996]"
The filename or extension is too long.
Title: REACT 2 Released
Post by: ESP85 on 2006-12-31 08:47:30
I just discovered another possible bug today.

REACT2 has a problem with slashes "/" in the title.  I have some CDs that have slashes in the title and when I press F10 to make an image the screen just flashes and the Save Waveform window doesn't pop up at all unless I take the slashes out of the title.
Title: REACT 2 Released
Post by: Synthetic Soul on 2006-12-31 09:09:54
Good band by the way. 

Hmm... if I do:

MOVE /Y "C:\Documents and Settings\Neil\Desktop\12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345
67890.flac" "C:\Documents and Settings\Neil\Desktop\12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345
67890"

... on my XP laptop it works fine.

I've had a look at this problem and it doesn't look like there's an easy way in NT DOS to get the short file name.  I did find this page (http://www.robvanderwoude.com/truename.html), but I wouldn't call the resolve easy.

One option may be for REACT to use short file names by default (AutoIt has built-in functions to get the SFN for a path), or perhaps even to provide some more placeholders, like ~cuesheet~ or ~eaclog~, which return SFN filenames.
Title: REACT 2 Released
Post by: Synthetic Soul on 2006-12-31 12:29:00
REACT2 has a problem with slashes "/" in the title.  I have some CDs that have slashes in the title and when I press F10 to make an image the screen just flashes and the Save Waveform window doesn't pop up at all unless I take the slashes out of the title.
Known issue with EAC (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=35158&view=findpost&p=344557).
Title: REACT 2 Released
Post by: ESP85 on 2007-01-01 09:34:02
Good band by the way. 

Hmm... if I do:

MOVE /Y "C:\Documents and Settings\Neil\Desktop\12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345
67890.flac" "C:\Documents and Settings\Neil\Desktop\12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345
67890"

... on my XP laptop it works fine.

I've had a look at this problem and it doesn't look like there's an easy way in NT DOS to get the short file name.  I did find this page (http://www.robvanderwoude.com/truename.html), but I wouldn't call the resolve easy.

One option may be for REACT to use short file names by default (AutoIt has built-in functions to get the SFN for a path), or perhaps even to provide some more placeholders, like ~cuesheet~ or ~eaclog~, which return SFN filenames.

I have Windows 2000 Pro.

I've tried to find where the maximum filename length would be set but with no luck.  Maybe my settings are messed up somewhere.

REACT2 has a problem with slashes "/" in the title.  I have some CDs that have slashes in the title and when I press F10 to make an image the screen just flashes and the Save Waveform window doesn't pop up at all unless I take the slashes out of the title.
Known issue with EAC (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=35158&view=findpost&p=344557).

The slashes in the title work just fine when I'm not running REACT2 so I think it's a REACT2 issue.
Title: REACT 2 Released
Post by: Fameless on 2007-01-04 22:13:43
I just started to mess around this this, and I have a few issues/questions. 

I want to use React to make .mp3's for my portable player, and .flac files for listening at home. Here is how my REACT.ini file is set up:
[Settings]
Version=2.0
ImageExt=wav
ImageNaming=$artist$ - [$year$] $album$
ImageHotKey={F10}
TracksHotKey={F4}
TracksHotVal=+{F5}
VA=Various Artists
CreateAllCuesheets=0
RunCoverDownloader=1
CoverDownloader=C:\Program Files\REACT2\coverdownloader\albumart.exe
EAC=C:\Program Files\Exact Audio Copy\EAC.exe
Tools=C:\Program Files\REACT2\tools
MinimizeCompressionWindow=1
ProcessPriority=1
Sla_Bks_Col_Qst_Bar_Quo_Ast_Lt_Gt=-|-|-||!|'|#|[|]

[UserTrackFormats]
Flac=1
Wavpack=0
LameMP3=1
NeroAac=0
iTunesAac=0
OggEnc2=0

[UserOutputNames]
OutRoot=@mymusic@\EAC
ImageDir_Flac=@OutRoot@\FLAC-images\$cdartist$
ImageDir_Wavpack=@OutRoot@\WV-images\$cdartist$
ImageDir_MP3=@OutRoot@\MP3-images\$cdartist$
TrackDir_Flac=@OutRoot@\FLAC\$cdartist$\[$year$] $album$
TrackDir_Wavpack=@OutRoot@\WV\$cdartist$\[$year$] $album$
TrackDir_MP3=@OutRoot@\MP3\$cdartist$\[$year$] $album$
TrackDir_AAC=@OutRoot@\AAC\$cdartist$\[$year$] $album$
TrackDir_OGG=@OutRoot@\OGG\$cdartist$\[$year$] $album$
TrackName_SA=$track$ - $title$
TrackName_VA=$track$ - $title$ [$artist$]
TrackName_SA_acdir=$n - $~t
TrackName_VA_acdir=$n - $~t [$~a]

[UserSettings]
Debug=1
Comment=Created with EAC/REACT2, @curdate@
EmbedCover=1
ReplayGain=1
ApplyAlbumGain=1
AdjustAlbumGain_dB=+3.0
AddCuesheetAG=1
UseWaveGainAG=1
Opt_Flac=-5 -f
Opt_Wavpack=-hmy
Opt_LameMP3=-V2 --vbr-new  --nohist
Opt_NeroAac=-lc -q 0.21
Opt_iTunesAac=-d -s 2000
Opt_OggEnc2=-q 3.0
Ver_Flac=1.1.3
Ver_Wavpack=4.40
Ver_LameMP3=3.97
Ver_NeroAac=1.0.0.2
Ver_OggEnc2=2.83 Lancer aoTuV b5

After React runs, the wave files are not deleted even though I checked Delete WAV after compression in EAC. How do I configure React to delete .wav's after it runs? Can I use the single .cue file created to decompress the .flac tracks to restore to a cd-r for back-up? I've never used .flac before and I'm unsure the best course of action to take for track restoration with React. I had installed flac frontend to decompress the flac tracks, but React would no longer create .flac tracks for new cd's. I apologize if this is hard to follow, but I'm new to flac and React. I'm good with LAME, I'll LAME it up all day long.

That was LAME...
Title: REACT 2 Released
Post by: Martin H on 2007-01-05 12:40:03
For getting the WAV image and cuesheet deleted afterwards, then you need to set 'Debug' to '0' instead of '1'. If you want a cuesheet for your ripped tracks, then you must set the 'CreateAllCuesheets' to '1' and then all the 4 different cuesheet formats are made, but they are only copied into the directories of lossless formats, though, so if you want a cuesheet into a lossy formats directory, then just copy the changed line a little under here, and place it into your lossy format's track section in your CFG file.

Press ALT+F3 and there you need to scroll down to the '---tracks---' section and then under the FLAC tracks section, then find this line :
Code: [Select]
IF EXIST "@albumfile@.[*].cue" COPY /Y "@albumfile@.[*].cue" .

And then change it to :
Code: [Select]
IF EXIST "@albumfile@.[mg].cue" COPY /Y "@albumfile@.[mg].cue" "@basename@.cue"


CU, Martin.
Title: REACT 2 Released
Post by: ESP85 on 2007-01-05 13:04:29

Good band by the way. 

Hmm... if I do:

MOVE /Y "C:\Documents and Settings\Neil\Desktop\12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345
67890.flac" "C:\Documents and Settings\Neil\Desktop\12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345
67890"

... on my XP laptop it works fine.

I've had a look at this problem and it doesn't look like there's an easy way in NT DOS to get the short file name.  I did find this page (http://www.robvanderwoude.com/truename.html), but I wouldn't call the resolve easy.

One option may be for REACT to use short file names by default (AutoIt has built-in functions to get the SFN for a path), or perhaps even to provide some more placeholders, like ~cuesheet~ or ~eaclog~, which return SFN filenames.

I have Windows 2000 Pro.

I've tried to find where the maximum filename length would be set but with no luck.  Maybe my settings are messed up somewhere.

REACT2 has a problem with slashes "/" in the title.  I have some CDs that have slashes in the title and when I press F10 to make an image the screen just flashes and the Save Waveform window doesn't pop up at all unless I take the slashes out of the title.
Known issue with EAC (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=35158&view=findpost&p=344557).

The slashes in the title work just fine when I'm not running REACT2 so I think it's a REACT2 issue.


Does anybody have any idea how to fix either of these problems?
Title: REACT 2 Released
Post by: Fameless on 2007-01-05 20:00:28
Thanks Martin H, that's what I was looking for. One more question: which .cue sheet should I use to decode the .flac tracks to burn to a cd-r for back-up? If I read the EAC .cue sheet guide correctly, I want to use the noncompliant sheet, right? Out of the four sheets that React creates, which one is it?
Title: REACT 2 Released
Post by: Martin H on 2007-01-06 11:45:56
You are very welcome Fameless

The cuesheet you will need is the "multiple files with gaps" i.e. "@albumfile@.[mg].cue" and that should also be copied to your FLAC files directory according to the changes i posted to you previously.

CU, Martin.
Title: REACT 2 Released
Post by: Fameless on 2007-01-06 19:04:27
Awesome, thanks for the help.
Title: REACT 2 Released
Post by: The Chaos Path on 2007-01-07 21:14:48
I've tried to figure this out on my own, but with no success. I'm trying to create a WavPack image and mp3 tracks. The image comes out fine and in the proper folder, but when it comes to the track creation, it looks like React is running it correctly, but no files are created and all I get is an empty folder. Any ideas?

Edit: Never mind, of course I figured it out five minutes after I posted.
Title: REACT 2 Released
Post by: lwbecker2 on 2007-01-08 00:04:25
I was looking at using EAC with iTunesEncode and Nero's AAC encoder, along with REACT. I see that support is built in and was looking at the code in the config section and have questions about the following two code segments.  The line before :end_itunes_aac_tracks says "GOTO end_nero_aac_tracks" (see code below)... is this a typo? not sure why the itunes acc section would goto the end of the nero aac section.

In the second code snippet, the one for Nero's encoder, it calls neroAacEnc.exe but doesn't call the nero tagger (neroAacTag.exe), but instead uses some other tagging program.. why is this?  Thanks in advance for any information.

Code: [Select]
IF NOT @iTunesAac@==1 GOTO end_itunes_aac_tracks
    IF NOT EXIST %TrackDir_AAC% MKDIR %TrackDir_AAC%
    PUSHD %TrackDir_AAC%
        IF %embed_cover%==1 SET Cover_tag=-r "@cover@"
        ECHO ON
        @tools@\iTunesEncode.exe @Opt_iTunesAac@ -e "AAC Encoder" %Cover_tag% -x @various@ -a "@artist@" -l "@album@" -n "@track@" -m "@numtracks@" -t "@title@" -y "@year@" -g "@genre@" -c "@comment@" -i "@source@" -o "%TrackName%.m4a"
        @ECHO OFF
        IF %have_cover%==1 IF NOT EXIST folder.jpg COPY "@cover@" folder.jpg
    POPD
    GOTO end_nero_aac_tracks
:end_itunes_aac_tracks

Code: [Select]
IF NOT @NeroAac@==1 GOTO end_nero_aac_tracks
    IF NOT EXIST %TrackDir_AAC% MKDIR %TrackDir_AAC%
    PUSHD %TrackDir_AAC%
        IF @various@==1 SET VA_tag=--albumArtist "@VA@" --compilation true
        IF %embed_cover%==1 SET Cover_tag=--artwork "@cover@"
        ECHO ON
        @tools@\neroAacEnc.exe @Opt_NeroAac@ -if "@source@" -of "%TrackName%.m4a"
        @tools@\AtomicParsley.exe "%TrackName%.m4a" -o REACT_tmp.m4a %Cover_tag% %VA_tag% --artist "@artist@" --album "@album@" --tracknum "@track@/@numtracks@" --title "@title@" --year "@year@" --genre "@genre@" --comment "@comment@" --encodingTool "neroAacEnc @Ver_NeroAac@ @Opt_NeroAac@"
        @ECHO OFF
        MOVE /Y REACT_tmp.m4a "%TrackName%.m4a"
        IF %have_cover%==1 IF NOT EXIST folder.jpg COPY "@cover@" folder.jpg
    POPD
:end_nero_aac_tracks
Title: REACT 2 Released
Post by: getsource on 2007-01-08 09:05:30
I've been looking in the WIKI and configs for a while, but can't seem to figure out:

Is there a way to generate M3U files for track ripping?  (like EAC does normally when it rips tracks)

Thanks,
GS
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-01-08 09:27:28
Is there a way to generate M3U files for track ripping?  (like EAC does normally when it rips tracks)
Does EAC do this normally?  If it does then it probably still can.

If not, I have created a batch file to create an M3U.  It accepts a folder to process and a filename as parameters, e.g.:

@tools@\CREATE-M3U.BAT "@TrackDir_MP3@" "$cdarist$ - $album$"

Here's the code.  If you're interested, copy it into a text file, save it in the REACT "tools" directory as "create-m3u.bat", and then use the line above after your track files have been created.

Code: [Select]
@ECHO OFF
CLS

REM CREATE-M3U.BAT Written by Neil Popham, 2005 (neilpopham@bigfoot.com)

SET batchname=CREATE-M3U.BAT
SET version=1.1.0
TITLE=%batchname%, Version %version%

REM Set the name of the playlist to create in each folder
IF [%2] EQU [] (SET playlist=playlist.m3u) ELSE (SET playlist="%~2.m3u")
REM Create list of valid file extensions
SET validExtn=.mp3.mp2.mp1.mpc.mp+.mpp.ogg.aac.mac.ape.flac.fla.wv.shn.ofr.ofs.ogg.m4a.mp4

REM Add another delimiter to the end so I can search for .<ext>.
SET validExtn=%validExtn%.

REM Check a folder has been passed
IF NOT EXIST %1 GOTO NoParams
IF %~z1 GTR 0 GOTO NoParams

REM Remove all existing "playlist.m3u" files otherwise files will be appended
FOR /R %1 %%G IN (%playlist%) DO IF EXIST %%G DEL "%%G"

REM Iterate through every file and pass the path to :WriteToPlayList
FOR /R %1 %%G IN (*.*) DO CALL :WriteToPlayList "%%G" %playlist%

GOTO:EOF

REM ======================================================================
REM WriteToPlayList : Adds the file to the playlist, if the extension fits
REM : %1 The file to process
REM ======================================================================
:WriteToPlayList
REM Check that the file extension is valid
SET extn=%~x1
IF [%extn%] EQU [] GOTO:EOF
SET tmpExtn=%validExtn%
CALL SET result=%%tmpExtn:%extn%.=%%
REM If no match found in list of extensions exit function
IF [%result%] EQU [%validExtn%] GOTO:EOF
REM Escape ampersand and caret
SET tmpString="%~nx1"
SET tmpString=%tmpString:^=^^%
SET tmpString=%tmpString:&=^^^&%
REM Remove quotes
SET tmpString=%tmpString:"=%
REM Write filename to playlist
ECHO %tmpString%>>"%~dp1\%~2"
GOTO:EOF

REM =======================================
REM NoParams : a folder has not been passed
REM =======================================
:NoParams
ECHO To run this script, please pass a folder as a parameter.
ECHO.
ECHO Press any key to exit
PAUSE >NUL

REM ===============
REM Version History
REM ===============
REM 1.0.0 ---------- Initial Version
REM 1.1.0 2006-11-01 Fixed bug when hypens used.
NB: This was originally posted in the REACT 1 thread here (http://www.hydrogenaudio.org/forums/index.php?showtopic=35158&st=275&p=398387&#entry398387) and here (http://www.hydrogenaudio.org/forums/index.php?showtopic=35158&st=475&p=445927&#entry445927).
Title: REACT 2 Released
Post by: grombulk on 2007-01-08 18:55:28
Is there a way to generate M3U files for track ripping?  (like EAC does normally when it rips tracks)


I use tag as in:
@tools@\tag.exe --playlist --onlyfiles --sort track --plname "00 - @basename@.m3u" "%dest%\*.mp3"
in
REACT-image.cfg

I us the Synthetic Soul's version (http://www.synthetic-soul.co.uk/tag/)
Title: REACT 2 Released
Post by: cpalcott on 2007-01-08 20:50:52
I am a curremt 1.0 user, but am having some trouble getting 2.0 to work. Here's what I am looking to do:

• Rip to Flac 1.1.3 tracks and Lame 3.97 tracks
• Run Wavegain and store Album-Gain, Album-Peak, Track-Gain and Track-Peak findings in Flac tags and mp3 tags and apply Track-Gain to the mp3s.
• Get album art, save it as folder.jpg in the Flac album folder, embed art in Flac file and mp3 file.

Any sample ini or cfg files out there?

See below for current config:

Code: [Select]
[Settings]
Version=2.0
ImageExt=wav
ImageNaming=$artist$ - [$year$] $album$
ImageHotKey={F10}
TracksHotKey={F4}
TracksHotVal=+{F6}
VA=Various Artists
CreateAllCuesheets=0
RunCoverDownloader=1
CoverDownloader=C:\Program Files\REACT2\coverdownloader\albumart.exe
EAC=C:\Program Files\Exact Audio Copy\EAC.exe
Tools=C:\Program Files\REACT2\tools
MinimizeCompressionWindow=1
ProcessPriority=1
Sla_Bks_Col_Qst_Bar_Quo_Ast_Lt_Gt=-|-|-||!|'|#|[|]

[UserTrackFormats]
Flac=1
Wavpack=0
LameMP3=1
NeroAac=0
iTunesAac=0
OggEnc2=0

[UserOutputNames]
OutRoot=@mymusic@\EAC
ImageDir_Flac=C:\Documents and Settings\calcott\My Documents\My Music\Archive\$cdartist$
ImageDir_Wavpack=@OutRoot@\WV-images\$cdartist$
ImageDir_MP3=C:\Documents and Settings\calcott\My Documents\My Music\Portable\$cdartist$
TrackDir_Flac=C:\Documents and Settings\calcott\My Documents\My Music\Archive\$cdartist$\[$year$] $album$
TrackDir_Wavpack=@OutRoot@\WV\$cdartist$\[$year$] $album$
TrackDir_MP3=C:\Documents and Settings\calcott\My Documents\My Music\Portable\$cdartist$\[$year$] $album$
TrackDir_AAC=@OutRoot@\AAC\$cdartist$\[$year$] $album$
TrackDir_OGG=@OutRoot@\OGG\$cdartist$\[$year$] $album$
TrackName_SA=$track$ - $title$
TrackName_VA=$track$ - $title$ [$artist$]
TrackName_SA_acdir=$n - $~t
TrackName_VA_acdir=$n - $~t [$~a]

[UserSettings]
Debug=1
Comment=Created with EAC/REACT2, @curdate@
EmbedCover=1
ReplayGain=1
ApplyAlbumGain=1
AdjustAlbumGain_dB=+3.0
AddCuesheetAG=0
UseWaveGainAG=1
Opt_Flac=-5 -f
Opt_Wavpack=-hmy
Opt_LameMP3=-V3 --vbr-new
Opt_NeroAac=-lc -q 0.21
Opt_iTunesAac=-d -s 2000
Opt_OggEnc2=-q 3.0
Ver_Flac=1.1.3
Ver_Wavpack=4.40
Ver_LameMP3=3.97
Ver_NeroAac=1.0.0.2
Ver_OggEnc2=2.83 Lancer aoTuV b5

@ECHO OFF
CHCP 1252
TITLE @track@/@numtracks@ - "@album@"

REM Copyright © Tycho, 2006
REM
REM ** Create compressed audio tracks from ripped .wav tracks.
REM **
REM ** You may consider using image mode (F10)
REM ** as it supports creating tracks via acdir.exe,
REM ** and post-processing will always work (see below).
REM **
REM ** Flac requires flac.exe/metaflac.exe (v1.1.3)
REM ** NeroAac requires NeroAacEnc.exe/NeroAacTag.exe/AacGain.exe.
REM ** OggEnc2 requires OggEnc2.exe/VorbisGain.exe.
REM **
REM ** I prefer applying album gain 92dB to get a reasonable
REM ** volume for my DAP. The RG tags are still relative
REM ** to 89dB SPL, i.e. album gain will be about -3.0dB.


REM ============== Begin Main Script ==================


IF @Debug@==1 ECHO ON

SET TrackDir_Flac="@TrackDir_Flac@"
SET TrackDir_Wavpack="@TrackDir_Wavpack@"
SET TrackDir_MP3="@TrackDir_MP3@"
SET TrackDir_AAC="@TrackDir_AAC@"
SET TrackDir_OGG="@TrackDir_OGG@"

IF @various@==0    SET TrackName=@TrackName_SA@
IF @various@==1    SET TrackName=@TrackName_VA@

SET add_rg=@ReplayGain@
SET have_cover=0
SET embed_cover=0

IF NOT @ReplayGain@==1 GOTO end_RG
    SET RG_Flac=--replay-gain
    SET RG_MetaFlac=--add-replay-gain
    SET RG_MetaMP3=--replay-gain
:end_RG

IF NOT @ApplyAlbumGain@==1 GOTO end_apply_AG
    SET ApplyAG_MetaMP3=--apply-gain album@AdjustAlbumGain_dB@
    SET ApplyAG_AacGain=/a /o /c /d @AdjustAlbumGain_dB@
    SET add_rg=1
:end_apply_AG

IF EXIST "@cover@" (
    SET have_cover=1
    SET embed_cover=@EmbedCover@
)

IF @various@==0 (
    SET ArtistField=artist
    SET MP3Artist=--artist "@artist@"
) else (
    SET ArtistField=album artist
    SET MP3Artist=--user-text "[album artist]@VA@" --frame "TPE2:@VA@"
)

SET run_wavegain=@UseWaveGainAG@
IF @AddCuesheetAG@==1 SET run_wavegain=1

IF %run_wavegain%==0 GOTO end_wavegain
    SET wg_tmp=wg_%RANDOM%
    @tools@\WaveGain.exe --album "@source@" --exec ECHO '%%ALBUM_GAIN%%'%%ALBUM_PEAK%%'%%ALBUM_NEW_PEAK%%'%%ALBUM_SCALE%%'> %wg_tmp%.txt
    FOR /F "usebackq tokens=1-6 delims='" %%a IN (%wg_tmp%.txt) DO (
        SET album_gain=%%b
        SET album_peak=%%c
        SET album_new_peak=%%d
        SET album_scale=%%e
    )
    ECHO REM REPLAYGAIN_ALBUM_GAIN %album_gain% dB> %wg_tmp%.cue
    ECHO REM REPLAYGAIN_ALBUM_PEAK %album_peak%>> %wg_tmp%.cue
    ECHO REM REPLAYGAIN_ALBUM_SCALE %album_scale%>> %wg_tmp%.cue
    DEL %wg_tmp%.txt
    TYPE "@cuesheet@" >> %wg_tmp%.cue
    MOVE /Y %wg_tmp%.cue "@cuesheet@"
:end_wavegain


REM ** Transfer RG values from Wavgain calculations, instead of recalculation.
IF @UseWaveGainAG@==1 IF %add_rg%==1 (
    SET RG_Flac=-T "replaygain_album_gain=%album_gain% dB" -T "replaygain_album_peak=%album_peak%"
    SET RG_MetaFlac=--set-tag="replaygain_album_gain=%album_gain% dB" --set-tag="replaygain_album_peak=%album_peak%"
    SET RG_Wavpack=-w "replaygain_album_gain=%album_gain% dB" -w "replaygain_album_peak=%album_peak%"
    SET RG_Wavpack_acdir=-w $qreplaygain_album_gain=%album_gain% dB$q -w $qreplaygain_album_peak=%album_peak%$q
    SET RG_MetaMP3=--user-text "[replaygain_album_gain]%album_gain% dB" --user-text "[replaygain_album_peak]%album_peak%"
    SET RG_OggEnc2_acdir=-c $qreplaygain_album_gain=%album_gain% dB$q -c $qreplaygain_album_peak=%album_peak%$q
)

REM ** Apply AlbumGain by using --scale <factor> computed from WaveGain. Only for MP3 and OGG.
IF @UseWaveGainAG@==1 IF @ApplyAlbumGain@==1 (
    SET ApplyAG_Lame=--scale %album_scale%
    SET ApplyAG_MetaMP3=--apply-gain @AdjustAlbumGain_dB@
    SET RG_MetaMP3=--user-text "[replaygain_album_gain]0.0 dB" --user-text "[replaygain_album_peak]%album_new_peak%"
    SET RG_OggEnc2_acdir=--scale %album_scale% -c $qreplaygain_album_gain=0.0 dB$q -c $qreplaygain_album_peak=%album_new_peak%$q
)


REM ---- Track ----


IF NOT @Flac@==1 GOTO end_flac_tracks
    IF NOT EXIST %TrackDir_Flac% MKDIR %TrackDir_Flac%
    PUSHD %TrackDir_Flac%
        IF @various@==1 SET VA_tag=-T "album artist=@VA@"
        IF %embed_cover%==1 SET Cover_tag=--picture="|image/jpeg|||@cover@"
        ECHO ON
        @tools@\flac.exe @Opt_Flac@ %Cover_tag% %VA_tag% -T artist="@artist@" -T album="@album@" -T tracknumber="@track@/@numtracks@" -T title="@title@" -T date="@year@" -T genre="@genre@" -T comment="@comment@" -T encoded-by="%USERNAME%" -T encoding="Flac @Ver_Flac@ @Opt_Flac@" "@source@" -o "%TrackName%.flac"
        @ECHO OFF
        IF %have_cover%==1 IF NOT EXIST folder.jpg COPY "@cover@" folder.jpg
    POPD
:end_flac_tracks


IF NOT @Wavpack@==1 GOTO end_wavpack_tracks
    IF NOT EXIST %TrackDir_Wavpack% MKDIR %TrackDir_Wavpack%
    PUSHD %TrackDir_Wavpack%
        IF @various@==1 SET VA_tag=-w "album artist=@VA@"
        ECHO ON
        @tools@\wavpack.exe @Opt_Wavpack@ %VA_tag% -w artist="@artist@" -w album="@album@" -w track="@track@/@numtracks@" -w title="@title@" -w year="@year@" -w genre="@genre@" -w comment="@comment@" -w encodedby="%USERNAME%" -w encodersettings="Wavpack @Ver_Wavpack@ @Opt_Wavpack@" "@source@" "%TrackName%.wv"
        @ECHO OFF
        IF %have_cover%==1 IF NOT EXIST folder.jpg COPY "@cover@" folder.jpg
        TITLE @track@/@numtracks@ - "@album@"
    POPD
:end_wavpack_tracks


IF NOT @LameMP3@==1 GOTO end_lame_tracks
    IF NOT EXIST %TrackDir_MP3% MKDIR %TrackDir_MP3%
    PUSHD %TrackDir_MP3%
        IF @various@==1 SET VA_tag=--user-text "[album artist]@VA@" --frame "TPE2:@VA@"
        IF %embed_cover%==1 SET Cover_tag=--pict "{3}@cover@"
        ECHO ON
        @tools@\lame.exe @Opt_LameMP3@ "@source@" "%TrackName%.mp3"
        @tools@\metamp3.exe %Cover_tag% %VA_tag% --artist "@artist@" --album "@album@" --track @track@/@numtracks@ --title "@title@" --year "@year@" --genre "@genre@" --comment "@comment@" --frame TENC:"%USERNAME%" --frame TSSE:"LAME @Ver_LameMP3@ @Opt_LameMP3@" "%TrackName%.mp3"
        @ECHO OFF
        IF %have_cover%==1 IF NOT EXIST folder.jpg COPY "@cover@" folder.jpg
    POPD
:end_lame_tracks


IF NOT @iTunesAac@==1 GOTO end_itunes_aac_tracks
    IF NOT EXIST %TrackDir_AAC% MKDIR %TrackDir_AAC%
    PUSHD %TrackDir_AAC%
        IF %embed_cover%==1 SET Cover_tag=-r "@cover@"
        ECHO ON
        @tools@\iTunesEncode.exe @Opt_iTunesAac@ -e "AAC Encoder" %Cover_tag% -x @various@ -a "@artist@" -l "@album@" -n "@track@" -m "@numtracks@" -t "@title@" -y "@year@" -g "@genre@" -c "@comment@" -i "@source@" -o "%TrackName%.m4a"
        @ECHO OFF
        IF %have_cover%==1 IF NOT EXIST folder.jpg COPY "@cover@" folder.jpg
    POPD
    GOTO end_nero_aac_tracks
:end_itunes_aac_tracks

IF NOT @NeroAac@==1 GOTO end_nero_aac_tracks
    IF NOT EXIST %TrackDir_AAC% MKDIR %TrackDir_AAC%
    PUSHD %TrackDir_AAC%
        IF @various@==1 SET VA_tag=--albumArtist "@VA@" --compilation true
        IF %embed_cover%==1 SET Cover_tag=--artwork "@cover@"
        ECHO ON
        @tools@\neroAacEnc.exe @Opt_NeroAac@ -if "@source@" -of "%TrackName%.m4a"
        @tools@\AtomicParsley.exe "%TrackName%.m4a" -o REACT_tmp.m4a %Cover_tag% %VA_tag% --artist "@artist@" --album "@album@" --tracknum "@track@/@numtracks@" --title "@title@" --year "@year@" --genre "@genre@" --comment "@comment@" --encodingTool "neroAacEnc @Ver_NeroAac@ @Opt_NeroAac@"
        @ECHO OFF
        MOVE /Y REACT_tmp.m4a "%TrackName%.m4a"
        IF %have_cover%==1 IF NOT EXIST folder.jpg COPY "@cover@" folder.jpg
    POPD
:end_nero_aac_tracks


IF NOT @OggEnc2@==1 GOTO end_oggenc_tracks
    IF NOT EXIST %TrackDir_OGG% MKDIR %TrackDir_OGG%
    PUSHD %TrackDir_OGG%
        IF @various@==1 SET VA_tag=-c "album artist=@VA@"
        ECHO ON
        @tools@\oggenc2.exe @Opt_OggEnc2@ %VA_tag% -c artist="@artist@" -c album="@album@" -c tracknumber="@track@/@numtracks@" -c title="@title@" -c date="@year@" -c genre="@genre@" -c comment="@comment@" -c encoded-by="%USERNAME%" -c encoding="OggEnc @Ver_OggEnc2@ @Opt_OggEnc2@" "@source@" -o "%TrackName%.ogg"
        @ECHO OFF
        IF %have_cover%==1 IF NOT EXIST folder.jpg COPY "@cover@" folder.jpg
    POPD
:end_oggenc_tracks


REM ================ End Main Script ===================


IF @Debug@==1 (
    PAUSE
    EXIT
)

REM ** Cleanup

DEL "@source@"
DEL "@eaclog@"
DEL "@cuesheet@"
DEL "@albumfile@.[*].cue"
DEL "@cover@"

REM ** Delete this .bat file:
DEL %0
[!--sizeo:1--][span style=\"font-size:8pt;line-height:100%\"][!--/sizeo--]
Moderation: Changed CODE to CODEBOX[/size]
Title: REACT 2 Released
Post by: getsource on 2007-01-09 03:34:53
If not, I have created a batch file to create an M3U.  It accepts a folder to process and a filename as parameters, e.g.:
[snip]

I use tag as in:
[snip]


Thanks for both of your suggestions!  I apologize for not finding the script before -- I was not certain if the information from the old threads would apply to the new version.

I'll try those out -- Thanks muchly!

GS

[edit] My understanding as to why EAC doesn't create an M3U automatically when using REACT with image + tracks is due to the behavior when one wants to rip an image as opposed to tracks.  Since EAC is just ripping in bulk, it doesn't send an M3U out including a track listing -- nor could it know that it will end up in FLAC (or whatever format) in the end anyway (to set the M3U file names correctly). [/edit]
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-01-09 07:11:50
Thanks for both of your suggestions! I apologize for not finding the script before -- I was not certain if the information from the old threads would apply to the new version.
If the Tag solution works I would go with that, seeing as it's already in the tools dir.  I wasn't saying that you should have found my batch file in the other thread - to be fair, it's around 20 pages long - I was just providing a little background to my post.

My understanding as to why EAC doesn't create an M3U automatically when using REACT with image + tracks is due to the behavior when one wants to rip an image as opposed to tracks. Since EAC is just ripping in bulk, it doesn't send an M3U out including a track listing -- nor could it know that it will end up in FLAC (or whatever format) in the end anyway (to set the M3U file names correctly).
Ah, I see.  I'm not familiar with EAC's M3U generation.  Thanks for the explanation.
Title: REACT 2 Released
Post by: mmortal03 on 2007-01-10 05:59:41
I have CreateAllCuesheets=1, but I am using track creation.  No cuesheets are created.  Are cuesheets created only with image creation?  Further, is there any way to have it create ONLY a non-compliant cuesheet (e.g. the EAC cuesheet that is created when choosing "Create cuesheet with current settings")?  Is there any way to have it replace inside of the cuesheet the string ".wav" with ".flac", and the filenames relative to the position of the cuesheet placement, such to make the cuesheet compatible with the files that are actually outputted?
Title: REACT 2 Released
Post by: getsource on 2007-01-10 08:34:05
Another question, if I may.  If it turns out that this is the incorrect place to ask it, please let me know, as I'm new here.

I'm attempting to plan the backup of my CD collection and trying to get the planning right this time -- as I started it earlier only to find out the plan was flawed.  What I'm trying to figure out is if REACT is correct for the job -- I believe it is, but am having some trouble getting the final details correct.

Here's what I'd like to have at the end of the process:
1) I'd like to have a lossless backup of each CD with all of the gaps (and potentially CD-TEXT, although this is less important) preserved.  Whether this backup is easy to listen to (i.e. in Tracks) or just a .flac and a .cue, for instance, is unimportant, although I certainly wouldn't mind having the .flacs in tracks that I could listen to on a regular basis.

2) MP3s of each track to use on portable devices and for standard listening with .M3U to have easy access to the album's correct order.  These would be better without the 'gaps' attached at the end of each track ... although if it's impossible to preserve the album another way, I'd be willing to do it like this.  I like how REACT tags, sets volume information, and adds album art -- I'd certainly like to still have all of this included if possible.

During this process, I'd prefer to use AccurateRip to verify my rips, since I know that some of my CDs are getting old and already starting to get errors (this is part of the reason for backing up now as opposed to later).  Plus, I haven't used these drives for very much secure audio ripping and am still in the process of trusting them.

The problem I've been coming upon is that with REACT and similar tools is in using AccurateRip due to the problem I talked about before with EAC using bulk mode instead of track mode because AccurateRip only functions in track mode.

Is there some way to preserve gaps by creating a .CUE that points to MP3s or WAVs (or requires decoding into WAVs to reburn) -- or otherwise another manner to get a perfect CD backup when ripping to tracks?  Maybe I can use REACT with some sort of script to reconstruct the album after ripping in track mode?

I also noticed it mentioned that there are some problems with album art and volume checking with track ripping -- what are these, and should I avoid this mode due to these problems?

Is there some automated way to do what I'm seeking -- or would it be better to just hit two buttons for each CD (even though the 'image' wouldn't be verified, per se)?

Am I just being overcautious/paranoid and should just use REACT and trust EAC/ignore AccurateRip?

Thanks for your help -- Again, if this should be moved, let me know, and I'll do so.  I'd like to use REACT, since I like its faculties, which is the reason I decided to post this here.

GS
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-01-17 10:00:15
Ok.  I turned Debug on.  Apparently the problem is not with FLAC.  It's right after FLAC encodes and tries to move the cue and FLAC image to the FLAC dir.

Here's where the problem is..

Code: [Select]
C:\EAC>MOVE /Y "C:\EAC\Sublime - What I Got (Very Clean Radio Version) (Promo CD Single GAS5P-3874) [1996].flac" "C:\EAC\FLAC-images\Sublime - What I Got (Very Clean Radio Version) (Promo CD Single GAS5P-3874) [1996]"
The filename or extension is too long.

C:\EAC>MOVE /Y "C:\EAC\Sublime - What I Got (Very Clean Radio Version) (Promo CD Single GAS5P-3874) [1996].cue" "C:\EAC\FLAC-images\Sublime - What I Got (Very Clean Radio Version) (Promo CD Single GAS5P-3874) [1996]"
The filename or extension is too long.
I think I have found a resolve for this (maybe a bit late ):

If you define a label as such:

Code: [Select]
:GetShortPath
SET %2=%~fs1
GOTO:EOF

You can then use:

Code: [Select]
CALL :GetShortPath "C:\This is a long path\to a file.mp3" shortValue

ECHO %shortValue%


Or in the above example:

Code: [Select]
REM Remove original code
REM MOVE /Y "@image@" %dest%
REM MOVE /Y "@cuesheet@" %dest%

REM Create short name variables
CALL :GetShortPath %dest% destShortPath
  CALL :GetShortPath "@image@" imageShortPath
  CALL :GetShortPath "@cuesheet@" cuesheetShortPath

REM Move using short names
MOVE /Y %imageShortPath% %destShortPath%
MOVE /Y %cuesheetShortPath% %destShortPath%
  
...

:GetShortPath
SET %2=%~fs1
GOTO:EOF

May be useful in future... may not be.
Title: REACT 2 Released
Post by: happypyro on 2007-01-18 02:18:44
(Sorry Soul, I originally put this in the wrong thread)

Hi all, I want to start by thanking everyone who has worked on this great tool. I am a definate noob as far as ripping and archiving goes, but Ive found so much info here at hydrogenaudio I am almost overwelmed. What I have learned I am now acting on - I am using EAC with React2 to rip to flac for archiving and encode to vbr mp3 using lame for playback. So far everything is going great after reading through most of these posts and the wiki, so thanks again for all of your hard work.

One thing I havent found is how to define "mymusic" within React. currently EAC is ripping wav to a music folder on my desktop which is defined within EAC as the working directory, but then transcodes the flac and mp3 to the EAC folder in "C\docs & settings\my docs\my music". Not a big deal right now, but as the archive gets larger I want to have these files saved onto my D: drive. Can someone tell me how to define the "my music folder?
Thanks!

Heres my configs:
Code: [Select]
Version=2.0
ImageExt=wav
ImageNaming=$artist$ - [$year$] $album$
ImageHotKey={F10}
TracksHotKey={F4}
TracksHotVal=+{F5}
VA=Various Artists
CreateAllCuesheets=0
RunCoverDownloader=1
CoverDownloader=C:\Program Files\REACT2\coverdownloader\albumart.exe
EAC=C:\Program Files\Exact Audio Copy\EAC.exe
Tools=C:\Program Files\REACT2\tools
MinimizeCompressionWindow=1
ProcessPriority=1
Sla_Bks_Col_Qst_Bar_Quo_Ast_Lt_Gt=-|-|-||!|'|#|[|]

[UserTrackFormats]
Flac=1
Wavpack=0
LameMP3=1
NeroAac=0
iTunesAac=0
OggEnc2=0

[UserOutputNames]
OutRoot=@mymusic@\EAC
ImageDir_Flac=@OutRoot@\FLAC-images\$cdartist$
ImageDir_Wavpack=@OutRoot@\WV-images\$cdartist$
ImageDir_MP3=@OutRoot@\MP3-images\$cdartist$
TrackDir_Flac=@OutRoot@\FLAC\$cdartist$\[$year$] $album$
TrackDir_Wavpack=@OutRoot@\WV\$cdartist$\[$year$] $album$
TrackDir_MP3=@OutRoot@\MP3\$cdartist$\[$year$] $album$
TrackDir_AAC=@OutRoot@\AAC\$cdartist$\[$year$] $album$
TrackDir_OGG=@OutRoot@\OGG\$cdartist$\[$year$] $album$
TrackName_SA=$track$ - $title$
TrackName_VA=$track$ - $title$ [$artist$]
TrackName_SA_acdir=$n - $~t
TrackName_VA_acdir=$n - $~t [$~a]

[UserSettings]
Debug=0
Comment=Created with EAC/REACT2, @curdate@
EmbedCover=1
ReplayGain=1
ApplyAlbumGain=1
AdjustAlbumGain_dB=+3.0
AddCuesheetAG=0
UseWaveGainAG=0
Opt_Flac=-5 -f
Opt_Wavpack=-hmy
Opt_LameMP3=-V2 --vbr-new --noreplaygain --nohist
Opt_NeroAac=-lc -q 0.21
Opt_iTunesAac=-d -s 2000
Opt_OggEnc2=-q 3.0
Ver_Flac=1.1.3
Ver_Wavpack=4.40
Ver_LameMP3=3.97
Ver_NeroAac=1.0.0.2
Ver_OggEnc2=2.83 Lancer aoTuV b5
[!--sizeo:1--][span style=\"font-size:8pt;line-height:100%\"][!--/sizeo--]Moderation: changed CODE to CODEBOX[/size]
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-01-18 07:21:00
(Sorry Soul, I originally put this in the wrong thread)
...
Not a big deal right now, but as the archive gets larger I want to have these files saved onto my D: drive. Can someone tell me how to define the "my music folder?
I have deleted your other post.

@mymusic@ is hard-coded to your "My Music" system folder.  Don't worry about it, just adjust OutRoot accordingly:

Change:

Code: [Select]
OutRoot=@mymusic@\EAC

... to:

Code: [Select]
OutRoot=D:

OutRoot uses @mymusic@ as its base purely as an example, and can be amended to any path you want.
Title: REACT 2 Released
Post by: ESP85 on 2007-01-18 09:08:43
Ok.  I turned Debug on.  Apparently the problem is not with FLAC.  It's right after FLAC encodes and tries to move the cue and FLAC image to the FLAC dir.

Here's where the problem is..

Code: [Select]
C:\EAC>MOVE /Y "C:\EAC\Sublime - What I Got (Very Clean Radio Version) (Promo CD Single GAS5P-3874) [1996].flac" "C:\EAC\FLAC-images\Sublime - What I Got (Very Clean Radio Version) (Promo CD Single GAS5P-3874) [1996]"
The filename or extension is too long.

C:\EAC>MOVE /Y "C:\EAC\Sublime - What I Got (Very Clean Radio Version) (Promo CD Single GAS5P-3874) [1996].cue" "C:\EAC\FLAC-images\Sublime - What I Got (Very Clean Radio Version) (Promo CD Single GAS5P-3874) [1996]"
The filename or extension is too long.
I think I have found a resolve for this (maybe a bit late ):

If you define a label as such:

Code: [Select]
:GetShortPath
SET %2=%~fs1
GOTO:EOF

You can then use:

Code: [Select]
CALL :GetShortPath "C:\This is a long path\to a file.mp3" shortValue

ECHO %shortValue%


Or in the above example:

Code: [Select]
REM Remove original code
REM MOVE /Y "@image@" %dest%
REM MOVE /Y "@cuesheet@" %dest%

REM Create short name variables
CALL :GetShortPath %dest% destShortPath
  CALL :GetShortPath "@image@" imageShortPath
  CALL :GetShortPath "@cuesheet@" cuesheetShortPath

REM Move using short names
MOVE /Y %imageShortPath% %destShortPath%
MOVE /Y %cuesheetShortPath% %destShortPath%
  
...

:GetShortPath
SET %2=%~fs1
GOTO:EOF

May be useful in future... may not be.


Thanks alot.  It works great!!
Title: REACT 2 Released
Post by: mmortal03 on 2007-01-18 15:49:20
Are cuesheets created only with image creation when CreateAllCuesheets=1?
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-01-18 15:58:48
Are cuesheets created only with image creation when CreateAllCuesheets=1?
No, IIRC, that flag's solely to create cuesheets when track-ripping.
Title: REACT 2 Released
Post by: mmortal03 on 2007-01-18 17:52:51
Are cuesheets created only with image creation when CreateAllCuesheets=1?
No, IIRC, that flag's solely to create cuesheets when track-ripping.


Well, I have CreateAllCuesheets=1, and am using track creation, and no cuesheets are created.  Is there extra code in the REACT-track.cfg that activates the actual process that I could have somehow mistakenly removed, then?
Title: REACT 2 Released
Post by: cpalcott on 2007-01-18 23:37:35
Replay Gain: Album AND Track Gain On iPod?

Does this philosophy make sense?

Use REACT 2.0 to rip to Flac tracks and Lame tracks. Set the .ini to embed cover art in both Flac and Lame, run Replay Gain scanner in post process, record Replay Gain values to tags accordingly and apply ALBUM GAIN to mp3s, thus permanently altering the loudness of the actual digital file. 

Flacs are done and ready to be archived.

For the mp3s, use Mp3tag, (using the process described in this thread (http://www.hydrogenaudio.org/forums/index.php?showtopic=24620&pid=462471&st=25&#entry462471)) to transfer and re-calculate the value from the Replay Gain TRACK gain field to the newly created (by mp3tag) COMMENT ITUNNORM  field (or Sound Check field) …making sure that in Options/Tags/MPEG the write section is set to ID3v2.3 ISO-8859-1.

Load mp3s to itunes library with sound check on.  Load to ipod.

OUTCOME:

With sound check on the ipod turned off, all my music will play back at the replay gain ALBUM level (because that value was applied back in REACT).

With sound check on the ipod turned on, all my music will play back at the replay gain TRACK level (because that value was transferred from the replay gain track tag in mp3tag).

I know its probably already being done out there, but I am just curious to see if it makes sense. Am I missing anything? Will this somehow screw up the RG tags or am I on the right track?
Title: REACT 2 Released
Post by: fiery on 2007-01-21 13:04:13
Hi all,

First off, thank to Tycho for such a great tool, and for those of you that have helped refine it with ideas along the way.

I am having trouble running REACT 2 on Linux under Wine, I cannot get the hotkeys to work. When I hit F10 it goes into the drive options setup screen, so basically its still using the standard function key settings in EAC. Although when I press ALT-F2 it does try to bring up the .ini file, but it doesn't actually find the ini file correctly, so creates a new text file instead. At first I had REACT 2 it installed within a folder within my EAC folder, but thought that since it was creating a new ini file when pressing ALT-F2, that it might be looking for it at /Program Files/REACT2 which is the default folder that comes up at installation time. But deleting and then reinstalling at that location didn't help.. Has anyone had any luck getting REACT 2 working in Linux under Wine? There is probably something stupidly simple that I am missing somewhere..

So for the timebeing I have installed it on my XP partition, but now I am getting another error. When using F10, albumart.exe brings up the following: "The application failed to initialize properly (0xc0000135). Click on OK to terminate the application". Everything else works fine though. Any ideas on this one? FYI, I have already tried reinstalling a fresh download of the program but it still happens.

Thanks in advance,
Title: REACT 2 Released
Post by: chrisgeleven on 2007-01-21 13:34:00
Replay Gain: Album AND Track Gain On iPod?

Does this philosophy make sense?

Use REACT 2.0 to rip to Flac tracks and Lame tracks. Set the .ini to embed cover art in both Flac and Lame, run Replay Gain scanner in post process, record Replay Gain values to tags accordingly and apply ALBUM GAIN to mp3s, thus permanently altering the loudness of the actual digital file. 

Flacs are done and ready to be archived.

For the mp3s, use Mp3tag, (using the process described in this thread (http://www.hydrogenaudio.org/forums/index.php?showtopic=24620&pid=462471&st=25&#entry462471)) to transfer and re-calculate the value from the Replay Gain TRACK gain field to the newly created (by mp3tag) COMMENT ITUNNORM  field (or Sound Check field) …making sure that in Options/Tags/MPEG the write section is set to ID3v2.3 ISO-8859-1.

Load mp3s to itunes library with sound check on.  Load to ipod.

OUTCOME:

With sound check on the ipod turned off, all my music will play back at the replay gain ALBUM level (because that value was applied back in REACT).

With sound check on the ipod turned on, all my music will play back at the replay gain TRACK level (because that value was transferred from the replay gain track tag in mp3tag).

I know its probably already being done out there, but I am just curious to see if it makes sense. Am I missing anything? Will this somehow screw up the RG tags or am I on the right track?


That is the way I do it and it works slick.
Title: REACT 2 Released
Post by: Balthazar_B on 2007-01-23 02:25:45
I haven't seen this asked/answered yet, but I want EAC to run in burst mode, and do a test/rip compressed (shift-F6) to build the WAV file from each CD.  I haven't found anything in react.ini or the config files that stands out to trigger this action. Any suggestions?

EDIT: Never mind. I don't know how I missed it in the wiki before now, but just found it. There are some oddities I'm finding and will try to replicate. If I can, I'll post a followup.
Title: REACT 2 Released
Post by: Balthazar_B on 2007-01-24 01:34:06

Are cuesheets created only with image creation when CreateAllCuesheets=1?
No, IIRC, that flag's solely to create cuesheets when track-ripping.


Well, I have CreateAllCuesheets=1, and am using track creation, and no cuesheets are created.  Is there extra code in the REACT-track.cfg that activates the actual process that I could have somehow mistakenly removed, then?


I'm by no means an expert on FLAC command-line options, but from the FLAC documentation (http://flac.sourceforge.net/documentation_tools_flac.html#flac_options_cuesheet) it would appear that FLAC cuesheets can only be associated with image rips.  I thought I read somewhere else at HA that track-ripped FLACs can be used to burn a CD with a cuesheet, so I'm hoping SS or one of the other experts can clarify this.
Title: REACT 2 Released
Post by: getsource on 2007-01-24 03:21:18

Are cuesheets created only with image creation when CreateAllCuesheets=1?
No, IIRC, that flag's solely to create cuesheets when track-ripping.


Well, I have CreateAllCuesheets=1, and am using track creation, and no cuesheets are created.  Is there extra code in the REACT-track.cfg that activates the actual process that I could have somehow mistakenly removed, then?


I am also having the same problem.  I can't find the CUE sheets generated when using "CreateAllCuesheets=1" and track creation either.

GS
Title: REACT 2 Released
Post by: Martin H on 2007-01-24 09:28:15
Press ALT+F3 in EAC and scroll down to the '---tracks---' section. Under your choosen format(s), locate this line :
Code: [Select]
IF EXIST "@albumfile@.[*].cue" COPY /Y "@albumfile@.[*].cue" .

And then change it to :
Code: [Select]
IF EXIST "@albumfile@.[mg].cue" COPY /Y "@albumfile@.[mg].cue" "@basename@.cue"



Note, that by default, then there are only copied cuesheets into the destination directory for lossless formats, but if you also want a cuesheet for a lossy format, then just copy and paste the above line into the lossy format's track section. Also, i must admit that i don't understand the original line ? The "pushd %dest%", a couple of lines above in the CFG file, makes the "%dest%" defined directory, the default directory, but then there is just used a "." as destination filename for the COPY command in the original CFG ? Anyway, i don't rip to lossless tracks, so i haven't tested the original CFG file for cuesheet creation for tracks(or my example above either).
Title: REACT 2 Released
Post by: mmortal03 on 2007-01-25 02:10:06
Press ALT+F3 in EAC and scroll down to the '---tracks---' section. Under your choosen format(s), locate this line :
Code: [Select]
IF EXIST "@albumfile@.[*].cue" COPY /Y "@albumfile@.[*].cue" .

And then change it to :
Code: [Select]
IF EXIST "@albumfile@.[mg].cue" COPY /Y "@albumfile@.[mg].cue" "@basename@.cue"



Note, that by default, then there are only copied cuesheets into the destination directory for lossless formats, but if you also want a cuesheet for a lossy format, then just copy and paste the above line into the lossy format's track section. Also, i must admit that i don't understand the original line ? The "pushd %dest%", a couple of lines above in the CFG file, makes the "%dest%" defined directory, the default directory, but then there is just used a "." as destination filename for the COPY command in the original CFG ? Anyway, i don't rip to lossless tracks, so i haven't tested the original CFG file for cuesheet creation for tracks(or my example above either).


But it isn't pulling the cuesheets in the first place, therefore, "@albumfile@.[mg].cue" DOESN'T exist, and nothing happens.  Where is the actual call to create the cuesheets in EAC occurring?
Title: REACT 2 Released
Post by: Martin H on 2007-01-25 10:31:23
If the "CreateAllCuesheets" variable in the ini file is set to "1", then all four types of cuesheets are made and stored in the temporary ripping directory. Then if you use my line, then the "non-compliant" cuesheet is copied from the temp directory and into the destination directory. The script ends with all temporary files in the temp directory is deleted, and that includes the four cuesheets, so if they haven't been defined in the cfg, to be copied correctly into the destination directory, then you will not see the cuesheets afterwards in the temp directory either, as they have been deleted. If they aren't made at all, in the first place(check your temp ripping folder during ripping), then your EAC gap settings aren't compatible with your drive, so you must experiment to find the correct mode for your drive i.e. either A, B or C(in secure mode).
Title: REACT 2 Released
Post by: mmortal03 on 2007-01-25 13:10:29
If they aren't made at all, in the first place(check your temp ripping folder during ripping), then your EAC gap settings aren't compatible with your drive, so you must experiment to find the correct mode for your drive i.e. either A, B or C(in secure mode).


This is the problem:  the cuesheets are not being made at all, in the first place.  I have checked my temp ripping folder.  My EAC gap settings are completely compatible with my drive.  I have created cuesheets for years with EAC.
Title: REACT 2 Released
Post by: Martin H on 2007-01-26 12:08:04
This is the problem:  the cuesheets are not being made at all, in the first place.

Sorry, mate - then i cannot help you i'm affraid
Title: REACT 2 Released
Post by: mogorp on 2007-01-27 05:16:23
Eac logs and cuesheets are made for me but are never copied into the flac directory folder.  I see them in the eac destination folder during ripping and then they are deleted at the end. 

This is in my flac tracks config.
                COPY /Y "@eaclog@" "EAClog.txt"
      IF %have_cover%==1 COPY /Y "@cover@" "folder.jpg"
      IF EXIST "@albumfile@.
Title: REACT 2 Released
Post by: Martin H on 2007-01-27 12:08:11
Any ideas?

I don't understand why the EAC log isn't copied over, as this line should do that :
Code: [Select]
COPY /Y "@eaclog@" "EAClog.txt"

I would recommend that you do a debug run.

About the cuesheet, then i don't understand the original line Tycho has made i.e. the "." defined as destination filename, but just in case that this is a bug(i couldn't find any references to using a "." as destination filename to the COPY command on SS64.com), then try this instead and this will also only copy the non-compliant cuesheet into your destination directory, instead of all four of them :

Press ALT+F3 in EAC and scroll down to the '---tracks---' section. Under your choosen format(s), locate this line :
Code: [Select]
IF EXIST "@albumfile@.[*].cue" COPY /Y "@albumfile@.[*].cue" .

And then change it to :
Code: [Select]
IF EXIST "@albumfile@.[mg].cue" COPY /Y "@albumfile@.[mg].cue" "@basename@.cue"
Title: REACT 2 Released
Post by: wraithdu on 2007-01-31 17:10:51
I have a few questions, simple I hope.

1.  Is there a way to have a FLAC image scanned for both album_RG and track_RG?  Right now it is only scanned for album_RG with flac.exe --replay-gain.

2.  Is there any way to have my track and totaltrack numbers zero-padded in the metadata for flac images and mp3 tracks?  It works ok in the filename creation, but my metadata for everything is still 1, 2, 3, etc. instead of 01, 02, 03.

Thanks for a great plugin!
Title: REACT 2 Released
Post by: Balthazar_B on 2007-02-02 02:57:12
Here's what I want to end up with:

1. FLAC tracks (on an external drive)
2. iTunes-AAC tracks (on a local drive)

The path/filenames should be in this format: \\extdrivepath\music\pop\artist\album\(tracknum) song.flac and
C:\mymusic\pop\artist\album\(tracknum) song.m4p

For a while I was running REACT2 configured to rip both in full track mode (F4), which was working fine (mostly), but then I was influenced by postings that suggested doing an image rip to WAV and then having that decomposed to tracks was a bit more foolproof, so I've been trying that, but getting stymied each time by errors. In debug mode, I come up with the following:

Code: [Select]
Z:\Music\pop\Cars, The\The Cars Greatest Hits>C:\PROGRA~1\REACT2\tools\acdir.exe
--overwrite --output "($n) - $~t.flac" --extra-opt "|image/jpeg|||C:\EAC\The Ca
rs Greatest Hits.jpg" --pipe "TITLE $n/$N flac $#T & C:\PROGRA~1\REACT2\tools\fl
ac.exe -5 -f --picture=$#x  -T artist=$#a -T album=$#T -T title=$#t -T tracknumb
er=$n/$N -T date=$q1985$q -T genre=$qRock$q -T comment=$qCreated with EAC/REACT2
, 2007-02-01$q -T encoded-by=$qJohn$q -T encoding=$qFlac 1.1.3 -5 -f$q - -o $#o"
"C:\EAC\Ctmp1!542-react.cue"

Z:\Music\pop\Cars, The\The Cars Greatest Hits>IF 1 == 1 C:\PROGRA~1\REACT2\tools
\Glob.exe -v -c C:\PROGRA~1\REACT2\tools\metaflac.exe --add-replay-gain *.flac
Executing: C:/PROGRA~1/REACT2/tools/metaflac.exe "--add-replay-gain"
ERROR: you must specify at least one FLAC file;
       metaflac cannot be used as a pipe


I think the problem has to do with acdir.exe not splitting the WAV image file into tracks, which in turn spawns a metaflac error. Just by way of explanation, I'm ripping the WAV image to a temporary directory (C:\EAC), successfully getting a cover image, but at that point I reckon that something is misconfigured. I just can't figure out what it is.

More info: After the batch file continues execution (without doing much of anything beyond GO TO END routines) and exits, in my C:\EAC directory remain:The log file indicates no extraction problems. I'll post the operative parts of the BAT file on request, if needed.

The destination directory on my external drive (for FLAC tracks) is also created, but the only contents are 4 cuesheets, the folder.jpg cover, and eaclog.txt (with no errors indicated).

Any suggestions on edits to make or other things to try?  I'd like to get this working to see whether I like this method better than the other...and because I hate it when I can't get something to work  .

Thanks!!!
Title: REACT 2 Released
Post by: Balthazar_B on 2007-02-02 20:31:50
I'm not crazy about following one message with another, but I think I found the solution to half the problem I was experiencing, but need some help with the other half.

I tried running acdir.exe from the command line for testing purposes and it came back complaining that it couldn't find msvcr71.dll (for some reason it wasn't in path, and REACT debug mode didn't reveal it), so after I fixed that, REACT2 was able to rip to a WAV image and then acdir decomposed it to FLAC tracks.

Now the other half of the problem is to decompose the WAV to iTunes-encoded AAC (m4a) tracks, and I hadn't noticed it before, but REACT-image.cfg has no provision for invoking iTunesEncode.exe to do this (although REACT-track does if ripping in track mode, and does the job well with the latest iTunes).

I haven't seen it mentioned at HA, but is iTunesEncode incompatible with acdir.exe?  I've tried editing REACT-image.cfg to invoke iTunesEncode, but I'm pretty unfamiliar with the iTunes COM interface and have not gotten it to run successfully (I've used some of what I found in REACT-track.cfg as a starting point, but haven't figured out some of the options).  Has anyone been able to get this to work, or am I on a hopeless quest?

BTW, I've been remiss in thanking Tycho for a very useful tool...just hoping I can get over this last hump.

Thanks, everyone!

EDIT: Alternatively, is there any possibility that Tycho will support iTunes via its COM interface directly (as Omni Encoder does) rather than indirectly through iTunesEncode, which is not longer actively supported since the source code was lost?  Seems to me that would make it possible to let REACT2 automate the process I'm trying to do (i.e., rip to WAV/cuesheet, decompose to FLAC tracks, decompose to iTunes m4a, do the right thing with tags, album/track gain, etc., and delete WAV) in one pass.
Title: REACT 2 Released
Post by: dewey1973 on 2007-02-02 23:51:48
I'm by no means an expert on FLAC command-line options, but from the FLAC documentation (http://flac.sourceforge.net/documentation_tools_flac.html#flac_options_cuesheet) it would appear that FLAC cuesheets can only be associated with image rips.  I thought I read somewhere else at HA that track-ripped FLACs can be used to burn a CD with a cuesheet, so I'm hoping SS or one of the other experts can clarify this.

I'm not an expert either, but you can save a cue sheet for a track-based rip and use it with CD burning software to burn a CD.  The cue just tells the burner where to put the gaps, etc.  I don't know how/if REACT2 will save a cue sheet during a track based rip but if it doesn't, you can always save it yourself before you run REACT.  Then just keep it in the same folder as the flac tracks.

1.  Is there a way to have a FLAC image scanned for both album_RG and track_RG?  Right now it is only scanned for album_RG with flac.exe --replay-gain.


I doubt you can scan each track when there is only one "track" - the image file.  Could you load the image file into foobar via the cue sheet and calculate the per track values?  Where would it save them?
Title: REACT 2 Released
Post by: Martin H on 2007-02-03 01:32:44
Yes, it can be done with fb2k and this is the only way that i know of doing this. fb2k then adds the gain/peak values into extra REM entries defined for every track in the cuesheet. Also, with fb2k, then one can use all tags  wanted with images and even also use only track specific tags(not the same tag/value for each track), as fb2k just adds special track specific tags to the image file with this info.
Title: REACT 2 Released
Post by: great juan on 2007-02-07 22:33:00
I think there might be some missing code in the REACT version that is being distributed. When ripping an image to be split into flac tracks there is no replaygain data. It seems the React-image checks the ReplayGain flag and makes command line settings for flac.exe in RG_Flac.
Code: [Select]
IF NOT @ReplayGain@==1 GOTO end_RG
    SET RG_Flac=--replay-gain

When making an image %RG_Flac% is included in flac settings.
Code: [Select]
IF NOT @Flac@==1 GOTO end_flac_tracks ...
@tools@\acdir.exe --overwrite --output "%TrackName%.flac" --extra-opt "|image/jpeg|||@cover@" --pipe "TITLE $n/$N flac $#T & @tools@\flac.exe @Opt_Flac@ %Cover_tag% %VA_tag% -T artist=$#a -T album=$#T -T title=$#t -T tracknumber=$n/$N -T date=$q@year@$q -T genre=$q@genre@$q -T comment=$q@comment@$q -T encoded-by=$q%USERNAME%$q -T encoding=$qFlac @Ver_Flac@ @Opt_Flac@$q - -o $#o" "@sourcecuesheet@" ...

I think it should be @tools@\flac.exe @Opt_Flac@ %RG_Flac% %Cover_tag%
Code: [Select]
@tools@\acdir.exe --overwrite --output "%TrackName%.flac" --extra-opt "|image/jpeg|||@cover@" --pipe "TITLE $n/$N flac $#T & @tools@\flac.exe @Opt_Flac@ %RG_Flac% %Cover_tag% %VA_tag% -T artist=$#a -T album=$#T -T title=$#t -T tracknumber=$n/$N -T date=$q@year@$q -T genre=$q@genre@$q -T comment=$q@comment@$q -T encoded-by=$q%USERNAME%$q -T encoding=$qFlac @Ver_Flac@ @Opt_Flac@$q - -o $#o" "@sourcecuesheet@"...

If you are using Wavgain and replaygain the album gain data will be copied over, but there will be nothing for track gain with original verison.
Title: REACT 2 Released
Post by: singaiya on 2007-02-08 06:26:10
I'm encoding to Wavpack tracks and itunesAAC via F4, but for some reason the REACT dos window wants me to press a key to continue after each itunesencode track is finished. Is there a way to disable this requirement? I just had to babysit the machine and "press any key" 32 times 

Also, is there a way to leave the m4a file in the itunes library instead of REACT deleting them and us having to manually add them again afterward?
Title: REACT 2 Released
Post by: Martin H on 2007-02-08 12:34:41
@great juan

The reason that the flac.exe "--replay-gain" switch isn't used for encoding FLAC track files, is that this will require that all files of an album is passed at once to flac.exe to make flac.exe able to calculate correct album gain in addition to the track gain. Their is no missing code in the FLAC tracks section, because the next line will run metaflac.exe on all the files at once with metaflac.exe's "--add-replay-gain" switch, which will calculate correct track/album gain and peak values and add that info as Vorbis comments in the files. Glob.exe is used for expanding wildcards in the win32 cli :

Code: [Select]
IF %add_rg%==1 @tools@\Glob.exe -v -c @tools@\metaflac.exe %RG_MetaFlac% *.flac
Title: REACT 2 Released
Post by: mogorp on 2007-02-13 12:23:29
Sorry to beat a dead horse but I can't figure this out. 

Cuesheets and Eaclogs are copied into my temporary directory but never to the final destination directory.  They are erased at the end of the process.  I am using tracks and have the following in my react2config for both mp3 and flac. 

                COPY /Y "@eaclog@" "EAClog.txt"
      IF %have_cover%==1 COPY /Y "@cover@" "folder.jpg"
      IF EXIST "@albumfile@.
Title: REACT 2 Released
Post by: Martin H on 2007-02-13 17:36:18
I would change :

IF EXIST "@albumfile@.
Title: REACT 2 Released
Post by: mogorp on 2007-02-14 05:07:10
Thanks for the response.  I do want non-compliant cue sheets.  I had read your prior post and already tried your suggestion without success.  Cuesheets and the eaclog are both created temporarily but they are never copied into flac and mp3 directories.  They are not "rem"ed out.

1.  Is there something wrong with this syntax.

                COPY /Y "@eaclog@" "EAClog.txt"
      IF %have_cover%==1 COPY /Y "@cover@" "folder.jpg"
      IF EXIST "@albumfile@.[mg].cue" COPY /Y "@albumfile@.[mg].cue" "@basename@.cue"
I don't know what copy/y means but it definately works for @cover@.


2. When I set debug to 1, where should I look for problems with eaclog and cuesheets? 

Thanks again for your help.
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-02-14 07:07:26
Code: [Select]
/Y           Suppresses prompting to confirm you want to overwrite an existing destination file.

I can't help thinking that:

Code: [Select]
COPY /Y "@eaclog@" "EAClog.txt"

... will copy the log into your system32 folder as EAClog.txt.

That doesn't explain your cuesheet going missing though.

I would just be interested to see what those lines look like once the tokens have been replaced, i.e.: the actual command that is run.  The log may well give you this info. Another debug technique I've used before is to copy the temporary batch file that REACT creates while it is present, allowing you to see exactly what is being processed without it disappearing on you.
Title: REACT 2 Released
Post by: Martin H on 2007-02-14 11:17:14
Code: [Select]
/Y           Suppresses prompting to confirm you want to overwrite an existing destination file.

I can't help thinking that:

Code: [Select]
COPY /Y "@eaclog@" "EAClog.txt"

... will copy the log into your system32 folder as EAClog.txt.

Hi Synthetic Soul

Yes, you are right, but what you didn't get to see in mogorp's quoted part of the cfg.(and of course you can't remember the whole .cfg file in your head ) was that a little above those lines there was this command : "PUSHD %dest%" and at the end of the lines, this command : "POPD", which explains it

Btw, now that i am talking to you...

I'm personally no command-line expert like yourself  So i have been wondering about a line in the .cfg that i don't understand :

IF EXIST "@albumfile@.
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-02-14 11:31:15
Ah, thanks for the additional info Martin!

I must admit I have never used the dot syntax that Tycho employs.  I have just performed a small test using the batch file below, and it seems to me that it just uses the current directory as the destination.  I assume it is like the "./" syntax sometimes used in other scripting.

Code: [Select]
IF EXIST "C:\Documents and Settings\Neil\Desktop\*.bat" COPY "C:\Documents and Settings\Neil\Desktop\*.bat" .
PAUSE

The result of the script above, which is not on my desktop, is that all batch files on my desktop where copied to the folder in which the script resides.  As you say, removing the dot appears to give the same result.

Edit: I realised that the test above was a little inconclusive, so I amended it slightly:

Code: [Select]
PUSHD "C:\Documents and Settings\Neil\Desktop\Freeview Radio Test"
IF EXIST "C:\Documents and Settings\Neil\Desktop\*.bat" COPY "C:\Documents and Settings\Neil\Desktop\*.bat" .
POPD
PAUSE

Running the script above from a totally different folder the files are copied to the folder "Freeview Radio Test" - i.e.: the current working directory, not the directory in which the script resides.  This is as expected, but clarifies it more than my previous test!
Title: REACT 2 Released
Post by: Martin H on 2007-02-14 13:05:59
Thank you very much for your reply Synthetic Soul and for testing it out for me  When i had read your post i thought to myself how big of an idiot i was for not just thinking about testing it out for myself

Btw, on another thought...

Your nick-name(or what it's called) is a little long to write, so i would like to ask you if you would mind if i used a shorter version of it(e.g. Synthetic or SS or ???), and in which case, what you preffered ? Of course i can continue to write it completely and that is no problem either, but just a thought

Btw, for people seeing this, then if they want to ask me something, then i preffer to be called Martin, and that i only choose Martin H, since the name "Martin" was allready taken  (Btw, My name is Martin Hertz )
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-02-14 13:36:55
Anything is fine by me Martin.  "SS", "Synthetic" or, even "Neil" from you.

I should have really gone for a shorter name, and Gambit did offer to have it amended for me, but I'm kind of attached to it now.

That said, I'm not precious about it - so anything that you think will catch my attention, but not violate TOS #2 , is fine by me.

NB: Thank you for your good work in this thread BTW.  I am not as active as I was, as I really have had little chance to play with REACT v2.  My AVG antivirus seems to really hate the EXE, so I've pretty much reverted to ripping to WAV until I can find some time to sort it all out.  Unfortunately I have more pressing things to occupy my time.
Title: REACT 2 Released
Post by: dios-mt on 2007-02-14 13:43:26
...
My AVG antivirus seems to really hate the EXE, so I've pretty much reverted to ripping to WAV until I can find some time to sort it all out.  Unfortunately I have more pressing things to occupy my time.


My AVG has no problems with REACT at all. I am using AVG 7.5 free.

And by the way:
Will there be an REACT Update with CueProc instead of acdir?

And finaly:
Great work done on REACT! I like this tool. Thank you very much.
Title: REACT 2 Released
Post by: mmortal03 on 2007-02-14 15:44:15
So, have we determined where the cuesheets should be getting placed?  EAC has to process the disc and bring up the process bar to create each cuesheet, right?  It can't just magically come up with them.  Based on this, I have had no luck getting it to produce ANY cuesheets with REACT, and I have already tried changing the * to mg.  That would probably work if it was creating them in the first place, but it isn't.
Title: REACT 2 Released
Post by: Martin H on 2007-02-14 23:39:36
@Neil

Thank you very much, my friend  Yeah, i can perfectly imagine that REACT isn't your first priority when dealing with both work, small children and a wife

Btw, if you only want me calling you Neil in PM's, then please let me know, as i don't want to step on your toass(or whatever it's called, - and speeled)

Take care

@mmortal03

I will now test it out for you and report back when i'm done with testing
Title: REACT 2 Released
Post by: Martin H on 2007-02-15 00:38:39
@mmortal03

Okay, i have tested it now and i can tell you that it works perfectly, so it must be something wrong on your end i'm affraid. I ammended the ini file to setup REACT to make WavPack and MP3 track files. When the process had run through, then i had a WV and a MP3 folder in my Testing directory and in the WV folder there where the tracks of the album, four different cuesheet types and an EAC logfile. In the MP3 folder there where the tracks of the album and nothing else. I new that this would happen from reading the config file and when i changed it alittle, and did a re-run, then i had a WV folder with the tracks of the album and one non-compliant cuesheet named "%basename%.cue" and an EAC logfile. In the MP3 folder i had the tracks of the album, a non-compliant cuesheet named "%basename%.cue" and an EAC logfile. The changes i made to achive the latest result was : 

Under the WV tracks section, then change :

Code: [Select]
IF EXIST "@albumfile@.[*].cue" COPY /Y "@albumfile@.[*].cue" .


To :

Code: [Select]
IF EXIST "@albumfile@.[mg].cue" COPY /Y "@albumfile@.[mg].cue" "@basename@.cue"


Under the MP3 tracks section, then change :

Code: [Select]
REM COPY /Y "@eaclog@" "EAClog.txt"


To :

Code: [Select]
COPY /Y "@eaclog@" "EAClog.txt"


And also add this line :

Code: [Select]
IF EXIST "@albumfile@.[mg].cue" COPY /Y "@albumfile@.[mg].cue" "@basename@.cue"
Title: REACT 2 Released
Post by: mmortal03 on 2007-02-15 01:01:01
@mmortal03

Okay, i have tested it now and i can tell you that it works perfectly, so it must be something wrong on your end i'm affraid. I ammended the ini file to setup REACT to make WavPack and MP3 track files. When the process had run through, then i had a WV and a MP3 folder in my Testing directory and in the WV folder there where the tracks of the album, four different cuesheet types and an EAC logfile. In the MP3 folder there where the tracks of the album and nothing else. I new that this would happen from reading the config file and when i changed it alittle, and did a re-run, then i had a WV folder with the tracks of the album and one non-compliant cuesheet named "%basename%.cue" and an EAC logfile. In the MP3 folder i had the tracks of the album, a non-compliant cuesheet named "%basename%.cue" and an EAC logfile. The changes i made to achive the latest result was : 

Under the WV tracks section, then change :

Code: [Select]
IF EXIST "@albumfile@.[*].cue" COPY /Y "@albumfile@.[*].cue" .


To :

Code: [Select]
IF EXIST "@albumfile@.[mg].cue" COPY /Y "@albumfile@.[mg].cue" "@basename@.cue"


Under the MP3 tracks section, then change :

Code: [Select]
REM COPY /Y "@eaclog@" "EAClog.txt"


To :

Code: [Select]
COPY /Y "@eaclog@" "EAClog.txt"


And also add this line :

Code: [Select]
IF EXIST "@albumfile@.[mg].cue" COPY /Y "@albumfile@.[mg].cue" "@basename@.cue"


Thanks Martin, I'll try it out.  One thing, though:  What windows does EAC show when it is doing this process?  Does it just show the ripping dialogue, or are you also getting a window pop up that says that it is detecting the gaps and/or creating the cuesheets?
Title: REACT 2 Released
Post by: mogorp on 2007-02-15 01:19:39
Martin and Synthetic Soul. 

Thank you as always. I appreciate the fact that you guys are always willing to help others.
I must confess that I am in fact an idiot.  My problem is solved.  I was ripping in track mode and therefore of course using the REACT-track.cfg file.  I was editing the track section of the REACT-image.cfg file.  It is no wonder that this was useless.

Martin,
I added your
IF EXIST "@albumfile@.[mg].cue" COPY /Y "@albumfile@.[mg].cue" "@basename@.cue"
change you suggested and ripped in image mode and the non-compliant cuesheet was created. 

I then switched back to track mode (for some reason I like accuraterip) and used
IF EXIST "@albumfile@.[mg].cue" COPY /Y "@albumfile@.[mg].cue"
and this worked.  Thank you guys again.  I am so sorry for wasting your time. 
Title: REACT 2 Released
Post by: Martin H on 2007-02-15 01:31:06
Hi mmortal03

Yeah, sorry - i forgot that you also asked about that in your previous post

When i press F10, then a small window pops up, which displays "Analyzing" and then detects the timings of the pause areas and retrieves the UPC/ISRC codes. Then again this window comes up 4 times, which now only detects UPC/ISRC, as the pause areas already have been determined(REACT uses AutoIT to script the EAC GUI, so it's just like you yourself had choosen to make the 4 cuesheets, one by one). Then you now have several different cuesheets and a bat file in your temp ripping folder and then the ripping starts. Then the image and cuesheets/eaclogs are all processed/copied/moved and all temporary files deleted from the temp folder

I am so sorry for wasting your time. 

Hi mogorp

Don't be sorry, it's no problem at all  I'm just glad to hear that you got it sorted out in the end

CU, Martin.
Title: REACT 2 Released
Post by: mmortal03 on 2007-02-15 01:46:54
Solution: Use F4, don't use the MP3s button.  Problem solved.
Title: REACT 2 Released
Post by: mmortal03 on 2007-02-15 05:55:18
Bug:  REACT automatically refills the genre box in EAC at rip time, if I blank it.
Title: REACT 2 Released
Post by: Martin H on 2007-02-15 14:50:50
Bug:  REACT automatically refills the genre box in EAC at rip time, if I blank it.

If you are reffering to there being set an empty genre tag field, if you haven't entered a genre in EAC's main window, then that's not a bug. Either you make sure that a genre is defined, or you remove that part of the command-line in your cfg file which sets the genre tag field.

Edit: I'm sorry, mate  I have just reread your post and saw that i had misunderstood you. What you are reffering to is not a REACT bug, but a bug in EAC. To make sure that this dosen't happen(after a certain time period, the changes you have made is reverted back to it's previous values), then instead of making the changes directly in EAC's main window, then instead press ALT+L and make the changes from there and select "OK".
Title: REACT 2 Released
Post by: robinpb on 2007-02-15 15:39:57
ok...i'm getting myself lost in the config. i want a streamlined react2 config (to place on friend's machines) that will generate *only* --scaled mp3's, eac cue, and eac log. i've set:

[UserTrackFormats]
Flac=0
Wavpack=0
LameMP3=1
NeroAac=0
iTunesAac=0
OggEnc2=0

and get everything except the cue sheet. i suspect i'm getting lost in this section of REACT-image.cfg:

IF NOT @LameMP3@==1 GOTO end_lame_tracks
   SET dest="@TrackDir_MP3@"
   IF NOT EXIST %dest% MKDIR %dest%
   PUSHD %dest%
      IF @various@==1 SET VA_tag=--user-text $q[album artist]@VA@$q --frame $qTPE2:@VA@$q
      IF %embed_cover%==1 SET Cover_tag=--pict $#x
      @tools@\acdir.exe --overwrite --output "%TrackName%.mp3" --extra-opt "{3}@cover@" --pipe "TITLE $n/$N mp3 $#T & @tools@\lame.exe @Opt_LameMP3@ %ApplyAG_Lame% - $#o & @tools@\metamp3.exe %Cover_tag% %VA_tag% --artist $#a --album $#T --title $#t --track $n/$N --year $q@year@$q --genre $q@genre@$q --comment $q@comment@$q --frame TENC:$q%USERNAME%$q --frame TSSE:$qLAME @Ver_LameMP3@ @Opt_LameMP3@$q $#o" "@sourcecuesheet@"
      IF %add_rg%==1 @tools@\metamp3.exe %RG_MetaMP3% *.mp3
      IF @ApplyAlbumGain@==1 @tools@\metamp3.exe %ApplyAG_MetaMP3% *.mp3
      COPY /Y "@eaclog@" "EAClog.txt"
      IF %have_cover%==1 COPY /Y "@cover@" "folder.jpg"
      IF EXIST "@albumfile@.
Title: REACT 2 Released
Post by: Martin H on 2007-02-15 16:23:45
should i simply replace "@albumfile@.
  • .cue" with "@cuesheet@" ?
    eg should
    IF EXIST "@albumfile@.
  • .cue" COPY /Y "@albumfile@.
  • .cue" .
    be something like
    IF EXIST "@cuesheet@" MOVE /Y "@cuesheet@"  %dest%

Hi robinpb

You should replace :
Code: [Select]
IF EXIST "@albumfile@.[*].cue" COPY /Y "@albumfile@.[*].cue" .


With instead :
Code: [Select]
IF EXIST "@albumfile@.[mg].cue" COPY /Y "@albumfile@.[mg].cue" "@basename@.cue"



CU, Martin.
Title: REACT 2 Released
Post by: mmortal03 on 2007-02-15 16:31:44

Bug:  REACT automatically refills the genre box in EAC at rip time, if I blank it.

If you are reffering to there being set an empty genre tag field, if you haven't entered a genre in EAC's main window, then that's not a bug. Either you make sure that a genre is defined, or you remove that part of the command-line in your cfg file which sets the genre tag field.

Edit: I'm sorry, mate  I have just reread your post and saw that i had misunderstood you. What you are reffering to is not a REACT bug, but a bug in EAC. To make sure that this dosen't happen(after a certain time period, the changes you have made is reverted back to it's previous values), then instead of making the changes directly in EAC's main window, then instead press ALT+L and make the changes from there and select "OK".


Interesting.  I don't remember this happening in EAC before using REACT, because I would always blank the genre information (being that it is too inconsistent), and then rip, and not only would it stay blank, but EAC would remember that it wasn't filled the next time that I inserted that CD.

Yeah, I did already remove -T genre="@genre@" to beat this, before you suggested, actually, so at least it doesn't write the information to the files.  I'm just looking for a way to have EAC remember that it is blank.  I will try what you mentioned.

Btw, is there any variable to represent the track number WITH the zero at the front for 1-9 (how EAC outputs the track number to the filenames prior to encoding)?  I need this to do some find and replace work in the cuesheets, without having to search twice per file.
Title: REACT 2 Released
Post by: robinpb on 2007-02-15 16:43:24

should i simply replace "@albumfile@.
  • .cue" with "@cuesheet@" ?
    eg should
    IF EXIST "@albumfile@.
  • .cue" COPY /Y "@albumfile@.
  • .cue" .
    be something like
    IF EXIST "@cuesheet@" MOVE /Y "@cuesheet@"  %dest%

Hi robinpb

You should replace :
Code: [Select]
IF EXIST "@albumfile@.[*].cue" COPY /Y "@albumfile@.[*].cue" .


With instead :
Code: [Select]
IF EXIST "@albumfile@.[mg].cue" COPY /Y "@albumfile@.[mg].cue" "@basename@.cue"



CU, Martin.



ok i'm testing that out now.
i do have
CreateAllCuesheets=1
set in react.ini
but during the ripping process i'm only seeing one cue sheet being generated (without any 'mg' naming convention).
Title: REACT 2 Released
Post by: Martin H on 2007-02-16 15:15:43
Btw, is there any variable to represent the track number WITH the zero at the front for 1-9 (how EAC outputs the track number to the filenames prior to encoding)?

I believe that EAC's track number variable "%n" is returned with the leading zero appended, but it's then up to the app that retrieves this value(for further processing) what they do with it, like e.g. lame.exe cuts the zero of when setting the "Track" ID3v1.1 tag and/or TRCK ID3v2.3 frame.
ok i'm testing that out now.
i do have
CreateAllCuesheets=1
set in react.ini
but during the ripping process i'm only seeing one cue sheet being generated (without any 'mg' naming convention).

I'm sorry, mate - I really don't know what's your problem is then, but i can just say that i atleast could get it to work, so i'm affraid that it's something on your end - Again, Sorry for that, mate 

One thing that is important though, is that your pause area(called gap in EAC) settings are matching your drive correctly...
Title: REACT 2 Released
Post by: mmortal03 on 2007-02-16 18:30:01

Btw, is there any variable to represent the track number WITH the zero at the front for 1-9 (how EAC outputs the track number to the filenames prior to encoding)?

I believe that EAC's track number variable "%n" is returned with the leading zero appended, but it's then up to the app that retrieves this value(for further processing) what they do with it, like e.g. lame.exe cuts the zero of when setting the "Track" ID3v1.1 tag and/or TRCK ID3v2.3 frame.



The point I was making was that REACT does cut the leading zero off the variable @track@.
Title: REACT 2 Released
Post by: phaedra on 2007-02-16 18:47:27
Will REACT2 work with the new flac 1.1.4?    If so, can I just overwrite the flac.exe file in the ...\REACT2\tools\ directory?
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-02-16 19:01:44
The point I was making was that REACT does cut the leading zero off the variable @track@.
Use $track$ to get a leading zero.

Will REACT2 work with the new flac 1.1.4?    If so, can I just overwrite the flac.exe file in the ...\REACT2\tools\ directory?
Yes, no reason why not.
Title: REACT 2 Released
Post by: mmortal03 on 2007-02-17 04:02:02
The point I was making was that REACT does cut the leading zero off the variable @track@.
Use $track$ to get a leading zero.


Thanks!  The next question is this:  Can we come up with a way to have arguments specific to what characters REACT would write for a folder name, and arguments specific to what characters REACT would write for a filename?  Just one example is where there are periods in an album's name, which will be in a folder name.  "Takk..." becomes "Takk" when written out by REACT into the folder name, but for the track called "Takk...", it leaves the periods in the file name.  I am sure there are other cases of this that can happen.  Is there a way to know how REACT will write out the actual filenames so that I can search and replace my cuesheets accordingly?

Edit:  I think currently, as I just tested it, @-surrounded variables aren't filtered according to what is allowed/outputted in a filename, as they are to become the meta-data.  I assume that $-surrounded variables are what EAC uses to build the filenames and what it passes to REACT*.

*Edit2:  I think I got it to work with a combination of @s and $s surrounding various variables, but it wasn't completely straightforward.  For some reason, with the same name for BOTH the album and the title (Takk...), these are what I get:
$album$="Takk"
$title$= "Takk..."
@album@="Takk..."
@title@="Takk..."

So, it looks as if EAC was specifically coded to pass the album string with the knowledge that album names are generally placed in a folder name, thus filtering it as such, but doesn't touch the track information.  Maybe there are cases where it will alter even the track name -> What isn't allowed in a filename?

For this particular case, another problem was that EAC even STILL will output the album title as "Takk..." in the cuesheet, but only in places where there is no folder structure, so I had to use @album@ in my search and replace string to find these specific cases, even though the @ variable's purpose is generally only to be used in metadata situations.
Title: REACT 2 Released
Post by: wraithdu on 2007-02-17 04:17:27
Take note - while $track$ will get you zero-padded values in a directory or file name, metamp3.exe will NOT write the zero-padded value to your id3v1 or id3v2 tags.  I'm not sure about the other meta tagging programs used, as I don't use them.
Title: REACT 2 Released
Post by: phaedra on 2007-02-18 08:50:33
Will REACT2 work with the new flac 1.1.4?    If so, can I just overwrite the flac.exe file in the ...\REACT2\tools\ directory?
Yes, no reason why not.

Hmmmm ...    OK, so I downloaded the new flac (flac-1.1.4-win.zip) and it came with a bunch of files in addition to flac.exe. I think I can ignore most of them but I notice there is a new metaflc.exe and a new dll (in_flac.dll). Should I add these to the  ...\REACT2\tools\ directory in addition to the new flac.exe file?

Thanks very much in advance, and sorry for being so clueless 

- p
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-02-18 08:56:28
Basically, any app already in the REACT tools directory can be overwritten by a newer version.  I think REACT uses metaflac, so you would do well to replace that.  I doubt you need anything else though.
Title: REACT 2 Released
Post by: mmortal03 on 2007-02-18 09:07:08

Will REACT2 work with the new flac 1.1.4?    If so, can I just overwrite the flac.exe file in the ...\REACT2\tools\ directory?
Yes, no reason why not.

Hmmmm ...    OK, so I downloaded the new flac (flac-1.1.4-win.zip) and it came with a bunch of files in addition to flac.exe. I think I can ignore most of them but I notice there is a new metaflc.exe and a new dll (in_flac.dll). Should I add these to the  ...\REACT2\tools\ directory in addition to the new flac.exe file?

Thanks very much in advance, and sorry for being so clueless 

- p


Nope, all you need is the executable (exe file).  The rest are source files, documentation, and the dll is just an alternate format that other programs may use, but not REACT.
Title: REACT 2 Released
Post by: phaedra on 2007-02-19 16:38:41
Basically, any app already in the REACT tools directory can be overwritten by a newer version.  I think REACT uses metaflac, so you would do well to replace that.  I doubt you need anything else though.

@ Syn Soul and mmortal03 ... thank you for your responses. I replaced flac.exe and metaflac.exe and left everything else alone and it seems to be working fine. 

I have one more dumb question tho  . How can I tell if my album art is being embedded in the files? (I'm using F10 to rip to image but then encode to flac and mp3 tracks only) When I check them in MediaMonkey the cover art only displays when a folder.jpg image is present. If I move the folder.jpg out of the directory containing the tracks, then no picture displays.

I've got "EmbedCover=1" in the .ini
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-02-19 16:43:11
The new FLAC image embedding may be too new for MediaMonkey.

I haven't heard of any apps supporting the embedded image as yet (although there may well be some).  I would use metaflac to check.
Title: REACT 2 Released
Post by: Ryushi on 2007-02-19 16:44:41
Hi everyone,

Quote
Changelog for EAC 0.95b3:
Here comes the new EAC 0.95b3. There are several issues fixed, e.g. some CUE sheets could not been written to CD-R using CDRDAO and now it is possible to wait for external compressors to finish the job before powering down the computer. For some users with high ping times (like satellite internet users) there is a new command line option called -slowconnect which will wait longer for a connection to be established, hope that will work better.
For the next version, I will finally implement the test & copy function for CD images, due to many requests.
Good luck with this version!

as we all know there is actually no test© for images and it is uncertain when the new EAC version with this announced feature will arrive

But is it possible to somehow use a kind of test & copy with images in REACT 2?
Maybe make a first fast image-rip in burstmode and calculate a CRC or md5 and then make an image-rip in secure-mode and compress it with wavpack when the CRCs are identically?

Thanks in advance.

Ryushi
Title: REACT 2 Released
Post by: tycho on 2007-02-19 18:43:36
The new FLAC image embedding may be too new for MediaMonkey.

I haven't heard of any apps supporting the embedded image as yet (although there may well be some).  I would use metaflac to check.

Both softpointer (http://softpointer.com/)'s Tag&Rename and AudioShell (free) support embedded album art in FLAC files (and even OGG files). Also developer version of mp3tag (http://developer.mp3tag.de/) (free) since version 2.37d (current 2.37f) support FLAC album art.

Ryushi: Technically, I think it is possible to add test & copy of images with REACT 2 (actually copy & copy), but I won't prioritize that now. First I will update the metamp3.exe tool.
Title: REACT 2 Released
Post by: phaedra on 2007-02-20 06:33:51
Thank you once again Syn Soul and tycho for answering my question. Also thanks so much for such an awesome tool and equally awesome support!! You guys are the best  .  I tried the developer version of MP3Tag and was able to confirm that yes indeed, the cover art is embedded into the picture block of my new flac files!   

There is now just one more thing that I can't figure out. Is it possible to get REACT to create Album Artist tags for single artist albums (i.e. in addition to the ones created for VA albums) in order to facilitate sorting by Album Artist?

Thanks,

- p
Title: REACT 2 Released
Post by: Martin H on 2007-02-20 18:40:46
There is now just one more thing that I can't figure out. Is it possible to get REACT to create Album Artist tags for single artist albums (i.e. in addition to the ones created for VA albums) in order to facilitate sorting by Album Artist?

Hi phaedra

Here are the instructions for editing your "react-image.cfg" to set "album artist" tag in your FLAC and MP3 track files :

In EAC then press ALT+F3. Scroll down untill you come to the "REM ---- Tracks ----" section.

Under the "flac_tracks" section, then you change this line :
Code: [Select]
IF @various@==1 SET VA_tag=-T $qalbum artist=@VA@$q


To instead :
Code: [Select]
SET VA_tag=-T $qalbum artist=@cdartist@$q


Under the "lame_tracks" section, then you change this line :
Code: [Select]
IF @various@==1 SET VA_tag=--user-text $q[album artist]@VA@$q --frame $qTPE2:@VA@$q


To instead :
Code: [Select]
SET VA_tag=--user-text $q[album artist]@cdartist@$q --frame $qTPE2:@cdartist@$q


The above line will by default both make an ID3v2.3 TXXX frame with the description "album artist" and an ID3v2.3 TPE2 frame(a "band" tag). If you only want an "album artist" TXXX frame, then use this line instead :
Code: [Select]
SET VA_tag=--user-text $q[album artist]@cdartist@$q


Or if you only want a TPE2 frame :
Code: [Select]
SET VA_tag=--frame $qTPE2:@cdartist@$q


Edit: To elaborate a little further... Different apps use different ID3v2 frames for defining the "album artist" tag. There isn't defined an "album artist" frame in the ID3v2 spec. so e.g. foobar2000 sets the "album artist" tag by using a TXXX frame with the description "album artist", but e.g. winamp sets it with a TPE2 frame. If you use foobar2000, then i would recommend only setting the "album artist" TXXX frame and if you use winamp, then i would recommend you to set a TPE2 frame and if you use a combination of both, then set both of them.
Title: REACT 2 Released
Post by: phaedra on 2007-02-21 00:32:05
Hi phaedra

Here are the instructions for editing your "react-image.cfg" to set "album artist" tag in your FLAC and MP3 track files :

Hi Martin,

Thank you for the elegant solution (and the detailed explanation). It works perfectly  ! Also thank you for all the great advice you have been giving on this topic and elsewhere in the HA forums. I have learned a lot from you. It's great that people like you with so much knowledge about these things are willing to share it!

All the best  ,

- p
Title: REACT 2 Released
Post by: phaedra on 2007-02-21 08:09:14
Hi again Martin,

Unfortunately there seems to be a small problem with the code you provided  . When I try to rip an album with an ampersand (&) in the title, I get a syntax error and the flac files fail to encode. I also get the error for the lame encode, but the mp3's still get created. I've tried several such albums and always get the same problem.

For example, when I try to rip the album "Mambo Sinuendo" by Ry Cooder & Manuel Galbán, I get the following error message:

Code: [Select]
'Manuel' is not recognized as an internal or external command,
operable program or batch file.
The filename, directory name, or volume label syntax is incorrect.


Any suggestions?

Thanks,

- p

p.s. no problems at all with albums without ampersands 
Title: REACT 2 Released
Post by: tycho on 2007-02-21 09:13:05
This problem is due to the way the acdir command line must be set up. As you want to add "album artist" frame unconditionally, simply replace the string %VA_tag% with
  -T $qalbum artist=@cdartist@$q
in the flac_tracks section, and replace the string %VA_tag% with
  --user-text $q[album artist]@cdartist@$q --frame $qTPE2:@cdartist@$q
in the mp3_tracks section.

And then remove the lines with SET  VA_tag=..., which caused the problem.
Title: REACT 2 Released
Post by: Martin H on 2007-02-21 11:36:06
Also thank you for all the great advice you have been giving on this topic and elsewhere in the HA forums. I have learned a lot from you. It's great that people like you with so much knowledge about these things are willing to share it!

Thank you very much for the kind words, my friend  You are too kind
Unfortunately there seems to be a small problem with the code you provided 

Please accept my apology for this mistake  Luckilly, tycho has kindly provided the correct solution for you to fix this issue  Again, sorry about that

CU, Martin.
Title: REACT 2 Released
Post by: dewey1973 on 2007-02-21 13:52:04
REACT didn't seem to be handling my VA albums correctly so I turned on debugging and this is what I found.  Even though the VA check box in EAC was checked, the @various@ variable was set to 0, not 1.  Does anyone know what might cause this?

I mostly listen to albums so I like to browse artist > album > play on my Karma.  Therefore, I never really liked the VA tagging scheme because the files show up under their track artist in most players.  That means they don't show up together when I browse the way I'm used to browsing.  But EAC won't let me use "Various Artists" as the artist without the check box checking itself.  Can I edit the REACT cfg file so that when the check box is checked, it treats the album like a normal album but replaces the artist tags with what I set the VA variable to in the ini file? It should also use <track title> / <track artist> for the title tag.

Of course, the problem I'm having above would need to be fixed first for this to work.

I am ripping to WavPack images and ogg tracks.
Title: REACT 2 Released
Post by: phaedra on 2007-02-22 06:02:44
As you want to add "album artist" frame unconditionally, simply ...

tycho, first of all, I cannot adequately express my appreciation to you for developing this awesome tool and sharing it with the world ... for free yet!  You are truly an awesome guy!!!  You're a true genius  Also, thank you for taking the time to address my particular issue. It must get frustrating for you after awhile responding to people trying to tweak your already awesome tool but not being able to figure it out for themselves.  I'm just wondering tho  , is there any downside to my desire for wanting to always have a filled in "album artist" field? I thought it would be good in case I want to sort / search my collection by album artist.

Please accept my apology for this mistake  ...

Martin, do not apologise !!!  Your solution works on at least 90% of the albums out there and I really appreciate you making the effort to answer my question ... you're an awesome guy too !!!  Like my Dad says, 'There's more than one way to skin a cat, but some work better than others ...' 

- p
Title: REACT 2 Released
Post by: Martin H on 2007-02-22 11:34:57
tycho, first of all, I cannot adequately express my appreciation to you for developing this awesome tool and sharing it with the world ... for free yet!  You are truly an awesome guy!!!  You're a true genius 

Well said, mate  I wholehartedly agree and he deserves it for sure
Quote
Martin, do not apologise !!!  Your solution works on at least 90% of the albums out there and I really appreciate you making the effort to answer my question ... you're an awesome guy too !!!  Like my Dad says, 'There's more than one way to skin a cat, but some work better than others ...'

Thank you so much, my friend 

Best regards and take care

CU, Martin.
Title: REACT 2 Released
Post by: Ryushi on 2007-02-22 12:16:20
[...]
Ryushi: Technically, I think it is possible to add test & copy of images with REACT 2 (actually copy & copy), but I won't prioritize that now. First I will update the metamp3.exe tool.

Never mind. I am pretty patient  I am waiting since over a year - since Andre announced "T&C image" in EAC - for it and as it look like I have to wait some more months for a native EAC solution.
Maybe I will try to find out how I can implement your suggested "copy & copy"-method into my cfg-file. I remember there was somebody who implement something like that in his REACT1-configuration.

Cya Ryushi

P.S. Many thanks for this very useful tool.
Title: REACT 2 Released
Post by: Bill02888 on 2007-02-24 04:23:28
I'd been using an older version of REACT for a while. Recently had to reinstall Windows so thought it was a good time to use the latest and greatest.

I'm getting an error when albumart.exe tries to start:

"The application failed to initialize properly (0xc0000135). Click on OK to terminate the application."

I tried clicking on albumart.exe in the coverdownloader directory and received the same error. What have I done -- or haven't I done?
Title: REACT 2 Released
Post by: Martin H on 2007-02-24 04:56:32
You need to install the .NET runtimes for that app to work.
Title: REACT 2 Released
Post by: Bill02888 on 2007-02-24 14:21:32
Thanks -- installing .NET did it! How simple!

More questions:

1) The albumart application seems to want to put the image into the root of the C: drive. The "work" directory where I have EAC save the .WAV file is my D:\. Where should I save the album art file so that REACT2 will pick it up and work with it automagically?

2) A long time ago in a galaxy far far away I mentioned preemphasis. I can use SoX to remove that. Is there a simple (ha!) spot where I can put the appropriate sox command so REACT will, if a special deemph flag is set in the REACT.ini file, deemphasize the ripped .WAV file so that all images and tracks that are created from it will sound as the artist originally intended? (Yes, I realize that changing an image may be wrong, and yet, I doubt that any player in existence will play the CD correctly as-is. Doing the deemph before saving to the image is indeed what I think I want!)

3) I'm saving to a Wavpack image and to LAME MP3 tracks. When I use foobar to look at the properties of the resultant MP3 files I see that the comment field is doubled-up: "Created with EAC/REACT2, 2007-02-24; Created with EAC/REACT2, 200". This seems like a possible bug in the .cfg files?

Thanks muchly,
Bill
Title: REACT 2 Released
Post by: Martin H on 2007-02-24 15:46:15
I don't know the answer to your albumart.exe question as i have never used that personally and the pre-emphasis thing i'm also not able to help you with, i'm afraid. For those two questions, then hopefully another more knowledgeble member into this particular area can come to your rescue. The final question about the two "comment" tags being made to the MP3's is because that metamp3.exe by default sets both an ID3v1.1 + an ID3v2.3 tag to the MP3's and so the shortened "comment" tag is the ID3v1.1 tag and the full one is the ID3v2.3 tag. That said, i have never personally seen fb2k display two "comment" tags in the "Properties" dialog of an MP3 track file consisting og both an ID3v1.1 and a ID3v2.3 tag. In this case it would just show the content of the ID3v2.3 tag into the "Properties"dialog.
Title: REACT 2 Released
Post by: phaedra on 2007-02-25 06:24:47
1) The albumart application seems to want to put the image into the root of the C: drive. The "work" directory where I have EAC save the .WAV file is my D:\. Where should I save the album art file so that REACT2 will pick it up and work with it automagically?

Hi Bill,
The cover art has to go to the same directory where REACT puts the temporary files during ripping (otherwise it won't get embedded in your files). You need to specify a directory where REACT will store the temporary ripping files. In EAC, go to "EAC Options" > Directories, then check "Use directory ..." and specify the path to your "work" directory. The cover downloader should also use the same directory for saving images. After setting the path you might have to restart EAC/REACT in order for everything to take effect. 
Title: REACT 2 Released
Post by: dewey1973 on 2007-02-26 03:39:00
Can anyone help me with my Various Artist problem posted above in post 215?
Title: REACT 2 Released
Post by: pholzmann on 2007-02-26 17:46:05
The new version of albumart requires modified command line switches, i.e.

  -ae on -pf on -ar "artist" -al "album" -p "save path-name.jpg"

I don't see anywhere in react's ini/cfg files to set this up. Any hints?
Title: REACT 2 Released
Post by: Martin H on 2007-02-26 19:50:24
Can anyone help me with my Various Artist problem posted above in post 215?

Sorry, mate - I personally wasen't ignoring you, but i just didn't know the answer to your questions, unfortunetly
Title: REACT 2 Released
Post by: wraithdu on 2007-02-26 22:13:46
The new version of albumart requires modified command line switches, i.e.

  -ae on -pf on -ar "artist" -al "album" -p "save path-name.jpg"

I don't see anywhere in react's ini/cfg files to set this up. Any hints?

I see this too, now that you mention it (I've been lazy getting the new version so I hadn't noticed).  I'd say until REACT2 is updated to support it, stick with the last supported version.  I guess the parameters passed to albumart are hardcoded into the REACT .exe.
Title: REACT 2 Released
Post by: tycho on 2007-02-27 06:42:45
REACT didn't seem to be handling my VA albums correctly so I turned on debugging and this is what I found.  Even though the VA check box in EAC was checked, the @various@ variable was set to 0, not 1.  Does anyone know what might cause this?

I mostly listen to albums so I like to browse artist > album > play on my Karma.  Therefore, I never really liked the VA tagging scheme because the files show up under their track artist in most players.  That means they don't show up together when I browse the way I'm used to browsing.  But EAC won't let me use "Various Artists" as the artist without the check box checking itself.  Can I edit the REACT cfg file so that when the check box is checked, it treats the album like a normal album but replaces the artist tags with what I set the VA variable to in the ini file? It should also use <track title> / <track artist> for the title tag.

Of course, the problem I'm having above would need to be fixed first for this to work.

I am ripping to WavPack images and ogg tracks.

For your first question, you must set EAC's file naming sceme to start with '%D -', to recognise that the filename start with "Various -" (or "Various Artists -").

For the next Q, in the OGG section, you must replace '-c artist=$#a' with '-c artist=$q@cdartist@$q'. This works because @cdartist@ equals @VA@ when @various@=1, otherwise it equals @artist@.

@Bill: I have added back the support for removing preemph (deemph) these rare CDs in the next version of REACT.
Title: REACT 2 Released
Post by: pholzmann on 2007-02-27 13:13:19
I have a strange one:

* creating flac image and mp3 files
* flac is NOT created, MP3's ARE
* debug run shows the problem but I don't know how to fix it:

- the flac run fails because the eac log file does not exist
- yet the file DOES exist by the time I look

Sounds like a race condition of some kind?

Have others seen this?
Title: REACT 2 Released
Post by: pholzmann on 2007-02-27 13:29:21
* debug run shows the problem but I don't know how to fix it:

- the flac run fails because the eac log file does not exist
- yet the file DOES exist by the time I look

OK, now I watched everything carefully. I'm sure this must be simple:

When EAC finishes ripping, it puts up a dialog with an "OK" button.

The log file is not created until I press "OK".

I assume REACT wants this dialog disabled somehow? How do I do that?

Thanks muchly!
Title: REACT 2 Released
Post by: Martin H on 2007-02-27 14:09:57
Hi pholzmann.

Something is very wrong with your setup, as REACT will auto-close that dialog automatically, so that the logfile is made. Please reconfigure REACT with your EAC setup by pressing CTRL+F2 and see if the problem persists. If the problem dosen't go away, then i'm affraid that i cannot help you unfortunetly and you must then wait for Tycho to come to your rescue.
Title: REACT 2 Released
Post by: wraithdu on 2007-02-27 16:26:00
That's interesting.  The rip report dialog doesn't autoclose on my machine either, but I have not had any errors complaining the eaclog is missing, and I believe it is still embedded in my flac images.  I have REACT2 correctly configured in EAC (Ctrl-F2).
Title: REACT 2 Released
Post by: pholzmann on 2007-02-27 19:02:19
Something is very wrong with your setup, as REACT will auto-close that dialog automatically, so that the logfile is made. Please reconfigure REACT with your EAC setup by pressing CTRL+F2 and see if the problem persists. If the problem dosen't go away, then i'm affraid that i cannot help you unfortunetly and you must then wait for Tycho to come to your rescue.
Good idea, Martin! At least that made it act a bit differently

Now I get two consistent log errors in flac:
- unable to extract resolution and color info from file (that's new... and the file is fine)
- can't open file

AND the log file is definitely NOT created, and the dialog box is NOT auto-closed.

I'm running on a duo-core XPSP2 laptop.

I tried reducing the "simultaneous background thread" count to one, but that didn't change anything.
I tried turning off run-in-background, but ctrl-F2 reconfigure turned it back on so I assume it is required.

Anybody else have ideas? I feel sooo close yet so far away

Thanks muchly for all suggestions!
MrPete

Code: [Select]
E:\media\Music\eac>IF 1 == 1 SET Cover_tag=--picture="|image/jpeg|||E:\media\Music\eac\The Passionate Pursuit.jpg"

E:\media\Music\eac>C:\apps\media\audio\REACT2\tools\flac.exe -5 -f --replay-gain
--picture="|image/jpeg|||E:\media\Music\eac\The Passionate Pursuit.jpg" -T "artist=Scott Wesley Brown"
 -T album="The Passionate Pursuit" -T totaltracks="11" -T date="1991" -T genre="Worship"
-T comment="Created with EAC/REACT2, 2007-02-27" -T encoded-by="Pete" -T encoding="Flac 1.1.3 -5 -f"
--tag-from-file="cuesheet=E:\media\Music\eac\Scott Wesley Brown - [1991] The Passionate Pursuit.cue"
--tag-from-file="eaclog=E:\media\Music\eac\The Passionate Pursuit.log"
"E:\media\Music\eac\Stmp54266.wav"
-o "E:\media\Music\eac\Scott Wesley Brown - [1991] The Passionate Pursuit.flac"

ERROR: (--picture) unable to extract resolution and color info from file, user must set explicitly
Type "flac" for a usage summary or "flac --help" for all options
ERROR: (--tag-from-file) can't open file for tag value
Type "flac" for a usage summary or "flac --help" for all options

(PS: If I could, I'd change my handle to MrPete which is how i'm known elsewhere )
Title: REACT 2 Released
Post by: pholzmann on 2007-02-28 02:47:21
A small bug found: in a workflow of image->mp3 tracks, if (eac? ac? not sure what?) decides there is a blank character at the end of the name of a song, it never gets trimmed... resulting in a pain-in-the-neck mp3 filename "xyzzy .mp3"

Can spare spaces be trimmed?
Title: REACT 2 Released
Post by: Martin H on 2007-02-28 16:08:30
Hi MrPete

The first error you get is about the Cover-image which flac.exe cannot retrieve the color and resolution from automatically and hence, wants you to enter those parameters manually. I'm personally not into cover-art myself, so i'm affraid that i can't help you with that, since i have never used those options of flac.exe before. The second error is then as you have found, about the missing logfile. I'm sure that REACT will do this during it's setup, but just in case, then please check if you have this option enabled : EAC options > Tools > "Automatically write status report after extraction". If that option is enabled, then i would recommend that you go into regedit(WinKey+R > "regedit") and delete the key : "HKEY_CURRENT_USER\Software\AWSoftware"(rightclick > Delete) and then reconfigure EAC and install REACT again. I have also had to do this on occasions because EAC acted funny, but i haven't experienced your problem though. This is the only advice that i can give you, but of course you are welcome to instead wait untill Tycho comes along and then hear his take on this issue

@wraithdu

There are two dialogs. the first one is the one that REACT auto-closes, and the next one is the one that e.g. states "Copy OK" and "No errors occured" etc. and this one isn't auto-closed
Title: REACT 2 Released
Post by: wraithdu on 2007-02-28 18:32:36
@Martin
Ahhh, thanks for pointing that out.  Makes sense then that I've never seen it
Title: REACT 2 Released
Post by: pholzmann on 2007-03-01 10:19:26
Question: EAC V0.95 beta 4 comes in two flavors: with/without CDRDAO.

Is it possible that it would matter which one I use? Which one are YOU using?

Thanks.
Title: REACT 2 Released
Post by: Martin H on 2007-03-01 11:22:22
Is it possible that it would matter which one I use?

No, since that is entirely writing-only related.
Quote
Which one are YOU using?

I am personally using the version without cdrdao.exe. If you want to use EAC to also write audio CD's, then check to see if your drive works with EAC's internal writing routines. If it does, then you don't need the EAC version with cdrdao.exe, since that version is only meant for people with drives that dosen't work with it and also on many drives then CD-TEXT writing isn't possible with EAC's cdrdao frontend. My drive only works with EAC's cdrdao frontend, but since i'm not using EAC to write audio CD's, then i'm sticking to the version without it. I personally use Burrrn (http://www.burrrn.net/?page_id=4) to write all my audio CDs, since besides beeing an awesome non-bloated and well-coded app, then it also supports writing WavPack images with embedded cuesheets.
Title: REACT 2 Released
Post by: wraithdu on 2007-03-01 14:50:53
I personally use Burrrn (http://www.burrrn.net/?page_id=4) to write all my audio CDs, since besides beeing an awesome non-bloated and well-coded app, then it also supports writing WavPack images with embedded cuesheets.

I am waiting for this great app to support write offsets hopefully in the near future.  I wrote my first totally offset corrected CD with EAC the other night (individual read and write offsets) and all track CRCs matched up with the AccurateRip database after a test of the copy!  I was really shocked and pleased, as this is the first time I've accomplished this.



Secondly, how can I modify the REACT2 .ini to work with the new version of Albumart Downloader?  It has some different commandline switches for search and path options.
Title: REACT 2 Released
Post by: phaedra on 2007-03-01 16:38:32
... how can I modify the REACT2 .ini to work with the new version of Albumart Downloader?

Hi wraithdu,

You don't have to modify the REACT2 .ini ... all you have to do is overwrite the old with the new (i.e. change the folder name of the new Albumart Downloader program from "AlbumArtDownloader" to "coverdownloader" and place it in your REACT2 folder, overwriting the old "coverdownloader" folder. At least that worked for me. 

Also if you want any scripts from the old coverdownloader that aren't included in the new version (such as Walmart.boo), you can just copy them over to the new version "as is" and they will work. 

- p
Title: REACT 2 Released
Post by: wraithdu on 2007-03-01 17:00:13
You don't have to modify the REACT2 .ini ... all you have to do is overwrite the old with the new (i.e. change the folder name of the new Albumart Downloader program from "AlbumArtDownloader" to "coverdownloader" and place it in your REACT2 folder, overwriting the old "coverdownloader" folder. At least that worked for me. 

And this works?  I know the commandline switches for the newest version of the downloader are different.  Is it still being passed the correct information for search and download path?  This seems unlikely to me.  I'm sure the program is still executed, but...I will definitely test it when I get home.
Title: REACT 2 Released
Post by: pholzmann on 2007-03-01 19:16:55
You don't have to modify the REACT2 .ini ... all you have to do is overwrite the old with the new (i.e. change the folder name of the new Albumart Downloader program from "AlbumArtDownloader" to "coverdownloader" and place it in your REACT2 folder, overwriting the old "coverdownloader" folder. At least that worked for me. 


phaedra, perhaps you are not using the truly new version? It has very different command line parameters and does not work at all with REACT2

At least, not for me!
Title: REACT 2 Released
Post by: mc365mc on 2007-03-04 22:24:58
How do I change the nameing scheme for TrackName_SA_acdir?

What parameters can I use to  get my FLAC split and named artist-album-track-title?

Thanks
Title: REACT 2 Released
Post by: pholzmann on 2007-03-04 22:28:59
...you are welcome to instead wait untill Tycho comes along and then hear his take on this issue

I've reinstalled everything. Nothing helped.

I think I have a clue about the issue though. I use the dbPowerAmp AccurateRip plugin for EAC to ensure I'm getting good rips. I think the extra UI for that is unknown to REACT. If only we could add our own plugin-related handling!
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-03-04 22:32:24
How do I change the nameing scheme for TrackName_SA_acdir?

What parameters can I use to  get my FLAC split and named artist-album-track-title?
1. Check "react.ini"

2. Use "$~A-$~T-$n-$~t"
Title: REACT 2 Released
Post by: mc365mc on 2007-03-08 05:43:25
One more ? or maybe 2.

I'm using all the new flac and metaflac tools but the dialog window says that I'm using flac v1.1.3

Is this just an oversight in the coding of the latest version that was not updated?

I downloaded the package from rarewares I think,  I't was call flac-1.1.4.zip


and could you point me to a good thread or post detailing how to embed the cue sheet as well as save one externaly
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-03-08 07:07:57
Unless you have amended the config REACT will be using the FLAC exe in your REACT\tools directory.

Personally I like to only maintain one version on my PC, so my recommendation would be to amend the config to point to your 1.1.4 exe.  An easier solution is to copy the new exe over the exe in \tools though.

I don't have REACT on this laptop, so I can't give you code or line numbers, but essentially you will need to delete the line that deletes the cuesheet, and have it moved with all the other files.
Title: REACT 2 Released
Post by: Martin H on 2007-03-08 10:41:58
and could you point me to a good thread or post detailing how to embed the cue sheet as well as save one externaly

REACT will by default embed the cuesheet and also copy an external cuesheet into the destination directory, so if that is what you want, then you don't have to do anything.

For people, like me, which don't want to have an additional external cuesheet, then they need to open the REACT-image.cfg file(ALT+F3 in EAC) and then find the section for the image format that you have selected in the REACT.ini, like e.g. "wavpack_image" if you had selected ".wv" as image extension in the REACT.ini, or "flac_image" if you had selected ".flac" in the REACT.ini and then enter REM in front of this line : "MOVE /Y "@cuesheet@" %dest%", so it becomes : "REM MOVE /Y "@cuesheet@" %dest%". The reason that i don't want an external cuesheet, is that the two apps that i use for music playback and music writing(fb2k (http://www.foobar2000.org/) and Burrrn (http://www.burrrn.net/?page_id=4)), both supports embedded cuesheets perfectly and so i have no use for an external cuesheet in that case. Also, it just takes a single parameter with Synthetic Soul's ammended Tag.exe (http://www.synthetic-soul.co.uk/tag/) version to get the cuesheet extracted, or to use wvunpack.exe to decode the image to WAV and additionally extract the cuesheet.

Please note, that i'm not trying to persuade anyone into ditching the external cuesheet, but i'm only adding these instructions to help people out, which feel that they don't want the "by-default-made" external cuesheet either.
Title: REACT 2 Released
Post by: mc365mc on 2007-03-09 02:11:17
Unless you have amended the config REACT will be using the FLAC exe in your REACT\tools directory.


Yes I have overwritten Flac.exe and metaflac in the react\tools directory.

I even did this twice as I thought the download package I had was old.

The last package I got from the flac page linked in these forums once it was updated.

I also thought it might have been the libflac.dll but read that that is for decoding and does not need to be changed to ge the encoding benifits of v1.1.4

Maybe I'll delete it reboot then place the new files in the tools folder.




I will most likey need the external cuesheet becuase I use rockbox on my Ipod and it cant read embedded cuesheets, neither does XBMC which I use a a media server.
Title: REACT 2 Released
Post by: pholzmann on 2007-03-10 21:48:36
I use the dbPowerAmp AccurateRip plugin for EAC to ensure I'm getting good rips. I think the extra UI for that is unknown to REACT. If only we could add our own plugin-related handling!

Question: Does anyone use REACT together with AccurateRip?
Title: REACT 2 Released
Post by: mogorp on 2007-03-10 23:48:21
Yes,
I use react with accuraterip.  It works fine.  You set up accurate rip for eac.  Then you have to rip tracks not an image.  For this I changed trackshotval to F6 and rip test and copy in burst mode.  If accuraterip has the info from the cd great, if not I check the eac log for the same crc in test and copy.  I consider it a good rip if accuraterip says it is good or if the crc's of test and copy match.  The great thing about EAC and react is that I can rip with 2 different drives at the same time.
Title: REACT 2 Released
Post by: Bill02888 on 2007-03-17 17:34:16
Yes,
I use react with accuraterip.  It works fine.  You set up accurate rip for eac.  Then you have to rip tracks not an image.  For this I changed trackshotval to F6 and rip test and copy in burst mode.  If accuraterip has the info from the cd great, if not I check the eac log for the same crc in test and copy.  I consider it a good rip if accuraterip says it is good or if the crc's of test and copy match.  The great thing about EAC and react is that I can rip with 2 different drives at the same time.

Edit: Are you saying that AccurateRip won't work unless EAC rips tracks to individual WAV files? If ...

So what's the "best way" to get the best of all worlds? I've configured REACT 2 to rip to WavPack image files and to LAME MP3 track files, but I also want to get feedback from AccurateRip.

- Bill
Title: REACT 2 Released
Post by: Nik on 2007-03-18 00:21:47
Yes,
I use react with accuraterip.  It works fine.  You set up accurate rip for eac.  Then you have to rip tracks not an image.  For this I changed trackshotval to F6 and rip test and copy in burst mode.  If accuraterip has the info from the cd great, if not I check the eac log for the same crc in test and copy.  I consider it a good rip if accuraterip says it is good or if the crc's of test and copy match.  The great thing about EAC and react is that I can rip with 2 different drives at the same time.

Edit: Are you saying that AccurateRip won't work unless EAC rips tracks to individual WAV files? If ...

So what's the "best way" to get the best of all worlds? I've configured REACT 2 to rip to WavPack image files and to LAME MP3 track files, but I also want to get feedback from AccurateRip.

- Bill

Because I found my desktop drive/EAC combination inconsistent/unreliable, I need AccurateRip too.
And I want to rip CD into individual flac and mp3 files.
But I also want to have external cue sheets, so I can re-create audio CD from flac and cue sheets using Burrrn.
Is that two possible i.e. don't exclude each other?

I think that I read that I need to rip in track mode for AccurateRip to work
And also, I think that I read that I need to rip in image mode to produce cue sheets.
Title: REACT 2 Released
Post by: mogorp on 2007-03-18 02:52:46
You can rip in track mode and create cue sheets with your flac files.  This is not a problem.  Accuraterip will only work if you are ripping in track mode.
Title: REACT 2 Released
Post by: Nik on 2007-03-18 13:40:27
You can rip in track mode and create cue sheets with your flac files.  This is not a problem.  Accuraterip will only work if you are ripping in track mode.

Thanks,
Now I have to go throuhg all the settings to figure out how.  .
It's a shame that such a great piece of software doesn't have a GUI, for those basic settings, at least.
It seems that it's so flexoble that it can fulfill almost any demand.
Title: REACT 2 Released
Post by: mogorp on 2007-03-18 19:31:13
open Eac/react
Hit alt f2 and set CreateAllCuesheets=1

Go to your react folder and open REACT-track.cfg.

make sure this line is in your config under flac section

IF EXIST "@albumfile@.[mg].cue" COPY /Y "@albumfile@.[mg].cue"

I have the config below for flac tracks

IF NOT @Flac@==1 GOTO end_flac_tracks
   IF NOT EXIST %TrackDir_Flac% MKDIR %TrackDir_Flac%
   PUSHD %TrackDir_Flac%
      IF @various@==1 SET VA_tag=-T "album artist=@VA@"
      IF %embed_cover%==1 SET Cover_tag=--picture="|image/jpeg|||@cover@"
      ECHO ON
      @tools@\flac.exe @Opt_Flac@ %Cover_tag% %VA_tag% -T artist="@artist@" -T album="@album@" -T tracknumber="@track@/@numtracks@" -T title="@title@" -T date="@year@" -T genre="@genre@" -T comment="@comment@" -T encoded-by="%USERNAME%" -T encoding="Flac @Ver_Flac@ @Opt_Flac@" "@source@" -o "%TrackName%.flac"
      @ECHO OFF
      IF %have_cover%==1 IF NOT EXIST folder.jpg COPY "@cover@" folder.jpg
      IF EXIST "@albumfile@.[mg].cue" COPY /Y "@albumfile@.[mg].cue"
      COPY /Y "@eaclog@" "EAClog.txt"
   POPD
:end_flac_tracks

The other thing I find helpful is to rip in burst mode with test and copy.  This way if accuraterip doesn't not have the album, you can check the eac crc log.  If a track has the same crc for test and copy it is more likely correct (or consistently wrong).  To rip in burst mode you can edit the react ini file to TracksHotVal=+{F6}.  Then when you hit f4, it will rip in test and copy mode.  Hope this helps.
Title: REACT 2 Released
Post by: Sully on 2007-03-19 15:36:00
Per a response from SyntheticSoul, I am reposting a question I posted yesterday in the REACT v1 thread here (http://www.hydrogenaudio.org/forums/index.php?showtopic=35158&st=475&p=445927&#entry445927):

I've also put part of his reply here in quotes, on the off chance someone might be able to parse the settings I have, as well as help me make the leap to REACT 2.

Thanks (in advance) for your help!
Sully

Quote
I see no reason to change anything else (not that I've scrutinised your INI). If it worked before it should work now.

I guess I should tell you that you really should move to v2. However, as you know, I have not yet made the switch myself. That said, I am not getting much time to provide support on this forum at the moment anyway; you may do best to ask for help in the v2 thread switching this config to a v2 config. I really don't think it would be much effort.
Title: REACT 2 Released
Post by: gsa999 on 2007-03-21 16:59:15
my recommendation would be to amend the config to point to your 1.1.4 exe.


Hi can you tell me where I change this in the config. I also want to change LAME to point to my seperate LAME folder, rather than the ones in the tools folder.

Thanks
G
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-03-21 17:19:25
In your CFG file, change any instance of @tools@\flac.exe or @tools@\lame.exe to the path to your EXEs.

Remember to surround the path in quotes if it has spaces.

E.g.:

Code: [Select]
@tools@\flac.exe @Opt_Flac@ %RG_Flac% %Cover_tag% -T "%ArtistField%=@cdartist@" -T album="@album@" -T totaltracks="@numtracks@" -T date="@year@" -T genre="@genre@" -T comment="@comment@" -T encoded-by="%USERNAME%" -T encoding="Flac @Ver_Flac@ @Opt_Flac@" --tag-from-file="cuesheet=@cuesheet@" --tag-from-file="eaclog=@eaclog@" "@source@" -o "@image@"

to:

Code: [Select]
"C:\Program Files\FLAC\flac.exe" @Opt_Flac@ %RG_Flac% %Cover_tag% -T "%ArtistField%=@cdartist@" -T album="@album@" -T totaltracks="@numtracks@" -T date="@year@" -T genre="@genre@" -T comment="@comment@" -T encoded-by="%USERNAME%" -T encoding="Flac @Ver_Flac@ @Opt_Flac@" --tag-from-file="cuesheet=@cuesheet@" --tag-from-file="eaclog=@eaclog@" "@source@" -o "@image@"


If your FLAC and LAME EXEs are in the same place you could just change the @tools@ path in the INI file:

Code: [Select]
Tools=C:\Program Files\REACT2\tools

... to:
Code: [Select]
Tools=C:\Program Files\My Audio Tools


If FLAC.EXE and LAME.EXE are in a folder in PATH (like your Windows folder) you can just remove the @tools@\ bit, e.g.:

Code: [Select]
flac.exe @Opt_Flac@ %RG_Flac% %Cover_tag% -T "%ArtistField%=@cdartist@" -T album="@album@" -T totaltracks="@numtracks@" -T date="@year@" -T genre="@genre@" -T comment="@comment@" -T encoded-by="%USERNAME%" -T encoding="Flac @Ver_Flac@ @Opt_Flac@" --tag-from-file="cuesheet=@cuesheet@" --tag-from-file="eaclog=@eaclog@" "@source@" -o "@image@"
Title: REACT 2 Released
Post by: TheChipstar on 2007-03-22 09:20:17
I have read through some of the recent posts, but not all of the pages...was just wondering if the newest version "Album Art Downloader" is implimented in React?
Does the artist and album get looked up automatically or?

Thanks.
Title: REACT 2 Released
Post by: TheChipstar on 2007-03-22 10:00:40
Or is "Album Art Downloader" totally seperate form "CoverArt downloader"?
Title: REACT 2 Released
Post by: wraithdu on 2007-03-22 15:43:53
The original program was CoverDownloader.  Development was taken over by AlexVallet and one other individual, and was renamed AlbumArt Downloader.  The newest preview release, AlbumArt XUI, is again compatible with REACT2.  Just change the path in the react.ini file to point to your XUI installation.
Title: REACT 2 Released
Post by: dewey1973 on 2007-03-22 18:02:15
REACT seems to be ignoring my ImageNaming parameter.  I set the parameter to:

ImageNaming=$album$ [$year$]

but the files are being saved as if it is still using the default:

ImageNaming=$artist$ - [$year$] $album$

Can anyone tell me how to fix this?
Title: REACT 2 Released
Post by: Chicoughski on 2007-03-22 19:01:09
I was wondering if anyone knows if REACT can be run on an existing WAV/CUE image ripped by EAC? I have REACT running great for rips - configured to rip to FLAC, embed cue and art, then split and compress LAME files for everyday listening.  The thing is, I got this running AFTER having simply ripped a lot of discs to WAV image + CUE sheet with EAC, so I was wondering if I could run through all those WAV images with the same settings (FLAC archive image + LAME files), instead of re-ripping all of them.

Any help is appreciated, I'm not an expert with EAC...

Thanks
Title: REACT 2 Released
Post by: gsa999 on 2007-03-22 19:40:34
A few REACT2 questions for a new user

1. When using REACT, does it matter what settings are applied in EAC itself. Prior to using REACT I had profiles for MP3, FLAC, AAC etc. My question is whether it matters as to which one of these is actually loaded when I use REACT. Presumably the ini and cfg files will overwrite all the EAC compression settings.

2. Can the coverartdownloader be set so that you can browse the hard disk for the images. I have most of them already and want to use them as they are better quality than those on the search sites

3. I am a little lost about how to set up the cover art bits? I want to embed the image into my flac image, all my flac tracks, all my mp3 tracks AND copy it as folder.jpg to the folders where the individual flac and mp3 tracks are. How do I do this?

4. Can the format of @curdate@ be changed to UK date format?

5. I can't seem to get tracknumbers with a padded space (ie 01, 02, 03 etc) on MP3's using LAME. FLAC works fine. I am using the image cfg to generate tracks as well

6. What does this hotkey actually do - TracksHotVal=+{F5}

Thanks
G
Title: REACT 2 Released
Post by: Nik on 2007-03-23 01:18:31
open Eac/react
Hit alt f2 and set CreateAllCuesheets=1

Go to your react folder and open REACT-track.cfg.

make sure this line is in your config under flac section

IF EXIST "@albumfile@.[mg].cue" COPY /Y "@albumfile@.[mg].cue"

I have the config below for flac tracks

IF NOT @Flac@==1 GOTO end_flac_tracks
   IF NOT EXIST %TrackDir_Flac% MKDIR %TrackDir_Flac%
   PUSHD %TrackDir_Flac%
      IF @various@==1 SET VA_tag=-T "album artist=@VA@"
      IF %embed_cover%==1 SET Cover_tag=--picture="|image/jpeg|||@cover@"
      ECHO ON
      @tools@\flac.exe @Opt_Flac@ %Cover_tag% %VA_tag% -T artist="@artist@" -T album="@album@" -T tracknumber="@track@/@numtracks@" -T title="@title@" -T date="@year@" -T genre="@genre@" -T comment="@comment@" -T encoded-by="%USERNAME%" -T encoding="Flac @Ver_Flac@ @Opt_Flac@" "@source@" -o "%TrackName%.flac"
      @ECHO OFF
      IF %have_cover%==1 IF NOT EXIST folder.jpg COPY "@cover@" folder.jpg
      IF EXIST "@albumfile@.[mg].cue" COPY /Y "@albumfile@.[mg].cue"
      COPY /Y "@eaclog@" "EAClog.txt"
   POPD
:end_flac_tracks

The other thing I find helpful is to rip in burst mode with test and copy.  This way if accuraterip doesn't not have the album, you can check the eac crc log.  If a track has the same crc for test and copy it is more likely correct (or consistently wrong).  To rip in burst mode you can edit the react ini file to TracksHotVal=+{F6}.  Then when you hit f4, it will rip in test and copy mode.  Hope this helps.


Thanks.
It works (partialy).
Both cue sheet and log file are copied.
However, I noticed that cue sheet files are not processed i.e. they point to wav files instead of flac files.
Because I don't keep wav files, they are useless.
I know that I can process them manually using e.g. burrrn, but I want to automate things.
I thought that REACT will process them, similar to Flacattack so they can be used for re-creating audio CD.
Title: REACT 2 Released
Post by: phaedra on 2007-03-23 16:29:49
The newest preview release, AlbumArt XUI, is again compatible with REACT2

Thanks for getting that done.
Title: REACT 2 Released
Post by: Martin H on 2007-03-23 17:14:42
However, I noticed that cue sheet files are not processed i.e. they point to wav files instead of flac files.

Download Tangerine's cuemod.exe (http://tangerine.uw.hu/prog/cuemod_060406.rar) and place it into 'C:\Program Files\REACT2\tools'.

Open 'REACT-tracks.cfg' and add this line to the FLAC tracks section :
Code: [Select]
IF EXIST "@albumfile@.[mg].cue" MOVE /Y "@albumfile@.[mg].cue" "@basename@.cue"


Under that line, then add this line :
Code: [Select]
@tools@\cuemod.exe --cue "@basename@.cue" --f "%TrackName%.flac"


If you have added this line previously, then delete it(not in the .cfg originally) :
Code: [Select]
IF EXIST "@albumfile@.[mg].cue" COPY /Y "@albumfile@.[mg].cue"


Edit: Sorry, disregard this post. I was thinking about image ripping and image cuesheets, but this would not work for track cuesheets(atleast not in the present way and i don't think that you can use: "--f *.flac" with cuemod.exe). Again, sorry about this.
Title: REACT 2 Released
Post by: Nik on 2007-03-26 23:25:02

However, I noticed that cue sheet files are not processed i.e. they point to wav files instead of flac files.

Download Tangerine's cuemod.exe (http://tangerine.uw.hu/prog/cuemod_060406.rar) and place it into 'C:\Program Files\REACT2\tools'.

Open 'REACT-tracks.cfg' and add this line to the FLAC tracks section :
Code: [Select]
IF EXIST "@albumfile@.[mg].cue" MOVE /Y "@albumfile@.[mg].cue" "@basename@.cue"


Under that line, then add this line :
Code: [Select]
@tools@\cuemod.exe --cue "@basename@.cue" --f "%TrackName%.flac"


If you have added this line previously, then delete it(not in the .cfg originally) :
Code: [Select]
IF EXIST "@albumfile@.[mg].cue" COPY /Y "@albumfile@.[mg].cue"


Edit: Sorry, disregard this post. I was thinking about image ripping and image cuesheets, but this would not work for track cuesheets(atleast not in the present way and i don't think that you can use: "--f *.flac" with cuemod.exe). Again, sorry about this.

No problem.
Thanks for the try  .
I can't believe that nobody does cue sheets in track mode.
Somene must have come to the solution.
I need track mode to be able to use AccurateRip.
Title: REACT 2 Released
Post by: Nik on 2007-03-26 23:36:42
I was fed up looking for descriptions for parameters in REACT.ini, so I put them all in a file as comments.
During the process I learned them  , but some newbies might find them useful.
Even me in a few months time.
It replaces the content of original REACT.ini

Code: [Select]
; This file defines variables used by .cfg files
; In [User...] sections any KEY=VALUE defines a variable @KEY@,
; which gets expanded to VALUE in the .cfg files.
; Furter, $KEY$ will be file friendly version - illegal characters for creating file names will
; be replaced with legal ones using scheme defined in variable Sla_Bks_Col_Qst_Bar_Quo_Ast_Lt_Gt

[Settings]
Version=2.0
ImageExt=wav
; image mode only, extension for the compressed image file + cue file
; (e.g. flac, wv or mp3). Set to wav for no image file
ImageNaming=$artist$ - [$year$] $album$
; image mode only, naming for image files and their cuesheets. Available variables are:
; $album$, $artist$, $year$, $genre$ and $freedb$ and are populated from EAC textboxes.
ImageHotKey={F10}
; defines hotkey for image mode
; activates menu command Action/Copy Image and Create Cue Sheet.../Uncompressed in EAC
TracksHotKey={F4}
; defines hotkey for track mode
; activates Shift[TracksHotVal] in EAC (Shift+F5 by default)
; and optionally coverart downloader.
TracksHotVal=+{F5}
; if you want TracksHotKey to activate Shift+F6 instead of Shift+F5 in EAC
; then change +{F5} into +{F6}
VA=Various Artists
; variable describing various artists.
; @CDARTIST@ will hold this value for Various Artists album
; @CDARTIST@ = @artist@ for single artist CDs
CreateAllCuesheets=0
; create all 4 types of cuesheets in extraction folder defined in EAC
; cuesheet base name can be accessed using @albumfile@ variable
RunCoverDownloader=1
; if not 0 runs albumart.exe, cover art downloading application
; 1 - makes albumart wait until it's closed before starting copying in Tracks mode
; 2 - makes albumart wait until it's closed before starting copying in both modes
; 3 - makes albumart wait until it's closed before starting copying in Image mode
; 4 - doesn't wait
CoverDownloader=C:\Program Files\REACT2\coverdownloader\albumart.exe
; path to cover art downloading application executable
EAC=C:\Program Files\Exact Audio Copy\EAC.exe
; path to EAC executable
Tools=C:\Program Files\REACT2\tools
; path to tools folder
MinimizeCompressionWindow=1
;
ProcessPriority=1
;
Sla_Bks_Col_Qst_Bar_Quo_Ast_Lt_Gt=-|-|-||!|'|#|[|]
; character replacing scheme for replacing characters in @variable@ type variables
; which cannot be used for creating file names, thus creating $variable$ type variables
; EAC uses scheme:
; (Slash) / => ,
; (Backslash) \ => cuts off everything after
; (Colon) : => -
; (Questionmark) ? => (space)
; (Bar or pipe) | =>
; (Double quotes) " => '
; (Asterisk) * => x
; (Less then) < => [
; (Greater then) > => ]

[UserTrackFormats]
Flac=0 ; create flac files (0-no, 1-yes)
Wavpack=1 ; create wavpack files (0-no, 1-yes)
LameMP3=1 ; create mp3 files (0-no, 1-yes)
NeroAac=0 ; create Nero AAC files (0-no, 1-yes)
iTunesAac=0 ; create iTunes AAC files (0-no, 1-yes)
OggEnc2=0 ; create Ogg Vorbis files (0-no, 1-yes)

[UserOutputNames]
OutRoot=@mymusic@\EAC
; music root folder, common for all formats.
; @mymusic@ variable contains path to My Music folder in Windows (usually under My Documents)
ImageDir_Flac=@OutRoot@\FLAC-images\$cdartist$
; folder containing FLAC image files
ImageDir_Wavpack=@OutRoot@\WV-images\$cdartist$
; folder containing Wavepack image files
ImageDir_MP3=@OutRoot@\MP3-images\$cdartist$
; folder containing mp3 image files
TrackDir_Flac=@OutRoot@\FLAC\$cdartist$\[$year$] $album$
; folder containing flac tracks
TrackDir_Wavpack=@OutRoot@\WV\$cdartist$\[$year$] $album$
; folder containing wavpack tracks
TrackDir_MP3=@OutRoot@\MP3\$cdartist$\[$year$] $album$
; folder containing mp3 tracks
TrackDir_AAC=@OutRoot@\AAC\$cdartist$\[$year$] $album$
; folder containing AAC tracks
TrackDir_OGG=@OutRoot@\OGG\$cdartist$\[$year$] $album$
; folder containing ogg tracks
TrackName_SA=$track$ - $title$
; file names for single artist albums
TrackName_VA=$track$ - $title$ [$artist$]
; file names for various artists albums
TrackName_SA_acdir=$n - $~t
; file names for single artist albums, when tracks are created from image file
; using acdir. Image mode only
TrackName_VA_acdir=$n - $~t [$~a]
; file names for various artists albums, when tracks are created from image file
; using acdir. Image mode only

[UserSettings]
Debug=0
; 0 or 1. If 1 REACT will pause before exiting, so it's possible to examine console output
Comment=Created with EAC/REACT2, @curdate@
; Overrides the default @comment@ variable taken from EAC.
; You can comment it if you want to use value from EAC
EmbedCover=1
; 0-no, 1-yes. Embed cover pictures into the audio files.
ReplayGain=1
; Enables Replay Gain calculation and tagging
ApplyAlbumGain=1
; Applies Album Gain
AdjustAlbumGain_dB=+3.0
; Default value for Replay Gain adjustment is 89dB. Here you can adjust it to some other
; value, relative to the default one (e.g. make them sound louder for iPod)
AddCuesheetAG=0
; Adds Album gain and Album peak values to cuesheet as REM lines. Using WaveGain
UseWaveGainAG=0
; Use WaveGain to calculate Album Gain values on the wav image file. Values will be
; transferred to the various compressed formats, rather then being calculated with other tools.
Opt_Flac=-5 -f
; command line options for flac encoder
Opt_Wavpack=-hmy
; command line options for wavpack encoder
Opt_LameMP3=-V5 --vbr-new --noreplaygain --nohist
; command line options for Lame mp3 encoder
Opt_NeroAac=-lc -q 0.21
; command line options for Nero AAC encoder
Opt_iTunesAac=-d -s 2000
; command line options for iTunes AAC encoder
Opt_OggEnc2=-q 3.0
; command line options for Ogg encoder
Ver_Flac=1.1.3
; flac encoder version
Ver_Wavpack=4.40
; wavpack encoder version
Ver_LameMP3=3.97
; Lame mp3 encoder version
Ver_NeroAac=1.0.0.2
; nero AAC encoder version
Ver_OggEnc2=2.83 Lancer aoTuV b5
; Ogg encoder version

Probably it could be useful to put it in original package if author checks the content and someone tests it properly.
I tested it for me and it seems that it works.
I changed a few parameters to suit me and it still works.
Title: REACT 2 Released
Post by: feelgood on 2007-03-27 11:24:02
I was wondering if anyone knows if REACT can be run on an existing WAV/CUE image ripped by EAC? I have REACT running great for rips - configured to rip to FLAC, embed cue and art, then split and compress LAME files for everyday listening.  The thing is, I got this running AFTER having simply ripped a lot of discs to WAV image + CUE sheet with EAC, so I was wondering if I could run through all those WAV images with the same settings (FLAC archive image + LAME files), instead of re-ripping all of them.

I'm in a similar situation. Please, let us know if there's a solution, thanks!
Title: REACT 2 Released
Post by: gsa999 on 2007-03-27 13:38:30
A few REACT2 questions for a new user

1. When using REACT, does it matter what settings are applied in EAC itself. Prior to using REACT I had profiles for MP3, FLAC, AAC etc. My question is whether it matters as to which one of these is actually loaded when I use REACT. Presumably the ini and cfg files will overwrite all the EAC compression settings.

2. Can the coverartdownloader be set so that you can browse the hard disk for the images. I have most of them already and want to use them as they are better quality than those on the search sites

3. I am a little lost about how to set up the cover art bits? I want to embed the image into my flac image, all my flac tracks, all my mp3 tracks AND copy it as folder.jpg to the folders where the individual flac and mp3 tracks are. How do I do this?

4. Can the format of @curdate@ be changed to UK date format?

5. I can't seem to get tracknumbers with a padded space (ie 01, 02, 03 etc) on MP3's using LAME. FLAC works fine. I am using the image cfg to generate tracks as well

6. What does this hotkey actually do - TracksHotVal=+{F5}

Any one have any thoughts for me on these questions. Nos 2-5 in particular. Thanks
Title: REACT 2 Released
Post by: wraithdu on 2007-03-27 17:07:46

I was wondering if anyone knows if REACT can be run on an existing WAV/CUE image ripped by EAC? I have REACT running great for rips - configured to rip to FLAC, embed cue and art, then split and compress LAME files for everyday listening.  The thing is, I got this running AFTER having simply ripped a lot of discs to WAV image + CUE sheet with EAC, so I was wondering if I could run through all those WAV images with the same settings (FLAC archive image + LAME files), instead of re-ripping all of them.

I'm in a similar situation. Please, let us know if there's a solution, thanks!

All EAC does when it is finished ripping the WAV/CUE files is pass a set or parameters to the REACT.exe.  Take a look at the variables in your External Compression options and you should be able to work out the actual commandline to send to REACT.exe manually (well at least I think so, there's the chance that REACT does more than that when launching EAC, but it's worth a shot).
Title: REACT 2 Released
Post by: Martin H on 2007-03-28 15:34:19
1. [...] My question is whether it matters as to which one of these is actually loaded when I use REACT. Presumably the ini and cfg files will overwrite all the EAC compression settings.

Yes, as you said, then REACT upon installation asks you if you want to setup REACT to work with EAC and if you select 'Yes', then some EAC options is adjusted and the compression options ammended. This then means that you may not alter the compression options afterwards(and some of the EAC options), as else REACT will not work correctly, but you always have the option of reconfiguring REACT with EAC again by pressing : 'CTRL+F2'.
Quote
5. I can't seem to get tracknumbers with a padded space (ie 01, 02, 03 etc) on MP3's using LAME.

You need to download metamp3 v0.92b4 from this page : http://www.hydrogenaudio.org/forums/index....showtopic=49751 (http://www.hydrogenaudio.org/forums/index.php?showtopic=49751)

Then you also need an external manifest file to get the beta to run, so follow the instructions from this previous post of mine : http://www.hydrogenaudio.org/forums/index....st&p=478005 (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=49751&view=findpost&p=478005)
Quote
6. What does this hotkey actually do - TracksHotVal=+{F5}
It defines what the 'F4' hotkey is set to i.e. now it's set to : 'Shift+F5', which is 'Copy tracks - Compressed', but you can also change it to instead : '+{F6}', which then will rip the tracks in test & copy mode(Shift+F6).

@Chicoughski

No, you can't run REACT on images/tracks that's allready ripped, but you can use the command-line tools manually to do those things - just like REACT would have done.
Title: REACT 2 Released
Post by: mRuss on 2007-03-29 02:28:55
I am having a problem with REACT.  The metamp3 program is not tagging my files.  My error message is "The system cannot execute the specified program". 

{edit}

I figured out that the VC++ runtime files need to be installed in order for the metamp3 tagger to function; without it the above error message occurs.  This information should be included in a readme file, since metamp3 is included with REACT.

Here is a link for the VC++ runtime files.
http://www.microsoft.com/downloads/details...;displaylang=en (http://www.microsoft.com/downloads/details.aspx?familyid=32BC1BEE-A3F9-4C13-9C99-220B62A191EE&displaylang=en)

Other than this problem, REACT is working great for me.  Thanks for the great software.

Russ.
Title: REACT 2 Released
Post by: gsa999 on 2007-03-30 23:22:42
You need to download metamp3 v0.92b4 from this page : http://www.hydrogenaudio.org/forums/index....showtopic=49751 (http://www.hydrogenaudio.org/forums/index.php?showtopic=49751)

Then you also need an external manifest file to get the beta to run, so follow the instructions from this previous post of mine : http://www.hydrogenaudio.org/forums/index....st&p=478005 (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=49751&view=findpost&p=478005)


Hi,  I have downloaded metamp3 v0.92b5 (not b4 as you suggest as I can't find this anymore) and now I am not getting any tags at all added to my mp3 files via REACT.
I think its something to do with the --pict parameter not appearing in the metamp3.txt file. Presumably I now need to make changes to the REACT config files to get all this working again since the metamp3 command line parameters have changed - I think its the %Cover_tag% and possibly the %VA-tag% fields that need changing, but what do they need changing to and does the mp3 image bit need to change as well.
I have checked that metamp3 does work by adding an artist without using REACT.
Title: REACT 2 Released
Post by: lipidicman on 2007-04-05 19:25:47
Thanks to some encouragement from Synthetic Soul I have braved my first day with REACT.  I know have it doing everything I need apart from a few things and I was advised to post here rather than in my 'Help' thread.

I am managing to modify the REACT files but I am a batchfile newbie

I unREMed the logfile line and added a cuesheet command to REACT-track.cfg to move the log and cuesheet

IF @Flac@==1 (
      PUSHD %TrackDir_Flac%
         IF %add_rg%==1 @tools@\Glob.exe -v -c @tools@\metaflac.exe %RG_MetaFlac% *.flac
         COPY /Y "@eaclog@" "@album@ EAClog.txt"
         COPY /Y "@albumfile@.[mg].cue" "@album@ (noncmpl).cue"
      POPD
   )
   
This is great, as react also creates the cuesheet for me.  However react insists on %D in the EAC naming scheme whereas I do not use the artist name in the FLAC/MP3 names.  Therefore the cuesheet FILE entries do not match the FLAC (or extracted WAVS).  I can use a text editor to correct the cuesheet (searching for '"* -- ' IOW the part of the filename to the first divider)  Can I script this within react?.

I manually add the accuraterip info to the log, I am considering delaying the copying of the logfile so I can add the accrip info to the temporary log and have react then move it to the FLAC and MP3 directories.  My question is can I make an entry in REACT-track.cfg which would put up a prompt reminding the user to copy the accrip info, then take the clipboard contents and append it to the temporary logfile before duplicating this to FLAC and MP3?

I had to change the FLAC tag to '-T tracknumber="@track@" -T totaltracks="@numtracks@"' rather than use 1/18 (with lame these end up in different fields but not with the default for flac)  With the default foobar could not pad the numbers

Finally, I removed the +3.0dB from the ini file, was this right? (the author said it was to get some extra volume on his portable?).  So I have AdjustAlbumGain_dB=+0.0.  I haven't used replaygain before, I understand it does not change the actual FLAC, but I might like the MP3 file to be modified (can an ipod shuffle understand replaygain?  I can create the MP3 after if REACT does not permit this)

Thanks in advance
L
Title: REACT 2 Released
Post by: lipidicman on 2007-04-08 08:32:30
Can anyone confirm the replaygain settings?  I am ripping to FLAC tracks and (sometimes) LAME mp3

ReplayGain     Enable/Disable ReplayGain calculation and tagging.
I want this on to add tags to my flacs and mp3? Will this setting alone RG as an album?

ApplyAlbumGain    Apply the album gain to the files, so they are played back with a consistent volume across the albums on every player.
So will this actually adjust the mp3, not just tag it (but leave the flac as is with RG tags?).  If this is off will the flac tracks be RGed as an album?
Quote
@Meddler: You are correct. ApplyAlbumGain should probably have been set to 0 by default. Note that 'ApplyAlbumGain' is only for lossy formats. FLAC and WAVPACK are always tagged only.
Ok, so...
Quote
If you don't want to apply album gain, set ApplyAlbumGain=0 in the REACT.ini file.
If you don't want replay gain tags at all, set ReplayGain=0 in the REACT.ini file.
This is what is confusing me, I want album gain, but not to 'apply' it.  By 'apply' I guess you mean directly to the files

AdjustAlbumGain_dB    If you want to adjust the album gain from 89.0 dB when applying to the audio, set adjustment in dB here.
Is this for the flac file tags, or just the adjusted mp3 as questioned above.

AddCuesheetAG    Add Album gain/Album peak values to the cuesheet as REM lines. This implies that WaveGain is ran.
I have tracks and a cusheet, but I guess I do not need this

UseWaveGainAG    Instruct to use WaveGain to calculate AlbumGain values on the wav image file. The values will be transferred to the various compressed formats, rather than calculating them via other tools. If ApplyAlbumGain=1, LAME and OggEnc2 will use the --scale option to apply the album gain scale factor calculated by WaveGain.
Again, not needed for individual tracks?
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-04-08 08:55:08
I don't use ReplayGain, so I can't really answer your RG questions.

This is great, as react also creates the cuesheet for me. However react insists on %D in the EAC naming scheme whereas I do not use the artist name in the FLAC/MP3 names. Therefore the cuesheet FILE entries do not match the FLAC (or extracted WAVS). I can use a text editor to correct the cuesheet (searching for '"* -- ' IOW the part of the filename to the first divider) Can I script this within react?.
You could do what you need using SED (http://gnuwin32.sourceforge.net/packages/sed.htm), but it's a tool that I'm not familiar with, so I can't really advise any further.

I manually add the accuraterip info to the log, I am considering delaying the copying of the logfile so I can add the accrip info to the temporary log and have react then move it to the FLAC and MP3 directories. My question is can I make an entry in REACT-track.cfg which would put up a prompt reminding the user to copy the accrip info, then take the clipboard contents and append it to the temporary logfile before duplicating this to FLAC and MP3?
You can easily get the script to display a reminder and pause, but I don't know about copying rfom the clipboard.  If the info was all on one line you could enter it at a prompt, but I suspect it isn't.  To pause with a message just add the lines:

Code: [Select]
ECHO Please copy the accuraterip info to the logfile and then press any key.
PAUSE>NUL

Finally, I removed the +3.0dB from the ini file, was this right? (the author said it was to get some extra volume on his portable?). So I have AdjustAlbumGain_dB=+0.0. I haven't used replaygain before, I understand it does not change the actual FLAC, but I might like the MP3 file to be modified (can an ipod shuffle understand replaygain? I can create the MP3 after if REACT does not permit this)
I increase files to 97dB for my Creative Zen, as I found quiter albums needed too much volume, and many of my albums were at that sort of level in the first place.  For my car stereo I use 89dB.

I think your subsequent questions mean that you have a better understanding of RG, so I'll not say much.  Normally RG is used to just tag the files so that an RG-aware player will adjust the level accordingly.  However, REACT will also let you apply the gain to the files, so that the volume is physically changed, and any player will play at the new volume.
Title: REACT 2 Released
Post by: lipidicman on 2007-04-08 10:00:55
Thanks for the tip about SED, I am looking into it now.

I really don't know much about replaygain.  I like the idea of having it in the tags as I can easily tell foobar to ignore it.  I also quite like the idea of having my mp3 files actually adjusted so they play ok on my shuffle.

Now I am settling on having react create my flacs and using foobar to make the mp3 as I need them.  Can convert create mp3 with the actual levels adjusted using the flac tags (or by calculating them itself)
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-04-08 10:45:16
I'm a little strapped for time at the mo, so I probably won't get chance to action, but my current thought is this (given that I'd like a solution that anyone can use):
This should create a process that anyone can easily use to amend the cuesheet to their requirements.

If you aren't successful by the time I can find some time I'll have a go myself.
Title: REACT 2 Released
Post by: lipidicman on 2007-04-08 11:00:36
  • On every track write a SED command, to change that track's FILE reference in the cuesheet, to a text file (sed-commands.txt).
  • Use REACT's $ tokens to create the find/replace values.
  • On the last track use SED -f sed-commands.txt <old >new to perform the find and replaces (see tutorial (http://www.grymoire.com/Unix/Sed.html#uh-16)).



I don't understand the first line.  I think I am thinking of a solution that would only work for me, I wanted to test the idea in a very simple way.  I need to remove "Pearl Jam  -- " etc as REACT insists on %D in the EAC naming, but my react naming does not have the artist.  I thought I could use "@artist@ -- " in the SED command to achieve this.  I would then issue a SED command with .wav for .flac.
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-04-08 11:48:35
Not everyone wants to just remove the first part, so I would like a solution that worked for any replacement format.

On thinking there is no need to create a text file with all the commands, you may as well just run SED for each track.

I think you could use something like:

Code: [Select]
SED 's/$artist$ \-\- \(.*\)\.wav/\1\.flac/' <old.cue >new.cue

..but that's untested, and likely only 90% there!
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-04-08 12:30:39
I've just managed to do a quick test with a dummy "cuesheet" and by George I think I was 100% right!

Therefore, instead of:

Code: [Select]
COPY /Y "@albumfile@.[mg].cue" "@album@ (noncmpl).cue"

... you could try:

Code: [Select]
@tools@\SED 's/$artist$ \-\- \(.*\)\.wav/\1\.flac/' <"@albumfile@.[mg].cue" >"@album@ (noncmpl).cue"

(put SED.EXE in your tools directory)
Title: REACT 2 Released
Post by: lipidicman on 2007-04-08 17:37:27
Thank you very much SS.  I will give that a shot when I get home.

edit: I haven't tried this and I understand most of it (had a look at SED earlier)
I followed the tutorial with: sed 's/day/night/' <old >new
and even
sed 's_/usr/local/bin_/common/bin_' <old >new
Some people use commas, others use the "|" character. Pick one you like. As long as it's not in the string you are looking for, anything goes not sure I get why this works

but yours:
's/$artist$ \-\- \(.*\)\.wav/\1\.flac/'

I get the s/ and $artist$
but
why \-\- for --
and
(.*\) has me lost

I need to replace '$artist$ -- ' with *nothing*, zip zilch
also shouldn't it end with '.wav/.flac/'

Don't take this the wrong way.  I'm not saying it wont work.  I am asking why it does!

edit2: Just read some more of the tutorial and delved into regular expressions.  My brain hurts.  I find the slashes very unreadable.  I don't follow what \1 is for (this doesn't really matter for now) but why cant I simply use '.wav/.flac/'?

edit3: sorry about the mess I tried
SED -e "s/Pearl Jam -- //" -e "s/.wav/.flac/" <"test.txt" >"testoutput.txt"
and this worked
so what do you think of
@tools@\SED -e "s/$artist$ -- //" -e "s/.wav/.flac/" <"@albumfile@.[mg].cue" >"@album@ (noncmpl).cue"
To me this is more readable and seems to work
Oh, and thanks again!
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-04-08 22:00:57
I've run further tests, and come up with a solution that would work for any set-up.

I forgot why I originally suggested using SED's -f switch, and that is so that we can easily run multiple replacements on the cuesheet.  I think that often we could just do one replace, to remove the artist (as per lipidicman), or both artist and album, but it's useful to be able to replace the standard "$artist$ - $album$ - $track$ - $title$.wav" format with anything we want, which may require a specific replace for each track.

The process involves writing a SED command for each track to a temporary text file, and then running them all in one go.

The two key lines are:

Code: [Select]
ECHO s/FILE "$artist$ \- $album$ \- $track$ \- $title$\.wav"/FILE "$track$ \- $title$\.flac"/>>sedlist.txt
This line will be run for each track, and writes the SED command to the temporary file "sedlist.txt".  The example above replaces "$artist$ - $album$ - $track$ - $title$.wav"  with "$track$ - $title$.flac" .  Notice that the hypens and file delimiter are all escaped with a backslash.

Code: [Select]
@tools@\SED -f sedlist.txt <"@albumfile@.[mg].cue" >"$cdartist$ - $album$.cue"
The call to SED  is only made at the end.  It runs the SED commands in sedlist.txt on  "@albumfile@.[mg].cue"  and outputs the result to "$cdartist$ - $album$.cue".

I had to comment out the codepage change (CHCP 1252) to achieve this, as SED was writing some  characters shit at the beginning of the new cuesheet.

Add in a line to delete "sedlist.txt" after the call to SED and you're basically there.

Here is my test config for reference (MP3 used):

Code: [Select]
@ECHO OFF
REM CHCP 1252
TITLE @track@/@numtracks@ - "@album@"

REM Copyright © Tycho, 2006
REM
REM ** Create compressed audio tracks from ripped .wav tracks.
REM **
REM ** You may consider using image mode (F10)
REM ** as it supports creating tracks via acdir.exe,
REM ** and post-processing will always work (see below).
REM **
REM ** Flac requires flac.exe/metaflac.exe (v1.1.3)
REM ** NeroAac requires NeroAacEnc.exe/NeroAacTag.exe/AacGain.exe.
REM ** OggEnc2 requires OggEnc2.exe/VorbisGain.exe.
REM **
REM ** I prefer applying album gain 92dB to get a reasonable
REM ** volume for my DAP. The RG tags are still relative
REM ** to 89dB SPL, i.e. album gain will be about -3.0dB.


REM ============== Begin Main Script ==================


IF @Debug@==1 ECHO ON

SET TrackDir_Flac="@TrackDir_Flac@"
SET TrackDir_Wavpack="@TrackDir_Wavpack@"
SET TrackDir_MP3="@TrackDir_MP3@"
SET TrackDir_AAC="@TrackDir_AAC@"
SET TrackDir_OGG="@TrackDir_OGG@"

IF @various@==0    SET TrackName=@TrackName_SA@
IF @various@==1    SET TrackName=@TrackName_VA@

SET have_cover=0
SET embed_cover=0

IF EXIST "@cover@" (
    SET have_cover=1
    SET embed_cover=@EmbedCover@
)

REM ---- Track ----

IF NOT @Flac@==1 GOTO end_flac_tracks
    IF NOT EXIST %TrackDir_Flac% MKDIR %TrackDir_Flac%
    PUSHD %TrackDir_Flac%
        IF @various@==1 SET VA_tag=-T "album artist=@VA@"
        IF %embed_cover%==1 SET Cover_tag=--picture="|image/jpeg|||@cover@"
        ECHO ON
        @tools@\flac.exe @Opt_Flac@ %Cover_tag% %VA_tag% -T artist="@artist@" -T album="@album@" -T tracknumber="@track@/@numtracks@" -T title="@title@" -T date="@year@" -T genre="@genre@" -T comment="@comment@" -T encoded-by="%USERNAME%" -T encoding="Flac @Ver_Flac@ @Opt_Flac@" "@source@" -o "%TrackName%.flac"
        @ECHO OFF
        IF %have_cover%==1 IF NOT EXIST folder.jpg COPY "@cover@" folder.jpg
    POPD
:end_flac_tracks


IF NOT @Wavpack@==1 GOTO end_wavpack_tracks
    IF NOT EXIST %TrackDir_Wavpack% MKDIR %TrackDir_Wavpack%
    PUSHD %TrackDir_Wavpack%
        IF @various@==1 SET VA_tag=-w "album artist=@VA@"
        ECHO ON
        @tools@\wavpack.exe @Opt_Wavpack@ %VA_tag% -w artist="@artist@" -w album="@album@" -w track="@track@/@numtracks@" -w title="@title@" -w year="@year@" -w genre="@genre@" -w comment="@comment@" -w encodedby="%USERNAME%" -w encodersettings="Wavpack @Ver_Wavpack@ @Opt_Wavpack@" "@source@" "%TrackName%.wv"
        @ECHO OFF
        IF %have_cover%==1 IF NOT EXIST folder.jpg COPY "@cover@" folder.jpg
        TITLE @track@/@numtracks@ - "@album@"
    POPD
:end_wavpack_tracks


IF NOT @LameMP3@==1 GOTO end_lame_tracks
    IF NOT EXIST %TrackDir_MP3% MKDIR %TrackDir_MP3%
    PUSHD %TrackDir_MP3%
        IF @various@==1 SET VA_tag=--user-text "[album artist]@VA@" --frame "TPE2:@VA@"
        IF %embed_cover%==1 SET Cover_tag=--pict "{3}@cover@"
        ECHO ON
        @tools@\lame.exe @Opt_LameMP3@ "@source@" "%TrackName%.mp3"
        @tools@\metamp3.exe %Cover_tag% %VA_tag% --artist "@artist@" --album "@album@" --track @track@/@numtracks@ --title "@title@" --year "@year@" --genre "@genre@" --comment "@comment@" --frame TENC:"%USERNAME%" --frame TSSE:"LAME @Ver_LameMP3@ @Opt_LameMP3@" "%TrackName%.mp3"
        ECHO s/FILE "$artist$ \- $album$ \- $track$ \- $title$\.wav"/FILE "$track$ \- $title$\.mp3"/>>sedlist.txt
        @ECHO OFF
        IF %have_cover%==1 IF NOT EXIST folder.jpg COPY "@cover@" folder.jpg
       
    POPD
:end_lame_tracks


IF NOT @iTunesAac@==1 GOTO end_itunes_aac_tracks
    IF NOT EXIST %TrackDir_AAC% MKDIR %TrackDir_AAC%
    PUSHD %TrackDir_AAC%
        IF %embed_cover%==1 SET Cover_tag=-r "@cover@"
        ECHO ON
        @tools@\iTunesEncode.exe @Opt_iTunesAac@ -e "AAC Encoder" %Cover_tag% -x @various@ -a "@artist@" -l "@album@" -n "@track@" -m "@numtracks@" -t "@title@" -y "@year@" -g "@genre@" -c "@comment@" -i "@source@" -o "%TrackName%.m4a"
        @ECHO OFF
        IF %have_cover%==1 IF NOT EXIST folder.jpg COPY "@cover@" folder.jpg
    POPD
    GOTO end_nero_aac_tracks
:end_itunes_aac_tracks

IF NOT @NeroAac@==1 GOTO end_nero_aac_tracks
    IF NOT EXIST %TrackDir_AAC% MKDIR %TrackDir_AAC%
    PUSHD %TrackDir_AAC%
        IF @various@==1 SET VA_tag=--albumArtist "@VA@" --compilation true
        IF %embed_cover%==1 SET Cover_tag=--artwork "@cover@"
        ECHO ON
        @tools@\neroAacEnc.exe @Opt_NeroAac@ -if "@source@" -of "%TrackName%.m4a"
        @tools@\AtomicParsley.exe "%TrackName%.m4a" -o REACT_tmp.m4a %Cover_tag% %VA_tag% --artist "@artist@" --album "@album@" --tracknum "@track@/@numtracks@" --title "@title@" --year "@year@" --genre "@genre@" --comment "@comment@" --encodingTool "neroAacEnc @Ver_NeroAac@ @Opt_NeroAac@"
        @ECHO OFF
        MOVE /Y REACT_tmp.m4a "%TrackName%.m4a"
        IF %have_cover%==1 IF NOT EXIST folder.jpg COPY "@cover@" folder.jpg
    POPD
:end_nero_aac_tracks


IF NOT @OggEnc2@==1 GOTO end_oggenc_tracks
    IF NOT EXIST %TrackDir_OGG% MKDIR %TrackDir_OGG%
    PUSHD %TrackDir_OGG%
        IF @various@==1 SET VA_tag=-c "album artist=@VA@"
        ECHO ON
        @tools@\oggenc2.exe @Opt_OggEnc2@ %VA_tag% -c artist="@artist@" -c album="@album@" -c tracknumber="@track@/@numtracks@" -c title="@title@" -c date="@year@" -c genre="@genre@" -c comment="@comment@" -c encoded-by="%USERNAME%" -c encoding="OggEnc @Ver_OggEnc2@ @Opt_OggEnc2@" "@source@" -o "%TrackName%.ogg"
        @ECHO OFF
        IF %have_cover%==1 IF NOT EXIST folder.jpg COPY "@cover@" folder.jpg
    POPD
:end_oggenc_tracks


REM ** Delete the source .wav
DEL "@source@"


REM ---- Post-processing ----


rem ** Scan and compute ReplayGain and add cover picture for supported formats.
rem ** NB: The following will only work if at least the last track is selected,
rem ** and it is a regular audio track.

IF NOT @track@==@numtracks@ GOTO end_post_process

    SET add_rg=@ReplayGain@
    SET aac_enc=@NeroAac@
    IF @iTunesAac@==1 SET aac_enc=1

    IF NOT @ReplayGain@==1 GOTO end_RG
        SET RG_MetaFlac=--add-replay-gain
        SET RG_MetaMP3=--replay-gain
    :end_RG

    IF NOT @ApplyAlbumGain@==1 GOTO end_apply_AG
        SET RG_MetaMP3=--apply-gain album@AdjustAlbumGain_dB@
        SET RG_AacGain=/a /o /c /d @AdjustAlbumGain_dB@
        SET add_rg=1
    :end_apply_AG


    REM ** Audio Formats:

    IF @Flac@==1 (
        PUSHD %TrackDir_Flac%
            IF %add_rg%==1 @tools@\Glob.exe -v -c @tools@\metaflac.exe %RG_MetaFlac% *.flac
            REM COPY /Y "@eaclog@" "EAClog.txt"
        POPD
    )

    IF @Wavpack@==1 (
        PUSHD %TrackDir_Wavpack%
            IF %add_rg%==1 @tools@\wvgain.exe -a *.wv
            REM COPY /Y "@eaclog@" "EAClog.txt"
        POPD
    )

    IF @LameMP3@==1 (
        PUSHD %TrackDir_MP3%
            IF %add_rg%==1 @tools@\metamp3.exe %RG_MetaMP3% *.mp3
            REM COPY /Y "@eaclog@" "EAClog.txt"
            REM COPY /Y "@albumfile@.[mg].cue" "@album@ (noncmpl).cue"
            @tools@\SED -f sedlist.txt <"@albumfile@.[mg].cue" >"$cdartist$ - $album$.cue"
            DEL sedlist.txt
        POPD
    )

    IF %aac_enc%==1 (
        PUSHD %TrackDir_AAC%
            IF %add_rg%==1 @tools@\aacgain.exe %RG_AacGain% *.m4a > "gainlog.txt"
            REM COPY /Y "@eaclog@" "EAClog.txt"
        POPD
    )

    IF @OggEnc2@==1 (
        PUSHD %TrackDir_OGG%
            IF %add_rg%==1 @tools@\vorbisgain.exe -a *.ogg
            REM COPY /Y "@eaclog@" "EAClog.txt"
        POPD
    )


    REM ** Cleanup

    DEL "@eaclog@"
    DEL "@albumfile@.[*].cue"
    DEL "@cover@"

:end_post_process


REM ================ End Main Script ===================


IF @Debug@==1 (
    PAUSE
    EXIT
)

REM ** Delete this .bat file:
DEL %0
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-04-08 22:20:53
but yours:
's/$artist$ \-\- \(.*\)\.wav/\1\.flac/'

I get the s/ and $artist$
but
why \-\- for --
and
(.*\) has me lost
"-" is a regular expression special character, used to provide ranges, like "a-z", so I thought it needed escaping, thus "\-" instead of "-".  I'm surprised it doesn't.  NB: escaping is essentially preceding any special character with a backslash to state that you want a string literal, instead of the normal special meaning. Therefore "-" becomes "\-", "." becomes "\.", etc.

"\(.*\)" basically means grab anything else [.*] and remember it [the brackets].  This will capture the rest of the filename, so if your filename was "$artist$ -- $album$ -- $track$ -- $title$.wav" it would match and record "$album$ -- $track$ -- $title$".  This match can then be referenced in the replacement text using "\1".

I need to replace '$artist$ -- ' with *nothing*, zip zilch
also shouldn't it end with '.wav/.flac/'
My single command simply matches  "$artist$ -- <stuff>.wav" and replaces it with "<stuff>.flac".  That's it in a nutshell.  As mentioned earlier "\(.*\)" captures "<stuff>" and "\1" references that capture.  If I knew what your filename format was I could used something more specific than ".*" I guess.

edit3: sorry about the mess I tried
SED -e "s/Pearl Jam -- //" -e "s/.wav/.flac/" <"test.txt" >"testoutput.txt"
and this worked
so what do you think of
@tools@\SED -e "s/$artist$ -- //" -e "s/.wav/.flac/" <"@albumfile@.[mg].cue" >"@album@ (noncmpl).cue"
To me this is more readable and seems to work
If you're happier with that then go with it - the concept is sound.  My solution uses one command rather than two, but I hardy think you'll get a performance hit. 

Hmm.. I see you're not escaping the "." also.  I think that may translated as "*wav" -> ".flac" (where "*" is any character), which may screw you if you have "wav" in the middle of a word.  Please test.  I would use "s/\.wav/\.flac/" (the delimiter is escaped to show it is a string literal). Check out this quick test:

Code: [Select]
C:\Documents and Settings\Neil\Desktop>sed s/.ped/.es/ test.txt
The quick brown fox ju.es over the lazy dog.
Title: REACT 2 Released
Post by: lipidicman on 2007-04-08 23:24:03
Wow    I see the error of my ways.

I think you are right about using \.wav looking at your example.  I didn't run into that problem as I did not have wav anywhere else in the file.  You have just saved me a lot of trouble.

Quote
My single command simply matches "$artist$ -- <stuff>.wav" and replaces it with "<stuff>.flac"

I get this now!

I think I follow your (save to a text file and then read it) method and why you have a line for each track.  This is very clever and will certainly make this more flexible.  By using the default config that REACT puts into EACs naming config it could even be added to the distribution (REACT would have to enforce the default EAC naming more strongly and the ECHO command could be derived directly from the REACT.ini?)

Thank you for taking the trouble to look at this (and to educate a newb).  I have seen several other people ask about .wav to .flac in the cuesheet and get no joy, so I really appreciate this.  My girlfriend will be happy when she can click on the cuesheets and click BURRRN.  That is, if I still have a girlfriend bearing in mind the time I spend planning my FLAC library (which luckily she is quite keen to have too)
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-04-09 07:59:06
I think I follow your (save to a text file and then read it) method and why you have a line for each track. This is very clever and will certainly make this more flexible. By using the default config that REACT puts into EACs naming config it could even be added to the distribution (REACT would have to enforce the default EAC naming more strongly and the ECHO command could be derived directly from the REACT.ini?)
Yes, that method should be flexible enough for anyone, and I wanted a solution that anyone could adapt.  That said, I think the type of command you are using may be adequate for many - I personally name my tracks "$track$ - $title$" so I could just do a blanket removal of "$artist$ - $album$ - ".  I use image mode though.

I did think about using REACT variables to create the commands (@basename@ and %TrackName%), but I would have to write more code to escape the hyphens - i.e.: turn "$artist$ - $album$ - $track$ - $title$" into "$artist$ /- $album$ /- $track$ /- $title$".  Hmm... I just remembered that useful tool SED.  Maybe I'll have a play.

Edit:  I've just had a quick test, and a quick skim of of the tutorial, and it doesn't seem that "-" is used as a special character in SED.  I guess instead of "a-z" you have to do "[abcdefghijklmnopqrstuvwxyz]".  Anyway, that's good news for simplifying the commands.  I can't test now, but I guess the line could be changed to:

Code: [Select]
ECHO s/FILE "@basename@\.wav"/FILE "%TrackName%\.flac"/>>sedlist.txt

That makes things look a lot less complicated, and a hell of a lot more portable.  Thanks for highlighting that for me.

Thank you for taking the trouble to look at this (and to educate a newb). I have seen several other people ask about .wav to .flac in the cuesheet and get no joy, so I really appreciate this. My girlfriend will be happy when she can click on the cuesheets and click BURRRN. That is, if I still have a girlfriend bearing in mind the time I spend planning my FLAC library (which luckily she is quite keen to have too)
You're welcome. I was pleased to see the work you put in also, so I feel that my help was well-deserved.  I like a challenge as well.

It must be nice to have a girlfriend that's interested in the subject.  My wife ribs me about my obsession, and the time I spent yesterday morning posting and testing almost caused a massive argument (I was supposed to be doing jobs around the house)!  As I say though, I like a challenge.
Title: REACT 2 Released
Post by: lipidicman on 2007-04-09 08:40:18
I did think about using REACT variables to create the commands (@basename@ and %TrackName%), but I would have to write more code to escape the hyphens - i.e.: turn "$artist$ - $album$ - $track$ - $title$" into "$artist$ /- $album$ /- $track$ /- $title$".  Hmm... I just remembered that useful tool SED.  Maybe I'll have a play.


Are you talking about using SED to alter the string to send to SED?  Ouch!  That would be very neat though.  This would certainly allow it to be included in REACT for everyone to benefit from.  For now I think I have a solution (I don't get home to my computer until later).

edit:  I'm trying to think through whether your method will work for VA, mine would not I fear.  Anyhow I am sold on using a sedlist.txt now!

I did try to do as much of the work as I could, but you were way ahead of me.  Your replies left me very pleasantly surprised!

My other issue was copying the accuraterip details to the clipboard and having these be inserted into the logfile.
I came up with this suite including winclip:
http://www.dmst.aueb.gr/dds/sw/outwit/ (http://www.dmst.aueb.gr/dds/sw/outwit/)

My idea is to clear the clipboard (so you dont accidentally paste the details from the previous rip! paranoia I know), ask the user to grab the accrip log and then output it to a file (winclip -p file.txt) before appending this file to the EAClog.  There is even scope for checking that the clipboard contains accrip data I guess and looping until it does (might be problems here if the window has been closed, easy to do!)

Even the idea that any of this was possible was way off of my radar a few days ago so I should thank you for the pointer towards REACT really!

Let me be clear about my GF.  She likes the end result, the fact she can grab an album or make a compilation (from our library) in a few seconds with burrrn.  She also wants a jukebox PC for the lounge.  When I try to explain the problems with the cuesheet and the fine details of the naming conventions her eyes glaze over.  Still at least there have been no arguments.
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-04-09 09:11:10
Edit:  I've just had a quick test, and a quick skim of of the tutorial, and it doesn't seem that "-" is used as a special character in SED.  I guess instead of "a-z" you have to do "[abcdefghijklmnopqrstuvwxyz]".  Anyway, that's good news for simplifying the commands.  I can't test now, but I guess the line could be changed to:

Code: [Select]
ECHO s/FILE "@basename@\.wav"/FILE "%TrackName%\.flac"/>>sedlist.txt
That makes things look a lot less complicated, and a hell of a lot more portable.  Thanks for highlighting that for me.
Tested, and works just great.  Using %TrackName% means it will work for VA albums also (tested).

Here's my current test config:

Code: [Select]
@ECHO OFF
REM CHCP 1252
TITLE @track@/@numtracks@ - "@album@"

REM Copyright © Tycho, 2006
REM
REM ** Create compressed audio tracks from ripped .wav tracks.
REM **
REM ** You may consider using image mode (F10)
REM ** as it supports creating tracks via acdir.exe,
REM ** and post-processing will always work (see below).
REM **
REM ** Flac requires flac.exe/metaflac.exe (v1.1.3)
REM ** NeroAac requires NeroAacEnc.exe/NeroAacTag.exe/AacGain.exe.
REM ** OggEnc2 requires OggEnc2.exe/VorbisGain.exe.
REM **
REM ** I prefer applying album gain 92dB to get a reasonable
REM ** volume for my DAP. The RG tags are still relative
REM ** to 89dB SPL, i.e. album gain will be about -3.0dB.


REM ============== Begin Main Script ==================


IF @Debug@==1 ECHO ON

SET TrackDir_Flac="@TrackDir_Flac@"
SET TrackDir_Wavpack="@TrackDir_Wavpack@"
SET TrackDir_MP3="@TrackDir_MP3@"
SET TrackDir_AAC="@TrackDir_AAC@"
SET TrackDir_OGG="@TrackDir_OGG@"

IF @various@==0    SET TrackName=@TrackName_SA@
IF @various@==1    SET TrackName=@TrackName_VA@

SET have_cover=0
SET embed_cover=0

IF EXIST "@cover@" (
    SET have_cover=1
    SET embed_cover=@EmbedCover@
)

REM ---- Track ----

IF NOT @Flac@==1 GOTO end_flac_tracks
    IF NOT EXIST %TrackDir_Flac% MKDIR %TrackDir_Flac%
    PUSHD %TrackDir_Flac%
        IF @various@==1 SET VA_tag=-T "album artist=@VA@"
        IF %embed_cover%==1 SET Cover_tag=--picture="|image/jpeg|||@cover@"
        ECHO ON
        @tools@\flac.exe @Opt_Flac@ %Cover_tag% %VA_tag% -T artist="@artist@" -T album="@album@" -T tracknumber="@track@/@numtracks@" -T title="@title@" -T date="@year@" -T genre="@genre@" -T comment="@comment@" -T encoded-by="%USERNAME%" -T encoding="Flac @Ver_Flac@ @Opt_Flac@" "@source@" -o "%TrackName%.flac"
        @ECHO OFF
        IF %have_cover%==1 IF NOT EXIST folder.jpg COPY "@cover@" folder.jpg
    POPD
:end_flac_tracks


IF NOT @Wavpack@==1 GOTO end_wavpack_tracks
    IF NOT EXIST %TrackDir_Wavpack% MKDIR %TrackDir_Wavpack%
    PUSHD %TrackDir_Wavpack%
        IF @various@==1 SET VA_tag=-w "album artist=@VA@"
        ECHO ON
        @tools@\wavpack.exe @Opt_Wavpack@ %VA_tag% -w artist="@artist@" -w album="@album@" -w track="@track@/@numtracks@" -w title="@title@" -w year="@year@" -w genre="@genre@" -w comment="@comment@" -w encodedby="%USERNAME%" -w encodersettings="Wavpack @Ver_Wavpack@ @Opt_Wavpack@" "@source@" "%TrackName%.wv"
        @ECHO OFF
        IF %have_cover%==1 IF NOT EXIST folder.jpg COPY "@cover@" folder.jpg
        TITLE @track@/@numtracks@ - "@album@"
    POPD
:end_wavpack_tracks


IF NOT @LameMP3@==1 GOTO end_lame_tracks
    IF NOT EXIST %TrackDir_MP3% MKDIR %TrackDir_MP3%
    PUSHD %TrackDir_MP3%
        IF @various@==1 SET VA_tag=--user-text "[album artist]@VA@" --frame "TPE2:@VA@"
        IF %embed_cover%==1 SET Cover_tag=--pict "{3}@cover@"
        ECHO ON
        @tools@\lame.exe @Opt_LameMP3@ "@source@" "%TrackName%.mp3"
        @tools@\metamp3.exe %Cover_tag% %VA_tag% --artist "@artist@" --album "@album@" --track @track@/@numtracks@ --title "@title@" --year "@year@" --genre "@genre@" --comment "@comment@" --frame TENC:"%USERNAME%" --frame TSSE:"LAME @Ver_LameMP3@ @Opt_LameMP3@" "%TrackName%.mp3"
        ECHO s/FILE "@basename@\.wav"/FILE "%TrackName%\.mp3"/>>sedlist.txt
        @ECHO OFF
        IF %have_cover%==1 IF NOT EXIST folder.jpg COPY "@cover@" folder.jpg
       
    POPD
:end_lame_tracks


IF NOT @iTunesAac@==1 GOTO end_itunes_aac_tracks
    IF NOT EXIST %TrackDir_AAC% MKDIR %TrackDir_AAC%
    PUSHD %TrackDir_AAC%
        IF %embed_cover%==1 SET Cover_tag=-r "@cover@"
        ECHO ON
        @tools@\iTunesEncode.exe @Opt_iTunesAac@ -e "AAC Encoder" %Cover_tag% -x @various@ -a "@artist@" -l "@album@" -n "@track@" -m "@numtracks@" -t "@title@" -y "@year@" -g "@genre@" -c "@comment@" -i "@source@" -o "%TrackName%.m4a"
        @ECHO OFF
        IF %have_cover%==1 IF NOT EXIST folder.jpg COPY "@cover@" folder.jpg
    POPD
    GOTO end_nero_aac_tracks
:end_itunes_aac_tracks

IF NOT @NeroAac@==1 GOTO end_nero_aac_tracks
    IF NOT EXIST %TrackDir_AAC% MKDIR %TrackDir_AAC%
    PUSHD %TrackDir_AAC%
        IF @various@==1 SET VA_tag=--albumArtist "@VA@" --compilation true
        IF %embed_cover%==1 SET Cover_tag=--artwork "@cover@"
        ECHO ON
        @tools@\neroAacEnc.exe @Opt_NeroAac@ -if "@source@" -of "%TrackName%.m4a"
        @tools@\AtomicParsley.exe "%TrackName%.m4a" -o REACT_tmp.m4a %Cover_tag% %VA_tag% --artist "@artist@" --album "@album@" --tracknum "@track@/@numtracks@" --title "@title@" --year "@year@" --genre "@genre@" --comment "@comment@" --encodingTool "neroAacEnc @Ver_NeroAac@ @Opt_NeroAac@"
        @ECHO OFF
        MOVE /Y REACT_tmp.m4a "%TrackName%.m4a"
        IF %have_cover%==1 IF NOT EXIST folder.jpg COPY "@cover@" folder.jpg
    POPD
:end_nero_aac_tracks


IF NOT @OggEnc2@==1 GOTO end_oggenc_tracks
    IF NOT EXIST %TrackDir_OGG% MKDIR %TrackDir_OGG%
    PUSHD %TrackDir_OGG%
        IF @various@==1 SET VA_tag=-c "album artist=@VA@"
        ECHO ON
        @tools@\oggenc2.exe @Opt_OggEnc2@ %VA_tag% -c artist="@artist@" -c album="@album@" -c tracknumber="@track@/@numtracks@" -c title="@title@" -c date="@year@" -c genre="@genre@" -c comment="@comment@" -c encoded-by="%USERNAME%" -c encoding="OggEnc @Ver_OggEnc2@ @Opt_OggEnc2@" "@source@" -o "%TrackName%.ogg"
        @ECHO OFF
        IF %have_cover%==1 IF NOT EXIST folder.jpg COPY "@cover@" folder.jpg
    POPD
:end_oggenc_tracks


REM ** Delete the source .wav
DEL "@source@"


REM ---- Post-processing ----


rem ** Scan and compute ReplayGain and add cover picture for supported formats.
rem ** NB: The following will only work if at least the last track is selected,
rem ** and it is a regular audio track.

IF NOT @track@==@numtracks@ GOTO end_post_process

    SET add_rg=@ReplayGain@
    SET aac_enc=@NeroAac@
    IF @iTunesAac@==1 SET aac_enc=1

    IF NOT @ReplayGain@==1 GOTO end_RG
        SET RG_MetaFlac=--add-replay-gain
        SET RG_MetaMP3=--replay-gain
    :end_RG

    IF NOT @ApplyAlbumGain@==1 GOTO end_apply_AG
        SET RG_MetaMP3=--apply-gain album@AdjustAlbumGain_dB@
        SET RG_AacGain=/a /o /c /d @AdjustAlbumGain_dB@
        SET add_rg=1
    :end_apply_AG


    REM ** Audio Formats:

    IF @Flac@==1 (
        PUSHD %TrackDir_Flac%
            IF %add_rg%==1 @tools@\Glob.exe -v -c @tools@\metaflac.exe %RG_MetaFlac% *.flac
            REM COPY /Y "@eaclog@" "EAClog.txt"
        POPD
    )

    IF @Wavpack@==1 (
        PUSHD %TrackDir_Wavpack%
            IF %add_rg%==1 @tools@\wvgain.exe -a *.wv
            REM COPY /Y "@eaclog@" "EAClog.txt"
        POPD
    )

    IF @LameMP3@==1 (
        PUSHD %TrackDir_MP3%
            IF %add_rg%==1 @tools@\metamp3.exe %RG_MetaMP3% *.mp3
            COPY /Y "@eaclog@" "EAClog.txt"
            @tools@\SED -f sedlist.txt <"@albumfile@.[mg].cue" >"$cdartist$ - $album$.cue"
            DEL sedlist.txt
        POPD
    )

    IF %aac_enc%==1 (
        PUSHD %TrackDir_AAC%
            IF %add_rg%==1 @tools@\aacgain.exe %RG_AacGain% *.m4a > "gainlog.txt"
            REM COPY /Y "@eaclog@" "EAClog.txt"
        POPD
    )

    IF @OggEnc2@==1 (
        PUSHD %TrackDir_OGG%
            IF %add_rg%==1 @tools@\vorbisgain.exe -a *.ogg
            REM COPY /Y "@eaclog@" "EAClog.txt"
        POPD
    )


    REM ** Cleanup

    DEL "@eaclog@"
    DEL "@albumfile@.[*].cue"
    DEL "@cover@"

:end_post_process


REM ================ End Main Script ===================


IF @Debug@==1 (
    PAUSE
    EXIT
)

REM ** Delete this .bat file:
DEL %0
My other issue was copying the accuraterip details to the clipboard and having these be inserted into the logfile.
I came up with this suite including winclip:
http://www.dmst.aueb.gr/dds/sw/outwit/ (http://www.dmst.aueb.gr/dds/sw/outwit/)

My idea is to clear the clipboard (so you dont accidentally paste the details from the previous rip! paranoia I know), ask the user to grab the accrip log and then output it to a file (winclip -p file.txt) before appending this file to the EAClog.  There is even scope for checking that the clipboard contains accrip data I guess and looping until it does (might be problems here if the window has been closed, easy to do!)
Cool, I have no idea what you are talking about, but I'll try to take a look.

NB: To append file.txt to the logfile you could use:

Code: [Select]
TYPE file.txt >> "@eaclog@"
... or if you wanted a few carriage returns, etc.:

Code: [Select]
ECHO.>>"@eaclog@"
ECHO.>>"@eaclog@"
ECHO Accuraterip data:>>"@eaclog@"
ECHO.>>"@eaclog@"
TYPE file.txt >> "@eaclog@"
When I try to explain the problems with the cuesheet and the fine details of the naming conventions her eyes glaze over. Still at least there have been no arguments.
Title: REACT 2 Released
Post by: lipidicman on 2007-04-09 09:37:58
Tested, and works just great.  Using %TrackName% means it will work for VA albums also (tested).


Great news.  I thought it would, and I had realised my method was going to trip up here

with the TYPE hint I will have a go at the clipboard solution tomorrow.  I am just unsure if I can test the contents of the clipboard to make the solution more robust
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-04-09 11:12:22
I am just unsure if I can test the contents of the clipboard to make the solution more robust
I have no idea what text you will have so I can't really make any suggestions as yet as to how to validate.  I'll gladly stick my nose in though if you paste an example.

@All:

NB: In my test I used the MP3 section for ease.  I'm sure most people interested in this process would be using lossless, but I feel I should point out that if you do use MP3 you should really use:

Code: [Select]
ECHO s/FILE "@basename@\.wav" WAVE/FILE "%TrackName%\.mp3" MP3/>>sedlist.txt

Valid values for the file type are "WAVE", "MP3" and "AIFF", so if you use FLAC, Wavpack, Monkey's Audio, etc. it's fine/recommended to just leave "WAVE" as "WAVE", but for MP3 you need "MP3".
Title: REACT 2 Released
Post by: lipidicman on 2007-04-09 12:25:59
I am just unsure if I can test the contents of the clipboard to make the solution more robust
I have no idea what text you will have so I can't really make any suggestions as yet as to how to validate.  I'll gladly stick my nose in though if you paste an example.

Can't at the moment, it is standard accurate rip output though.  So I was going to test if the contents of the clipboard contained the word 'accurate'.  The plan was to empty the clipboard in the script first (to avoid identifying data from an earlier rip) then check the user had done a manual paste with this check

@All:

NB: In my test I used the MP3 section for ease.  I'm sure most people interested in this process would be using lossless, but I feel I should point out that if you do use MP3 you should really use:

Code: [Select]
ECHO s/FILE "@basename@\.wav" WAVE/FILE "%TrackName%\.mp3" MP3/>>sedlist.txt

Valid values for the file type are "WAVE", "MP3" and "AIFF", so if you use FLAC, Wavpack, Monkey's Audio, etc. it's fine/recommended to just leave "WAVE" as "WAVE", but for MP3 you need "MP3".


If this does not end up in a distribution it should be in a guide at least.  You wrote the knowledgebase article, right?
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-04-09 18:52:05
I've no idea what the standard AccurateRip output is, as I always use images.

I wrote the initial wiki article/help (http://wiki.hydrogenaudio.org/index.php?title=REACT), but tycho has since made numerous updates.

In response to Nik's crusade to document everything, and create a REACT GUI, I did suggest a wiki page (or pages) that had suggestions for improvements or amendments to the REACT configs.  Maybe I should start one and document this...
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-04-09 19:06:54
BTW I had a play with winclip.  I'm not sure how far you have got, but you may get some help from this:

Code: [Select]
REM Clear the clipboard
WINCLIP.EXE -c <NUL

REM Prompt to copy to the clipboard
:PauseForClipboard
ECHO.
ECHO Please copy the AccurateRip data to the clipboard and press any key
REM Wait
PAUSE >NUL

REM Copy the clipboard contents to winclip.txt
WINCLIP.EXE -p >winclip.txt

REM Check file for the word 'Accurate'
FINDSTR /I "ACCURATE" winclip.txt
IF ERRORLEVEL 1 (
  ECHO.
  ECHO Cannot find the word 'Accurate'.  Please try again.
  GOTO PauseForClipboard
)

REM Append the AccurateRip data to the log
ECHO.>>"@eaclog@"
ECHO.>>"@eaclog@"
ECHO AccurateRip Data:>>"@eaclog@"
ECHO.>>"@eaclog@"
TYPE winclip.txt >>"@eaclog@"
DEL winclip.txt
Title: REACT 2 Released
Post by: lipidicman on 2007-04-09 20:25:32
This is what I did (don't laugh, I've never written batch files before so mine only gave the user two chances.  I'm off to learn from your code now!) edit: result in second code window, basically the same as yours with a different search string (cant remember if you get 'Accurate' when it fails, and cant find a failing disc right now!)  Only thing it might need is a way to get out of the loop if you have closed the AccRip window.  Thanks

Code: [Select]
        REM ** winclip test first clear the clipboard
    echo notgrabbed| @tools@\winclip -c
    REM ** prompt
    echo.
    echo Please copy the accurate rip data
    pause
    @tools@\winclip -p clipboard.txt    
    REM ** TEST CONTENTS
    findstr "notgrabbed" clipboard.txt >NUL
    if errorlevel 1 GOTO end_NOTGRABBED
        echo.
        echo You need to copy the accuraterip data
        pause
        @tools@\winclip -p clipboard.txt
    :end_NOTGRABBED
    
    REM modify the EAClog
    ECHO.>>"@eaclog@"
    ECHO.>>"@eaclog@"
    ECHO Accuraterip data:>>"@eaclog@"
    ECHO.>>"@eaclog@"
    TYPE clipboard.txt >> "@eaclog@"
    DEL clipboard.txt


Code: [Select]
REM Get AccurateRip Data
    REM first clear the clipboard
    @tools@\WINCLIP.EXE -c <NUL
    REM Prompt to copy to clipboard
    :PauseForClipboard
    ECHO.
    ECHO Please copy the accurate rip data and press a key
    PAUSE >NUL
    
    REM Copy the clipboard contents to winclip.txt
    @tools@\WINCLIP.EXE -p clipboard.txt    
    
    REM Check file for the phrase 'Ripping Status'
    FINDSTR /I "RIPPING STATUS" clipboard.txt
    IF ERRORLEVEL 1 (
          ECHO.
          ECHO Cannot find the phrase 'Ripping Status'.  Please try again.
          GOTO PauseForClipboard
    )
    
    REM modify the EAClog
    ECHO.>>"@eaclog@"
    ECHO.>>"@eaclog@"
    ECHO Accuraterip data:>>"@eaclog@"
    ECHO.>>"@eaclog@"
    TYPE clipboard.txt >> "@eaclog@"
    DEL clipboard.txt
Title: REACT 2 Released
Post by: Nik on 2007-04-10 17:53:39
My other issue was copying the accuraterip details to the clipboard and having these be inserted into the logfile.
I came up with this suite including winclip:
http://www.dmst.aueb.gr/dds/sw/outwit/ (http://www.dmst.aueb.gr/dds/sw/outwit/)

My idea is to clear the clipboard (so you dont accidentally paste the details from the previous rip! paranoia I know), ask the user to grab the accrip log and then output it to a file (winclip -p file.txt) before appending this file to the EAClog.  There is even scope for checking that the clipboard contains accrip data I guess and looping until it does (might be problems here if the window has been closed, easy to do!)


Alegedly, AutoFLAC (http://legroom.net/software/autoflac) already does that (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=45496&view=findpost&p=441608) (inserts AccurateRip results into log files), and it's based on the same scripting language, so maybe that part of the code can be borrowed from there.
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-04-10 19:37:54
Alegedly, AutoFLAC (http://legroom.net/software/autoflac) already does that (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=45496&view=findpost&p=441608) (inserts AccurateRip results into log files), and it's based on the same scripting language, so maybe that part of the code can be borrowed from there.
That would be interesting to see.  I know nothing of AutoFLAC.

Only thing it might need is a way to get out of the loop if you have closed the AccRip window.
Code: [Select]
REM Get AccurateRip Data
REM Clear the clipboard
@tools@\WINCLIP.EXE -c <NUL
:PauseForClipboard
SET k=
ECHO.
SET /P k=Copy the Accurate Rip data and press return, or enter 'X' to ignore:
IF /I [%k%] EQU [X] GOTO PostAccurateRip

REM Copy the clipboard contents to clipboard.txt
@tools@\WINCLIP.EXE -p clipboard.txt

REM Check file for the phrase 'Ripping Status'
FINDSTR /I "RIPPING STATUS" clipboard.txt
IF ERRORLEVEL 1 (
    ECHO.
    ECHO Cannot find the phrase 'Ripping Status'.  Please try again.
    GOTO PauseForClipboard
)

REM Modify the EAC log
ECHO.>>"@eaclog@"
ECHO.>>"@eaclog@"
ECHO Accuraterip data:>>"@eaclog@"
ECHO.>>"@eaclog@"
TYPE clipboard.txt >> "@eaclog@"
DEL clipboard.txt

:PostAccurateRip
Title: REACT 2 Released
Post by: lipidicman on 2007-04-11 13:24:21
Synth, cheers.  Of course it was simple to add that it is just that  I find batchfile syntax perverse after much simpler languages like python and VB.

I've done some tweaking to make it look nicer.  One problem is that it clears the clipboard too late if you copied the data whilst an earlier track was encoding.  This is a detail really and I could tell my GF to wait for the prompt, but encoding should be a background task.  I am going to add a test for FIRSTTRACK, like there is for postprocessing.  Clear the clipboard then and if the Accrip data is not already done the code will not need to prompt (rearranging the loop really)

Nik, didn't you ask before about correcting the cuesheets?  Was all this helpful to you?  Anyway I'm off to investigate AUTOFLAC, cheers

edit: AUTOFLACs ToDo list:
Quote
add support for rip/write verification
add support for WavPack and Monkey's Audio
add support for pars - comment 45
add support for AccurateRip - comment 90
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-04-11 13:43:30
Batch file scripting isn't nice.  I'm more used to VB/VBScript, and now PHP.  I always feel like I'm having to work around things in batch files.

I did have a check on the first track to ensure sedlist.txt was clear:

Code: [Select]
IF [@track@] EQU [1] (
    REM Delete the SED commands file, if left over
    DEL sedlist.txt
)
... but decided it was unnecessary.

Putting the clipboard clear in there makes a lot of sense.  It also makes a lot of sense to check whether the data is there before stopping the process.  I did think about that earlier, but I knew that you were concerned about the data being the previous disc's.  I guess clearing the clipboard at track 1 solves this.  Nice thinking.
Title: REACT 2 Released
Post by: lipidicman on 2007-04-11 14:43:08
I need to have a think about how I want it.  If you start ripping another CD, the clipboard may be cleared before the encoding gets to that point.  Anyhow these are details, it is working nicely at the moment.

I just noticed I am using EAC0.95b3, am I OK here before I get going?  From the website it looked like b4 removed some features?
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-04-11 14:47:48
Personally I would move to the latest version, but if it's working for you now then I guess there's really no need.  I've never missed the dropped features, as I never used them.  I have no idea what the difference is between the two versions to be honest.

I just think it makes it easier for people to help if you are on the latest versions, as most people here will be.  It saves confusion.
Title: REACT 2 Released
Post by: lipidicman on 2007-04-11 14:58:50
To bring up something from earlier:

React was tagging flac TRACKNUMBER like this: "1/15"  Foobar wouldn't pad this so I changed it to insert only "1" and put "15" in TOTALTRACKS (I think, I am away from my machine ATM).  Foobar pads this fine.  Any potential problems here?  Using 1/15 seemed weird to me anyway when there is a field for the total.  Could I have problems in other apps?
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-04-11 15:02:24
I have no idea about other apps.  I doubt it would ever cause problems.

I think using TRACKNUMBER and TOTALTRACKS makes most sense.  It also gives you the option to move to a 'nn/mm' format at a later date if need be.

I'm not sure why 'nn/mm' was used as the default.  Maybe someone who has used tracks for a while can enlighten us.
Title: REACT 2 Released
Post by: lipidicman on 2007-04-11 15:20:44
That was the conclusion I arrived at.  Any other opinions most welcome!

edit; it appears it is stored in the ID3 tag as 1/15 anyway looking at this:
http://wiki.hydrogenaudio.org/index.php?ti...ID3_Tag_Mapping (http://wiki.hydrogenaudio.org/index.php?title=Foobar2000:ID3_Tag_Mapping)
I dont really get the foobar tag to id3 tag differences
Title: REACT 2 Released
Post by: mogorp on 2007-04-12 01:43:27
Yes, I had that problem with foobar also.  Does anyone know an easy way to mass convert track numbers from the 1/15, 2/15 format to 01,02 etc.  Lipidicman, you are smart for working this out prior to ripping.
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-04-12 07:49:30
Does anyone know an easy way to mass convert track numbers from the 1/15, 2/15 format to 01,02 etc.
http://www.hydrogenaudio.org/forums/index....showtopic=50739 (http://www.hydrogenaudio.org/forums/index.php?showtopic=50739)

Edit: That actually looks a little convoluted (and slightly restrictive).  I'd use this:

TOTALTRACKS
Code: [Select]
$num($substr(%tracknumber%,$add($strchr(%tracknumber%,/),1),$len(%tracknumber%)),1)

TRACKNUMBER
Code: [Select]
$num($left(%tracknumber%,$sub($strchr(%tracknumber%,/),1)),1)


Edit 2: I've added a little more code to check the current format, and uploaded the masstagger script here (http://www.synthetic-soul.co.uk/temp/split-nn-mm-tracknumber.mts).  Now, if there is no '/' found TOTALTRACKS won't be set, but if TRACKNUMBER exists it will be converted to an integer (09 -> 9).  Therefore:

Code: [Select]
CURRENT    TRACKNUMBER    TOTALTRACKS
=====================================

4          4
09         9
15         15
04/08      4              8
1/20       1              20
15/100     15             100


Edit 3: I guess I should point out, just in case, that if you create a script yourself you must action the TOTALTRACKS code first.  If you action the TRACKNUMBER code first you'll lose the TOTALTRACKS info before you can copy it over.
Title: REACT 2 Released
Post by: mogorp on 2007-04-12 23:45:04
Synthetic soul,
You are truly awesome.  I am always amazed by the time you spend helping others here.  Many thanks....again.
Title: REACT 2 Released
Post by: lipidicman on 2007-04-13 13:57:47
Yes, I had that problem with foobar also.  Does anyone know an easy way to mass convert track numbers from the 1/15, 2/15 format to 01,02 etc.  Lipidicman, you are smart for working this out prior to ripping.


Yeah, I chucked my files into foobar and thought "hang on.....".  I am surprised that REACT has this setting (which ia why I am asking here whether I have done something wrong)

SS, where would you use that script, is it for foobar?
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-04-13 14:06:48
SS, where would you use that script, is it for foobar?
Yeah, foobar.

Select the files, choose "Tagging" > "Manage Scripts" from the context menu, then "Load from file..." on the dialogue.

Edit: You could then optionally save it to your local config by providing a name in the dropdown combo and clicking "Save".
Title: REACT 2 Released
Post by: lipidicman on 2007-04-13 15:46:11
Right, foobar clearly has a few more tricks I need to learn
Title: REACT 2 Released
Post by: lipidicman on 2007-04-15 09:53:05
Just popping back in to tweak my React script.  I am being paranoid about preserving my flacs.  I have added "ATTRIB +R *.*" in the flac postprocessing (after the RG command).  This will prevent most other unwanted changes when using foobar for playback and conversion to mp3 etc

I am keen to have a verification method.  With flac I think I understand md5 is not necessary (and clumsy as a tag change will change the md5 anyway).  Should I use a 'fingerprint' as in the flac frontend.  Can this be written from the command line and later verified?.  I cannot see how flac.exe does this, but SHNtool hash generates the same checksums.

Or is running a 'test' on the flacs all that is needed (ie is the fingerprint held internally and tested against)?

edit: just been reading here http://wiki.etree.org/index.php?page=FlacFingerprint (http://wiki.etree.org/index.php?page=FlacFingerprint)
seems people like to argue about it, but I feel better now about the flacs.  I like that the ffp is the md5 of the raw audio data.  I have this command:
metaflac --show-md5sum flac_file_names > ffp.txt
so I am off to test this against SHNTOOL.


Looks like what I need is to write a script to run a test on my FLAC file tree against the internally held md5.  Flac in test mode in recursive mode should do this right?  If flac finds an error does it report it per file, or at the end?  Again I will run some tests, but any input is welcome!
Title: REACT 2 Released
Post by: lipidicman on 2007-04-16 13:40:31
Right another question.  When I rip a single what should I do.  I am happy to tweak foobar later to read the tags but does putting the Album Title as 'Alive (single)' allow me to do this later?  I do not want to have to RETAG later unless I can test for '(single)' and use a script

I would really like to have seperate trees for albums and singles (in foobar, I guess this can be done) or to choose to group the singles in a subtree under each artist
eg
Code: [Select]
PEARL JAM
>1992 Ten
>2000 Riot Act
>Singles
  >1992 Jeremy
  >1992 Oceans


So please do not misunderstand, this is not a foobar question (I will learn more later) it is a 'how to get my use of EAC and REACT correct in preparation' question
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-04-16 14:26:25
Great track BTW. 

Hmm.. this kind of reminds me of some tests I did with the REACT code a while back.  My idea was that you could use tags in fields that could then be used as per the usually available tags.

For example, you could use "Alive <type>single</type>" as the album name, thus creating @album@ = "Alive" and @type@ = "single".

My thought was that you could use "Sandinista! <disc>1</disc>" or "Stadium Arcadium <discname>Jupiter</discname>".

I probably still have the code around, although it was not quite there.  It was just before v2 came out so I dropped the idea.

Anyway, that aside, given the fields available to you, I can only think that you use "(single)" and then use foobar to re-tag and re-name all those matching or perhaps use the comment field (Compression Options > Offset tab) and check the value of @comment@ in your CFG and act accordingly.
Title: REACT 2 Released
Post by: lipidicman on 2007-04-16 14:41:08
Thanks again

"Alive <type>single</type>"

so you would type that into EAC and have REACT interpret it as two variables.  That seems like the neatest idea.  My girlfriend will *HATE* it though.  So far I have used (single) and what I was looking for was reassurance that down the line I will be able to use this standard notation to tweak my library the way I want it.  Nothing like forward planning to save yourself a big headache

Still, if the code works I might be able to persuade her to comply.  So if you have something that is easy to tweak and get going with I am interested

Any ideas on an easy way to test an entire directory tree of flacs?

By 'great track' you were referring to Alive?  So true, and they have made so many great tracks.  I have tickets to their first UK gig for seven years (the last time I saw them).  Cannot wait!
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-04-16 15:07:48
I don't have the code working from within REACT v2 (I did in v1) and I'm not comfortable releasing a modded version of REACT really.  I was just wibbling, as I'd forgotten that I'd done that.  I could see it being useful in various situations (I'd definately like it for creating the DISC tag).  Maybe tycho might see this and show his interest..

If you'd rather not use the @comment@ idea then I would say that you could quite easily re-tag and re-name the files in foobar.  Off the top of my head I would say that, if all the files are in your foobar Media Library, you could search for the existence of "(single)", create a playlist of all those files, retag "<single name> (single)" to "<single name>", and move all files to a "%artist%\Singles\%date% %album%" folder structure.  That shouldn't be much effort.

On the other hand, using the @comment@ tag would allow you to do it as and when, and not have to make amends in batches. Although, it would require some CFG amends, and remembering to add and remove the comment... which isn't quite as easy to do as add " (single)" to the 'album' name.
Title: REACT 2 Released
Post by: steve3386 on 2007-04-17 03:24:35
First, I just want to say that REACT2 is such a great tool.  Thanks for all the work & support on this.  AFter extensive reading, I am planning on ripping my entire CD collection to WavPack images and LameMP3 tracks, using EAC with REACT2.  I have done some test ripping and played with the REACT ini & image-cfg files, and have a few questions.

1) Can I embed the cover (album art) in the WavPack (wv) file? 

2) The comment tag on the MP3 files contains my comment twice (example: "REACT2/EAC; REACT2/EAC").  The comment tag is correct on the WavPack files.  Any idea what would cause this?

3) How do I get ReplayGain track values written into the MP3 files?  I want both the album and track gain values written to the MP3 files, but without applying the gain to the files (no scaling).  I have played around with the files to use wavegain, wvgain, and both (without copying values), but only ever get the album gain values written to the files.  I read here that you get both album and track gain values written into tracks, but maybe that is only in track (not image) mode.  If so, is it possible to do this with MP3 tracks from the wavPack image file through REACT?

4) Is there a difference between using wavegain and wvgain to calculate the ReplayGain values, or ar e they just different implementations of the same algorithm?

5) Is there a way to have the Ipod use the ReplayGain tags.  I thought I read somewhere that there was a program to do this, but that it was only available for Macs.  Any way to do this using a PC?

6) If I let iTunes get the album art for the MP3's, will it embed it into the files so that it can be seen elsewhere, or does it only store it encoded for its own use?

And one suggestion for REACT2: I would frequently get an error from the WavPack executeable because the EAClog was not written yet when the executable was called.  I do not think it was written until I clicked "OK" on the EAC riping report, so if you do not use WaveGain, then WavPack was called too fast.  I added this line just before the call to the WavPack executable in the image section of the image-cfg file, and since then it has always worked fine, and it only stops if it needs to:

IF NOT EXIST "@eaclog@" PAUSE


Thanks in advance for all the great answers and assistance I'm sure to get from this extremely helpful forum!
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-04-17 07:46:38
I have had issues with the log being late also; however, as far as I am aware the wait is generally only for a second or so, and therefore having to pause your automated script for user input may be overkill.

I used the following code, which should check for the existence of the log, and wait for two seconds before trying again, if it is not found:

Code: [Select]
REM ---- Image ----

REM Ensure that the EAC log is available
:CheckForLog
IF NOT EXIST "@eaclog@" GOTO Pause

Code: [Select]
GOTO :EOF

REM Pause for 2000 milliseconds and return to :CheckForLog
:Pause
@ECHO Waiting for EAC log file...
PING 1.1.1.1 -n 1 -w 2000 >NUL
GOTO CheckForLog

Thes first snippet goes under the existing "REM ---- Image ----" line.  The second should be added to the very end of the batch file.

I'm afraid I'm not up on album art and replay gain so I'll leave those for the others.
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-04-17 10:35:29
Please Note:

I have created a REACT category (http://wiki.hydrogenaudio.org/index.php?title=Category:REACT) in the wiki, for the purpose of grouping guides, tips and tricks together.

To start the process, I have documented two recent tips, "Amending Cuesheet File References (http://wiki.hydrogenaudio.org/index.php?title=REACT:Amending_Cuesheet_File_References)" and "Pausing For The Logfile (http://wiki.hydrogenaudio.org/index.php?title=REACT%3a%50ausing_For_The_Logfile)".

I hope that other contributors will find time to document useful tips they they have provided in this thread (I'm looking at you Martin H  ).

If anyone can think of anything else useful that I have contributed in this thread, which they feel should be recorded in the wiki, then please feel free to PM me with the details and I'll try to add it as soon as I have the time.

If you do add pages to this category, please note two formatting requirements:Edit: Actually, if you use "[[Category:REACT|<page name>]]" the page will be indexed correctly, e.g.: "[[Category:REACT|Pausing For The Logfile]]" is now indexed under "P", not "R".
Title: REACT 2 Released
Post by: Nik on 2007-04-17 12:00:56
Please Note:

I have created a REACT category (http://wiki.hydrogenaudio.org/index.php?title=Category:REACT) in the wiki, for the purpose of grouping guides, tips and tricks together.

To start the process, I have documented two recent tips, "Amending Cuesheet File References (http://wiki.hydrogenaudio.org/index.php?title=REACT:Amending_Cuesheet_File_References)" and "Pausing For The Logfile (http://wiki.hydrogenaudio.org/index.php?title=REACT%3a%50ausing_For_The_Logfile)".


Thanks SS.
I hope it will save us time not having to search through the posts, when looking for help how to achieve certain features/scenarios.
Title: REACT 2 Released
Post by: lipidicman on 2007-04-17 13:52:33
I have created a REACT category (http://wiki.hydrogenaudio.org/index.php?title=Category:REACT) in the wiki, for the purpose of grouping guides, tips and tricks together.


Nice job.  and thank you for acknowledging my (meagre) input!  I got a PM from someone today who was frustrated by this limitation and hadn't read this thread fully so I pointed him at our posts

On the sorting singles issue.  I am keen to leave the cd directory structure but achieve the seperation of singles using the Album tree in foobar (easy to change your mind this way and I dont browse the folders much).  I am trying to write code to detect '(single)' in the album tag and add an extra level to the tree as described above.  I am going to study the foobar syntax later and have a bash at it
Title: REACT 2 Released
Post by: Frank vZ on 2007-04-18 07:04:58
Code: [Select]
ECHO s/FILE "@basename@\.wav" WAVE/FILE "%TrackName%\.mp3" MP3/>>sedlist.txt

Valid values for the file type are "WAVE", "MP3" and "AIFF", so if you use FLAC, Wavpack, Monkey's Audio, etc. it's fine/recommended to just leave "WAVE" as "WAVE", but for MP3 you need "MP3".

I have tested these lines in image mode for flac:
Code: [Select]
IF NOT @Flac@==1 GOTO end_flac_tracks
    SET dest="@TrackDir_Flac@"
    IF NOT EXIST %dest% MKDIR %dest%
    PUSHD %dest%
        IF @various@==1 SET VA_tag=-T $qalbum artist=@VA@$q
        IF %embed_cover%==1 SET Cover_tag=--picture=$#x
        @tools@\acdir.exe --overwrite --output "%TrackName%.flac" --extra-opt "|image/jpeg|||@cover@" --pipe "TITLE $n/$N flac $#T & @tools@\flac.exe @Opt_Flac@ %Cover_tag% %VA_tag% -T artist=$#a -T album=$#T -T title=$#t -T tracknumber=$n/$N -T date=$q@year@$q -T genre=$q@genre@$q -T comment=$q@comment@$q -T encoding=$qFlac @Ver_Flac@ @Opt_Flac@$q - -o $#o" "@sourcecuesheet@"
        IF %add_rg%==1 @tools@\Glob.exe -v -c @tools@\metaflac.exe %RG_MetaFlac% *.flac
        COPY /Y "@eaclog@" "EAClog.txt"
        IF %have_cover%==1 COPY /Y "@cover@" "folder.jpg"
        IF EXIST "@albumfile@.[mg].cue" COPY /Y "@albumfile@.[mg].cue" .
        ECHO s/\.wav"/\.flac"/>>sedlist.txt
        ECHO s/FILE "@cdartist@ - @album@ - /FILE "/>>sedlist.txt
        @tools@\SED -f sedlist.txt <"@albumfile@.[mg].cue" >"$cdartist$ - $album$.cue"
        DEL "sedlist.txt"
        DEL "@albumfile@.[mg].cue"
    POPD
:end_flac_tracks

They seem to work and I prefer image mode since it works even if the last track is a data track. The trade-off is that the sed-commands are more "wildcardish".
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-04-18 07:55:03
Code: [Select]
ECHO s/\.wav"/\.flac"/>>sedlist.txt
ECHO s/FILE "@cdartist@ - @album@ - /FILE "/>>sedlist.txt
@tools@\SED -f sedlist.txt <"@albumfile@.[mg].cue" >"$cdartist$ - $album$.cue"
DEL "sedlist.txt"

I only used the external command list (sedlist.txt) as I needed to run multiple commands.  Instead of the above, you could just use (untested):

Code: [Select]
@tools@\SED "s/$cdartist$ - $album$ - \(.*\)\.wav/\1\.flac/" <"@albumfile@.[mg].cue" >"$cdartist$ - $album$.cue"

.. but as discussed previously yours does the job and is absolutely fine.  One point though: you are using the non-filename-friendly tokens.  You need to change to:

Code: [Select]
ECHO s/FILE "$cdartist$ - $album$ - /FILE "/>>sedlist.txt


They seem to work and I prefer image mode since it works even if the last track is a data track. The trade-off is that the sed-commands are more "wildcardish".
If this turned out to be an issue you could stick with the syntax you have, but add the line to write the SED command to sedlist.txt as part of the ACDIR run.

I.e.:  ACDIR is already setting the console title and running FLAC for each track (2 separate commands).  You could just append "& <my command line>" to the end of the ACDIR call and the command would execute for each track (<set title> & <run FLAC> & <write to sedlist>).

I don't think this should ever be necessary though.  Just for interests sake.
Title: REACT 2 Released
Post by: Frank vZ on 2007-04-18 19:42:29
Code: [Select]
@tools@\SED "s/$cdartist$ - $album$ - \(.*\)\.wav/\1\.flac/" <"@albumfile@.[mg].cue" >"$cdartist$ - $album$.cue"

Have just tried this: Great! 

They seem to work and I prefer image mode since it works even if the last track is a data track. The trade-off is that the sed-commands are more "wildcardish".
If this turned out to be an issue you could stick with the syntax you have, but add the line to write the SED command to sedlist.txt as part of the ACDIR run.

I.e.:  ACDIR is already setting the console title and running FLAC for each track (2 separate commands).  You could just append "& <my command line>" to the end of the ACDIR call and the command would execute for each track (<set title> & <run FLAC> & <write to sedlist>).

Will try this later...
Title: REACT 2 Released
Post by: lipidicman on 2007-04-19 16:29:58
Code: [Select]
@tools@\SED "s/$cdartist$ - $album$ - \(.*\)\.wav/\1\.flac/" <"@albumfile@.[mg].cue" >"$cdartist$ - $album$.cue"


Could you not use the form we used to replace the EAC name with the REACT name.  Or is this not an issue with Images? (I haven't used them)
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-04-19 17:10:14
Frank vZ is ripping to an image and then using ACDIR to create tracks.  The image config has no way of knowing what the track names (or naming schemes) are.  The only thing that deals with track names is ACDIR, as it processes the cuesheet to split the image and add tags.

With this in mind, you could use a similar format if you created a SED command for each track via ACDIR (as mentioned in my previous post), but you would still have to hard code the initial format I think, as you have no track-based @basename@ to refer to ... off the top of my head.


BTW, while I'm here,  I played around a bit more with my idea for passing/parsing tags in the Artist, Album and Comment fields to create additional tokens (like @disc@, @discnumber@, etc.).

Unfortunately, getting it to work with Artist and Album in REACT is a bit messy, although it's simple with Comment.  However, accessing the comment field is not as easy as the Artist and Album fields, and it's length is limited, so I'm not sure about the use of that.

I did get it working with Artist and Album, but it involves: grabbing the values; getting the tags and storing them in a temporary text file; removing the tags before any processing starts (otherwise filenames are really screwy and a lot more work is needed); and finally, on encoding, reading the tags from the text file and adding them to any found in the comment.  As I say, a bit messy, although it does work.  I've uploaded a script demonstrating the possibilities (not within REACT - it's just a little dialogue that converts tags to values) if anyone is interested: react-tags.au3 (http://www.synthetic-soul.co.uk/temp/react-tags.au3) (5KiB, needs AutoIt installed to run) and react-tags.zip (http://www.synthetic-soul.co.uk/temp/react-tags.zip) (176KiB, compiled EXE - no need for AutoIt).  NB: I see newer versions of AutoIt have regular expressions inbuilt.  That would have been really handy.

I had another idea, regarding a hotkey that opens up a dialogue as part of REACT, in which you can specify other information - now I come to think about it a simple key/value list (pretty much like the foobar properties dialogue) would be most flexible, so you can create new tokens of any given name, with any given value.  I had originally thought of a dialogue that extends the Artist/Album/Genre/Year submissions, providing Discnumber/TotalDiscs/DiscName, etc. text boxes - but a key/value submission would be most flexible.  Perhaps a few key fields could be included with a key/value list for additional/bespoke tokens.  Dunno, just another idea to throw in the pot.
Title: REACT 2 Released
Post by: Frank vZ on 2007-04-19 20:39:37
They seem to work and I prefer image mode since it works even if the last track is a data track. The trade-off is that the sed-commands are more "wildcardish".
If this turned out to be an issue you could stick with the syntax you have, but add the line to write the SED command to sedlist.txt as part of the ACDIR run.

I.e.:  ACDIR is already setting the console title and running FLAC for each track (2 separate commands).  You could just append "& <my command line>" to the end of the ACDIR call and the command would execute for each track (<set title> & <run FLAC> & <write to sedlist>).

I don't think this should ever be necessary though.  Just for interests sake.

I have just tried out these lines:
Code: [Select]
        @tools@\acdir.exe --overwrite --output "%TrackName%.flac" --extra-opt "|image/jpeg|||@cover@" --pipe "TITLE $n/$N flac $#T & @tools@\flac.exe @Opt_Flac@ %Cover_tag% %VA_tag% -T artist=$#a -T album=$#T -T title=$#t -T tracknumber=$n/$N -T date=$q@year@$q -T genre=$q@genre@$q -T comment=$q@comment@$q -T encoding=$qFlac @Ver_Flac@ @Opt_Flac@$q - -o $#o & ECHO s/$cdartist$ - $album$ - %TrackName%\.wav/%TrackName%\.flac/>>sedlist.txt" "@sourcecuesheet@"
        @tools@\SED -f sedlist.txt <"@albumfile@.[mg].cue" >"$cdartist$ - $album$ (noncompl).cue"
        DEL "sedlist.txt"

They worked out fine! 
To make them perfect, I would appreciate any hints about getting the 'FILE "'-part into the ACDIR options. I left it out because I didn't know how to include the quote... 
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-04-19 20:52:20
Cool.

It should just be a case of using ACDIR's $q token.

Code: [Select]
ECHO s/FILE $q$cdartist$ - $album$ - %TrackName%\.wav$q/FILE $q%TrackName%\.flac$q/>>sedlist.txt

You could also swap REACT's tokens for ACDIR's tokens (not sure why):

Code: [Select]
ECHO s/FILE $q$#a - $#T - %TrackName%\.wav$q/FILE $q%TrackName%\.flac$q/>>sedlist.txt
Title: REACT 2 Released
Post by: Frank vZ on 2007-04-19 21:19:51
This line finally rocks: 
Code: [Select]
ECHO s/FILE $q$cdartist$ - $album$ - %TrackName%\.wav$q/FILE $q%TrackName%\.flac$q/>>sedlist.txt

Unfortunately, I couldn't use the short ACDIR tokens for cdartist and album, since they return the values in quotation marks...
Title: REACT 2 Released
Post by: lipidicman on 2007-04-20 13:06:23
I had another idea, regarding a hotkey that opens up a dialogue as part of REACT, in which you can specify other information - now I come to think about it a simple key/value list (pretty much like the foobar properties dialogue) would be most flexible, so you can create new tokens of any given name, with any given value.  I had originally thought of a dialogue that extends the Artist/Album/Genre/Year submissions, providing Discnumber/TotalDiscs/DiscName, etc. text boxes - but a key/value submission would be most flexible.  Perhaps a few key fields could be included with a key/value list for additional/bespoke tokens.  Dunno, just another idea to throw in the pot.


and a very good idea at that.  Keep this one on the burner.  This forum has opened my eyes to the possibilities of EAC (I used to simply use it to make CDs back in the day, no freeDB, no LAME, certainly no REACT) but being the perfectionist I am it has opened my eyes to the limitations and this solution would be a big gap filler in my eyes.
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-04-20 13:25:05
I'm already thinking things through a bit.

(http://www.synthetic-soul.co.uk/temp/additional-meta-data.png)

I should probably be concentrating on how the data will be maintained, how it will fit into REACT, etc., but I couldn't resist having a play with AutoIt's GUI script.

We'll see.  It may eventually get into a position where tycho might show some interest, but I'm sorely lacking time at the moment.
Title: REACT 2 Released
Post by: Frank vZ on 2007-04-21 09:00:47
One of my CDs contains 3 audio tracks and 1 data track at the end. When I use REACT in image mode and tell REACT to create all cue sheets, the resulting *.[mg].cue only refers the range.wav instead of the multiple wav files. I.e. it looks like the *..cue.  This problem only occurs from time to time - sometimes everything works the way it should.
Does anyone know about this issue?

Edit: This also happens with CDs not containing data tracks.
Title: REACT 2 Released
Post by: lipidicman on 2007-04-23 13:17:06
One of my CDs contains 3 audio tracks and 1 data track at the end. When I use REACT in image mode and tell REACT to create all cue sheets, the resulting *.[mg].cue only refers the range.wav instead of the multiple wav files. I.e. it looks like the *..cue.  This problem only occurs from time to time - sometimes everything works the way it should.
Does anyone know about this issue?

Edit: This also happens with CDs not containing data tracks.


Remind me, are you ripping tracks, or images (and splitting to tracks)?

I rip tracks.  If this problem affects me I have not noticed it


(http://www.synthetic-soul.co.uk/temp/additional-meta-data.png)


This is a prototype right?  I got all excited there for a nanosecond
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-04-23 13:42:43
This is a prototype right?  I got all excited there for a nanosecond
I spent a little more time on it over the weekend.  I now have that GUI working as a standalone script, so that you can add, edit and delete items.  I also have it populating from an INI file.

I am intending to see it through, so that you can press a hotkey with EAC/REACT open and the dialogue will open, etc.  However, I don't know what I'll do with it once I've satisfied my curiosity.  I don't want to p*ss of tycho at all, and I'm not overly interested in creating some sort of confusing REACT fork.  Once I'm done maybe I'll post the code and see if tycho is interested.  The easiest way is probably to post a patch to the REACT source, so that anyone can apply the patch and create a new EXE themselves.  I need to check what license REACT is released under, and then try to understand what that means.

If it's as useful as I think it could be then I hope that tycho will approve.
Title: REACT 2 Released
Post by: Frank vZ on 2007-04-23 16:10:58

One of my CDs contains 3 audio tracks and 1 data track at the end. When I use REACT in image mode and tell REACT to create all cue sheets, the resulting *.[mg].cue only refers the range.wav instead of the multiple wav files. I.e. it looks like the *..cue.  This problem only occurs from time to time - sometimes everything works the way it should.
Does anyone know about this issue?

Edit: This also happens with CDs not containing data tracks.


Remind me, are you ripping tracks, or images (and splitting to tracks)?

I rip tracks.  If this problem affects me I have not noticed it


This problem occured in both, image and track mode. It seems to me that it only happens directly after starting REACT and it may take a few tries till the cue sheets are built correctly. Once it worked, the problem never reoccured unless restarting REACT. But it's hard to describe, since it occurs only sporadically. 
Title: REACT 2 Released
Post by: lipidicman on 2007-04-24 13:15:09
This problem occured in both, image and track mode. It seems to me that it only happens directly after starting REACT and it may take a few tries till the cue sheets are built correctly. Once it worked, the problem never reoccured unless restarting REACT. But it's hard to describe, since it occurs only sporadically. 


Probably not related, but I have had problems where the cuesheets cause problems.  I changed gap detection mode (from C to A) and now I get it less.  Also, if you abandon a rip it seems to be necessary to close EAC and then close the REACT icon in the taskbar before restarting REACT.  If you do not one problem I noticed was the ripping window would not be closed and therefore the log file would not be ready

I am intending to see it through, so that you can press a hotkey with EAC/REACT open and the dialogue will open, etc.  However, I don't know what I'll do with it once I've satisfied my curiosity.  I don't want to p*ss of tycho at all, and I'm not overly interested in creating some sort of confusing REACT fork.  Once I'm done maybe I'll post the code and see if tycho is interested.  The easiest way is probably to post a patch to the REACT source, so that anyone can apply the patch and create a new EXE themselves.  I need to check what license REACT is released under, and then try to understand what that means.

If it's as useful as I think it could be then I hope that tycho will approve.


Lets hope so.  I would certainly be interested in testing this for you!
Title: REACT 2 Released
Post by: scooterfrog on 2007-04-24 16:16:04
wow very cool tool baut a but over whelming.

I currently rip with audeio grabber
then mp3 gain
then clean tags and embed album art with mp3tag

could I get some help with image and track cfgs
I want to rip an album to mp3 tracks (lame -b 320)
run mp3 gain ( track)  89db (mp3gain /r /c)
embed album art
clean tags like this

delete leading and trailing spaces in tags
remove the and The on artists
change & to and
change : and _ to spaces

and write the mp3 files to
c:\music\%artist%\%artist% - %album% - %track% - %title%
Title: REACT 2 Released
Post by: Frank vZ on 2007-04-24 18:27:26

This problem occured in both, image and track mode. It seems to me that it only happens directly after starting REACT and it may take a few tries till the cue sheets are built correctly. Once it worked, the problem never reoccured unless restarting REACT. But it's hard to describe, since it occurs only sporadically. 

Probably not related, but I have had problems where the cuesheets cause problems.  I changed gap detection mode (from C to A) and now I get it less.  Also, if you abandon a rip it seems to be necessary to close EAC and then close the REACT icon in the taskbar before restarting REACT.  If you do not one problem I noticed was the ripping window would not be closed and therefore the log file would not be ready

Thanks for the hints! It is very well possible that my problems only occured after having abandoned a rip previously. I will have an eye on this.
Title: REACT 2 Released
Post by: lipidicman on 2007-04-25 14:14:32
could I get some help with image and track cfgs
I want to rip an album to mp3 tracks (lame -b 320)
run mp3 gain ( track)  89db (mp3gain /r /c)
embed album art

clean tags like this

delete leading and trailing spaces in tags
remove the and The on artists
change & to and
change : and _ to spaces

and write the mp3 files to
c:\music\%artist%\%artist% - %album% - %track% - %title%


REACT's ini will let you do all the bold bits I believe.  The rest?  I make sure my EAC freeDB info is correct before ripping.  I leave 'The' on the start and then have foobar remove it in my album tree (this way I can change my mind later)  I am sure you can have react do this for you (using something like SED maybe) but I am not the man to write the script for you I am afraid
Title: REACT 2 Released
Post by: scooterfrog on 2007-04-25 21:09:35

could I get some help with image and track cfgs
I want to rip an album to mp3 tracks (lame -b 320)
run mp3 gain ( track)  89db (mp3gain /r /c)
embed album art

clean tags like this

delete leading and trailing spaces in tags
remove the and The on artists
change & to and
change : and _ to spaces

and write the mp3 files to
c:\music\%artist%\%artist% - %album% - %track% - %title%


REACT's ini will let you do all the bold bits I believe.  The rest?  I make sure my EAC freeDB info is correct before ripping.  I leave 'The' on the start and then have foobar remove it in my album tree (this way I can change my mind later)  I am sure you can have react do this for you (using something like SED maybe) but I am not the man to write the script for you I am afraid


thanks io got most if it working
I am sure I can get it to work with SED
then I treid to isntall the album art downlaoder.
it required dot net 3
it worked but now acdir is giving em unhandled exceptions  and needing to turn on the just in time debugger.
damn


uninstalled and reinstalled.
more of the same.
rips fine in track mode.  that doesn't use acdir right.
I can get proabaly get it to do everyting I want.
Title: REACT 2 Released
Post by: scooterfrog on 2007-04-26 01:35:50
Quote
thanks i got most if it working
I am sure I can get it to work with SED
then I treid to isntall the album art downlaoder.
it required dot net 3
it worked but now acdir is giving em unhandled exceptions  and needing to turn on the just in time debugger.
damn


uninstalled and reinstalled.
more of the same.
rips fine in track mode.  that doesn't use acdir right.
I can get proabaly get it to do everyting I want.

found that problem it was a typo on my acdir file nameing conventron string.
so i can reapply dot net 3  and used the newer verion of album art cover downloader


next question
when ripping images

the process is rip image, process bat file.
any way to make it not process the bat file.

I could then just rip a bunch of cds to images. create a bunch of batch files and then kick them off later  ( when I go to bed  un attended).

better yet I could easily chain the batch files together.

how to keep the batch files from executing.

I have a couple of ideas but would appeceiate an easier way
idea
make the batch file look for a special file or quit.  then the batch wont run at rip time and leave everyting in place. then create that special file (simple text file run.ok)  and re run the batch files.
idea off

second new question 
I use mp3 track gain  I put that in the image cfg.  it works.
but metamp3 uses mp3gain source code right.  do I just set applyreplygain =1 and albumn gain = 0 
does it change the file not just tags?

I use itunes, and ipods  but all mp3 no aac
my alpine ipod controller ( the new ida) plays digitally from ipods or other mass storqage devices I dont htink it supports soundheck internally.
Title: REACT 2 Released
Post by: scooterfrog on 2007-04-26 04:40:52
Quote
second new question 
I use mp3 track gain  I put that in the image cfg.  it works.
but metamp3 uses mp3gain source code right.  do I just set applyreplygain =1 and albumn gain = 0 
does it change the file not just tags?

I use itunes, and ipods  but all mp3 no aac
my alpine ipod controller ( the new ida) plays digitally from ipods or other mass storqage devices I dont htink it supports soundheck internally.


just tried it.
changing the ini file to replay gain 1 album gain 0 does not give the same result as mp3 gain defaults.

the metamp3 is louder but thatsall i could tell. I dont have any thing that reads the ape tags
I could un mp3gain all my files ( it reversable)
and re apply gain with metamp3.  on all my files.  (50gb)
then simply use the metamp3 stuff above.

I wna them track normalized because I mosly listen to my music on complex play list  shuffles.


I should just go to bed
I found the metamp3 thread
its 3db louder
I canuse metamp3 to undo, redo and apply mp3gain(ed) files.
it uses standasd tags
tycho is god
Title: REACT 2 Released
Post by: wraithdu on 2007-04-26 04:58:28
any way to make it not process the bat file.

I could then just rip a bunch of cds to images. create a bunch of batch files and then kick them off later  ( when I go to bed  un attended).

better yet I could easily chain the batch files together.

how to keep the batch files from executing.


Hit CTRL-Q (or Tools -> Compression Queue Control Center) and tick the box 'Make all compression tasks sleep'.  When you're done for the night, go back, untick the box and click OK.  Your compression tasks will now start all queued up.  Wake up happy
Title: REACT 2 Released
Post by: scooterfrog on 2007-04-26 18:23:07


any way to make it not process the bat file.

I could then just rip a bunch of cds to images. create a bunch of batch files and then kick them off later  ( when I go to bed  un attended).

better yet I could easily chain the batch files together.

how to keep the batch files from executing.


Hit CTRL-Q (or Tools -> Compression Queue Control Center) and tick the box 'Make all compression tasks sleep'.  When you're done for the night, go back, untick the box and click OK.  Your compression tasks will now start all queued up.  Wake up happy

thx
Title: REACT 2 Released
Post by: Stone Free on 2007-04-27 19:16:54
In track mode how can I get Various Artists to create the artist directory based on the $artist$ tag, as the following doesn't work.

TrackName_VA=$artist$\$track$ - $title$

This did not create an Artist directory, or create the finished track.
Title: REACT 2 Released
Post by: scooterfrog on 2007-04-27 19:27:48
new question
in image mode
I would like to clean tags ( see my prevous post)
I think I want to use SED on the cue file befor calling acdir.

any suggestions /  examples
Title: REACT 2 Released
Post by: Golfer on 2007-04-29 04:00:48
Having a small problem with embedding album art.  Everything else seem to do Ok, I do a F10 Album Art downloader come up and I save it(might not be saving to correct location).  I edited the REACT.ini file only. I don't know enough about scripting to edit the REACT-image.cfg file.  I running windows xp2, update the to flac v1.14 and AlbumArtDownloaderXUI.  I can embed albumart using MP3Tag.

Good news, I got it working.  I needed 'CreateAllCuesheets=0' set to 1 instead of 0. And name of file saved as album name and saved to root directory of file where the music was to be saved.
Title: REACT 2 Released
Post by: lipidicman on 2007-05-01 15:23:11
In track mode how can I get Various Artists to create the artist directory based on the $artist$ tag, as the following doesn't work.

TrackName_VA=$artist$\$track$ - $title$

This did not create an Artist directory, or create the finished track.


Hang on, artist will vary for a various artists album!  I use VariousArtists/Album/number -- track -- artist.flac
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-05-03 07:06:03
(http://www.synthetic-soul.co.uk/temp/additional-meta-data.png)
This is a prototype right?  I got all excited there for a nanosecond
I thought it was about time that I made it known publicly that I now have this working.

With my amended EXE pressing Alt+F5 will bring up a non-modal dialogue very similar to that above (it has since been turned into a toolbox dialogue so that it does not show up in the task bar).

The dialogue allows you to set both disc- and track-level meta data.  Setting "discnumber" to 1 as above, will allow you to use the tokens @discnumer@ (1) and $discnumber$ (01) in your CFG (for $-style tokens integers are zero-padded and strings are converted to their filename-friendly equivalent).

For users ripping to tracks the format "<token>[<track>]" may be used. E.g.: "composer[1]" will set the @composer@ token value for track one, "composer[2]" will set the @composer@ token value for track two, etc.

As an example of how the default "discnumber" and "totaldiscs" tokens may be used:

Code: [Select]
IF @totaldiscs@ GTR 1 SET TrackDir_Flac=%TrackDir_Flac% (Disc @discnumber@)

or

Code: [Select]
IF @totaldiscs@ GTR 1 SET D_Wavpack=-w "discnumber=@discnumber@" -w "total discs=@totaldiscs@"
...
@tools@\wavpack.exe @Opt_Wavpack@ %RG_Wavpack% %D_Wavpack% -w "%ArtistField%=@cdartist@" ...

I have recently made some steps towards adding these values to the cuesheet(s) also.

@Tycho : Are you happy for me to release an EXE with source, or would you like me to send it to you for your perusal first?  I can find no documentation regarding REACT's license, and I have no desire to annoy you or hinder your work with REACT.  I will no release this publicly until I have a response from you.
Title: REACT 2 Released
Post by: tycho on 2007-05-03 14:40:30
@Synthetic Soul: Thanks for working and supporting REACT. I have been very silent in this thread - sorry. Please release the new version, including source code. I am slowly working on a new version, but it's not a major upgrade. If you have the new GUI code fairly separated from the rest (in functions), it should be easy for me to integrate it in my code later.
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-05-03 14:45:14
OK tycho, will do.

Where possible I have functionalised all new code and put it in a new au3 file which is in turn included by REACT.au3.  I have then had to amend REACT.au3 just to add calls to those functions where relevant.

I'll make sure that it's all in a good state and upload later on.

Thanks again.

Edit: Ah, I just remembered a key point.  I have utilised the new regular expression functionality in the latest version of AutoIt, so it will not compile with earlier versions.  I'm using the stable 3.2.2.0.  Not sure if this is an issue with you.

FYI: The system utilises it's own INI file (metadata.ini) in the REACT directory, to achieve persistence.  The INI has two sections: "Default" sets the default token/value pairs available upon initialisation (which also occurs when a new disc is inserted, or drive changed) while "Current" stores the active token/value pairs for the current run.  The INI is created if not present, and neither the REACT.ini or CFG files are touched.
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-05-03 16:00:22
OK, REACT_2.0.ssb5.zip (http://www.synthetic-soul.co.uk/temp/REACT_2.0.ssb5.zip) has been uploaded.

The zip contains the EXE, a readme, the original source and icon, and the new source files.

The readme is a hastily-put-together document describing the new functionality.

A few points:Edit: And remember: running this new version (2.0.ssb5) will result in your REACT.ini file being rewritten!  Either amend the first line to "Version=2.0.ssb5" in your ini, or make a backup!
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-05-04 21:32:55
The Additional Meta Data dialogue is non-modal, but does stay on top of all windows.  My preference would be to act as it currently does, but stay on top of EAC only; however I don't think I can do this.
I'm really pleased to say that I have resolved this.  I can't  believe that it was such an easy fix  - I'm kicking myself.  The  dialogue now stays on top of the EAC window, but not other windows (it is a child of the EAC window).

I have also made the dialogue disabled as soon as ripping begins, and re-enabled when ripping finishes, to save any confusion.

Source-wise, to save confusion, I have renamed the functions to begin "fDiag..." rather than "fGUI...", as that prefix has already been used by the main source when referring to the main window.

REACT 2.0.ssb6 (http://www.synthetic-soul.co.uk/temp/REACT_2.0.ssb6.zip)

The dialogue will revert to the default values any time the EAC window title changes - which should be on disc or drive change. I did this as I saw little point in retaining, e.g., discname=Jupiter, if the disc has changed. It's possible this may confuse or annoy people.
I noticed another, unwanted, side of this tonight.  As the function looks for a change in the window title amending the CD Artist or CD Title will cause the dialogue to reset.  With this in mind the basic idea is to just deal with the dialogue as the last step, after you have ensured that the main meta data is correct.

As I say, and depending on what Tycho chooses to do with this, if you give this a try maybe you'll come up with a better way for the dialogue to work.  It needs some proper user testing to come up with the optimum resolve for the majority... personally, as it stands, I intend to just remember to work with the dialogue as the last step before hitting F10 - once the main dialogu is "stable" (disc inserted, freedb data down and checked).
Title: REACT 2 Released
Post by: brainsoft on 2007-05-07 04:58:22
I just wanted to say, for anyone interested, to check out this thread if you want AccurateRip checking with Image ripping (http://www.hydrogenaudio.org/forums/index.php?showtopic=53583&st=25&gopid=490640&#).  It's not ideal, you need Perl installed, but it works!

http://www.hydrogenaudio.org/forums/index....id=490640&# (http://www.hydrogenaudio.org/forums/index.php?showtopic=53583&st=25&gopid=490640&#)


I've not ready through this thread in a while, I'll have to later to see if there have been any other good advances
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-05-08 14:42:50
If anyone is testing my REACT mod, 2.0.ssb6 (http://www.synthetic-soul.co.uk/temp/REACT_2.0.ssb6.zip), they may want to read the wiki article REACT:Adding Support For Disc Information (http://wiki.hydrogenaudio.org/index.php?title=REACT:Adding_Support_For_Disc_Information).  I've gotten around to updating my config files to use the @discname@, @discnumber@ and @totaldiscs@ tokens provided by 2.0.ssb6 (http://www.synthetic-soul.co.uk/temp/REACT_2.0.ssb6.zip) to set folder paths and tags.  I thought I may as well document the changes, so here they are.

@Tycho

Given the underwhelming response to 2.0.ssb6 I wonder whether it is worth your time integrating my changes into your core release.  I am happy to maintain a mod for those that want it... if we can agree on a sensible version string, or something...
Title: REACT 2 Released
Post by: ESP85 on 2007-05-13 22:07:07
3) How do I get ReplayGain track values written into the MP3 files? I want both the album and track gain values written to the MP3 files, but without applying the gain to the files (no scaling).


I would like to know about this also.

How can this be done?
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-05-14 07:24:20
This really isn't my field, but as no-one else is answering...

I believe that you simply need to rip to an image (even though you want MP3 tracks), and amend yor INI so:

Code: [Select]
ImageExt=wav
...
LameMP3=1
...
ReplayGain=1
ApplyAlbumGain=0
...
UseWaveGainAG=1

This should create a WAVE image from which WaveGain can calculate album gain.  It will then split that into track MP3s, write the RG tags, and eventually delete the WAVE image file.
Title: REACT 2 Released
Post by: ESP85 on 2007-05-14 08:04:07
Yeah, that writes the album RG to each track but not the track RG.

I've tried adding "--replaygain-accurate" to my "Opt_LameMP3=" line but it won't write the track RGs for some reason.

Or maybe it does and metamp3.exe erases them when it updates the files?
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-05-14 08:16:12
Again, not my field, but I think the RG tags that LAME writes are not compatible with "normal" RG tags anyway.

I'll try to have a think about the track gain.

I don't use it generally, certainly not through REACT, so I'm not really up on it I'm afraid.
Title: REACT 2 Released
Post by: tycho on 2007-05-14 08:49:11
OK, inputs are noted. To tag both AG and TG but not apply them, you must set

ReplayGain=1
ApplyAlbumGain=0
UseWaveGainAG=0  ; when 1, it computes AG scale value to apply on lame while encoding. 

I will rethink how to organise the RG options in future releases.
Title: REACT 2 Released
Post by: lipidicman on 2007-05-14 15:19:19
I need 'big-up' the above, since I pushed for its development (and did diddly-squat else).

Eac can only add ARTIST, ALBUM and TRACKNAME.
What about Two Disc albums?  You could put (disc2) in the name, then you need to adjust the tags to get foobar to list the two discs together
Wouldn't it be great if you could tell REACT the DISCNUMBER, TOTALDISCS and maybe add a tag for the type (Single, Album, Live etc)
Synthetic Soul's Mod allows you to do just this by creating REACT variables that you can add to your REACT config.  The possibilities are endless (well, maybe not endless and I think I might have borrowed that slogan and....ahem)
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-05-14 15:32:51
 Thank lipidicman!

I must admit that I am slightly bemused by the lack of interest... but if the two of us find it useful then that's something.  It was an interesting project to undertake regardless - I needed to get it out of my system.

I will reiterate that I see no point in merging this with the core REACT dist until a lot more people show interest!

With that in mind, I suppose the following question is moot, but, meh:

What additional tokens/tags/meta data do people think would be useful to submit from EAC?

My mod has DISCNUMBER, TOTALDISCS and DISCNAME by default, and I'm finding them useful.  I have amended my conf to add disc-related tags, and to use a "Artist\Album\Disc" folder structure where relevant.  I previously had to do this manually, and only bothered with the MP3s, not the WavPack images, so it's saving me time and hassle.

I did consider including ALBUM SUBTITLE in the defaults, but they so infrequently have one; I may adapt my config to be able to cope with one though, in the unlikely event.  I know lipidicman was talking of using a DISCTYPE token, which could process discs differently, according to whether they were albums, singles, EPs, etc.

I just wondered whether anyone else could see a really useful addition to the tokens, out of curiosity.  Bear in mind that the token value can be yes/no, a number, or a string, and you can even set a token for an individual track (I have used the example "@composer@" previously)...
Title: REACT 2 Released
Post by: lipidicman on 2007-05-14 15:53:31
The users who would really benefit (as already recognised by the 'COMPOSER' idea) are Classical fans.

I am leaving my classical albums until I find a decent guide.  Tagging these properly seems like a minefield
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-05-14 16:19:23
The users who would really benefit (as already recognised by the 'COMPOSER' idea) are Classical fans.

I am leaving my classical albums until I find a decent guide.  Tagging these properly seems like a minefield
True on all accounts.

NB: I have now uploaded beta 9 (http://www.synthetic-soul.co.uk/temp/REACT_2.0.ssb9.zip).  Here's the revamped readme (http://www.synthetic-soul.co.uk/temp/REACT_2.0.ssb8_readme.txt).

Changes:Remember to set Version to 2.0.ssb9 in your REACT INI before running, if you don't want to lose the contents.

Edit: Updated to beta 9 (http://www.synthetic-soul.co.uk/temp/REACT_2.0.ssb9.zip)  - track cuesheets now supported.
Title: REACT 2 Released
Post by: gsa999 on 2007-05-15 13:21:25
I am having trouble with CoverDownloader and REACT2. I want to be able to select a folder.jpg from an existing folder on my hard disc rather than go out to the web. Is this possible. If not can I disable it altogether in REACT2.
If I do this is there a tool that I can use later on to batch add albumart to flac and mp3 tracks and a flac image.

Rgds
G
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-05-15 13:28:05
You can disable it by setting RunCoverDownloader=0 in your REACT.ini file.

To use existing artwork you would need to amend your config to stop relying on CoverDownloader and to point to the existing image.  Edit: Actually, if you put the cover in the working directory, with the same name as the EAC log (album name, with illegal chars replaced with spaces), it would work as is (still setting RunCoverDownloader to 0).

How are your existing covers filed?
Title: REACT 2 Released
Post by: lipidicman on 2007-05-15 15:20:09
I want to try your mod on my main ripping machine (been trialling it on my laptop till now)
Can I just copy my REACT directory apply it there and run it without affecting my tweaked setup?  I think this will work but wanted to check.
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-05-15 15:26:03
The only issue I can see is a potential difference in paths used in your REACT ini ([UserOutputNames] section).

As for the mod, it won't be affected.

To confirm my understanding: if you copy REACT.ini, REACT.exe, REACT-image.cfg and REACT-track.cfg from your laptop to the PC then the INI will remain as it is, REACT will still be modded, and everything should run as it did on the laptop.
Title: REACT 2 Released
Post by: gsa999 on 2007-05-16 08:47:33
How are your existing covers filed?

Hi, thanks for the info.
All my images are stored in a single folder in the following format  "Artist - Album Title". I have used a program called Catraxx to catalog my music collection for the last 10 years or so and having all the cover art in a single folder was the best way to organise things. Now I want to embark on ripping my entire collection but using the coverart I already have becuase (a) they are all the same size and (b) they are all good quality.

Are you saying that if I copy all the images to my working directory (which one is this?) it will pick them up automatically. When I rip to image I use the format "artist - year - album title"; for tracks it is "artist - album title - trackno - tracktitle"

G
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-05-16 09:22:54
All my images are stored in a single folder in the following format  "Artist - Album Title".
...
Are you saying that if I copy all the images to my working directory (which one is this?) it will pick them up automatically. When I rip to image I use the format "artist - year - album title"; for tracks it is "artist - album title - trackno - tracktitle"
REACT looks for an image with the same name as the EAC log, which is the album name with all illegal characters replaced with spaces.  Your naming scheme is irrelevant.

I see two options:
Title: REACT 2 Released
Post by: gsa999 on 2007-05-16 13:13:59
I see two options:
  • You create a script to rename all your images using REACT's format (as described above).  You put all the images in the working folder, and off you go.
  • You amend your config to look for the images where they reside, using their existing naming scheme.  This wouldn't be too much of a problem, except that you need to make sure that REACT uses the same illegal character replacement scheme as you did when naming the images - which could actually be a problem.  That said, there should only be a few albums where that's an issue, so you could deal with those manually afterward.

Hi again.
I am not at all familiar with scripting and am not sure where to start with option 1. Option 2 looks a little more manageable to me. Could you give me an example of what I would need to put in the config file and whereabouts assuming my files are in folder "c:\my documents\catraxx\cover art\*.jpg" in the format "artist - album title"

Many thanks
G
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-05-16 13:36:52
I don't have time to test this, but here's a start: From a previous post I am assuming that you are ripping to FLAC image with FLAC and MP3 tracks.

In your REACT.ini ensure the settings below:

Code: [Select]
[Settings]
...
ImageExt=flac
RunCoverDownloader=0
...
[UserTrackFormats]
Flac=1
Wavpack=0
LameMP3=1
NeroAac=0
iTunesAac=0
OggEnc2=0
...
[UserSettings]
...
EmbedCover=1
...

In your config (REACT-image.cfg), presuming it has not been edited previously, on line 49 you will see:

Code: [Select]
IF EXIST "@cover@" (
    SET have_cover=1
    SET embed_cover=@EmbedCover@
)

Change that code to:

Code: [Select]
SET cover = C:\My Documents\Catraxx\Cover Art\$cdartist$ - $album$.jpg
IF EXIST "%cover%" (
    SET have_cover=1
    SET embed_cover=@EmbedCover@
) ELSE (
    ECHO.
    ECHO WARNING: '%cover%' does not exist!
    ECHO.
)

Then, find and replace any instance of the text "@cover@" in the subsequent code with "%artist%". E.g. on line 108, change:

Code: [Select]
IF %embed_cover%==1 SET Cover_tag=--picture="|image/jpeg|||@cover@"

... to:
Code: [Select]
IF %embed_cover%==1 SET Cover_tag=--picture="|image/jpeg|||%cover%"

Pay particular attention to lines 108, 150 and 180.
Title: REACT 2 Released
Post by: wraithdu on 2007-05-16 17:01:16
Another option for you - upgrade to the latest version of Albumart Downloader (find the thread in the Uploads forum).  It is version XUI 0.4.1; this is the continuation of the original CoverDownloader project.  In the options you can set a location for local files (you an then disable all the online searches).  The XUI version will accept the same parameters as the old CoverDownloader, so you just need to amend the path in your react.ini.

You need .NET 3 for this to work.

If you do it this way, you don't have to worry about editing all the stuff above, and naming issues shouldn't be a problem.
Title: REACT 2 Released
Post by: gsa999 on 2007-05-17 08:17:02
Synthetic Soul and Wraithdu
Thanks for both of your tips on this  . I am going to have a go with both options over the weekend to see how I get on before going for one of them. I'll let you know which one I ended up with.

Just one thing re Synthetic Souls code. You say I should replace all instances of @cover@ with %artist% but the line 108 example replaces it with %cover%. I think the example is probably correct, but could you just confirm that please. Thanks
Title: REACT 2 Released
Post by: lipidicman on 2007-05-18 13:36:09
Was there ever a fix for albums with data tracks on the end.  I have been trying to make the postprocessing occur at @numtracks@-1 for these albums but the decision in the track.cfg seems to hold numtracks as a string making it hard to subtract one (for a newbie like me).  Any help out there?

If this cant be fixed in react standard, maybe SS's mod would allow the user to overwrite numtracks for these few albums?  Just musing on the idea
Title: REACT 2 Released
Post by: wraithdu on 2007-05-18 15:20:19
Was there ever a fix for albums with data tracks on the end.  I have been trying to make the postprocessing occur at @numtracks@-1 for these albums but the decision in the track.cfg seems to hold numtracks as a string making it hard to subtract one (for a newbie like me).  Any help out there?

If this cant be fixed in react standard, maybe SS's mod would allow the user to overwrite numtracks for these few albums?  Just musing on the idea

Try setting @numtracks@ to a variable and using that to test
Code: [Select]
SET /a endtrack=@numtracks@-1

of if that doesn't work

SET _numtracks=@numtracks@
SET /a endtrack=%_numtracks%-1
Title: REACT 2 Released
Post by: lipidicman on 2007-05-18 15:58:20
Cheers, I'll give that a try.  I could then change the config for an album with a data track (I only have a handful)

I wonder if it could be possible to test for the presence of a data track and have react decide automatically
Title: REACT 2 Released
Post by: gsa999 on 2007-05-20 08:40:46
Synthetic Soul and Wraithdu
Thanks for both of your tips on this  . I am going to have a go with both options over the weekend to see how I get on before going for one of them. I'll let you know which one I ended up with.

Both,
I thought I would let you know how I got on with both options.

I tried the latest version of AlbumArtDownloader first. In an ideal world it did exactly what I was looking for. Trouble is it was very very slow and even reduced my machines virtual memory to zero and I had to reboot. It was just unworkable. My laptop is about 4.5 years old so it probably isn't up to running something that requires .NET3

I then tried Synthetic Souls solution and this worked perfectly apart from it deleting my original file. I REMed out the delete %cover% at the end of the cfg to fix this

So I am going to stick with this solution. Thanks for your help.
Title: REACT 2 Released
Post by: lipidicman on 2007-05-21 10:41:14
Try setting @numtracks@ to a variable and using that to test
Code: [Select]
SET /a endtrack=@numtracks@-1


This worked a treat.  Thank You!.  My Enhanced CD was post processed.  The cuesheet needs a manual tweak but that is it.  Now I need to use a TAG is SS's mod to tell the script whether I have an enhanced CD
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-05-23 13:58:56
I assume that you could do this yourself, but just in case, this is what I would do (untested):

Create a new token called "datadisc" in your Additional Meta Data defaults, and set it to "0" (false):

Code: [Select]
[DefaultMetaData]
discnumber=1
totaldiscs=1
discname=
datadisc=0

In your track config, add the following near the top of the file:

Code: [Select]
SET realNumTracks=@numtracks@
IF [@datadisc@] EQU [1] SET /a realNumTracks=@numtracks@-1

Then change:

Code: [Select]
IF NOT @track@==@numtracks@ GOTO end_post_process

to:

Code: [Select]
IF [@track@] NEQ [%realNumTracks%] GOTO end_post_process

Then, when you encounter a disc with a data track, simply open up the Additional Meta Data dialogue (Alt+F5) and change "datadisc" to "1" (true).  Easy!
Title: REACT 2 Released
Post by: lipidicman on 2007-05-23 14:20:07
Thanks again to SS.  I Just wanted to chip in to hammer home the significance of the above.
This is the simplest fix I have seen for handling ENHANCED CDs.
(The problem usually encountered is that you are not ripping the final track, therefore React does not perform any post processing)

If anyone has an alternative solution to the Enhanced CD problem then let us know here.  Cheers
Title: REACT 2 Released
Post by: mc365mc on 2007-05-25 05:17:11
Edit

found my own answer.

I was adding: IF EXIST "@albumfile@.[mg].cue" COPY /Y "@albumfile@.[mg].cue" .

to the track cfg file but I left out the period at the end.



Hi all,

My react2 setup is simple.  I've only activated stuff in the .INI havent changed anything in the cfg files.

I have 1 for save cue sheets and I get 4 cue sheets when I copy flac image and tracks {F10} but not when I compress just to flac tracks {F4}.

Is there something I need to do to get the noncompliant cuesheet for multiple files?
Title: REACT 2 Released
Post by: Stone Free on 2007-05-27 18:36:08
Trying to rip 100% Columbian by Fun Lovin' Criminals, to .flac results in zero files.  For some reason the final commandline appears as follows:

D:\CDs\Fun Lovin' Criminals\100 Colombian>C:\PROGRA~1\Audio\REACT2\tools\flac.exe -8 -f  -T artist="Fun Lovin' Criminals" -T album="100USERNAME\Documents and Settings\Peter\My Documents\My Music\Ftmp(842(.wav" -o "14 - Fisty Nuts.flac"

If I remove the % from the album title then everything goes fine
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-05-27 19:13:31
The addition of the extra % has caused DOS to get totally confused with variable names, essentially inverting variable name and static text.  I.e.:  It has treated everything following that %, until it meets another (which should actually be the start of a variable name, not the end), as a variable name.

Not sure of a workaround for this. 

Edit: I think % has to be replaced with %% to be taken as text, so I guess it may just be a case of ensuring that any % is replaced by %% in REACT (?).
Title: REACT 2 Released
Post by: lipidicman on 2007-05-29 10:41:27
I have noticed a problem with '&' as in Blur's Track 'Girls & Boys'
The REACT name becomes 'Girls .flac'

The TAGs are fine and the filename ends up truncated in my SED modified cuesheet too (so everything works).  However the perfectionist in me does not like the poorly named files.  Why is this happening?

note:  the EAC name and the unmodified cuesheet has the full name (and the original EAC wav extension)
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-05-29 11:15:14
As per the % issue above, this will be because & is a special character in DOS, used to execute multiple commands.

I can only assume that this is down to the lines:

Code: [Select]
IF @various@==0 SET TrackName=@TrackName_SA@
IF @various@==1 SET TrackName=@TrackName_VA@

... which would produce (for my INI):

 
Code: [Select]
IF @various@==0 SET TrackName=01 - Boys & Girls
...

.. which is basically saying 'Set the variable TrackName to "01 - Boys" and then execute the command  "Girls"'.

I suspect you would see a line in the console saying:

Code: [Select]
'Girls' is not recognized as an internal or external command,
operable program or batch file.

Again, maybe REACT needs to replace "&" with "^&" before replacing the token (?).

Edit: to clarify, to work correctly the line should be:

Code: [Select]
IF @various@==0 SET TrackName=01 - Boys ^& Girls

(The caret escapes the ampersand)

Edit 2: Bah!

Actually, looking at the source and putting my thinking head on, I realise that this is not as easy as I imagined.  REACT will replace @TrackName_SA@ with the value set by TrackName_SA in the INI, and then REACT will replace the tokens used in that value - so it's not really possible to pin down that value.

Therefore, I would suggest doing this:

Code: [Select]
IF @various@==0 SET TrackName="@TrackName_SA@"
IF @various@==1 SET TrackName="@TrackName_VA@"
SET TrackName=%TrackName:&=^&%
SET TrackName=%TrackName:"=%

This surrounds the original value with quotes so the ampersand doesn't cause a problem.  It then replaces "&" with "^&" and finally removes the quotes.
Title: REACT 2 Released
Post by: morisimo on 2007-05-29 17:28:50
I do apologise if this has been covered before, but with so many posts and so many different issues it is easy to miss things. (Perhaps a dedicated RACT forum is required? )

So, on to my question...

Using the EAC + REACT combo, can I tag the following example of an album in the follwing way?

Album: Trance Nation (This is the actual name of the album)
Disc Number: 1 or 2 (It is a two disc album)
Album Artist: Ministy Of Sound
Mixed by: System F - Ferry Corsten
Track Artists: Insert track artist here

Here I am torn as to who the album artist actually is, because it could justifiably be either. (Not a big deal, preferably having album artist as Ministry Of Sound)

My requirement is two fold in that I want this to be under the folder structure:

Ministry Of Sound/Trance Nation/Disc x/tracknumber Trackname

I also want the tags to be handled correctly and include the "Mixed By" or eqivalent tag, if it exists.

Is this possible, and if it is, how do I configue REACT to implement this in both Id3v2 tags (for my mp3's) and APEv2 tags (for my wavpack's)?
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-05-29 20:20:45
You can do as you wish, but you would probably need my mod, and a reasonable amount of config editing.

I have created a mod of REACT that allows you to easily insert and update tokens (e.g.: @discnumber@).

I have published amendments to the config to amend the path to utilise @discnumber@ or @discname@ tokens.  Unfortunately the wiki appears to be down at the moment so I can't provide a link.

My mod would allow you to easily set @discnumber@, @albumartist@ and @mixedby@ tokens (and @totaldiscs@ if you want).  However, the bit that takes the time is amending the config to utilise these tokens.  As I say, I've published code for adding the disc number to the path.  Setting a "Mixed By" tag shouldn't be too complicated.  I think you'd just need some code that checked whether a value was set for @albumartist@, and set the tag accordingly.

In essence, yes it is possible, with a little work.

NB: You could do it without my mod, by directly adding values to the REACT INI, but the idea with the mod is that you can easily adjust values using a GUI, from within EAC.  It depends how often you intend to use this approach.
Title: REACT 2 Released
Post by: lipidicman on 2007-05-30 08:34:46
Code: [Select]
IF @various@==0 SET TrackName="@TrackName_SA@"
IF @various@==1 SET TrackName="@TrackName_VA@"
SET TrackName=%TrackName:&=^&%
SET TrackName=%TrackName:"=%

This surrounds the original value with quotes so the ampersand doesn't cause a problem.  It then replaces "&" with "^&" and finally removes the quotes.


Superb!  Any reason that this should not be standard in React?  The problem isn't noted anywhere and must be fairly common (I have had to correct about 10% of my albums!)

NB: You could do it without my mod, by directly adding values to the REACT INI, but the idea with the mod is that you can easily adjust values using a GUI, from within EAC.  It depends how often you intend to use this approach.


A guide to this might be a good idea for those of us with less experience.  I think I have the basics but was wondering about some string manipulation.

In foobar I do stuff like "The Cure" to "Cure, The" for my album lists.  Now, could I take the EAC name "Ima (Disc1/2) and have REACT recognise the '(Disc1/2)' and strip it off the name and use it to fill in DISC and TOTALDISCS?  Just a thought for the moment.
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-05-30 09:39:22
Superb!  Any reason that this should not be standard in React?  The problem isn't noted anywhere and must be fairly common (I have had to correct about 10% of my albums!)
The perfectionist in me finds the code a bit of a hack, but it works, and I can't think of a reason why it couldn't be included.  I have been wondering about tackling it in the REACT source though, so REACT would detirmine whether TrackName_SA or TrackName_VA was to be used, do a replace on all tokens within the value, and then, e.g., replace "&" with "^&".

I've already added code to my mod to deal with the "%" issue above.  I was hoping to have a think about the "&" issue and then release beta 10, which, incidentally, will also include the ability to prefix "temporary" (process-level) variables (like your @datadisc@) with an underscore (@_datadisc@), to stop them being added to the cuesheet.

 
A guide to this might be a good idea for those of us with less experience.  I think I have the basics but was wondering about some string manipulation.

In foobar I do stuff like "The Cure" to "Cure, The" for my album lists.  Now, could I take the EAC name "Ima (Disc1/2) and have REACT recognise the '(Disc1/2)' and strip it off the name and use it to fill in DISC and TOTALDISCS?  Just a thought for the moment.
I'm trying to get away from writing people's code for them though, unless I'm really bored!  I potentially have some evening work on the horizon, so will be just too damn busy.

DOS' string manipulation is pretty damn poor, so I think the basic answer is to gem up on SED and use that.  You could use SED to pick out the disc number and total discs from "Album Name (Disc 1/2)", and change "The Artist" to "Artist, The".  I'm no expert with SED.

Edit: Actually, what you want to do with the disc number is quite similar to my markup idea that I was pursuing before moving on to the GUI idea, e.g.: setting CD Title to "Album Name <discnumber>1</discnumber><totaldiscs>2</totaldiscs>" and then extracting the three parts.  I had the code to extract the parts, but my main issue was the mess it made of the filenames, etc.  I decided the GUI idea was probably equally, if not more, easy for the user to work with.  I suppose maybe you want the format "Album Name (Disc 1/2)" in some places, but the ability to use "Album Name" in others?  Or did you think it may be just quicker to use, and allow you to leave some freedb entries as they are?
Title: REACT 2 Released
Post by: lipidicman on 2007-05-30 10:23:23
I suppose maybe you want the format "Album Name (Disc 1/2)" in some places, but the ability to use "Album Name" in others?  Or did you think it may be just quicker to use, and allow you to leave some freedb entries as they are?


A mix of the two.  I leave the cds in separate folders but want them together in foobar so the folder is "Album Name (Disc 1/2)" whilst the tags should be "Album Name".  I do remember your suggestion before you started on the GUI.  In any case the GUI is more flexible.

I understand why you might not want to write others code.  I have always been amazed at how much help you offer.  The bit we really need documented is how users can add tokens to the ini and use them.  I certainly did not appreciate that this possibility existed.

e.g. When does the ini get parsed?  Before every rip or on load.  If I change the cfg do I need to reload React?
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-05-30 10:42:14
A mix of the two.  I leave the cds in separate folders but want them together in foobar so the folder is "Album Name (Disc 1/2)" whilst the tags should be "Album Name".  I do remember your suggestion before you started on the GUI.  In any case the GUI is more flexible.
If I understand correctly you should really do this in foobar with titleformatting - in simple (not correct!) terms:

Code: [Select]
%album% (Disc %discnumber%/%totaldiscs%)

I use:

Code: [Select]
[%album%]
[ ' ('%album subtitle%')']
[' ('%discname%')']
$if($greater(%totaldiscs%,1),[' ('Disc %discnumber%')'])


The bit we really need  documented is how users can add tokens to the ini and use them. I  certainly did not appreciate that this possibility existed.

e.g. When does the ini get parsed?  Before every rip or on load.  If I change the cfg do I need to reload React?
The [UserTrackFormats], [UserOutputNames] and [UserSettings] sections are all read every time REACT runs.  You can add your own variables to these sections as REACT just grabs everything in the section, not each variable by name.

This means that you could actually add discnumber=1 in the [UserSettings] section, without my modded REACT, and you could still use @discnumber@ (not $discnumber$) in your config.  My mod mainly has the benefit of easy access to your tokens through a GUI, rather than having to edit the INI by hand for each disc - but you coud do it this way.
Title: REACT 2 Released
Post by: lipidicman on 2007-05-30 11:02:49
If I understand correctly you should really do this in foobar with titleformatting - in simple (not correct!) terms:

Code: [Select]
%album% (Disc %discnumber%/%totaldiscs%)


Do what?  Do you mean grab the tags from the filename or modify them using a script from the tags that react has made?  I can manually change the tags in 'properties' but I do not seem to have masstagger (why would this be?)  I use titleformat for my album tree and file info and in columns UI so I am a little familiar with it

The [UserTrackFormats], [UserOutputNames] and [UserSettings] sections are all read every time REACT runs.


I am still not clear.  When the exe is run, or when you press F4 to rip?
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-05-30 11:05:53
Do what? Do you mean grab the tags from the filename or modify them using a script from the tags that react has made? I can manually change the tags in 'properties' but I do not seem to have masstagger (why would this be?) I use titleformat for my album tree and file info and in columns UI so I am a little familiar with it
Sorry, I should have been more specific.  I am suggesting that you use code like that in your display script - in your case your "Album" column in ColumnsUI.

In essence, you keep %album%, %discnumber% and %totaldiscs% totally separate tag-wise, but use them all to create the value displayed by foobar for the "Album" column.

The [UserTrackFormats], [UserOutputNames] and [UserSettings] sections are all read every time REACT runs.
I am still not clear.  When the exe is run, or when you press F4 to rip?
When you press F4/F10.

When you press F4/F10 another instance of REACT is run, but it acts differently (processes your config) because of the parameters passed to it by EAC.  Therefore when you are ripping there are two instances of REACT running - one interacting with EAC, and one that processes your config and sets the batch file running.  This second instance will re-read the INI sections I quoted.  It will not re-read all the INI though.
Title: REACT 2 Released
Post by: lipidicman on 2007-05-30 11:18:53
In essence, you keep %album%, %discnumber% and %totaldiscs% totally separate tag-wise, but use them all to create the value displayed by foobar for the "Album" column.


I get you but I need to be clearer

I want to have

BT/Ima (Disc1)/01 Track1.flac

But then tagged like this
Album: Ima
Discnumber: 1
Totaldiscs: 2

And I do do what you suggested with foobar to build the album name make the display look nice.  I get all the tracks from all the discs when I add the album from the list.

I can do the tags with your mod easy enough.  I haven't tried but I think I can add the "(disc1/2)" to the end of the directory name.  Some people might add the discnumber to the filename and have both discs in one directory.  I wanted to keep it the same as for the others so you can burn the cd like any other by clicking on the cuesheet (modded by SED) without confusion.

My present solution is to go into properties in foobar for the albums that need it delete "(disc1)" from the albumtitle and fill in the discnumber fields.  I have not implemented your mod on my main ripping machine as I was in the middle of a ripping marathon and changing things was stressing me out!
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-05-30 11:26:21
I'm not sure what your problem is, but if it's creating a folder using the disc number I have tackled that in a wiki article.

The config amends suggested allow you to change:

Artist Name\Album Name\01 - Title

... to:

Artist Name\Album Name\Disc 1\01 - Title

or

Artist Name\Album Name\Disc Name\01 - Title

... depending whether @discname@ is populated or @totaldiscs@ is greater than one.


Edit: In case your are confused, to achieve:

Artist Name\Album Name (Disc1)\01 - Title

... simply change

Code: [Select]
SET trackDir=%trackDir%\Disc @discnumber@

... to:
Code: [Select]
SET trackDir=%trackDir% (Disc@discnumber@)
Title: REACT 2 Released
Post by: lipidicman on 2007-05-30 11:32:30
When you press F4/F10.

When you press F4/F10 another instance of REACT is run, but it acts differently (processes your config) because of the parameters passed to it by EAC.  Therefore when you are ripping there are two instances of REACT running - one interacting with EAC, and one that processes your config and sets the batch file running.  This second instance will re-read the INI sections I quoted.  It will not re-read all the INI though.


OK, interesting.  I love React, but isn't its detailed working baffling sometimes?  Until you explain it that is!

Anyway it isn't design for everyone.  I was at a friend-of-a-friends flat at the weekend who downloads in mp3 (quite good ones mind, not a complete muppet) and I was going to tell him about the library I was building of my collection using React.  When he mentioned that he was burning mp3 onto CD and printing out labels for them I took a deep breath and kept my mouth shut.

I'm not sure what your problem is

I'm not sure anyone is! 

I haven't read the wiki as I think it is down.  I'm sure I could mod what you have done to avoid the extra directory level in your examples above (edit:  I see you have helpfully added that!).  I need to have a good look through the wiki as last time I saw it was when you created it after the SED discussions we had

Above I thought your code was to take the 'album' tag (ie "Ima (Disc1)") and separate the tags out in foobar using a script rather than my manual method.  Rather it was just a display format.  Sorry for the confusion!
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-05-30 11:36:25
I couldn't access the wiki (http://wiki.hydrogenaudio.org/index.php?title=REACT:Adding_Support_For_Disc_Information) earlier but I can now.

See my edit two posts above for the simple change that you require.

Also note that the code in the article deals with setting the tags as well.
Title: REACT 2 Released
Post by: lipidicman on 2007-05-30 11:43:19
Superb.  Sorry to have made a simple discussion so complicated this morning! 
Title: REACT 2 Released
Post by: morisimo on 2007-05-30 11:48:49
You can do as you wish, but you would probably need my mod, and a reasonable amount of config editing.

I have created a mod of REACT that allows you to easily insert and update tokens (e.g.: @discnumber@).

I have published amendments to the config to amend the path to utilise @discnumber@ or @discname@ tokens.  Unfortunately the wiki appears to be down at the moment so I can't provide a link.

I found the wiki (http://wiki.hydrogenaudio.org/index.php?title=REACT:Adding_Support_For_Disc_Information), thanks.

My mod would allow you to easily set @discnumber@, @albumartist@ and @mixedby@ tokens (and @totaldiscs@ if you want).  However, the bit that takes the time is amending the config to utilise these tokens.  As I say, I've published code for adding the disc number to the path.  Setting a "Mixed By" tag shouldn't be too complicated.  I think you'd just need some code that checked whether a value was set for @albumartist@, and set the tag accordingly.

In essence, yes it is possible, with a little work.

NB: You could do it without my mod, by directly adding values to the REACT INI, but the idea with the mod is that you can easily adjust values using a GUI, from within EAC.  It depends how often you intend to use this approach.

Are you planning to add this kind of functionality to coming releases of REACT? I am not good at coding and it takes me alot of trial and error to even get simple things working! I would be extremely interested in these kind of freatures being built in as I am quite particular that my music is tagged correctly (I suspect I am not alone here ).

I will have a proper read of the wiki and have a go at implementing the changes you were talking about and will let you know how I get on.

Thanks for the help and great work on REACT!
Title: REACT 2 Released
Post by: lipidicman on 2007-05-30 11:59:11
I would be extremely interested in these kind of freatures being built in as I am quite particular that my music is tagged correctly (I suspect I am not alone here ).


There you go Neil, the interest is building!
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-05-30 12:01:21
Are you planning to add this kind of functionality to coming releases of REACT?
Pleas note that Tycho is the author of REACT.  I have created a mod which enables you to set additional meta data easily, but the core functionality is his.

There is no need to update REACT for your requiements.  With my mod and some config editing you can do it.  Editing the config is the way in which users are supposed to tweak REACT to do exactly what they want.

Good luck.


There you go Neil, the interest is building!
"Build it, and they will come"
Title: REACT 2 Released
Post by: lipidicman on 2007-05-30 12:06:49
There is no need to update REACT for your requiements.  With my mod and some config editing you can do it.  Editing the config is the way in which users are supposed to tweak REACT to do exactly what they want.


This is true.  Everyone wants to do something different with their configs and this is the beauty of the flexibility of REACT.  However I think the extended tagging mod opens up what people could do with their configs a lot and there is an argument for having it there when you install React.  I think of it as making up for the limitations of EAC rather than changing React (like you say you can do it through the ini).  I thought Tycho was onboard?
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-05-30 16:27:04
I have just uploaded version 2.0.ssb10 (http://www.synthetic-soul.co.uk/temp/REACT_2.0.ssb10.zip) of my mod.Remember to set Version=2.0.ssb10 in your INI.

* You could actually just remove those lines altogether, and replace any occurence of %TrackName% with @trackname@ in your config - but the suggestion above means less editing, and therefore less chance of error.
Title: REACT 2 Released
Post by: lipidicman on 2007-06-01 12:53:17
I really need to try this.  However if the weather is good this weekend I might get 'reassigned'

In advance I have a couple of questions:
Does the 'trackname' replacement in the post above still handle various artist albums OK? 
[/list]Remember to set Version=2.0.ssb10 in your INI.

Please, remind me, what does this achieve?

The wiki is up for me (I couldn't access it earlier in the week), and I just wanted to thank you for all of the great work.  I am going to tweak and consider adding some of the things I have been working on.
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-06-01 13:38:22
Does the 'trackname' replacement in the post above still handle various artist albums OK?
Yes.

Please, remind me, what does this achieve?
The default behaviour of REACT is to rewrite the INI if the version number in the INI does not match that of the EXE.  If you don't want to lose all those nice changes you've made in your INI you should either back it up before running a new EXE or, if it is a beta update, just change the version in the INI to that of the EXE.

REACT obviously does this to ensure that the INI is in keeping with the EXE, but maybe it should only do it on major (2.0.ssb10) or minor changes (2.0.ssb10), and not build (2.0.ssb10).
Title: REACT 2 Released
Post by: lipidicman on 2007-06-01 14:44:27
Code: [Select]
IF @various@==0 SET TrackName=@TrackName_SA@
IF @various@==1 SET TrackName=@TrackName_VA@
with:
Code: [Select]
SET TrackName=@trackname@

I am still confused about this, and the changes are different to what we had in post 386/7.  If you drop the 'if' statements then how does this handle a different various artists naming scheme?
Sorry if I am being dumb (and remember I am away from my React setup at the mo)
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-06-01 14:53:31
The decision making is done within REACT.

Previous SetupMy Setup
Title: REACT 2 Released
Post by: lipidicman on 2007-06-01 15:21:02
I think I get it.  I thought you were handling the & problem through the config (you were in post 386/7 right?).  It would seem however that you have rewritten React to correct the problem.  Right? (edit found it in post 391, sorry I should be paying attention)  I do like to understand what is going on.
Cheers again.  Have a great weekend
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-06-01 15:28:59
I think I get it.  I thought you were handling the & problem through the config (you were in post 386/7 right?).  It would seem however that you have rewritten React to correct the problem.  Right?
Cheers again.  Have a great weekend
Correct on all parts.

You can still use the hack in the posts you quote, or (with beta 10 or above) change the lines to use @tracknumber@.  I just thought it would be neater, and possibly more robust, if REACT handled it.

Enjoy your weekend.
Title: REACT 2 Released
Post by: lipidicman on 2007-06-01 15:34:08
You can still use the hack in the posts you quote, or (with beta 10 or above) change the lines to use @tracknumber@.  I just thought it would be neater, and possibly more robust, if REACT handled it.


I agree.  I forgot you had suggested you could code it into React.

So I am convinced I need to run this mod (as part of my main ripping routine) but where do you stand if tycho releases 2.1?  You are the official support so do you think it likely that these changes would make it into this theoretical 2.1?  Or, is 2.1 unlikely?
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-06-01 15:47:43
but where do you stand if tycho releases 2.1?  You are the official support so do you think it likely that these changes would make it into this theoretical 2.1?  Or, is 2.1 unlikely?
I have no idea whether Tycho will implement any of my changes with his upcoming release of REACT, we don't speak privately or anything.

Given that it seems only you and I are using my mod at the moment (I should really check the download stats for the zips I post) I am reticent to suggest that Tycho implements the Additional Meta Data dialogue in the core; but of course it is up to him.  I suppose there is no real downside, apart from the fact that the newer AutoIt bin used to compile my EXE appears to almost double the file size.  At 217KB that's hardly a real concern though.

I suppose it would be sensible for him to implement the "%" and "&" fixes, or something similar at least.  I can't remember if I've made any other "improvements"!  I really should have kept a change log - I guess if I trawled this thread I may be able to collate one.

If Tycho does not include the Additional Meta Data dialogue, and with his agreement, I will attempt to mod his new release.  It shouldn't be difficult, as most of the code is separated from his source.  Of course I will continue to support my mod as long as I can.
Title: REACT 2 Released
Post by: lipidicman on 2007-06-01 16:03:15
Well, that's good enough for me then.  I have learnt to expect your high level of dedication here, but I don't like to assume
Title: REACT 2 Released
Post by: hitchin on 2007-06-04 03:52:08
I am trying to use REACT to rip to mp3's and flac images. When I press F10 it gives me mp3's, a flac image and flac tracks. Anybody know what I need to do to remedy this so I get only the mp3's and a flac image? What am I doing wrong or what should my settings look like in my INI file? I thought that by pressing F10 the end result would be a flac image and mp3's...

Thanks for your help and I am very impressed by the level of help and knowledge on these forums.
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-06-04 07:01:58
In your REACT.ini you will see the section UserTrackFormats.  This section detirmines what track formats are created.  Ensure you have set Flac=0, not Flac=1.

The image format is determined by the value of ImageExt under Settings.
Title: REACT 2 Released
Post by: hitchin on 2007-06-04 17:11:26
In your REACT.ini you will see the section UserTrackFormats.  This section detirmines what track formats are created.  Ensure you have set Flac=0, not Flac=1.

The image format is determined by the value of ImageExt under Settings.


That was exactly it. It makes sense now. I am still trying to get my head around some of the stuff in the INI file. One other question. I have CreateAllCuesheets=1. After making the change you suggested I am given a flac image of the cd I ripped w/ only 1 cuesheet. Other posts I have read have said something about 4 different cuesheets being created. Is there only 1 style of cuesheet created when ripping to an image?

Thanks for your help and I am astounded by your knowledge on this subject.
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-06-04 18:58:32
CreateAllCuesheets is really for track processing, not image processing.

If you have it checked you will (should) be creating the four (additional) cuesheets, but unless you make amends to your config, to do something with them, they will be deleted at the end of the processing run.

They really are no use to you if you are creating an image; you only need the cuesheet you have.

If you want more information on the INI settings it may be worth checking the REACT wiki article (http://wiki.hydrogenaudio.org/index.php?title=REACT).

Edit: Actually, the wiki has just reminded me of a nuance with CreateAllCuesheets: it will only work if you have specified a "static" extraction directory, i.e.: have "Use this directory" checked on the "Directories" tab of the "EAC options".  If you have "Ask every time" checked it won't work IIRC.
Title: REACT 2 Released
Post by: hitchin on 2007-06-04 22:44:26
CreateAllCuesheets is really for track processing, not image processing.

If you have it checked you will (should) be creating the four (additional) cuesheets, but unless you make amends to your config, to do something with them, they will be deleted at the end of the processing run.

They really are no use to you if you are creating an image; you only need the cuesheet you have.

If you want more information on the INI settings it may be worth checking the REACT wiki article (http://wiki.hydrogenaudio.org/index.php?title=REACT).

Edit: Actually, the wiki has just reminded me of a nuance with CreateAllCuesheets: it will only work if you have specified a "static" extraction directory, i.e.: have "Use this directory" checked on the "Directories" tab of the "EAC options".  If you have "Ask every time" checked it won't work IIRC.


As I thought about the CreateAllCuesheets question I posted earlier I figured that the answer would end up being as you wrote.

I have gotten to know the INI file well in the short time I have been using REACT. Thanks again for all your help and sharing your knowledge. A subject such as this (i.e., music, ripping, etc.) can, to say the least, lead to people being very opinionated and passionate and to see people like yourself and the others who are patient and happy to help is very refreshing!
Title: REACT 2 Released
Post by: ngc1967 on 2007-06-05 04:42:44
I've just started playing with React 2 and I am now really confused.

It changes the settings of the Filename in the EAC Options and gets rid of all references to '\' and replaces them with '-'. This stops me creating the sub-directories under the headings 'CD Artist\CD Title' etc.

For example in EAC I use "%D\%C\%N - %T - %A" and "Various Artists\%C\%N - %T - %A". It changes them to "%D - %C - %N - %T" and "%D - %C - %N - %T (%A)" and then saves the files in the main folder as specified in the 'Directories' option without letting me create the sub-directories.

Can I get round this way of naming the converted music files so that it is the same as EAC used to be?


Also I've had a play with the Cover Art Downloader but it also puts the .jpg in the main folder (with the correct Album title though). Can I change the settings to put the jpg into the associated album sub-directories. I've tried adding all different combinations of '%' '$' and '&' followed by 'Artist' and 'Album' in the 'save as' box but to no avail. Can anyone help me on this
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-06-05 07:53:25
It changes the settings of the Filename in the EAC Options and gets rid of all references to '\' and replaces them with '-'. This stops me creating the sub-directories under the headings 'CD Artist\CD Title' etc.

For example in EAC I use "%D\%C\%N - %T - %A" and "Various Artists\%C\%N - %T - %A". It changes them to "%D - %C - %N - %T" and "%D - %C - %N - %T (%A)" and then saves the files in the main folder as specified in the 'Directories' option without letting me create the sub-directories.

Can I get round this way of naming the converted music files so that it is the same as EAC used to be?
REACT does this so that it can use the filename to detirmine whether the album is Various Artist or not.  When using REACT, these values are irrelevant to how the tracks will finally be named.  To specify the file naming scheme for your images and/or tracks you need to look at the REACT.ini file, and amend the values in the "UserOutputNames" section.

As an example, using your preferred scheme, you may use the following:

Code: [Select]
[UserOutputNames]
OutRoot=C:\Path\To\My\Music
...
TrackDir_MP3=@OutRoot@\$cdartist$\$album$
...
TrackName_SA=$tracknumber$ - $title$ - $artist$
TrackName_VA=$tracknumber$ - $title$ - $artist$
TrackName_SA_acdir=$n - $~t - $~a
TrackName_VA_acdir=$n - $~t - $~a

This:Have a look at the default values to try to get an understanding of what is being done.  Note that the "TrackName_*A_acdir" variables are for use with ACDIR in the REACT-image.cfg, and match the "TrackName_*A" variables in format, but use ACDIR's own syntax.

Also I've had a play with the Cover Art Downloader but it also puts the .jpg in the main folder (with the correct Album title though). Can I change the settings to put the jpg into the associated album sub-directories. I've tried adding all different combinations of '%' '$' and '&' followed by 'Artist' and 'Album' in the 'save as' box but to no avail. Can anyone help me on this
I'm not overly familiar with this, as I don't use it; however, if it's no working as it should, it may be that you need to edit your CFG to deal with the file as you wish.  You shouldn't really need touch the GUI's Save As dialogue text - let REACT deal with it.

Edit: Just spotted, and deleted, your thread on this issue.  Easiest to keep discusion here, and no cross-posting please.
Title: REACT 2 Released
Post by: ngc1967 on 2007-06-06 09:04:36
Thanks for your help 'Synthetic Soul'.

Just one quick question, can you configure the 'ImageExt' command line to allow both 'flac' and 'wv' images and cue sheets to be created.
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-06-06 09:10:19
No.

However, you could amend the REACT-image.cfg to process both the FLAC and WavPack sections, and use something like SED (http://gnuwin32.sourceforge.net/packages/sed.htm) to make a copy of the cuesheet, replacing ".flac" with ".wv".

It's all possible...

Do you really need two lossless versions?
Title: REACT 2 Released
Post by: ngc1967 on 2007-06-06 09:38:46
No.

However, you could amend the REACT-image.cfg to process both the FLAC and WavPack sections, and use something like SED (http://gnuwin32.sourceforge.net/packages/sed.htm) to make a copy of the cuesheet, replacing ".flac" with ".wv".

It's all possible...

Do you really need two lossless versions?


Probably not.

At the moment I am archiving all my CDs in Wavpack and after playing with React I've decided to archive the CDs as whole files instead of separate tracks. I chose wavepack over FLAC for some reason I cannot exactly remember now and as I am relatively new to ripping, archiving and Lossless formats, etc. I'm not too sure which format is the best with respect to compression ratio, speed and product support.

If I want to convert to flac at a later date I know I can do it in Foobar. Its just that I would have prefered to do everything all at once now instead of revisiting later.

Anyway thanks for your help previously. I've just spent half the night playing with the config file to get it doing pretty much what I want.
Title: REACT 2 Released
Post by: ESP85 on 2007-06-10 16:51:40
My config is

ReplayGain=1
ApplyAlbumGain=0
AdjustAlbumGain_dB=0
AddCuesheetAG=0
UseWaveGainAG=0



I was wondering, is the ReplayGain calculated off of 89db (just for the tags)?



Also is there anyway to get metamp3.exe to work by itself?  I was trying to use it to write ReplayGain tags to files that didn't have them.  I tried using Foobar but foobar doesn't write tags that Winamp can read.

I tried using the windows console to go to the directory (album) that needed tags and tried to run metamp3 out of that just like REACT2 does (by running "C:\PROGRA~1\REACT2\tools\metamp3.exe --replay-gain *.mp3" out of the dir that needs tags) but it didn't quite work.  It wrote the replaygain tags but messed up the rest of the ID3v1 and ID3v2 tags.
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-06-10 19:40:40
I was wondering, is the ReplayGain calculated off of 89db (just for the tags)?
From the REACT wiki page (http://wiki.hydrogenaudio.org/index.php?title=REACT#UserSettings_Section):
Quote
AdjustAlbumGain_dB
If you want to adjust the album gain from 89.0 dB when applying to the audio, set adjustment in dB here.
I believe the default is:

Code: [Select]
AdjustAlbumGain_dB=+3.0

... or, an album gain of 92dB.

Also is there anyway to get metamp3.exe to work by itself? I was trying to use it to write ReplayGain tags to files that didn't have them. I tried using Foobar but foobar doesn't write tags that Winamp can read.

I tried using the windows console to go to the directory (album) that needed tags and tried to run metamp3 out of that just like REACT2 does (by running "C:\PROGRA~1\REACT2\tools\metamp3.exe --replay-gain *.mp3" out of the dir that needs tags) but it didn't quite work. It wrote the replaygain tags but messed up the rest of the ID3v1 and ID3v2 tags.
It will work absolutely fine from the command line.  It may be worth taking a look at the metamp3 thread (http://www.hydrogenaudio.org/forums/index.php?showtopic=49751) to see if you have encountered a known bug.
Title: REACT 2 Released
Post by: ZeroPlay on 2007-06-16 11:56:42
FLAC and MP3 images simultaneously?

I want to archive my CD collection as FLAC images and then keep MP3 individual tracks for use on my portable DAP.  However, if the album requires gapless playback, I'd like to have an MP3 image instead of individual tracks, since my DAP doesn't support gapless playback.

How can I create FLAC and MP3 images with REACT (as opposed to a FLAC image and individual MP3 tracks)?

Thanks for any help.
Title: REACT 2 Released
Post by: Scout on 2007-06-17 16:18:35
schnittlich: I can't see why this version should be different than v1.0 in this respect. It should still support multiple instances (although I haven't tested myself). Please retest and report.

.....

Has anyone succeeded in running multiple instances of React v2?  No matter how hard I try to hide the first instance from the second (run second instance from second install directory as a different user without permission to access most of the files of the first...) the two instances always manage to load the same .ini file and then one of them won't execute the compression script properly.

It would be nice to use both cd drives at once. (Double productivity!)

-david


EDIT:  Nevermind.  Did something in a different order and it now seems to work.
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-06-17 21:41:21
FLAC and MP3 images simultaneously?
If you intend to produce FLAC images with MP3 tracks most of the time, but FLAC images with an MP3 image on ocassion, I think my mod may be of help.

Either way, I would suggest that you set a variable in your INI - either using my mod, or by editing the INI by hand, and adding:

MP3Image=1

... to the "UserSettings" section.

You could then, by amending the LameMP3 variable under "UserTrackFormats" and the MP3Image variable, switch between producing MP3 tracks and an image.  With a little config editing obviously.

What's your plan with the cuesheet?  Would you hope to amend the file reference?  Are you embedding it?  As well as keeping it or solely?  You may need to use SED to create a copy of the FLAC cuesheet and point it to the MP3.

All very do-able though.
Title: REACT 2 Released
Post by: SteveD30 on 2007-06-24 00:48:38
Hi,

I'm having a small file naming problem with REACT. I have a cd of various artists, which I'm ripping. My problem is that some of the file names of the tracks that I have ripped are incomplete. In the tracks themselves, the ones that are incomplete have two artists or more on them, and I've chosen to name these track First artist name & second artist name - Track number - track title. But for some reason, the file output is just First artist name, with no & second artist name - Track number - track title present.

Any help would be appreciated. 

Thanks
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-06-24 06:38:37
Let me guess, you are ripping to tracks, not images?

Take a look at post 387 (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=50273&view=findpost&p=495130) for one resolve (config edit), and post 405 (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=50273&view=findpost&p=495493) for another (my mod).
Title: REACT 2 Released
Post by: SteveD30 on 2007-06-24 18:07:24
Let me guess, you are ripping to tracks, not images?

Take a look at post 387 (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=50273&view=findpost&p=495130) for one resolve (config edit), and post 405 (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=50273&view=findpost&p=495493) for another (my mod).


Yes, thank you very much!
Title: REACT 2 Released
Post by: dummptyhummpty on 2007-06-29 07:44:35
So I had React2+EAC working fine on my XP Machine. I bought a new Acer recently (with Vista) and I copied my EAC profile and my REACT2 directory over. I made sure React was setup. Everything works fine except my .flac and .cue files are ending up as .wav.flac and .wav.cue which didn't happen before. What did I miss? Thanks!
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-07-01 07:53:00
Just a note to REACT users that they should not upgrade to EAC 0.99 prebeta 1 (http://www.hydrogenaudio.org/forums/index.php?showtopic=55852) and still expect REACT to work as it should.

I have yet to perform any tests myself, but I have already noted one change that will confuse REACT: one user has reported that the log file is now named "<artist> - <album>.log", rather than just "<album>.log".  This will, of course, mean that REACT can no longer find the log file.

It's very possible that there are other changes that will confuse REACT.

All testing welcomed, so that we can report such changes to Tycho.
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-07-01 08:04:49
So I had React2+EAC working fine on my XP Machine. I bought a new Acer recently (with Vista) and I copied my EAC profile and my REACT2 directory over. I made sure React was setup. Everything works fine except my .flac and .cue files are ending up as .wav.flac and .wav.cue which didn't happen before. What did I miss? Thanks!
Open "EAC Options" > "Directories" and make sure that "Use this directory" is checked.

IIRC, if it is not, REACT will not automagically amend the image filename and submit the Save As dialogue.
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-07-01 12:55:41
Just a note to REACT users that they should not upgrade to EAC 0.99 prebeta 1 (http://www.hydrogenaudio.org/forums/index.php?showtopic=55852) and still expect REACT to work as it should.
 
the log file is now named "<artist> - <album>.log", rather  than just "<album>.log". This will, of course, mean that REACT  can no longer find the log file.
NB: I amend the REACT source to look for "<artist> - <album>.log" and my image config worked fine, so maybe that's it; however more testing is obviously required...
Title: REACT 2 Released
Post by: Cynic on 2007-07-01 14:15:04
Just a note to REACT users that they should not upgrade to EAC 0.99 prebeta 1 (http://www.hydrogenaudio.org/forums/index.php?showtopic=55852) and still expect REACT to work as it should.
 
the log file is now named "<artist> - <album>.log", rather  than just "<album>.log". This will, of course, mean that REACT  can no longer find the log file.
NB: I amend the REACT source to look for "<artist> - <album>.log" and my image config worked fine, so maybe that's it; however more testing is obviously required...
A workaround for people like me who don't know how to do that is adding the "Pausing For The Logfile" code to the REACT-image.cfg file as described in http://wiki.hydrogenaudio.org/index.php?ti...For_The_Logfile (http://wiki.hydrogenaudio.org/index.php?title=REACT%3a%50ausing_For_The_Logfile) and create the log manually with EAC after the extraction is finished. Not elegant but it works.
Title: REACT 2 Released
Post by: drbeachboy on 2007-07-01 17:28:38
For a FLAC image within the REACT-image Config file, I was able to make REACT2 work with EAC v0.99pb1 by changing the eaclog tag section to read --tag-from-file="eaclog=@basename@.log" instead of the default --tag-from-file="eaclog=@eaclog@"
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-07-01 18:44:26
For a FLAC image within the REACT-image Config file, I was able to make REACT2 work with EAC v0.99pb1 by changing the eaclog tag section to read --tag-from-file="eaclog=@basename@.log" instead of the default --tag-from-file="eaclog=@eaclog@"
If you name your images "<artist> - <album>", as I'm sure many of us do, this is a nice workaround.

I'm happy to upload an amended EXE, that would work with both this and earlier version of EAC, but I don't want to step on Tycho's toes.  I also don't really want to just upload my mod with the new functionality, as I'd feel like I was forcing people to use my mod. Dilemma!
Title: REACT 2 Released
Post by: drbeachboy on 2007-07-01 21:46:46
For a FLAC image within the REACT-image Config file, I was able to make REACT2 work with EAC v0.99pb1 by changing the eaclog tag section to read --tag-from-file="eaclog=@basename@.log" instead of the default --tag-from-file="eaclog=@eaclog@"
If you name your images "<artist> - <album>", as I'm sure many of us do, this is a nice workaround.

I'm happy to upload an amended EXE, that would work with both this and earlier version of EAC, but I don't want to step on Tycho's toes.  I also don't really want to just upload my mod with the new functionality, as I'd feel like I was forcing people to use my mod. Dilemma!

Actually, I use "[Year] Album" for my name scheme. When using REACT with the new EAC version, my log file renames to whatever I enter as "ImageNaming" in the REACT.ini file.

Hopefully, as before, Tycho will be OK with the mod. Seems to me it's always best to use a program as intended. If you build it, they will download it! ;-) Thanks Neil

EDIT: Spelling
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-07-01 21:49:13
Hmm.  After a little more testing it seems the log file isn't flatly named "<artist> - <album>.log", it simply follows the same format as the image and cuesheet.

Therefore, if you use:

Code: [Select]
ImageNaming=$artist$ - [$year$] $album$

.. the log file will follow the same format.

With that in mind using @basename@ is the best solution by far.

Edit:  LMAO!  Three minutes too late!
Title: REACT 2 Released
Post by: drbeachboy on 2007-07-01 21:56:53
Hmm.  After a little more testing it seems the log file isn't flatly named "<artist> - <album>.log", it simply follows the same format as the image and cuesheet.

Therefore, if you use:

Code: [Select]
ImageNaming=$artist$ - [$year$] $album$

.. the log file will follow the same format.

With that in mind using @basename@ is the best solution by far.

Edit:  LMAO!  Three minutes too late!

Hi Neil,

You are still our best resource when trouble arises; 3 minutes late or not. ;-) Thanks again for spending the time to find a solution.
Title: REACT 2 Released
Post by: dobo on 2007-07-01 22:11:30
I've configured eac and accurate rip and it works great, i got confidence 200 on alanis morisette CD.
I then went and installed and configured react which also works great however the accurate rip box doesnt popup with the confidence info after the rip, is this normal? how do i change that?
Sorry if this has already been asked, its a big thread..
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-07-01 22:45:41
You are still our best resource when trouble arises; 3 minutes late or not. ;-) Thanks again for spending the time to find a solution.
Thanks for the kind words Dirk. 

Well, rightly or wrongly, I've uploaded 2.0.ssb12 (http://www.synthetic-soul.co.uk/temp/REACT_2.0.ssb12.zip) for people to test.  It's a bit late, so I haven't had much chance to test, but it all seems fine.  I need to check it with an older version of EAC, to ensure that it still works with the old-style log file naming as well.  It should do.

Changes for 2.0.ssb12:Edit: Uploaded b12 (http://www.synthetic-soul.co.uk/temp/REACT_2.0.ssb12.zip).  I shouldn't have been so swift to get b11 up.  I realised this morning that using basename would no work for track rips, which use the format "<artist> - <album.log".  b12 will now first check whether we are ripping to image or tracks, and set the log file name accordingly.  It will therefore check for "<basename>.log" and "<album>.log" for image rips, and "<artist> - <album>.log" and "<album>.log" for track rips.
Title: REACT 2 Released
Post by: z7x8c9 on 2007-07-02 00:11:17
I don't know if this is the right place to ask this, if not, I'm sorry.

I'm trying to setup eac to use react to rip an image to flac and split the tracks to mp3.
The problem only happens when I try to rip a CD with various artists. The image and the mp3's are created ok, but the filenames for the mp3's are having a strange behavior, i.e. only the track numbers appear, no names...

Can anyone help me?

Thanks
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-07-02 07:59:20
I don't know if this is the right place to ask this, if not, I'm sorry.

I'm trying to setup eac to use react to rip an image to flac and split the tracks to mp3.
The problem only happens when I try to rip a CD with various artists. The image and the mp3's are created ok, but the filenames for the mp3's are having a strange behavior, i.e. only the track numbers appear, no names...
It's definately the right place to ask.

A description of how the tracks listing looks in the EAC main dialogue (post a screenshot if it's easier - use a service like www.imageshack.us), and a copy of your react.INI may help.
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-07-03 10:20:46
Well, rightly or wrongly, I've uploaded 2.0.ssb12 (http://www.synthetic-soul.co.uk/temp/REACT_2.0.ssb12.zip) for people to test.  It's a bit late, so I haven't had much chance to test, but it all seems fine.  I need to check it with an older version of EAC, to ensure that it still works with the old-style log file naming as well.  It should do.
In case anyone is concerned: I have now tested with image and track rips using EAC 0.95 beta 4 and 0.99 prebeta 1, and 2.0.ssb12 (http://www.synthetic-soul.co.uk/temp/REACT_2.0.ssb12.zip) will correctly identify the log file in all situations.

I'm now using EAC 0.99 prebeta 1 with 2.0.ssb12 (http://www.synthetic-soul.co.uk/temp/REACT_2.0.ssb12.zip).
Title: REACT 2 Released
Post by: drbeachboy on 2007-07-03 15:39:14
Hi Neil,

Though sb12 works fine now with the logfile, I now seem to have a problem with the naming of albumart. REACT is passing the artist & album info to albumart.exe, and the jpg file is named "%album%.jpg".
The REACT batch file though, is now looking for the ImageNaming name for the jpg file, which in my case is "[Year] Album". Hence, I always have a failure embedding album art into my FLAC image.

Your sb10 file works correctly, but sb11 & sb12 do not. Did your logfile change also change the naming of the albumart @cover@ file name, as well?
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-07-03 15:59:34
Yes, it did.

The image naming will follow that of the 0.99 prebeta 1 log file, i.e.: "<basename>.jpg" for images or "<artist> - <album>.jpg" for tracks.

I assumed that this made the most sense, but as someone who does not use album art I am not the best person to make that decision!

If you can explain how you think it should work I am more than happy to make the amend.

Is it best if it just stays as "<album>.jpg"?
Title: REACT 2 Released
Post by: drbeachboy on 2007-07-03 16:07:59
Yes, it did.

The image naming will follow that of the 0.99 prebeta 1 log file, i.e.: "<basename>.jpg" for images or "<artist> - <album>.jpg" for tracks.

I assumed that this made the most sense, but as someone who does not use album art I am not the best person to make that decision!

If you can explain how you think it should work I am more than happy to make the amend.

Is it best if it just stays as "<album>.jpg"?

I don't have a problem per se with using ImageNaming for the jpg file. My problem is how do I get the jpg file name to match the @cover@ naming scheme? Does REACT pass the file naming scheme to albumart.exe? If so, then it would need to pass ImageNaming as the file name and not <album>.
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-07-03 16:22:16
I see.  REACT calls albumart.exe from within the REACT script, not as part of the config.  OK.

It only has the main EAC GUI data (CD Artist, CD Album, year, etc.) at it's disposal at this time, so I think it will be safest (or perhaps the only option) to revert it to "<album>.jpg".

I will upload beta 13 ASAP.  Thanks for the heads up.
Title: REACT 2 Released
Post by: drbeachboy on 2007-07-03 16:31:13
I see.  REACT calls albumart.exe from within the REACT script, not as part of the config.  OK.

It only has the main EAC GUI data (CD Artist, CD Album, year, etc.) at it's disposal at this time, so I think it will be safest (or perhaps the only option) to revert it to "<album>.jpg".

I will upload beta 13 ASAP.  Thanks for the heads up.

Hi Neil,

I kind of figured that I would not have any control over the file naming. Though, I think we did in the original REACT release (pre-REACT2).

Thanks again for your help, and for beta 13. You are the man! 


Dirk
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-07-03 16:33:56
OK, 2.0.ssb13 (http://www.synthetic-soul.co.uk/temp/REACT_2.0.ssb13.zip) is there.

I'm testing at the moment and it's going fine so far, but it needs more testing.

Thanks again for the feedback.  Out of interest, are you using the Additional Meta Data functionality, or are you solely after the few bugfixes/improvements I've made ("%" issue; "&" issue; new style log files)?

Changes from b12:
Title: REACT 2 Released
Post by: drbeachboy on 2007-07-03 16:46:25
Actually, I have need for all of the fixes and additional meta data functionality. Thank you for adding all of the extras.

I will try beta 13 as soon I arrive home from work. Boy, you are a quick one! 
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-07-03 16:56:36
Actually, I have need for all of the fixes and additional meta data functionality. Thank you for adding all of the extras.

I will try beta 13 as soon I arrive home from work. Boy, you are a quick one! 
Ah, cool.  It's good to hear of someone making use of the added functionality.  That makes a total of three now I think!

I'm lucky enough to work for an "Internet" company, with people who just care if I get my work done, so I have the flexibility to trawl HA or make a quick fix and upload once in a while.
Title: REACT 2 Released
Post by: drbeachboy on 2007-07-03 22:26:22
REACT 2.0.ssb13 is working perfectly with my FLAC images. Thank you, Neil.
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-07-03 22:29:21
Good news.  Thanks for your help Dirk.
Title: REACT 2 Released
Post by: Kluyg on 2007-07-09 07:21:53
Thanks for REACT! Great tool for fast and secure ripping! I have just solved a problem with REACT: it was not working on my PC (Windows XP pro sp2 RUS) because it uses code page 1252 when running script, and Russian characters in folder name (My documents -> Мои документы) are shown wrong. I’ve only changed one string in REACT-image.cfg: CHCP 1252 -> CHCP 1251 and now it works as it should. Hope this will be useful for others who have Win XP with language different from English.
Title: REACT 2 Released
Post by: rohangc on 2007-07-11 06:43:33
Okay, I read the whole thread and now I am confused! I know that this has been already answered in this very thread, but puhleaaase answer my question:

If I set any of the following options to '1' (i.e., enable it), will this permanently (as in, permanently in a non-recoverable way), alter my FLAC images?:

ReplayGain
ApplyAlbumGain
AdjustAlbumGain_dB
AddCuesheetAG
UseWaveGainAG

I am fine with things being written out into tags, but I want to ensure that my FLAC images themselves are not modified irreversibly.

Please tell me which (if any) of the above options actually alter the audio, and not just write to FLAC/APEv2 tags.
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-07-11 07:10:36
I can only quote Tycho:
OK, inputs  are noted. To tag both AG and TG but not apply them, you must set

ReplayGain=1
ApplyAlbumGain=0
UseWaveGainAG=0  ; when 1, it computes AG scale value to apply on lame while encoding. 

I will rethink how to organise the RG options in future releases.

Also, from the wiki (http://wiki.hydrogenaudio.org/index.php?title=REACT#The_REACT.INI_File):

ReplayGain
Enable/Disable ReplayGain calculation and tagging.
ApplyAlbumGain
Apply the album gain to the files, so they are played back with a consistent volume across the albums on every player.
AdjustAlbumGain_dB
If you want to adjust the album gain from 89.0 dB when applying to the audio, set adjustment in dB here.
AddCuesheetAG
Add Album gain/Album peak values to the cuesheet as REM lines. This implies that WaveGain is ran.
UseWaveGainAG
Instruct to use WaveGain to calculate AlbumGain values on the wav image file. The values will be transferred to the various compressed formats, rather than calculating them via other tools. If ApplyAlbumGain=1, LAME and OggEnc2 will use the --scale option to apply the album gain scale factor calculated by WaveGain.

I don't use RG, but I think the above all adds up.
Title: REACT 2 Released
Post by: bryanb on 2007-07-17 15:21:21
All,

Long time EAC user and somehow missed this great tool!! Thanks to all who have made this possible. I have tested the REACT 2.0.ssb13 version and everything works fine with the exception of my CUE sheets not being moved over as they were before. But I can confirm that the log file is being moved over correctly.

One more question... I tried searching but could not come up with anything.

I copied over 1.1.4 FLAC binaries (flac.exe, libflac.dll and metaflac.exe) and changed the ini to 1.1.4 and compression will not work with these binaries. Is there any way to get 1.1.4 to work with REACT?

Thanks.


Bryan
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-07-17 16:00:21
Are you ripping to tracks or image?  Can we see the config code that deals with the cuesheet please?

There should be no reason why FLAC 1.1.4 will not work.  Does the binary work OK from the command line?

Edit: Ah, I see.  REACT-track.cfg uses "@albumfile@.
Title: REACT 2 Released
Post by: bryanb on 2007-07-17 16:25:11
Are you ripping to tracks or image?  Can we see the config code that deals with the cuesheet please?

There should be no reason why FLAC 1.1.4 will not work.  Does the binary work OK from the command line?


I am ripping to an image (F10). The only config stuff I have messed with is the .ini file. Below is what I have:

Code: [Select]
[Settings]
Version=2.0
ImageExt=wav
ImageNaming=$artist$ - [$year$] $album$
ImageHotKey={F10}
TracksHotKey={F4}
TracksHotVal=+{F5}
VA=Various Artists
CreateAllCuesheets=1
RunCoverDownloader=1
CoverDownloader=C:\Program Files\REACT2\coverdownloader\albumart.exe
EAC=C:\Program Files\Exact Audio Copy\EAC.exe
Tools=C:\Program Files\REACT2\tools
MinimizeCompressionWindow=1
ProcessPriority=1
Sla_Bks_Col_Qst_Bar_Quo_Ast_Lt_Gt=-|-|-||!|'|#|[|]

[UserTrackFormats]
Flac=1
Wavpack=0
LameMP3=0
NeroAac=0
iTunesAac=0
OggEnc2=0

[UserOutputNames]
OutRoot=@mymusic@\EAC
ImageDir_Flac=@OutRoot@\FLAC-images\$cdartist$
ImageDir_Wavpack=@OutRoot@\WV-images\$cdartist$
ImageDir_MP3=@OutRoot@\MP3-images\$cdartist$
TrackDir_Flac=@OutRoot@\FLAC\$cdartist$\[$year$] $album$
TrackDir_Wavpack=@OutRoot@\WV\$cdartist$\[$year$] $album$
TrackDir_MP3=@OutRoot@\MP3\$cdartist$\[$year$] $album$
TrackDir_AAC=@OutRoot@\AAC\$cdartist$\[$year$] $album$
TrackDir_OGG=@OutRoot@\OGG\$cdartist$\[$year$] $album$
TrackName_SA=$track$ - $title$
TrackName_VA=$track$ - $title$ [$artist$]
TrackName_SA_acdir=$n - $~t
TrackName_VA_acdir=$n - $~t [$~a]

[UserSettings]
Debug=0
Comment=Created with EAC/REACT2, @curdate@
EmbedCover=1
ReplayGain=0
ApplyAlbumGain=0
AdjustAlbumGain_dB=+3.0
AddCuesheetAG=0
UseWaveGainAG=0
Opt_Flac=-6 -f
Opt_Wavpack=-hmy
Opt_LameMP3=-V5 --vbr-new --noreplaygain --nohist
Opt_NeroAac=-lc -q 0.21
Opt_iTunesAac=-d -s 2000
Opt_OggEnc2=-q 3.0
Ver_Flac=1.1.3
Ver_Wavpack=4.40
Ver_LameMP3=3.97
Ver_NeroAac=1.0.0.2
Ver_OggEnc2=2.83 Lancer aoTuV b5


and the meta.ini:
Code: [Select]
[Current]
discnumber=1
totaldiscs=1
discname=


In doing a diff on the source, the only stuff I see that deals differently with CUE's is:

Code: [Select]
; Add additional meta data to all track cuesheets
        fLoadMetaDataFromIni()
        fLoadAndResaveCuesheet($gui_albumfile & ".[s].cue")
        fLoadAndResaveCuesheet($gui_albumfile & ".[mg].cue")
        fLoadAndResaveCuesheet($gui_albumfile & ".[m].cue")
        fLoadAndResaveCuesheet($gui_albumfile & ".[mc].cue")
    EndIf


And yes, the 1.1.4 FLAC binary I used can encode form the command line.

Thanks for the help.


Bryan

EDIT:
Just reverted to original 2.0 binary and CUE's were copied correctly and log was not (expected behavior). This is also in EAC 0.99pb1.
Title: REACT 2 Released
Post by: drbeachboy on 2007-07-17 16:27:26
If using ACDIR, it will not work with the new libflac.dll. The only libflac file that seems to work is the one that is packaged with the ACDIR binary.
Title: REACT 2 Released
Post by: bryanb on 2007-07-17 16:29:48
If using ACDIR, it will not work with the new libflac.dll. The only libflac file that seems to work is the one that is packaged with the ACDIR binary.


Thanks for the info.
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-07-17 16:38:19
OK, you are ripping to an image, but you are also creating the four cuesheets by specifying CreateAllCuesheets=1 in your INI.  Any reason for this?  You only really need to do this for track rips.

The token @cuesheet@ should still work.  As reported above (I was editing a second time when you posted so you may want to re-read) the @albumfile@ token is going to be working differently now.  I see this is used in the track sections of REACT-image.cfg. Is this where you are experiencing issues?  As you are ripping to an image @albumfile@ will (I suppose wrongly, considering its name) actually follow the image name, i.e.: "$artist$ - [$year$] $album$".  Therefore "@albumfile@.
Title: REACT 2 Released
Post by: bryanb on 2007-07-17 17:12:48
OK, you are ripping to an image, but you are also creating the four cuesheets by specifying CreateAllCuesheets=1 in your INI.  Any reason for this?  You only really need to do this for track rips.

I get the impression that perhaps you are ripping to an image but to create track files (for album gain purposes)?


I guess I should spend some more time learning the program 

I was doing cuesheets b/c that's what I have always done and when ripping to an image and setting FLAC=1, I assumed I needed cuesheets if I wanted to make a copy of the disc at some future date. I guess I just need to set the image type to 'flac'.

I just tried ripping to tracks (F4) and FLAC 1.1.4 DOES work but I still see the same behavior with the cuesheets and when watching the temp directory I see the .log file, and when everything finishes it disappears and is NOT being moved to the final directory.

I need to tinker some more with the program. I'll do more testing and report back once I think I have a better grasp on how everything works.

Thanks.


Bryan
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-07-17 17:35:44
If you are ripping to an image then the image cuesheet, accessed using @cuesheet@, is automatically createdYou do not need to tell REACT to create them by all specifying CreateAllCuesheets=1; this is normally used when ripping to tracks.

You do need a cuesheet.

I am going to release another version of my mod in the next few hours (possibly in the next half hour).  I will revert @albumfile@ to represent "<source directory>\<album>", as I think this makes most sense - given the token's name! I am now using @logfile@ for what was previously @albumfile@, where "@logfile@.log" == "@eaclog@".
Title: REACT 2 Released
Post by: bryanb on 2007-07-17 17:39:08
If you are ripping to an image then the image cuesheet, accessed using @cuesheet@, is automatically createdYou do not need to tell REACT to create them by all specifying CreateAllCuesheets=1; this is normally used when ripping to tracks.

You do need a cuesheet.

I am going to release another version of my mod in the next few hours (possibly in the next half hour).  I will revert @albumfile@ to represent "<source directory>\<album>", as I think this makes most sense - given the token's name! I am now using @logfile@ for what was previously @albumfile@, where "@logfile@.log" == "@eaclog@".


Thanks for the clarification. I appreciate your help and prompt responses.


Bryan
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-07-17 18:50:25
OK, I have reverted @albumfile@ to represent "<sourcedir>\<album>", irrespective of the EAC version.

What was (incorrectly, given the token name) @albumfile@ is now @logfile@, where "@logfile@.log" == "@eaclog@" (i.e.: it is the path to the log file without the file extension).  I can't see @logfile@ being any use, but it's available. 

I think this makes most sense: @albumfile@ does now again refer to a file using the album name.

2.0.ssb15 (http://www.synthetic-soul.co.uk/temp/REACT_2.0.ssb15.zip)

Changelog:NB: ssb14 was something I was working on at home, and has now been incorporated into ssb15.  The Test setting has been tested, but not exhaustively so.  I thought I may as well throw it into ssb15, from ssb14, though. All feedback welcome.  To clarify: Set Test=1 and then hitting F10 will run "Test & Copy Image & Create CUE Sheet" and F4 will run "Test & Copy Selected Tracks".
Title: REACT 2 Released
Post by: drbeachboy on 2007-07-17 23:49:09
Hi Neil,

I set Test=1 and hit F10 and "Test & Copy Image & Create CUE Sheet" ran perfectly. Thanks for adding that!
Title: REACT 2 Released
Post by: bryanb on 2007-07-18 05:01:48
Have tested out 2.0.ssb15 and everything works as I had hoped. After spending some time reading over the source and CFG files everything is now becoming clearer as to how everything ties together.

Thanks for the help.


Bryan
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-07-18 06:38:00
I set Test=1 and hit F10 and "Test & Copy Image & Create CUE Sheet" ran perfectly. Thanks for adding that!
 
Have tested out 2.0.ssb15 and everything works as I had hoped. After spending some time reading over the source and CFG files everything is now becoming clearer as to how everything ties together.

Thanks for the help.
I've just got up.  Nice to wake up to some good news and polite members!  You're both welcome.  Thanks for testing Dirk.
Title: REACT 2 Released
Post by: dobo on 2007-07-18 20:48:36
Started using eac 0.99pb1 and Synthetic Souls's ssb15 mod that creates wavpack and mp3's, works great but i have a query.
React moves my album art and log to the newly ripped wavpack dir which is fine, but i would also like it if the album art could also be copied to the newly created mp3 album, is this possible?

Also embedding album art doesn't seem to work for me, i'm hitting F10 and ripping to separate tracks for mp3 and wavpack. What i would really like is to embed album art into the separate files and also keep a copy in the album folder, is this possible?
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-07-18 22:55:19
React moves my album art and log to the newly ripped wavpack dir which is fine, but i would also like it if the album art could also be copied to the newly created mp3 album, is this possible?
Yes.  However, looking at REACT-image.cfg it looks like it should be copied to both by default.  Confused.

Also embedding album art doesn't seem to work for me, i'm hitting F10 and ripping to separate tracks for mp3 and wavpack. What i would really like is to embed album art into the separate files and also keep a copy in the album folder, is this possible?
Do you have EmbedCover set to 1 in the UserSettings section of REACT.ini?  I believe I'm right in saying that, with that setting, you will have the album art embedded and copied.
Title: REACT 2 Released
Post by: Ivan Helguera on 2007-07-19 09:56:45
looking at REACT-image.cfg it looks like it should be copied to both by default.  Confused.


It does just that for me
thanks,
IH
Title: REACT 2 Released
Post by: Ivan Helguera on 2007-07-19 10:10:13
A problem arose - now it's the tracks
while most of the files LAME fine
Code: [Select]
TITLE 07/13 mp3 "Serenade; 5 Pieces for Orchestra; Ode to Napoleon Buonaparte -
Boulez/BBC Sym..." & C:\PROGRA~1\REACT2\tools\lame.exe -V3 --vbr-new --noreplayg
ain --nohist  - "07 - VII. Finale.mp3" & C:\PROGRA~1\REACT2\tools\metamp3.exe --
pict "{3}C:\Documents and Settings\ibm\Moje dokumenty\Serenade; 5 Pieces for Orc
hestra; Ode to Napoleon Buonaparte - Boulez BBC Symphony Ensemble InterContempor
ain Shirley-Quirk W.jpg"  --artist "Arnold Schoenberg" --album "Serenade; 5 Piec
es for Orchestra; Ode to Napoleon Buonaparte - Boulez/BBC Sym..." --title "VII.
Finale" --track 07/13 --year "" --genre "Classical" --comment "Created with EAC/
REACT2, 2007-07-19" --frame TENC:"ibm" --frame TSSE:"LAME 3.97 -V3 --vbr-new --n
oreplaygain --nohist" "07 - VII. Finale.mp3"
LAME 3.97 32bits (http://www.mp3dev.org/)
CPU features: MMX (ASM used), SSE (ASM used), SSE2
Using polyphase lowpass filter, transition band: 17960 Hz - 18494 Hz
Encoding <stdin> to 07 - VII. Finale.mp3
Encoding as 44.1 kHz VBR(q=3) j-stereo MPEG-1 Layer III (ca. 8.2x) qval=3
metamp3 v0.91 - Copyright © 2006 by Tycho
Updating: 07 - VII. Finale.mp3
some do not
Code: [Select]

TITLE 08/13 mp3 "Serenade; 5 Pieces for Orchestra; Ode to Napoleon Buonaparte -
Boulez/BBC Sym..." & C:\PROGRA~1\REACT2\tools\lame.exe -V3 --vbr-new --noreplayg
ain --nohist  - "08 - 5 Pieces for Orchestra, Op. 16 -- I. Vorgefuhle.mp3" & C:\
PROGRA~1\REACT2\tools\metamp3.exe --pict "{3}C:\Documents and Settings\ibm\Moje
dokumenty\Serenade; 5 Pieces for Orchestra; Ode to Napoleon Buonaparte - Boulez
BBC Symphony Ensemble InterContemporain Shirley-Quirk W.jpg"  --artist "Arnold S
choenberg" --album "Serenade; 5 Pieces for Orchestra; Ode to Napoleon Buonaparte
 - Boulez/BBC Sym..." --title "5 Pieces for Orchestra, Op. 16 -- I. Vorgefuhle"
--track 08/13 --year "" --genre "Classical" --comment "Created with EAC/REACT2,
2007-07-19" --frame TENC:"ibm" --frame TSSE:"LAME 3.97 -V3 --vbr-new --noreplayg
ain --nohist" "08 - 5 Pieces for Orchestra, Op. 16 -- I. Vorgefuhle.mp3"
Can't init outfile '08 - 5 Pieces for Orchestra, Op. 16 -- I. Vorgefuhle.mp3'
metamp3 v0.91 - Copyright © 2006 by Tycho

Usage: C:\PROGRA~1\REACT2\tools\metamp3.exe [options] [mp3files]
options:
  --artist <artist>   audio/song artist
  --album <album> audio/song album
  --track <track>[/total] audio/song track number
  --title <title> audio/song title
  --year <year>   audio/song year of issue (1 to 9999)
  --genre <genre> audio/song genre name
  --comment [[desc]][{lng}]<text> add user-defined text
  --user-text [[desc]]<text>   add user text frame (TXXX)
  --user-url [[desc]]<URL> add user URL frame (WXXX)
  --frame <frame:text> set any T* or W* type frame
  --pict [[desc]][{type}]<file>  add picture artwork
  --save-pict <pict>   pict=[[desc]][{type}]<file>
  --list-pict-types   list possible picture type numbers
  --list-frames   list Text and URL id3v2.3 frames
  --list-genres   list standard id3v1.1 genres
  --1 add id3v1 tag only (default both v1 and v2)
  --2 add id3v2 tag only (--1 --2 will add both)
  --fit   add id3v1 + id3v2 if tag does not fit id3v1
  --remove [[desc]]<frame> remove frame(s). accepts wildcards *,?
  --replay-gain   calculate and set replay gain tags
  --apply-gain <gain> change volume. gain=[album|radio]<+dB|-dB>
  --undo-gain undo previous apply-gain
  --info   print detailed mp3/lametag info
  --version   show version info
  --help   show this help
Very strange
IH
EDIT:
I did it again, and the results were the same. I'm using the latest SynthS's react
EDIT:
Now that's weird - Foobar brought errors on the very same files - maybe it's a filename problem?
Code: [Select]
Error writing to file (Encoder has terminated prematurely with code -1; please re-check parameters) : file://C:\Documents and Settings\ibm\Moje dokumenty\@OutRoot@\MP3\Arnold Schoenberg\[] Serenade; 5 Pieces for Orchestra; Ode to Napoleon Buonaparte - Boulez-BBC Symphony-Ensemble InterContemporain-Shirley-Quirk-W\04 IV. Sonett von Petrarca_ 'O konnt' ich je der Rach' an ihr genesen'.mp3
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-07-19 10:34:55
Can we see the cuesheet please?  Surround the text with [CODEBOX] and [/CODEBOX].

LAME is failing to encode the file.  I can only assume that it is a file naming issue.  Does the cuesheet have the track title as "5 Pieces for Orchestra, Op. 16 -- I. Vorgefuhle"?
Title: REACT 2 Released
Post by: Ivan Helguera on 2007-07-19 12:26:31
I can only assume that it is a file naming issue.
That's what I thought. Here's the cuefile

Code: [Select]
REM DISCNUMBER 1
REM TOTALDISCS 1
REM GENRE Classical
REM DISCID C30F6E0D
REM COMMENT "ExactAudioCopy v0.99pb1"
PERFORMER "Arnold Schoenberg"
TITLE "Serenade; 5 Pieces for Orchestra; Ode to Napoleon Buonaparte - Boulez/BBC Sym..."
FILE "Arnold Schoenberg - Serenade; 5 Pieces for Orchestra; Ode to Napoleon Buonaparte - Boulez-BBC Symphony-Ensemble InterContemporain-Shirley-Quirk-W.flac" WAVE
  TRACK 01 AUDIO
    TITLE "Serenade, Op. 24 -- I. Marsch"
    PERFORMER "Arnold Schoenberg"
    INDEX 01 00:00:00
  TRACK 02 AUDIO
    TITLE "II. Menuett"
    PERFORMER "Arnold Schoenberg"
    INDEX 01 04:34:52
  TRACK 03 AUDIO
    TITLE "III. Variationen"
    PERFORMER "Arnold Schoenberg"
    INDEX 01 11:55:20
  TRACK 04 AUDIO
    TITLE "IV. Sonett von Petrarca: 'O konnt' ich je der Rach' an ihr genesen'"
    PERFORMER "Arnold Schoenberg"
    INDEX 01 16:10:05
  TRACK 05 AUDIO
    TITLE "V. Tanzscene"
    PERFORMER "Arnold Schoenberg"
    INDEX 01 19:04:47
  TRACK 06 AUDIO
    TITLE "VI. Lied (ohne Worte)"
    PERFORMER "Arnold Schoenberg"
    INDEX 01 26:10:17
  TRACK 07 AUDIO
    TITLE "VII. Finale"
    PERFORMER "Arnold Schoenberg"
    INDEX 01 28:32:60
  TRACK 08 AUDIO
    TITLE "5 Pieces for Orchestra, Op. 16 -- I. Vorgefuhle"
    PERFORMER "Arnold Schoenberg"
    INDEX 00 33:58:05
    INDEX 01 34:07:55
  TRACK 09 AUDIO
    TITLE "II. Vergangenes"
    PERFORMER "Arnold Schoenberg"
    INDEX 01 36:10:37
  TRACK 10 AUDIO
    TITLE "III. Farben"
    PERFORMER "Arnold Schoenberg"
    INDEX 01 40:52:50
  TRACK 11 AUDIO
    TITLE "IV. Peripetie"
    PERFORMER "Arnold Schoenberg"
    INDEX 01 43:43:10
  TRACK 12 AUDIO
    TITLE "V. Das obligate Rezitativ"
    PERFORMER "Arnold Schoenberg"
    INDEX 01 45:47:05
  TRACK 13 AUDIO
    TITLE "Ode to Napoleon Buonaparte, Op. 41"
    PERFORMER "Arnold Schoenberg"
    INDEX 00 49:17:22
    INDEX 01 49:27:00
Quote
Does the cuesheet have the track title as "5 Pieces for Orchestra, Op. 16 -- I. Vorgefuhle"?"
As you see, it does.
Thanks,
IH
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-07-19 14:21:39
I just used your cuesheet with another WAVE file, using this command line:

Code: [Select]
ACDIR.EXE -o "%n - %~t.mp3" --pipe "LAME.EXE -V3 --vbr-new --noreplaygain - $#o" "Arnold Schoenberg - Serenade; 5 Pieces for Orchestra; Ode to Napoleon Buonaparte - Boulez-BBC Symphony-Ensemble InterContemporain-Shirley-Quirk-W.cue"

All MP3s were created.  I then tried (more similar to the actual line REACT would have executed):

Code: [Select]
ACDIR.EXE --overwrite --output "%n - %~t.mp3" --pipe "TITLE $n/$N mp3 $#T & LAME.EXE -V3 --vbr-new --noreplaygain - $#o & METAMP3.EXE --fit --artist $#a --album $#T --title $#t --track $n/$N --year $q$R{YEAR}$q --genre $q$R{GENRE}$q --comment $q$R{COMMENT}$q $#o" "Arnold Schoenberg - Serenade; 5 Pieces for Orchestra; Ode to Napoleon Buonaparte - Boulez-BBC Symphony-Ensemble InterContemporain-Shirley-Quirk-W.cue"

... and all MP3s were created again.

I'm a bit stumped what to try next!  Have you edited the MP3 track section of the config at all?

Did track 9 work?  Was it only track 8 that failed?  Has it failed repeatedly (i.e.: if you rip the disc again does it always fail on track 8)?  Is it only with this disc that this has happened?

I'm not sure if you can pass on any more information but I'm stumped for now.  The only other thing I could think of for the "Can't init outfile" error would be some sort of disk error...

Edit: Another thought: is it possible somehow that the WAVE has been truncated, so that it was not long enough for track 8 (34:07:55)?  I'm going to test this to see what LAME or ACDIR says in this circumstance.
Edit: Meh.  ACDIR just reports "Failed to open the input file!".
Title: REACT 2 Released
Post by: Ivan Helguera on 2007-07-19 14:37:35
Have you edited the MP3 track section of the config at all?

I do not think I did.

Quote
Did track 9 work?  Was it only track 8 that failed?  Has it failed repeatedly (i.e.: if you rip the disc again does it always fail on track 8)?  Is it only with this disc that this has happened?


All the disc converted fine, except 4&8. I had the same problem with another disc, a Stravinsky with french titles - maybe it's a problem of non standard ASCII characters (>128)? I'm using the polish version of XPs, so maybe there's some code page conflict.
I ripped 12+ discs today, and had errors just on those two - one has German, another French characters
Quote
Edit: Another thought: is it possible somehow that the WAVE has been truncated, so that it was not long enough for track 8 (34:07:55)?  I'm going to test this to see what LAME or ACDIR says in this circumstance


No, wave (flac) is ok, plays ok. What's more, converting by fb2k gave errors on the very same file! So it looks like a LAME problem.
Now ain't that strange?
IH
Title: REACT 2 Released
Post by: robert on 2007-07-19 14:53:19
You may want to check the full filename length. The OS limit is 260 characters (MAX_PATH).
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-07-19 15:07:26
You may want to check the full filename length. The OS limit is 260 characters (MAX_PATH).
I can't believe that I didn't think of that.  Thanks robert.

4 and 8 have the longest track names.

I can replicate it using a long path.

Edit: I have tested, and it seems that you can utilise the GetShortPath (http://wiki.hydrogenaudio.org/index.php?title=REACT:Using_Short_Filenames) tip.

1. At the bottom of your REACT-image.cfg file replace:

Code: [Select]
REM ** Delete this .bat file
DEL %0

... with:

Code: [Select]
REM ** Delete this .bat file:
DEL %0

GOTO :EOF

:GetShortPath
SET %2=%~fs1
GOTO:EOF


2. In the LAME tracks section replace:

Code: [Select]
SET dest="@TrackDir_MP3@"

.. with:

Code: [Select]
SET dest="@TrackDir_MP3@"
CALL :GetShortPath %dest% destShortPath

...and:

Code: [Select]
@tools@\acdir.exe --overwrite --output "%TrackName%.mp3" --extra-opt "{3}@cover@" --pipe "TITLE $n/$N mp3 $#T & @tools@\lame.exe @Opt_LameMP3@ %ApplyAG_Lame% - $#o & @tools@\metamp3.exe %Fit_tag% %Cover_tag% %VA_tag% %Disc_MP3_acdir% --artist $#a --album $#T --title $#t --track $n/$N --year $q@year@$q --genre $q@genre@$q --comment $q@comment@$q $#o" "@sourcecuesheet@"

... with:

Code: [Select]
@tools@\acdir.exe --overwrite --output "%destShortPath%\%TrackName%.mp3" --extra-opt "{3}@cover@" --pipe "TITLE $n/$N mp3 $#T & @tools@\lame.exe @Opt_LameMP3@ %ApplyAG_Lame% - $#o & @tools@\metamp3.exe %Fit_tag% %Cover_tag% %VA_tag% %Disc_MP3_acdir% --artist $#a --album $#T --title $#t --track $n/$N --year $q@year@$q --genre $q@genre@$q --comment $q@comment@$q $#o" "@sourcecuesheet@"


If my tests are anything to go by this should appease LAME.

Edit: clarified final amend (see post #489).
Title: REACT 2 Released
Post by: poop on 2007-07-20 05:36:30
Hi - I'm new to React and this forum - both are fantastic!

Have got React working nicely thanks to a bit of research, but cannot figure out how to set the bitrate of my MP3 encoding. Always seems to rip using VBR, but would love it to be 192.

Am also trying to figure out exactly what is being done to the FLAC files that React outputs. I am after bitperfect files as exact as possible to the original on the CD. I assume that by their nature, the various 'gain' instructions will impact on the FLAC file produced, thereby making the file louder or softer than the original recording. Is this correct? If it is, what is the best way to ensure a FLAC file that is unadulterated in any way? Are there other processes happening that may also change the file?


Many thanks...

Sorry... also noticed that the MP3 files being produced seem noticeably quieter than the FLAC files with React. When using another program to rip MP3, the comparative volume against FLAC seems almost identical. Any suggestion as to why this may be happening?
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-07-20 07:46:52
Have got React working nicely thanks to a bit of research, but cannot figure out how to set the bitrate of my MP3 encoding. Always seems to rip using VBR, but would love it to be 192.
The LAME settings can be amended using the Opt_LameMP3 setting under the [UserSettings] section in REACT.ini.  However, I would recommend sticking with VBR files, but if you want higher bitrate maybe changing -V5 to -V2.  If you must have 192 CBR then change the line to:

Opt_LameMP3=-b 192 --noreplaygain --nohist

Am also trying to figure out exactly what is being done to the FLAC files that React outputs. I am after bitperfect files as exact as possible to the original on the CD. I assume that by their nature, the various 'gain' instructions will impact on the FLAC file produced, thereby making the file louder or softer than the original recording. Is this correct? If it is, what is the best way to ensure a FLAC file that is unadulterated in any way? Are there other processes happening that may also change the file?
...
Sorry... also noticed that the MP3 files being produced seem noticeably quieter than the FLAC files with React. When using another program to rip MP3, the comparative volume against FLAC seems almost identical. Any suggestion as to why this may be happening?
Your summary of replay gain is essentially correct, although you may want to read up on it in the wiki.  The calculations should only be stored as tags unless you specify ApplyAlbumGain=1 in your INI, in which case the volume will be permanently altered.  There is no concern over having RG tags stored, and your file will be no less lossless.

Perhaps you should post your INI, surrounding it with [CODEBOX] and [/CODEBOX], so we can see how your gain-related settings are currently set.

Edit: RE: gain settings.  It may also be worth looking at this post (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=50273&view=findpost&p=503890) in this thread
Title: REACT 2 Released
Post by: poop on 2007-07-20 08:30:28
Really appreciate your response!

I would recommend sticking with VBR files, but if you want higher bitrate maybe changing -V5 to -V2.
I like CBR because I know I am listening to a constant. Is the reason you suggest using VBR because it will provide grater quality at a smaller size due to the varied in bitrate? Or are there other benifits?

The calculations should only be stored as tags...  There is no concern over having RG tags stored, and your file will be no less lossless.
Meaning that the tag can be altered easily at a later stage? Didn't know you could set this kind of parameter via tags - pretty impressive. So setting gain to 0 would be the same as the original recording during playback?

Perhaps you should post your INI so we can see how your gain-related settings are currently set.

Code: [Select]
[Settings]
Version=2.0
ImageExt=wav
ImageNaming=$artist$ - $album$
ImageHotKey={F10}
TracksHotKey={F4}
TracksHotVal=+{F5}
VA=Various Artists
CreateAllCuesheets=0
RunCoverDownloader=1
CoverDownloader=C:\Program Files\REACT2\coverdownloader\albumart.exe
EAC=F:\EAC\EAC.exe
Tools=C:\Program Files\REACT2\tools
MinimizeCompressionWindow=1
ProcessPriority=1
Sla_Bks_Col_Qst_Bar_Quo_Ast_Lt_Gt=-|-|-||!|'|#|[|]

[UserTrackFormats]
Flac=1
Wavpack=0
LameMP3=1
NeroAac=0
iTunesAac=0
OggEnc2=0

[UserOutputNames]
OutRoot=@mymusic@\New Rips
ImageDir_Flac=@OutRoot@\FLAC-images\$cdartist$
ImageDir_Wavpack=@OutRoot@\WV-images\$cdartist$
ImageDir_MP3=@OutRoot@\MP3-images\$cdartist$
TrackDir_Flac=@OutRoot@\FLAC\$cdartist$\$album$
TrackDir_Wavpack=@OutRoot@\WV\$cdartist$\$album$
TrackDir_MP3=@OutRoot@\MP3\$cdartist$\$album$
TrackDir_AAC=@OutRoot@\AAC\$cdartist$\$album$
TrackDir_OGG=@OutRoot@\OGG\$cdartist$\$album$
TrackName_SA=$track$  $title$
TrackName_VA=$track$  $title$ [$artist$]
TrackName_SA_acdir=$n  $~t
TrackName_VA_acdir=$n  $~t [$~a]

[UserSettings]
Debug=0
Comment=Created with EAC/REACT2, @curdate@
EmbedCover=1
ReplayGain=0
ApplyAlbumGain=0
AdjustAlbumGain_dB=0
AddCuesheetAG=0
UseWaveGainAG=0
Opt_Flac=-5 -f
Opt_Wavpack=-hmy
Opt_LameMP3=-V5 --vbr-new --noreplaygain --nohist
Opt_NeroAac=-lc -q 0.21
Opt_iTunesAac=-d -s 2000
Opt_OggEnc2=-q 3.0
Ver_Flac=1.1.3
Ver_Wavpack=4.40
Ver_LameMP3=3.97
Ver_NeroAac=1.0.0.2
Ver_OggEnc2=2.83 Lancer aoTuV b5





Thanks again...
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-07-20 09:27:14
Yes.  VBR files will provide better quality for the filesize, as CBR is not efficient (you are using more bits on easily-encoded parts than necessary).

You would not (normally) manually amend RG tags - you either have them set accurately (by some application like metaflac or foobar), or not at all.

I must admit I'm out of my comfort zone with the RG settings, but from what I can see your MP3s are more quiet because you have ApplyAlbumGain set, and that is telling metamp3 to apply the gain to the file, in the same way MP3Gain does.  If you don't like the quieter files then set this to 0 instead.  I believe that your FLAC files will only have the RG tags set, so should be CD volume.  As I say though, not really my field.

Edit: hang on, I just re-read my post and your INI and it seems that you don't have ApplyAlbumGain set!  Did you amend this with your post edit, or was I seeing things?
Title: REACT 2 Released
Post by: poop on 2007-07-20 10:16:41
Yeah sorry - it was part of the edit - changed the ini to test some other settings and forgot I changed gain before the save    Apologies for the confusion. Thank you again for your help, will test the MP3 volume and compare again.
Title: REACT 2 Released
Post by: Ivan Helguera on 2007-07-20 13:52:10
If my tests are anything to go by this should appease LAME.


Thanks a lot - they did. Everything is OK now. I'd never do it by myself.
By the way, is there any reason for the hack not being a part of the official pack?
IH

PSI initally just copied & pasted your changes, and this one obviously did not work:
Quote
Code: [Select]
@tools@\acdir.exe --overwrite --output "%TrackName%.mp3" ...

... with:

Code: [Select]
@tools@\acdir.exe --overwrite --output "%destShortPath%\%TrackName%.mp3" ...

as "..." means "whatever comes next".
So maybe you could edit that post so that it includes the full thing just to be copied & pasted? That could be helpful for people looking to solve that problem in the future.
Thanks again - I have a fully functional REACT system now.
Title: REACT 2 Released
Post by: Junon on 2007-07-20 14:27:08
I like CBR because I know I am listening to a constant.

You listen to the music instead of the bits, which are the only constant in this case.
Actually, it's the other way round: Constant bitrate = variable quality  ---> variable bitrate = (almost)* constant quality

This is due to the fact that the complexity of your music isn't always the same. A silent strings ensemble is much easier to encode than a loud Thrash Metal-Band playing its guitar riffs, with the drummer banging into his drums like that was the last thing he'd do in his life. The latter needs a lot more bits to encode at a quality level that's comparable to the first example.

You can observe this behaviour on a highly dynamic and diversified VBR-encoded song, while playing it back with a player that displays the currently used bitrate instead of the whole file's average one. During silent parts the bitrate will drop, during more complex ones it will rise, ensuring that the quality level you specified in your encoder can be maintained throughout the whole song.

And that's the problem of CBR: While it wastes bits at the less complex areas of a song, it possibly doesn't get enough of those during the more troublesome moments, resulting in variations of the quality. Of course, it depends on your ears and the CBR bitrate whether these quality variations are audible. But in theory they're always there.

*About the (almost): 100% constancy is a theoretical case, of course. The VBR algorithm of an encoder can also have its flaws, which negatively impact the actual result.
Title: REACT 2 Released
Post by: poop on 2007-07-20 15:41:08
Personally I think that a single violin playing a constant note can be just as demanding as the Thrash Metal band you mention. That single note from the violin has a complexity of sound not unlike the combination of the many colours an oil painter might use to give the impression of clear blue water - though we see that water as a sparkling lake, looking closer reveals an almost chaotic pattern of millions of swirling intermingling hues. For me, MP3 allows me to see the lake, and for portable audio that is all I need. I have not yet convinced myself that FLAC is the perfect replica of a CD it is often touted as being, but my ears have not noticed the difference so far, so I rely on it for quality.

I suppose CBR means I know exactly what quality of sound I will achieve - I like knowing what I can audiably expect from a 192 vs 320kbps file. Perhaps it is just that I am more familiar with CBR than VBR...
Title: REACT 2 Released
Post by: Ivan Helguera on 2007-07-20 17:28:27
Personally I think that a single violin playing a constant note can be just as demanding as the Thrash Metal band you mention.


What, I suppose,  is meant by complexity in this context is NOT the musical complexity, but difficulty to compress the given sound. And as such, loud rock bands are, AFAIK, more difficult to compress.
The measure of such complexity? You provide some sound sample to a number of people and check at which bitrate they won't be able to tell the mp3 from the original.

Quote
I have not yet convinced myself that FLAC is the perfect replica of a CD it is often touted as being, but my ears have not noticed the difference so far, so I rely on it for quality.


Now, be covinced - this is the very same thing. You could as well ask yourself if a zipped file has the quality of the original. After you turn it to wav, you get the very same .wav file you started with - bit per bit.

Quote
I suppose CBR means I know exactly what quality of sound I will achieve - I like knowing what I can audiably expect from a 192 vs 320kbps file. Perhaps it is just that I am more familiar with CBR than VBR...


There's really a lot to be gained from VBR; there a lot of optimisation to be achieved this way.
If you were to use mp3s ona computer it would not be that important - you could use 320kbps; hard disk space is cheap. But if you use a portable players, using a lower bitrate (and VBR will give  you a  much lower average bitrate with the same quality) has a lot of merits: you can put more mp3s on a disk, power consumption is smaller (less disk operatrions).
Have fun,
IH
Title: REACT 2 Released
Post by: drbeachboy on 2007-07-20 17:29:04
Personally I think that a single violin playing a constant note can be just as demanding as the Thrash Metal band you mention. That single note from the violin has a complexity of sound not unlike the combination of the many colours an oil painter might use to give the impression of clear blue water - though we see that water as a sparkling lake, looking closer reveals an almost chaotic pattern of millions of swirling intermingling hues. For me, MP3 allows me to see the lake, and for portable audio that is all I need. I have not yet convinced myself that FLAC is the perfect replica of a CD it is often touted as being, but my ears have not noticed the difference so far, so I rely on it for quality.

I suppose CBR means I know exactly what quality of sound I will achieve - I like knowing what I can audiably expect from a 192 vs 320kbps file. Perhaps it is just that I am more familiar with CBR than VBR...

Well, after reading your post above, you have a most mis-informed life regarding FLAC & MP3. It's a very good thing that you came to the HA forum to get educated. Kind of like the Earth is round, the Earth is flat type thing. It took a long time for the correct answer to win acceptance, but in the end it finally did. If you read the forum threads, you will get a good and thorough education regarding digital music. The people who post here know their stuff. Gabriel, Robert, Menno, Garf, Josh, Bryant; these guys know what they are talking about, along with working on the lossless/lossy encoders. Synthetic Soul is a knowledgeable & great resource, so take advantage of what he knows. Experiment & have fun learning. This is a pretty cool place to hang out. 
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-07-20 18:46:37
By the way, is there any reason for the hack not being a part of the official pack?
I've only heard of one other person experiencing this issue.  I think I did mention at that time though that perhaps REACT could replace file paths with the short name version by default.

PSI initally just copied & pasted your changes, and this one obviously did not work:
Quote

Code: [Select]
@tools@\acdir.exe --overwrite --output "%TrackName%.mp3" ...

... with:

Code: [Select]
@tools@\acdir.exe --overwrite --output "%destShortPath%\%TrackName%.mp3" ...

as "..." means "whatever comes next".
So maybe you could edit that post so that it includes the full thing just to be copied & pasted? That could be helpful for people looking to solve that problem in the future.
I always wonder when I use that technique whether it may throw some people.  OK, I'll edit the original post.

Thanks again - I have a fully functional REACT system now.
You're welcome.  Good luck with the ripping.
Title: REACT 2 Released
Post by: dobo on 2007-07-20 19:02:32
I've done a reinstall of eac and react etc and i can now embed album art into mp3 and copy the album art into both mp3 and wavpack album folders, which is a result.
However I'm still unable to embed album art into my wavpack tracks. has anyone actually manged this?

I've taken a look at the react image cfg and can't figure out what part of the script embeds art into the wavpack tracks.

react.ini has EmbedCover=1

So is it possible for react to embed art into wavpack?
Title: REACT 2 Released
Post by: Ivan Helguera on 2007-07-20 19:02:57
Quote
Edit: I have tested, and it seems that you can utilise the GetShortPath tip.
...
If my tests are anything to go by this should appease LAME.


This appeases lame - but not the OS!
The system itself has a lot of trouble communicating with those files. You can't change their filenames, you can't copy them directly (but you can copy the directory...)
It's an incredibly serious bug in Windows - not the first nor the only in the filenames category (codepage problems...)
So, contrary to what I suggested, the 'MS - DOS' should not be integrated to the to the main product, nor - in fact - should it be suggested to users without warning.. It's not the solution's fault, but microsoft's bug, of course.
I suggest that the information about the problem be included in the REACT: Using Short Filenames (http://wiki.hydrogenaudio.org/index.php?title=REACT:Using_Short_Filenames) wiki entry.
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-07-20 19:08:15
So is it possible for react to embed art into wavpack?
MP3Tag will do it, but nothing used in REACT will.  It's a new development.  See here (http://www.hydrogenaudio.org/forums/index.php?showtopic=40603).

This appeases lame - but not the OS!
The system itself has a lot of trouble communicating with those files. You can't change their filenames, you can't copy them directly (but you can copy the directory...)
It's an incredibly serious bug in Windows - not the first nor the only in the filenames category (codepage problems...)
So, contrary to what I suggested, the 'MS - DOS' should not be integrated to the to the main product, nor - in fact - should it be suggested to users without warning.. It's not the solution's fault, but microsoft's bug, of course.
I suggest that the information about the problem be included in the REACT: Using Short Filenames (http://wiki.hydrogenaudio.org/index.php?title=REACT:Using_Short_Filenames) wiki entry.
Hmmm.... very true.  Guess the best idea is to go with shorter paths.
Title: REACT 2 Released
Post by: dobo on 2007-07-20 19:16:12
Thanks for the clarification Synthetic Soul, i'm currently using audioshell to embed art into wavpacks but was under the impression react could do it, oh well, looks like react is now doing everything it should so i'm happy.

look forward to these tools developing further, and when foobar can read embed art in my wavpacks

EDIT lazy edit :0
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-07-20 19:21:14
Thanks for the clarification Synthetic Soul, i'm currently using audioshell to embed art into wavpacks but was under the impression react could do it, oh well, looks like react is now doing everything it should so i'm happy.
I see from that thread that MP3Tag uses the same format as AudioShell, so it seems that you are in good hands (if they had differed I may have warned you against it).

I'm sure a command line tagger will get th functionality soon, and then it can be used in REACT.  I doubt I'm up to adding the functionality to Case's Tag, although it would be nice if someone could.
Title: REACT 2 Released
Post by: poop on 2007-07-21 02:24:56
Well, after reading your post above, you have a most mis-informed life regarding FLAC & MP3. It's a very good thing that you came to the HA forum to get educated. Kind of like the Earth is round, the Earth is flat type thing. It took a long time for the correct answer to win acceptance, but in the end it finally did. If you read the forum threads, you will get a good and thorough education regarding digital music. The people who post here know their stuff. Gabriel, Robert, Menno, Garf, Josh, Bryant; these guys know what they are talking about, along with working on the lossless/lossy encoders. Synthetic Soul is a knowledgeable & great resource, so take advantage of what he knows. Experiment & have fun learning. This is a pretty cool place to hang out. 


LOL!!!

Just because a bunch of people write a bunch of info on a topic, doesn't make me believe it more... I can see alot of people in this forum know a great deal more than I do about audio formats - which is why I am here. That said - I like to know for myself rather than blindly accept. I would consider that I am quite well informed on MP3 and FLAC, VBR and CBR, contrary to your beliefs, which is why I understand both sides of the argument, and have heard all of what has been said in this thread regarding these formats before.

I am not suggesting that anyone here is wrong (if anyone is I am sure it will be me  ), just that I have not had the time to prove it all to myself at this stage.

Many people out there still believe the earth is round... nice and big and sperical, rather than the squashed sphere it truly is... Perhaps it won't be long until we learn it is dented in at the poles like a donut - best to keep an open mind just in case...   

Thanks to everyone for putting up with the nonsensical rants of a noob, and your help. Think I am seriously off topic here now - my apologies.
Title: REACT 2 Released
Post by: drbeachboy on 2007-07-21 03:41:48
Hey, we were all noobs at some point. I didn't know squat about lossy/lossless when I first found my here a few years back. I know squat now, though! Like you, I don't blindly accept anything as fact either, but I do accept things as facts when experts explain, and give me good, intelligent reasons why to believe. As you'll come to find out as you peruse through the forums, most of what is discussed here at HA is backed up by proof and not opinion. So, you won't find a lot of BS or untruths circulating around the forum. I'm still learning more each day that I come here, and I appreciate that whenever I have a question, there is someone here that is always willing to help. I try to help others whenever I can, as well. It's a very cool Community with knowledeable, nice members.
Sounds like you learned Earth Science from Homer Simpson. 


Regards,
Dirk
Title: REACT 2 Released
Post by: poop on 2007-07-21 04:40:29
Sounds like you learned Earth Science from Homer Simpson. 


And audio science...   
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-07-21 07:23:58
This appeases lame - but not the OS!
The system itself has a lot of trouble communicating with those files. You can't change their filenames, you can't copy them directly (but you can copy the directory...)
It's an incredibly serious bug in Windows - not the first nor the only in the filenames category (codepage problems...)
So, contrary to what I suggested, the 'MS - DOS' should not be integrated to the to the main product, nor - in fact - should it be suggested to users without warning.. It's not the solution's fault, but microsoft's bug, of course.
I suggest that the information about the problem be included in the REACT: Using Short Filenames (http://wiki.hydrogenaudio.org/index.php?title=REACT:Using_Short_Filenames) wiki entry.
Hmmm.... very true.  Guess the best idea is to go with shorter paths. 
Warning added to the wiki article.  While writing I was reminded of a useful command line utility: SUBST.  From the wiki:

One solution to this subsequent issue may be creating a virtual  drive, mapped to a long folder path. This can easily be achieved on the  command line using SUBST, e.g.:


Code: [Select]
SUBST R: "C:\Documents and Settings\My Long Name\My Documents\My Music\My Ripped Music"

You can then access "C:\Documents and Settings\My Long Name\My  Documents\My Music\My Ripped Music\Pixies\Doolittle\01 - Debaser.mp3"  using the virtual path "R:\Pixies\Doolittle\01 - Debaser.mp3".
Title: REACT 2 Released
Post by: Ivan Helguera on 2007-07-21 15:44:37
I encountered another problem with tracks.
This time, the file itself is created, but it lacks tags.
Here's the cuefile:
Code: [Select]
REM DISCNUMBER 1
REM TOTALDISCS 1
REM GENRE Classical
REM DATE 1993
REM DISCID 050E0D14
REM COMMENT "ExactAudioCopy v0.99pb1"
PERFORMER "Igor Stravinsky"
TITLE "Firebird - 4 Etudes - Fireworks - Boulez, Chicago"
FILE "Igor Stravinsky - Firebird - 4 Etudes - Fireworks - Boulez, Chicago.flac" WAVE
  TRACK 01 AUDIO
    TITLE "Introduction"
    PERFORMER "Igor Stravinsky"
    INDEX 00 00:00:00
    INDEX 01 00:00:33
  TRACK 02 AUDIO
    TITLE "Le jardin enchanté de Kachtcheď"
    PERFORMER "Igor Stravinsky"
    INDEX 01 02:32:65
  TRACK 03 AUDIO
    TITLE "Apparation de l'Oiseau de feu"
    PERFORMER "Igor Stravinsky"
    INDEX 01 04:19:28
  TRACK 04 AUDIO
    TITLE "Danse de l'Oiseau de feu"
    PERFORMER "Igor Stravinsky"
    INDEX 01 06:45:28
  TRACK 05 AUDIO
    TITLE "Capture de l'Oiseau de feu"
    PERFORMER "Igor Stravinsky"
    INDEX 01 08:07:05
  TRACK 06 AUDIO
    TITLE "Supplications de l'Oiseau de feu"
    PERFORMER "Igor Stravinsky"
    INDEX 01 08:59:73
  TRACK 07 AUDIO
    TITLE "Jeu des princesses"
    PERFORMER "Igor Stravinsky"
    INDEX 01 17:14:00
  TRACK 08 AUDIO
    TITLE "Apparition d'Ivan Tsarévitch"
    PERFORMER "Igor Stravinsky"
    INDEX 01 19:38:58
  TRACK 09 AUDIO
    TITLE "Ronde des princesses"
    PERFORMER "Igor Stravinsky"
    INDEX 01 21:16:08
  TRACK 10 AUDIO
    TITLE "Lever du jour"
    PERFORMER "Igor Stravinsky"
    INDEX 01 24:59:33
  TRACK 11 AUDIO
    TITLE "Carillon féerique"
    PERFORMER "Igor Stravinsky"
    INDEX 01 26:31:03
  TRACK 12 AUDIO
    TITLE "Danse de la suite de Kachtchéď"
    PERFORMER "Igor Stravinsky"
    INDEX 01 32:12:20
  TRACK 13 AUDIO
    TITLE "Danse infernale"
    PERFORMER "Igor Stravinsky"
    INDEX 01 32:56:68
  TRACK 14 AUDIO
    TITLE "Berceuse"
    PERFORMER "Igor Stravinsky"
    INDEX 01 37:39:40
  TRACK 15 AUDIO
    TITLE "Disparition du palais"
    PERFORMER "Igor Stravinsky"
    INDEX 01 42:56:08
  TRACK 16 AUDIO
    TITLE "Feu d'artifice"
    PERFORMER "Igor Stravinsky"
    INDEX 00 46:09:33
    INDEX 01 46:19:33
  TRACK 17 AUDIO
    TITLE "Etudes pour orchestre - Danse"
    PERFORMER "Igor Stravinsky"
    INDEX 00 50:13:33
    INDEX 01 50:21:33
  TRACK 18 AUDIO
    TITLE "Etudes pour orchestre - Excentrique"
    PERFORMER "Igor Stravinsky"
    INDEX 01 51:20:33
  TRACK 19 AUDIO
    TITLE "Etudes pour orchestre - Cantique"
    PERFORMER "Igor Stravinsky"
    INDEX 01 53:31:33
  TRACK 20 AUDIO
    TITLE "Etudes pour orchestre - Madrid"
    PERFORMER "Igor Stravinsky"
    INDEX 01 57:09:33
and here's the REACT output[codebox]
Aktywna strona kodowa: 1252

flac 1.1.3, Copyright © 2000,2001,2002,2003,2004,2005,2006  Josh Coalson
flac comes with ABSOLUTELY NO WARRANTY.  This is free software, and you are
welcome to redistribute it under certain conditions.  Type `flac' for details.

Itmp1!542.wav: wrote 235273440 bytes, ratio=0,371
Liczba skopiowanych plików:        1.
Audio CD Image Reader (ACDIR) 0.12 alpha  Copyright © 2003-2005 by Nyaochi

TITLE 01/20 mp3 "Firebird - 4 Etudes - Fireworks - Boulez, Chicago" & C:\PROGRA~
1\REACT2\tools\lame.exe -V3 --vbr-new --noreplaygain --nohist  - "c:\REACTR~1\MP
3\IGORST~1\_1993_~1\01 - Introduction.mp3" & C:\PROGRA~1\REACT2\tools\metamp3.ex
e --pict "{3}C:\Documents and Settings\ibm\Moje dokumenty\Firebird - 4 Etudes -
Fireworks - Boulez, Chicago.jpg"  --artist "Igor Stravinsky" --album "Firebird -
 4 Etudes - Fireworks - Boulez, Chicago" --title "Introduction" --track 01/20 --
year "1993" --genre "Classical" --comment "Created with EAC/REACT2, 2007-07-21"
--frame TENC:"ibm" --frame TSSE:"LAME 3.97 -V3 --vbr-new --noreplaygain --nohist
" "c:\REACTR~1\MP3\IGORST~1\_1993_~1\01 - Introduction.mp3"
LAME 3.97 32bits (http://www.mp3dev.org/)
CPU features: MMX (ASM used), SSE (ASM used), SSE2
Using polyphase lowpass filter, transition band: 17960 Hz - 18494 Hz
Encoding <stdin> to c:\REACTR~1\MP3\IGORST~1\_1993_~1\01 - Introduction.mp3
Encoding as 44.1 kHz VBR(q=3) j-stereo MPEG-1 Layer III (ca. 8.2x) qval=3
metamp3 v0.91 - Copyright © 2006 by Tycho
Updating: c:\REACTR~1\MP3\IGORST~1\_1993_~1\01 - Introduction.mp3

TITLE 02/20 mp3 "Firebird - 4 Etudes - Fireworks - Boulez, Chicago" & C:\PROGRA~
1\REACT2\tools\lame.exe -V3 --vbr-new --noreplaygain --nohist  - "c:\REACTR~1\MP
3\IGORST~1\_1993_~1\02 - Le jardin enchanté de Kachtchei.mp3" & C:\PROGRA~1\REAC
T2\tools\metamp3.exe --pict "{3}C:\Documents and Settings\ibm\Moje dokumenty\Fir
ebird - 4 Etudes - Fireworks - Boulez, Chicago.jpg"  --artist "Igor Stravinsky"
--album "Firebird - 4 Etudes - Fireworks - Boulez, Chicago" --title "Le jardin e
nchanté de Kachtchei" --track 02/20 --year "1993" --genre "Classical" --comment
"Created with EAC/REACT2, 2007-07-21" --frame TENC:"ibm" --frame TSSE:"LAME 3.97
 -V3 --vbr-new --noreplaygain --nohist" "c:\REACTR~1\MP3\IGORST~1\_1993_~1\02 -
Le jardin enchanté de Kachtchei.mp3"
LAME 3.97 32bits (http://www.mp3dev.org/)
CPU features: MMX (ASM used), SSE (ASM used), SSE2
Using polyphase lowpass filter, transition band: 17960 Hz - 18494 Hz
Encoding <stdin>
      to c:\REACTR~1\MP3\IGORST~1\_1993_~1\02 - Le jardin enchanté de Kachtchei.
mp3
Encoding as 44.1 kHz VBR(q=3) j-stereo MPEG-1 Layer III (ca. 8.2x) qval=3
metamp3 v0.91 - Copyright © 2006 by Tycho
Code: [Select]
error: could not open file: c:\REACTR~1\MP3\IGORST~1\_1993_~1\02 - Le jardin enc
hanté de Kachtchei.mp3

Usage: C:\PROGRA~1\REACT2\tools\metamp3.exe [options] [mp3files]
options:
  --artist <artist>              audio/song artist
  --album <album>                audio/song album
  --track <track>[/total]        audio/song track number
  --title <title>                audio/song title
  --year <year>                  audio/song year of issue (1 to 9999)
  --genre <genre>                audio/song genre name
  --comment [[desc]][{lng}]<text> add user-defined text
  --user-text [[desc]]<text>      add user text frame (TXXX)
  --user-url [[desc]]<URL>        add user URL frame (WXXX)
  --frame <frame:text>            set any T* or W* type frame
  --pict [[desc]][{type}]<file>  add picture artwork
  --save-pict <pict>              pict=[[desc]][{type}]<file>
  --list-pict-types              list possible picture type numbers
  --list-frames                  list Text and URL id3v2.3 frames
  --list-genres                  list standard id3v1.1 genres
  --1                            add id3v1 tag only (default both v1 and v2)
  --2                            add id3v2 tag only (--1 --2 will add both)
  --fit                          add id3v1 + id3v2 if tag does not fit id3v1
  --remove [[desc]]<frame>        remove frame(s). accepts wildcards *,?
  --replay-gain                  calculate and set replay gain tags
  --apply-gain <gain>            change volume. gain=[album|radio]<+dB|-dB>
  --undo-gain                    undo previous apply-gain
  --info                          print detailed mp3/lametag info
  --version                      show version info
  --help                          show this help


now the problem seems to be that the metamp3 wants to write to a file named "c:\REACTR~1\MP3\IGORST~1\_1993_~1\02 - Le jardin enchanté de Kachtchei.mp3", while on the disc it's named "02 - Le jardin enchanté de Kachtcheď.mp3" (the last character not being  a d+', but, as far as i can see a single d').
Apparently, the problem arises from that character, as it appears as well on the other track that contains it. 
Another thing I see here is that there is a charcter (CR, space or whatever)
Code: [Select]
error: could not open file: c:\REACTR~1\MP3\IGORST~1\_1993_~1\02 - Le jardin enc
hanté de Kachtchei.mp3
which is not present in the encoding part
Code: [Select]
Encoding <stdin>
      to c:\REACTR~1\MP3\IGORST~1\_1993_~1\02 - Le jardin enchanté de Kachtchei.
but that might well be an artifact of the notepad.
Might it have anything to do with the codepage?
IH
PS converting form cue/flac to an mp3 in the REACT mp3 directory gives no problems.

EDIT: It's definitlely that weird character - changing the name to katchei made it work
Title: REACT 2 Released
Post by: robmck on 2007-07-22 09:57:21
Having a hard time getting REACT to generate flac images.  I do a clean install, then hit F10, and I get a cue file and a .wav, but no flac.  Setting debug=1, it looks like REACT is using the wrong filenames to refer to the cue sheet & log. 

Here's my steps:
1. Clean install of EAC 0.99pb1
2. Clean install of REACT 2
3. Run react & hit yes to install.
4. Alt-F2 to edit react.ini & change ImageExt=flac; and Debug=1.
5. Hit F10.
6. It prompts me for where to save - I hit enter.
7. It chugs for a while and hits the pause at the end of the react script.

At this point, I study the script history and find that flac choked on --tag-from-file:
Code: [Select]
C:\tmp\rip>C:\PROGRA~1\REACT2\tools\flac.exe -5 -f --replay-gain  -T "artist=Goodman, Benny" -T album="Margie" -T totaltracks="20" -T date="" -T genre="Jazz" -T comment="Created with EAC/REACT2, 2007-07-22" -T encoded-by="Rob" -T encoding="Flac 1.1.3 -5 -f" --tag-from-file="cuesheet=C:\tmp\rip\Goodman, Benny - [] Margie.cue" --tag-from-file="eaclog=C:\tmp\rip\Margie.log" "C:\tmp\rip\Gtmp54266.wav" -o "C:\tmp\rip\Goodman, Benny - [] Margie.flac"
ERROR: (--tag-from-file) can't open file for tag value
Type "flac" for a usage summary or "flac --help" for all options


Looking at that directory, I find (note: still haven't hit a key to let the script finish):
Code: [Select]
 Directory of C:\tmp\rip

07/22/2007  01:22 AM    <DIR>          .
07/22/2007  01:22 AM    <DIR>          ..
07/22/2007  01:22 AM             3,358 Goodman, Benny - [] Margie.log
07/22/2007  01:22 AM             2,699 Gtmp54266-react.cue
07/22/2007  01:22 AM       612,888,908 Gtmp54266.wav
07/22/2007  01:22 AM            12,213 Margie.bat


Looks like both --tag-from-file lines point to files that don't exist (or are not yet using those names).  @cuesheet@ resolves to "C:\tmp\rip\Goodman, Benny - [] Margie.cue", but the cue sheet is named Gtmp54266-react.cue, and @eaclog@ resolves to "C:\tmp\rip\Margie.log" but is currently called "Goodman, Benny - [] Margie.log"

If I then fixup the batch file to point to the right files, everything runs exactly as it should.


Soooo: any ideas on how to fix this?  Do I have some version mismatch between EAC & REACT?
Title: REACT 2 Released
Post by: Ivan Helguera on 2007-07-22 10:50:39
Having a hard time getting REACT to generate flac images.  I do a clean install, then hit F10, and I get a cue file and a .wav, but no flac.  Setting debug=1, it looks like REACT is using the wrong filenames to refer to the cue sheet & log. 

Here's my steps:
1. Clean install of EAC 0.99pb1

You are the right place to ask the question - I had my problem solved here.
Basically, the new 0.99 EAC does not work with REACT correctly. You can download a version modified by Syntethic Soul, and provided on this forum - the latest download is available [http://wiki.hydrogenaudio.org/index.php?title=REACT:Mods]here[/url]
I had similar problems, and that's what solved it.
Have fun
IH

EDIT: link to sytnth's soul wiki instead of the thread
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-07-22 13:00:23
Ivan.  Good to see you giving back.

FYI: I am maintaining a page in the wiki for my mod, so I'd probably point people there (http://wiki.hydrogenaudio.org/index.php?title=REACT:Mods) for the latest version.

The wiki article mainly focuses on the Additional Meta Data dialogue, but I did compile a changelog (http://wiki.hydrogenaudio.org/index.php?title=REACT:Mods#Changelog) from my posts in this thread, so that could be useful for users to see what the mod includes (perhaps I ought to summarise the good bits into a bullet list of features).

The article can be found here: REACT:Mods (http://wiki.hydrogenaudio.org/index.php?title=REACT:Mods)


BTW: I can only assume that you latest problem is a codepage issue, and I have no idea how to resolve it.  As you suggest the line feed in the filename is purely a console drawing issue, and nothing to worry about.

Edit: Actually, it may be worth you skimming the metamp3 thread (http://www.hydrogenaudio.org/forums/index.php?showtopic=49751), and trying the beta linked to in that thread.  It is possible that the beta handles other codepages better, but the answer would be in the thread.
Title: REACT 2 Released
Post by: vulc44n on 2007-07-23 03:48:32
I started using React 2 today [the latest mod, to be exact].  However, I have run into a few issues.  I'm hoping someone here can help me figure them out...

1. EAC Log file does not get copied to either my flac image output directory or the lame mp3 track directory.

2. The album art in the flac image folder gets named like this: %artist% - %album%.  I'd prefer if it was just folder.jpg like my mp3 track output folder.

Thanks,
Matt
Title: REACT 2 Released
Post by: poop on 2007-07-23 05:48:14
I started using React 2 today [the latest mod, to be exact].  However, I have run into a few issues.  I'm hoping someone here can help me figure them out...

1. EAC Log file does not get copied to either my flac image output directory or the lame mp3 track directory.

2. The album art in the flac image folder gets named like this: %artist% - %album%.  I'd prefer if it was just folder.jpg like my mp3 track output folder.

Thanks,
Matt


Pretty sure you can change the album art naming in the ini file in the section UserOutputNames. Look for ImageDir for each file type (FLAC and MP3, which in your case sound like they will be different). Not 100% sure this is the solution, but if you post your ini here it will be more helpful in being able to see what is happening. There is also an option to embed the album art within the tag file.

For the log file - I think this gets specified in EAC - again could be wrong, but check the destination directory set in EAC for log files and see if they are there.
Title: REACT 2 Released
Post by: robmck on 2007-07-23 06:06:03
Thanks Ivan and Synthetic Soul - I'm now running just fine with the ssb version.
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-07-23 07:36:56
I started using React 2 today [the latest mod, to be exact].  However, I have run into a few issues.  I'm hoping someone here can help me figure them out...

1. EAC Log file does not get copied to either my flac image output directory or the lame mp3 track directory.

2. The album art in the flac image folder gets named like this: %artist% - %album%.  I'd prefer if it was just folder.jpg like my mp3 track output folder.
Are you definately using 2.0.ssb15?  It sounds like you are using an earlier version - the log file was sorted in b12 and image art in b13.  When you open REACT the running version should be displayed in EAC's title bar.  Out of interest, what version of EAC as well please?
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-07-23 08:30:59
Pretty sure you can change the album art naming in the ini file in the section UserOutputNames. Look for ImageDir for each file type (FLAC and MP3, which in your case sound like they will be different). Not 100% sure this is the solution, but if you post your ini here it will be more helpful in being able to see what is happening. There is also an option to embed the album art within the tag file.
REACT specifies the filename using "<album>.jpg".  This can't be changed by the user.  The name is set using the basic information set in the EAC main window, as coverdownloader is run before the cfg file is processed, so there's not a lot of option.

For  the log file - I think this gets specified in EAC - again could be  wrong, but check the destination directory set in EAC for log files and  see if they are there.
Yes, EAC specifies the log file name.  Before 0.99 it used "<album>.log", but now it has two separate naming schemes: for tracks it will use "<artist> - <album>.log" but for images it will use the same naming scheme as the image, which may be "<artist> - <album>.log", but may be something like "<artist> - [<date>] <album>.log" (using REACT's default image naming scheme).
Title: REACT 2 Released
Post by: vulc44n on 2007-07-23 16:22:56
I started using React 2 today [the latest mod, to be exact].  However, I have run into a few issues.  I'm hoping someone here can help me figure them out...

1. EAC Log file does not get copied to either my flac image output directory or the lame mp3 track directory.

2. The album art in the flac image folder gets named like this: %artist% - %album%.  I'd prefer if it was just folder.jpg like my mp3 track output folder.
Are you definately using 2.0.ssb15?  It sounds like you are using an earlier version - the log file was sorted in b12 and image art in b13.  When you open REACT the running version should be displayed in EAC's title bar.  Out of interest, what version of EAC as well please?

I have V2.0.ssb15 in the titlebar and the EAC about dialog says version v0.99 prebeta 1.

For the log file - I think this gets specified in EAC - again could be wrong, but check the destination directory set in EAC for log files and see if they are there.

Well, the log file does get output there, but I'd like to have it output to my flac-image directory then.
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-07-23 17:33:35
I have V2.0.ssb15 in the titlebar and the EAC about dialog says version v0.99 prebeta 1.
OK, I've woken up now.

I see now from the image config (you are ripping to images, right?) that the cover is copied using @basename@ to create the final filename.  If you just want 'folder.jpg' (which is what the tracks config uses strangely) you just need to edit REACT-image.cfg so that:

Code: [Select]
IF %have_cover%==1 COPY /Y "@cover@" %dest%\"@basename@.jpg"

... becomes:

Code: [Select]
IF %have_cover%==1 COPY /Y "@cover@" %dest%\folder.jpg

... in the relevant section for you (flac, wv, etc.).

The log is not copied to the destination folder by default, only embedded in the image.  To move the log to your destination folder just add:

Code: [Select]
MOVE /Y "@eaclog@" %dest%

.. to the relevant section, with the similar lines that move the image and cuesheet.

As you are using FLAC, here's what your FLAC code should probably look like now:

Code: [Select]
IF NOT @ImageExt@==flac GOTO end_flac_image
    SET dest="@ImageDir_Flac@%imageDir%"
    IF NOT EXIST %dest% MKDIR %dest%
    IF %embed_cover%==1 SET Cover_tag=--picture="|image/jpeg|||@cover@"
    @tools@\flac.exe @Opt_Flac@ %RG_Flac% %Cover_tag% %Disc_Flac% -T "%ArtistField%=@cdartist@" -T album="@album@" -T totaltracks="@numtracks@" -T date="@year@" -T genre="@genre@" -T comment="@comment@" -T encoded-by="%USERNAME%" -T encoding="Flac @Ver_Flac@ @Opt_Flac@" --tag-from-file="cuesheet=@cuesheet@" --tag-from-file="eaclog=@eaclog@" "@source@" -o "@image@"
    MOVE /Y "@image@" %dest%
    MOVE /Y "@cuesheet@" %dest%
    MOVE /Y "@eaclog@" %dest%
    IF %have_cover%==1 COPY /Y "@cover@" %dest%\folder.jpg
:end_flac_image

NB: If you want the log in your MP3 folder as well you may want to use COPY, instead of MOVE, and uncomment to relevant line in the MP3 tracks section.
Title: REACT 2 Released
Post by: Ivan Helguera on 2007-07-24 16:53:12
Quote
Edit: Actually, it may be worth you skimming the metamp3 thread (http://www.hydrogenaudio.org/forums/index.php?showtopic=49751), and trying the beta linked to in that thread.  It is possible that the beta handles other codepages better, but the answer would be in the thread.

Well, I was about to give up - the problem is rare and changing the name solves it -  but i decided to give the beta a try - and it seems to work (actually, I just ripped a single problematic track, not the image - but that should make no difference whatsoever). Thank you!
What I'm a bit worried about is that you have to look well into the compression window to learn that something went wrong - wouldn't it be nice to provide some visible error report if there were errors? If one rips a number of cd's, finding the cause of problem might be quite difficult.
BTW - has anyone had any success running REACT on linux/wine? Now that gtkpod supports gapless tags for the lame-encoded mp3 tags, I'm quite seriously considering switching to *buntu. I had foobar and EAC as such running quite nicely in wine.

EDIT: forgot to thank for help...
Title: REACT 2 Released
Post by: deltadave on 2007-07-28 16:24:38
I need a bit of help configuring REACT ssb15 to add disc numbers to the file structure.  What I'd like to do is conditionally add "Disc x of x" to album directory name if there is more than one disc in the set.

I'm ripping to tracks and using  TrackDir_Flac=@OutRoot@\FLAC\$cdartist$\$album$ [$year$] for flac output and replacing FLAC with MP3 for mp3 output.  Would like to add "Disc $discnumber$ of $totaldiscs$" after the album name if there is more than one disc in a set - ie no disc 1 of 1 in the file structure.

any help with this would be greatly appreciated
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-07-28 19:04:42
The following wiki article details the process necessary:

REACT:Adding Support For Disc Information (http://wiki.hydrogenaudio.org/index.php?title=REACT:Adding_Support_For_Disc_Information)

The article uses the simple format "Disc @discnumber@" - appending that to the standard path if @totaldiscs@ is greater than one.

You should just be able to follow the article, and change lines like:

Code: [Select]
SET imageDir=%imageDir%\Disc @discnumber@
SET trackDir=%trackDir%\Disc @discnumber@

...to:

Code: [Select]
SET imageDir=%imageDir%\Disc @discnumber@ of @totaldiscs@
SET trackDir=%trackDir%\Disc @discnumber@ of @totaldiscs@
Title: REACT 2 Released
Post by: deltadave on 2007-07-28 21:24:03
The following wiki article details the process necessary:

REACT:Adding Support For Disc Information (http://wiki.hydrogenaudio.org/index.php?title=REACT:Adding_Support_For_Disc_Information)

The article uses the simple format "Disc @discnumber@" - appending that to the standard path if @totaldiscs@ is greater than one.

You should just be able to follow the article, and change lines like:

Code: [Select]
SET imageDir=%imageDir%\Disc @discnumber@
SET trackDir=%trackDir%\Disc @discnumber@

...to:

Code: [Select]
SET imageDir=%imageDir%\Disc @discnumber@ of @totaldiscs@
SET trackDir=%trackDir%\Disc @discnumber@ of @totaldiscs@



That did the trick... for about half the tracks of disc 1.  Then something happened and the program switched back to not appending Disc x of x onto the path.  Researching why... Perhaps the ini file isn't storing the disc info?

I figured out when it's happening - when the disc is ejected, the metadata dialog resets and the encoding programs lose track of it.  I'm going to try turning off disc eject and see what happens.
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-07-28 22:36:37
I figured out when it's happening - when the disc is ejected, the metadata dialog resets and the encoding programs lose track of it.  I'm going to try turning off disc eject and see what happens.
The meta data does indeed reset when the disc is ejected.

I thought it made sense that values returned to their defaults when the disc changes, so the user doesn't have to worry about resetting the values.

Hmm... I think I have just realised what you are saying.  The disc ejects part ways through the process (once all tracks have been ripped to WAVE) and the meta data is reset, even though the process is mid way through.

Not good.

I guess you are ripping to tracks.  REACT is run each time a track s processed.  Each time it's run it will reload the meta data values from the meta.ini.  Meanwhile, the (initial) instance of REACT that is dealing with EAC has noted the disc change and updated meta.ini.

I will need to resolve this somehow.  Thanks for the report.
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-07-29 08:21:39
I will need to resolve this somehow.  Thanks for the report.
OK, 2.0.ssb16 uploaded.  Please see the wiki (http://wiki.hydrogenaudio.org/index.php?title=REACT:Mods#Changelog) for changelog and link.

The dialogue will still reset when a new disc is inserted; however the recorded values in meta.ini will only be updated just before a rip begins.  Therefore, if you insert a new disc while processing a rip, the GUI will be reset and you can start editing the values, but the ini values will stay unchanged until you hit F4 or F10 to begin the new rip, at which point they will be updated to the current GUI values.

All feedback welcome.
Title: REACT 2 Released
Post by: deltadave on 2007-07-29 09:43:52
tested ssb16, ripping to tracks. No changes in configuration - ripped the wav files and then didn't run the conversions to flac and mp3...  falling back to the ssb15 with no ejection strategy.
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-07-29 09:47:49
tested ssb16, ripping to tracks. No changes in configuration - ripped the wav files and then didn't run the conversions to flac and mp3...  falling back to the ssb15 with no ejection strategy.
Hmmm... it's worked fine for me while testing track ripping.  Confused.

Edit: I've not changed anything near the encoding process - only the meta data dialogue and EAC wrapping.  The whole function that runs with the processing instance of REACT has been untouched.

Edit: I've noticed in testing that @totaldiscs@ (for example) will return "03" instead of "3", as intended.  I have just resolved this an uploaded the new b16.  @totaldiscs@ will now return "3", while $totaldiscs$ will return "03".
Title: REACT 2 Released
Post by: dewey1973 on 2007-07-29 20:44:50
Since switching to EAC 0.99pb1 and ssb16 I am having a problem.  Everything goes great until the extractions is complete.  Nothing happens after the extraction completes.  I use F10 to do an image test & copy.  I get the wav, log, cue, and jpg but none of the other processes begin.  Here is my ini.  Any help would be appreciated.

Code: [Select]
[Settings]
Version=2.0
ImageExt=wv
ImageNaming=$artist$ - $album$ [$year$]
ImageHotKey={F10}
TracksHotKey={F4}
TracksHotVal=+{F5}
VA=Various Artists
CreateAllCuesheets=0
RunCoverDownloader=2
CoverDownloader=C:\Program Files\REACT2\coverdownloader\albumart.exe
EAC=C:\Program Files\Exact Audio Copy\EAC.exe
Tools=C:\Program Files\REACT2\tools
MinimizeCompressionWindow=0
ProcessPriority=1
Sla_Bks_Col_Qst_Bar_Quo_Ast_Lt_Gt=-|-|-||!|'|#|[|]
Test=1

[UserTrackFormats]
Flac=0
Wavpack=0
LameMP3=0
NeroAac=0
iTunesAac=0
OggEnc2=0

[UserOutputNames]
OutRoot=@mymusic@
ImageDir_Flac=@OutRoot@\FLAC-images\$cdartist$
ImageDir_Wavpack=@OutRoot@\CD-Images\$cdartist$\$album$ [$year$]
ImageDir_MP3=@OutRoot@\MP3-images\$cdartist$
TrackDir_Flac=@OutRoot@\FLAC\$cdartist$\[$year$] $album$
TrackDir_Wavpack=@OutRoot@\WV\$cdartist$\[$year$] $album$
TrackDir_MP3=@OutRoot@\MP3\$cdartist$\[$year$] $album$
TrackDir_AAC=@OutRoot@\AAC\$cdartist$\[$year$] $album$
TrackDir_OGG=@OutRoot@\OGG\$cdartist$\[$year$] $album$
TrackName_SA=$track$ - $title$
TrackName_VA=$track$ - $title$ [$artist$]
TrackName_SA_acdir=$n - $~t
TrackName_VA_acdir=$n - $~t [$~a]

[UserSettings]
Debug=1
Comment=Created with EAC/REACT2, @curdate@
EmbedCover=1
ReplayGain=1
ApplyAlbumGain=1
AdjustAlbumGain_dB=+0.0
AddCuesheetAG=1
UseWaveGainAG=1
Opt_Flac=-5 -f
Opt_Wavpack=-hhx6my
Opt_LameMP3=-V5 --vbr-new --noreplaygain --nohist
Opt_NeroAac=-lc -q 0.21
Opt_iTunesAac=-d -s 2000
Opt_OggEnc2=-q 3.0
Ver_Flac=1.1.3
Ver_Wavpack=4.41
Ver_LameMP3=3.97
Ver_NeroAac=1.0.0.2
Ver_OggEnc2=2.83 Lancer aoTuV b5


[DefaultMetaData]
discnumber=1
totaldiscs=1
discname=
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-07-29 20:48:54
Perhaps you could try b15 (http://www.synthetic-soul.co.uk/temp/REACT_2.0.ssb15.zip), to see if I have screwed something up with b16.

I'm confused, because b16 works fine on my Win2K PC, and XP laptop; however deltadave has said that b16 is not processing his WAVE files, so it may well be worth a try.
Title: REACT 2 Released
Post by: deltadave on 2007-07-30 03:01:11
I'm confused, because b16 works fine on my Win2K PC, and XP laptop; however deltadave has said that b16 is not processing his WAVE files, so it may well be worth a try.


Still no joy on ssb16 - it rips to wav, but doesn't go any further than that.  For now, I've fallen back to ssb15 as it works correctly as long as the disc remains in the drive.


This actually got me thinking about another repercussion of doing the disc numbers of a set dynamically - ssb16 wont process correctly in batch mode.  the interface has to be open with the correct numbers in the metadata tags in order for it to work.  Is there any way to have that data go into a tag or data file that is persistent until the rip is processed to flac or ogg or whatever?
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-07-30 07:37:11
Still no joy on ssb16 - it rips to wav, but doesn't go any further than that.  For now, I've fallen back to ssb15 as it works correctly as long as the disc remains in the drive.
I'm finding this extremely frustrating, as I can't get b16 to fail.  The changes between b15 and b16 are so minimal.  I need to hear from dewey1973 to see if b15 works for him, and maybe some other kind-hearted souls who are willing to test.  Do I take it the batch file (that actually does all the processing) is never even created?

This  actually got me thinking about another repercussion of doing the disc  numbers of a set dynamically - ssb16 wont process correctly in batch  mode. the interface has to be open with the correct numbers in the  metadata tags in order for it to work. Is there any way to have that  data go into a tag or data file that is persistent until the rip is  processed to flac or ogg or whatever?
Before I worked on the Additional Meta Data dialogue I had an idea of using markup to pass extra values in the few fields available (artist, album, comment).  E.g.:

Album Name <discnumber>2</discnumber><totaldiscs>3</totaldiscs>

I had the markup parsing working fine, but it caused real problems, or at least confusion, when messing with the album and artist name.  Using the comment field was no issue, but IIRC there is a short character limit on the comment field, rendering it near useless (unless you used single character tokens I suppose).

With regard to this solution, it may be possible that REACT could store meta data in a specific file for each album, perhaps using the artist and album name as the file name.  When the processing REACT instance is run it could use the specific ini and ensure that it is deleted afterwards. I can't really see a problem with this approach.

I want to resolve the potential issue with b16 before doing any other work though.
Title: REACT 2 Released
Post by: dewey1973 on 2007-07-30 16:11:34
Quote
I need to hear from dewey1973 to see if b15 works for him


Testing now...
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-07-30 16:14:40
Since switching to EAC 0.99pb1 and ssb16 I am having a problem.  Everything goes great until the extractions is complete.  Nothing happens after the extraction completes.  I use F10 to do an image test & copy.  I get the wav, log, cue, and jpg but none of the other processes begin.  Here is my ini.  Any help would be appreciated.
I just tested with ssb16 on my XP machine at work - using your INI file with only OutRoot amended, and the standard cfg file - and it worked fine.

Ho hum.


Quote
I need to hear from dewey1973 to see if b15 works for him
Testing now...
Cool, thanks.
Title: REACT 2 Released
Post by: dewey1973 on 2007-07-30 17:42:02
I get the same result for b15.  Nothing happens after extraction.  All I did was unzip and pull those files into my REACT folder.  I hope that is the correct way to install.
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-07-30 17:47:32
So, we're yet to know whether b16 is an issue for other people than deltadave.

Dumping the new EXE in there is fine if you already had REACT and EAC configured.

Is EAC properly configured to use REACT?  It may be worth hitting  Ctrl-F2 with REACT/EAC open, to let REACT (re-)configure EAC.
Title: REACT 2 Released
Post by: dewey1973 on 2007-07-31 00:51:08
It may be worth hitting  Ctrl-F2 with REACT/EAC open, to let REACT (re-)configure EAC.


After doing this the next set of processes did kick off.  I did however get an error that I'm sure has to do with where the files are saved.  I'm sure I can fix it after reading the log more carefully.
Title: REACT 2 Released
Post by: deltadave on 2007-08-01 02:35:20
It may be worth hitting  Ctrl-F2 with REACT/EAC open, to let REACT (re-)configure EAC.


ssb16 rips and converts only for single disc sets.  If any entry is made in the new dialog then the wav file is created and then the process stops.  No conversion, no renames, etc.

I also had to use Ctrl+F2 to reset EAC before ssb16 would rip, convert and rename single disc sets.

Would like to suggest as well, that the dialog not be reset when a new disc is inserted.  If you are ripping a multi disc set, then two values have to be entered with every disc and if ripping a 6 disc set for example, there is a high probability of making a mistake and having to re-rip a disc. Plus it's lot of extra keystrokes.

edit 2: I got ssb16 to work, had to reset EAC with Ctrl+F2 and I also had a missing quote mark in one of the track.cfg file.  Took some doing, but I tracked it down. Sorry about blaming you for my bad typing.
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-08-01 07:22:22
ssb16 rips and converts only for single disc sets. If any entry is made in the new dialog then the wav file is created and then the process stops. No conversion, no renames, etc.

I also had to use Ctrl+F2 to reset EAC before ssb16 would rip, convert and rename single disc sets.
...
edit 2: I got ssb16 to work, had to reset EAC with Ctrl+F2 and I also had a missing quote mark in one of the track.cfg file. Took some doing, but I tracked it down. Sorry about blaming you for my bad typing.
I'm glad you finally got it working.

I would say that I have not had to use Ctrl+F2 on all three computers that I have tested b16 on; it's worked straight off the bat.  Ctrl+F2 seems to resolve issues for people relatively often; I wonder why it (REACT/EAC?) gets confused sometimes.

Would like to suggest as well, that the dialog not be reset when a new disc is inserted. If you are ripping a multi disc set, then two values have to be entered with every disc and if ripping a 6 disc set for example, there is a high probability of making a mistake and having to re-rip a disc. Plus it's lot of extra keystrokes.
My main concern retaining values is that someone could set totaldiscs to 2, hide the dialogue, and then rip a hundred discs forgetting to set it back.  Single disc albums are far more prevalent than muli-disc albums.  The idea is that the settings refer to default - i.e.: the value they will be for most discs - and therefore I would say that you are minimising typing by not having to reset after multi-disc albums.

That's my contra-argument; however if other users disagree I have no problem changing the logic according to the majority.

Thanks for the feedback anyway, I'll certainly bear it in mind.  I have considered providing options on the dialogue before, and perhaps this could be solved with a checkbox to set user preference - possibly even on  a per token basis.

Also, contrary to my previous remark, I have made some steps towards storing the meta data in an album-specific ini, so that it can be used in batch ripping.  My main concern, however, is that - because the EAC wrapper instance only has access to basic info like artist and album - I am currently using "<artist> - <album>.ini" as the naming scheme; fine most times, but not for multi-disc albums.  I don't know a resolve to this, unless I somehow utilise some (as yet undescovered) command line app to calculate the freedb id, use that, and then use the freedb id passed by EAC in the REACT params to find the ini for the album being processed.  Any thoughts?
Title: REACT 2 Released
Post by: deltadave on 2007-08-01 18:53:48
Would like to suggest as well, that the dialog not be reset when a new disc is inserted. If you are ripping a multi disc set, then two values have to be entered with every disc and if ripping a 6 disc set for example, there is a high probability of making a mistake and having to re-rip a disc. Plus it's lot of extra keystrokes.
My main concern retaining values is that someone could set totaldiscs to 2, hide the dialogue, and then rip a hundred discs forgetting to set it back.  Single disc albums are far more prevalent than muli-disc albums.  The idea is that the settings refer to default - i.e.: the value they will be for most discs - and therefore I would say that you are minimising typing by not having to reset after multi-disc albums.

That's my contra-argument; however if other users disagree I have no problem changing the logic according to the majority.

Thanks for the feedback anyway, I'll certainly bear it in mind.  I have considered providing options on the dialogue before, and perhaps this could be solved with a checkbox to set user preference - possibly even on  a per token basis.


A check box for persistence would solve the problem quite neatly. I'm not sure how big of a problem this would actually be, I keep an eye on the file conversions as things move along.  If they aren't named properly, it would be fairly easy to notice. That is my personal experience only, not sure if it would be applicable to anyone else.

Also, contrary to my previous remark, I have made some steps towards storing the meta data in an album-specific ini, so that it can be used in batch ripping.  My main concern, however, is that - because the EAC wrapper instance only has access to basic info like artist and album - I am currently using "<artist> - <album>.ini" as the naming scheme; fine most times, but not for multi-disc albums.  I don't know a resolve to this, unless I somehow utilise some (as yet undescovered) command line app to calculate the freedb id, use that, and then use the freedb id passed by EAC in the REACT params to find the ini for the album being processed.  Any thoughts?


code libraries:
http://www.codeproject.com/cs/media/freedb.asp (http://www.codeproject.com/cs/media/freedb.asp)

Thread on this very topic:
http://www.autohotkey.com/forum/topic13706.html (http://www.autohotkey.com/forum/topic13706.html)

In EAC isn't %f the tag for storing freedb id?  Not usually used from what I can tell, but still available. I think.
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-08-01 19:09:59
code libraries:
http://www.codeproject.com/cs/media/freedb.asp (http://www.codeproject.com/cs/media/freedb.asp)

Thread on this very topic:
http://www.autohotkey.com/forum/topic13706.html (http://www.autohotkey.com/forum/topic13706.html)

In EAC isn't %f the tag for storing freedb id?  Not usually used from what I can tell, but still available. I think.
Thanks for the links.  I found another of interest earlier today also (http://www.vbaccelerator.com/home/vb/code/vbMedia/Audio/CD_Tracklistings/article.asp).

The processing instance of REACT will have access to the %f parameter; however the EAC-wrapper instance does not.  I can only think that the wrapper instance will have to calculate the ID itself somehow, in order to write the INI file.

I'm also worried about over-complicating my mod, with the need for additional EXEs/DLLs and extra processing time.

I've just thought of a sure-fire way to get the freedb id.  Force EAC to write a "Single WAV File" cuesheet (Alt+S) and then grab the freedb id from the REM statement.  Slightly messy, but no need for additional exes/dlls, and I know the id will be the same.

Of course, this will also rely on the user using unique names for their images when ripping to WAVE with the compression queue on.
Title: REACT 2 Released
Post by: deltadave on 2007-08-01 20:41:58
I'm also worried about over-complicating my mod, with the need for additional EXEs/DLLs and extra processing time.

I've just thought of a sure-fire way to get the freedb id.  Force EAC to write a "Single WAV File" cuesheet (Alt+S) and then grab the freedb id from the REM statement.  Slightly messy, but no need for additional exes/dlls, and I know the id will be the same.

Of course, this will also rely on the user using unique names for their images when ripping to WAVE with the compression queue on.


I can understand your concern re processing time and additional dll's etc.... 


If you need a guinea pig to test out your stuff, I'm willing to volunteer.  Should this turn out to be too much of a pain to deal with a special case, I'll just deal with it by hand and take the time.  Default behavior is just fine for most of my collection.

Edit:
I think that I'm slightly confused as to how EAC/REACT works... would you mind putting up a brief summary or pointing to one? 

My understanding:  REACT opens using the .ini file then rips the files from CD to .wav file.  Once the .wav file(s) are created it uses the .cfg file to create a batch file that processes the wav file(s) by instancing FLAC, LAME or whatever external compression program is desired.  The processing instance would be the REACT that creates the wav files? Wrapper would be the batch file that calls the external processor?
Title: REACT 2 Released
Post by: dewey1973 on 2007-08-01 22:02:04
After doing this the next set of processes did kick off.  I did however get an error that I'm sure has to do with where the files are saved.  I'm sure I can fix it after reading the log more carefully.


I've done some more playing around and this is what I have found.  I did a complete reinstal of EAC and REACT ssb16.  When I set "Test=1" and "Debug=1" I find the following error.

Code: [Select]
error in tag spec: eaclog=@C:\My Documents\My Music\CD Images\The Police - The Police (Disc 1) [2007].log !


Then the rest of the bat file tries to execute for the file moves, etc.

When I set "Test=0" this error does not occur and the process completes successfully with the exception that the log file is not moved to the new directory.  The log is, however, saved in the tag of the wv file.

I'd really like to use Test & Copy.  Any idea what I can do to make this work?
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-08-01 22:53:35
I think that I'm slightly confused as to how EAC/REACT works... would you mind putting up a brief summary or pointing to one? 

My understanding:  REACT opens using the .ini file then rips the files from CD to .wav file.  Once the .wav file(s) are created it uses the .cfg file to create a batch file that processes the wav file(s) by instancing FLAC, LAME or whatever external compression program is desired.  The processing instance would be the REACT that creates the wav files? Wrapper would be the batch file that calls the external processor?
You're pretty much there. The "wrapper" instance and "processing" instance are purely terminology I have coined recently.

When you first run REACT it determines that no command parameters have been passed, and sets itself up as what I call the wrapper instance, because it wraps the EAC GUI.  This instance handles the hotkeys, setting EAC up, my meta data dialogue, etc.  As you say, it uses some settings in REACT.ini to detirmine the way it acts.

When you hit F10 or F4 to rip the wrapper instance is simply using EAC menu commands to start EAC ripping.  As EAC has been set up to use REACT as an external compressor EAC rips to WAVE, and then calls REACT, passing the parameters specified in the compression options.  This instance of REACT is what I call the processing instance, as it processes the files.  As you say, this instance will take the settings in REACT.ini, the parameters EAC passes (file names and meta data), and the appropriate config file, and create a unique batch file which it eventually sets running.  This batch file can contain any commands you like (written in the cfg file), but the default has options for the major encoders, like FLAC, WavPack, LAME, Nero AAC, etc.

At the time the batch file is running you have two instances of REACT running.  When the batch file finishes the processing instance closes and only the wrapper instance (which shows the icon in the sys tray) remains again.

When I set "Test=0" this error does not occur and the process completes successfully with the exception that the log file is not moved to the new directory.  The log is, however, saved in the tag of the wv file.

I'd really like to use Test & Copy.  Any idea what I can do to make this work?
I will try to do some testing tomorrow. I can't see why the log would be named differently.  I must admit I haven't tested using Test & Copy exhaustively, but I did test it, and never noticed a problem.  I seem to remember Dirk reporting success also.  I will test some more.  Do I take it that you have your images set up to use the scheme "$artist$ - $album$ [$year$]"?

When I set "Test=0" this error does not occur and the process completes successfully with the exception that the log file is not moved to the new directory.  The log is, however, saved in the tag of the wv file.
IIRC the standard behaviour is to not move the log file - if you want this to happen you have to add the line to your cfg.  Therefore, when not in Test mode I think things are working for you as they should.

The log will normally just get deleted at the end of the process; however when debugging various files are not deleted as normal (see cfg extract below - notice that when debugging the batch file exits before cleanup begins).

Code: [Select]
IF @Debug@==1 (
    PAUSE
    EXIT
)

REM ** Cleanup

DEL "@source@"
DEL "@eaclog@"
DEL "@cuesheet@"
DEL "@albumfile@.[*].cue"
DEL "@cover@"

REM ** Delete this .bat file:
DEL %0
Title: REACT 2 Released
Post by: drbeachboy on 2007-08-02 02:16:48
I ran ssb16 on a single disc converting to a FLAC image and it worked flawlessly. My cuesheet & log were inserted, along with a jpg album cover. All tags were correct and the FLAC file was moved to the correct directory.

Missing a quote mark in the ini & config files can really mess things up big time. Also, check whether you are using $ and @ signs correctly with the tokens. Check slashes, back slashes, comma's, periods, and spaces.
And lastly, check the spelling of all lines that you edited in the ini & config files.

P.S. I ran the single disc twice. Once normal & then Test & Copy. Correct results both times.
Title: REACT 2 Released
Post by: kalen3285 on 2007-08-02 06:04:49
Hi,

I've just recently figured out that foobar doesn't read the tags that AtomicParsley creates for Nero AAC files, so I've tried modifying the image cfg file to use neroaactag instead, but I can't get it to work.  Please that this is my first time trying to mess with the config files, so I've probably made some simple mistake(s).  I have REACT setup to create a flac image and then nero tracks.  Of course, the flac image is created fine as I haven't messed with that at all, but the nero tracks are not created at all.  I can't tell what the error is (if there's even an error) because the command window closes right after it's done with the flac image.  This is what I've tried so far:

Code: [Select]
IF NOT @NeroAac@==1 GOTO end_nero_aac_tracks
SET dest="@TrackDir_AAC@"
IF NOT EXIST %dest% MKDIR %dest%
PUSHD %dest%
IF @various@==1 SET VA_tag=-meta-user:albumArtist=$q@VA@$q -meta-user:compilation=true
IF %embed_cover%==1 SET Cover_tag=-add-cover:front:$#x
@tools@\acdir.exe --overwrite --output "%TrackName%.m4a" --extra-opt "@cover@" --pipe "TITLE $n/$N aac $#T & @tools@\neroAacEnc.exe @Opt_NeroAac@ -ignorelength -if - -of $#o & @tools@\neroAacTag.exe $#o %Cover_tag% %VA_tag% -meta:artist=$#a -meta:album=$#T -meta:track=$n -meta:title=$#t -meta:year=$q@year@$q -meta:genre=$q@genre@$q -meta:comment=$q@comment@$q -meta-user:encodingTool=$qneroAacEnc @Ver_NeroAac@ @Opt_NeroAac@$q -meta:totaltracks=$N -meta:label=$q@label@$q -meta:disc=$q@discnumber@$q -meta:totaldiscs=$q@totaldiscs@$q"
IF @ApplyAlbumGain@==1 @tools@\aacgain.exe %ApplyAG_AacGain% *.m4a > gainlog.txt
COPY /Y "@eaclog@" "EAClog.txt"
IF %have_cover%==1 COPY /Y "@cover@" "folder.jpg"
POPD
:end_nero_aac_tracks

I'm still fuzzy on the acdir stuff, so I have no idea if what I've done should even be working.  Thanks in advance for any help.
Title: REACT 2 Released
Post by: dewey1973 on 2007-08-02 06:13:26
Do I take it that you have your images set up to use the scheme "$artist$ - $album$ [$year$]"?


Code: [Select]
ImageNaming=$artist$ - $album$ [$year$]
ImageDir_Wavpack=@OutRoot@\CD Images\$cdartist$\$album$ [$year$]


I wonder if this is a timing issue with Test & Copy.  If the REACT script tries to access the log and it is not yet saved, wouldn't that cause the error?  I noticed that when using Test & Copy the status bar progress indicator goes from 0% to 50% during the test and then goes back to 0% for the copy.  As the copy completes it goes to 50% again.  It never reaches 100%.  If this somehow delays the saving of the log (like until I hit OK on the viewable log that pops up) then the wavpack command line would be looking for a file that didn't exist yet.  Any thoughts?
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-08-02 07:38:34
I wonder if this is a timing issue with Test & Copy.  If the REACT script tries to access the log and it is not yet saved, wouldn't that cause the error?  I noticed that when using Test & Copy the status bar progress indicator goes from 0% to 50% during the test and then goes back to 0% for the copy.  As the copy completes it goes to 50% again.  It never reaches 100%.  If this somehow delays the saving of the log (like until I hit OK on the viewable log that pops up) then the wavpack command line would be looking for a file that didn't exist yet.  Any thoughts?
I think you are very likely correct. I don't believe that the logfile can be named differently when using Test, so it's probably just not there yet.  It may be worth having a look at this article:

REACT:Pausing For The Logfile (http://wiki.hydrogenaudio.org/index.php?title=REACT%3a%50ausing_For_The_Logfile)
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-08-02 20:11:37
Just to let you know, as I don't like to say I'll do something and then not:  my wife's ill at the moment (nothing terminal) and I've taken a couple of days off to look after the kids, so I'm afraid I've no time for testing or code changes, and won't have for a few days.

@dewey1973, Although it's a bit of a workaround, hopefully the pause code in the config will sort your issue.  I hope to still test when I get chance, but if it is simply the logfile getting created a little bit late then I'm not sure I can do anything else except suggest that code.  We'll see.

@kalen3285, You seem to be missing the reference to the cuesheet. Append:

Code: [Select]
 "@sourcecuesheet@"

... to the end of your line.
Title: REACT 2 Released
Post by: dewey1973 on 2007-08-02 21:00:39
Just to let you know, as I don't like to say I'll do something and then not:  my wife's ill at the moment (nothing terminal) and I've taken a couple of days off to look after the kids, so I'm afraid I've no time for testing or code changes, and won't have for a few days.


By all means, take care of your family!  That's always the top priority.  I'll test the pause code and post my results.  I know it's odd to say this having never met you in person, but please let me know if there is anything I can do to make it easier for to care for your family.  I truly appreciate the work you are doing, thank you!
Title: REACT 2 Released
Post by: dewey1973 on 2007-08-04 02:15:48
The pause code worked like a champ!  I guess if someone didn't want to use the pause code they could instead check "Make all compression tasks sleep" in the Compression Queue Control Center.  That way they could make sure nothing happens until the log is ready.
Title: REACT 2 Released
Post by: pholzmann on 2007-08-05 20:40:53
OK, MrPete checking in after a (looong) pause.

I loaded up the latest, ssb16. The new (XUI) albumart as well. Everything worked GREAT... for one album.

On album #2 I get through the rip->wav part, and then it stops.

It's very strange:
* Hangs on "CHCP 1252" command (?!!)... even though doing it myself works fine on cmd line
* Everything works fine IF I...
  - Set DEBUG on
  - Modify the batch file to put the WAV and LOG files back in their proper place, at the top
  - Run the batch file manually after killing REACT

Some kind of window-control thing. I'm guessing it's your windows scripting language... have seen things like this before with WinBatch which is similar.

THANKS for all your hard work! This is soooooooo close...
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-08-05 21:35:58
let me know if there is anything I can do to make it easier for to care for your family.  I truly appreciate the work you are doing, thank you!
That's very kind, thank you.  She's pretty much fine now, thankfully.

The pause code worked like a champ!  I guess if someone didn't want to use the pause code they could instead check "Make all compression tasks sleep" in the Compression Queue Control Center.  That way they could make sure nothing happens until the log is ready.
Good news.  I can't think of any other way around this.  However, following this, and an idea I had a while back, I have now created some updated CFG files, which incorporate this amend and various others.  I will include them in my mod from now on.

I loaded up the latest, ssb16. The new (XUI) albumart as well. Everything worked GREAT... for one album.

On album #2 I get through the rip->wav part, and then it stops.
Your symptoms don't make any sense to me, so I have to start with the basics:  is this one disc that causes the problems, or have you tried various discs, all with no luck?
Title: REACT 2 Released
Post by: big_red on 2007-08-06 13:37:16
REACT 1 was great but REACT 2 is excellent, it is much easier to configure.  Thanks for continuing to develope it.

I have one issue.  I do not get the cover art embedded into the FLAC or MP3 files.

I have tried to rip FLAC and MP3 tracks using both EAC095pb3 for copyrighted CD's and EAC099pb1 both with ssb16 with the same results.  On debug it shows the 'have_cover' and 'embed_cover' being reset to '0' and then when the jpg is detected being set to '1'.  The correct location of the jpg is also displayed in the debug file but I can not see the cover when I check it using Mp3tag.

I have noticed that my REACT_track.cfg differs from ones others have posted on this thread in that mine has the cover embedding actions under each individual file format heading whereas other posts show a single mention under Post-processing.

Any help appreciated, thanks again
Title: REACT 2 Released
Post by: pholzmann on 2007-08-06 17:41:48
I loaded up the latest, ssb16. The new (XUI) albumart as well. Everything worked GREAT... for one album.

On album #2 I get through the rip->wav part, and then it stops.
Your symptoms don't make any sense to me, so I have to start with the basics:  is this one disc that causes the problems, or have you tried various discs, all with no luck?


OK, here's an update... first, to answer your question: I have had trouble with quite a few different discs. It is NOT the disc!

I went beack to ssb15... seemed to work better...but still not fully reliable. Messed around with debug settings and REM's.

* If I leave DEBUG off, the batch file never runs. Is it possible that with DEBUG=1 in the ini file, something inside REACT changes?
* With DEBUG=1, I also made the following changes to the CFG file, and I'm now running reliably:

At the top:
Quote
rem ECHO OFF
rem CHCP 1252


(My guess: echo off doesn't matter. But for some reason, the CHCP command still hangs a lot)

Quote
IF @Debug@==1 (
rem   PAUSE
rem   EXIT
)

REM ** Cleanup

DEL "@source@"
rem DEL "@eaclog@"
DEL "@cuesheet@"
DEL "@albumfile@.
  • .cue"
    DEL "@cover@"

    REM ** Delete this .bat file:
    DEL %0

(I like to preserve the log files, particularly when there's trouble...)
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-08-06 19:14:48
I have noticed that my REACT_track.cfg differs from ones others have posted on this thread in that mine has the cover embedding actions under each individual file format heading whereas other posts show a single mention under Post-processing.
I'm not really au fait with album art practices, but it sounds like it is being embedded, but just in a way that MP3Tag is not expecting.  That said, I find that difficult to believe.  As an experiment you could try processing an album both embedding and not embedding the file and see if the resulting files are the same size or not.  Not much help I'm afraid; I mainly posted to say that your track cfg sounds fine - each section should have a "IF %embed_cover%==1 SET Cover_tag" line.

I went beack to ssb15... seemed to work better...but still not fully reliable.
I find it hard to believe that b15 should perform any different to b16 - the changes were with the GUI.

* If I leave DEBUG off, the batch file never runs. Is it possible that with DEBUG=1 in the ini file, something inside REACT changes?
I would have said that it does run, but exits so fast you don't see it.  Just a guess.

* With DEBUG=1, I also made the following changes to the CFG file, and I'm now running reliably:

At the top:
Quote
rem ECHO OFF
rem CHCP 1252

(My guess: echo off doesn't matter. But for some reason, the CHCP command still hangs a lot)
Hmm.. seems like CHCP is your problem, from what you've said, but I have no idea why.  If so you should be able to run the normal cfg not in debug mode, by just commenting out the CHCP line.
Title: REACT 2 Released
Post by: big_red on 2007-08-06 22:12:02
[quote name='Synthetic Soul' date='Aug 6 2007, 19:14' post='508772']
[quote name='big_red' post='508706' date='Aug 6 2007, 13:37']I have noticed that my REACT_track.cfg differs from ones others have posted on this thread in that mine has the cover embedding actions under each individual file format heading whereas other posts show a single mention under Post-processing.[/quote]I'm not really au fait with album art practices, but it sounds like it is being embedded, but just in a way that MP3Tag is not expecting.  That said, I find that difficult to believe.  As an experiment you could try processing an album both embedding and not embedding the file and see if the resulting files are the same size or not.  Not much help I'm afraid; I mainly posted to say that your track cfg sounds fine - each section should have a "IF %embed_cover%==1 SET Cover_tag" line.

Thanks for the advice and confirmation of my cfg file Synthetic Soul.
School boy error on my part, I hadn't set the directory in my new install of EAC so Coverdownloader was saving the image in one location and REACT was looking for it in another. All sorted now and working wonderfully.

Cheers,
Title: REACT 2 Released
Post by: big_red on 2007-08-07 23:07:29
Ripping is going well except for a small problem where the EAClog is not copied to the track directory and then the cover art and the EAClog are not deleted from the temp directory.

I have run debug and have noticed that the numtracks value is always at 0.  The track value however represents the correct track number.  Therefore because of the line:

Code: [Select]
IF NOT @track@==@numtracks@ GOTO end_post_process


REACT never runs post processes and therefore does not copy the EAClog or delete the temp files.

Is there something in EAC or REACT that I need to set to get it to pass the numtracks value?

I can work around it by simply moving the files after I have ripped a CD but I'm sure I must have missed something.

Thanks for any help
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-08-08 07:17:34
The number of tracks is passed in the parameters to REACT, using EAC's %x token.

Ensure that your command line options are as below:

Code: [Select]
REACT %o %s %d "%a" "%g" "%t" "%n" "%x" "%y" "%m" "%e" "%f" "%b" %r

... or maybe Hit Ctrl+F2 to let REACT reconfigure EAC.
Title: REACT 2 Released
Post by: big_red on 2007-08-08 15:01:47
The number of tracks is passed in the parameters to REACT, using EAC's %x token.

Ensure that your command line options are as below:

Code: [Select]
REACT %o %s %d "%a" "%g" "%t" "%n" "%x" "%y" "%m" "%e" "%f" "%b" %r

... or maybe Hit Ctrl+F2 to let REACT reconfigure EAC.


Thanks, "%x" is listed. I did have REACT configure EAC on installation and it does not load the numtracks info when using EAC095pb3.  I have just tried using EAC099pb1 and this does pass the numtracks info but it is unable to find the "@eaclog@" file.
Looking at the file names I can see that the log file created is "artist - album.log" whereas debug states that it can not find "album.log"
Where can I configure what the log file is to be named?

Thanks for the help, sorry if these are basic or stupid questions.
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-08-08 20:13:21
What version of REACT are you using?

It sounds like you may need to upgrade to my mod (http://wiki.hydrogenaudio.org/index.php?title=REACT:Mods#Synthetic_Soul.27s_Mod) (the official REACT,  2.0.1 (?), has not been upgraded to deal with the change in log file name with 0.99 prebeta 1 - my mod has).

Edit: Hmmm... I see in post 548 you say you are using 2.0.ssb16 - my latest mod.  Another idea may be that the log file just has not been created yet.  Maybe you should add the code in this article (http://wiki.hydrogenaudio.org/index.php?title=REACT%3a%50ausing_For_The_Logfile) to your CFG.
Title: REACT 2 Released
Post by: big_red on 2007-08-08 20:57:11
Edit: Hmmm... I see in post 548 you say you are using 2.0.ssb16 - my latest mod.  Another idea may be that the log file just has not been created yet.  Maybe you should add the code in this article (http://wiki.hydrogenaudio.org/index.php?title=REACT%3a%50ausing_For_The_Logfile) to your CFG.

Excellent, all working as sweet as a nut now.  Thanks for all the help and for the mods it is much appreciated.
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-08-08 21:14:27
Excellent, all working as sweet as a nut now.  Thanks for all the help and for the mods it is much appreciated.
Cool and the Gang.  You're welcome. 

As I posted before, I have created two new CFGs which include that addition, and a few others (TAK processing, disc-related tags, "&" bug fix), which I will include with my mod releases from now on.  There's no reason why any of the amends should <edit>not</edit> (  ) be included - it's a win/win thing.
Title: REACT 2 Released
Post by: big_red on 2007-08-08 21:25:22
Thanks again, It is a lot quicker with REACT 2 not having to use different programs for different tasks.
I've tried to get EAC095pb3 to pass the numtracks info to REACT but with no success but EAC099pb1 is cooking on gas.
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-08-10 21:25:31
I've been doing a little work on a couple of points raised by deltadave, and I'm looking for some feedback.

1. Amending the meta.ini system so that values are stored separately for each disc, so that the mod can be used with the Compression Queue.

deltadave highlighted an issue in b15 where the additional meta data (AMD) stored in meta.ini was reset when a new disc was inserted, even though the previous disc was still being processed.  This was fixed in b16 - meta.ini is now only updated just before a disc is ripped.

However, storing the AMD in the same place for every disc still means that b16 cannot be used with the Compression Queue.

I have done some testing, storing the AMD for a disc under the freedb id for the disc, allowing multiple sets to be stored.  To calculate the freedb id before ripping I am creating a cuesheet, extracting the freedb id, and then deleting it - unless CreateAllCuesheets is set in which case I extract it from one of those.  This appears to work OK, although I would like an easier/faster way to get the freedb id before ripping.

I'm a little concerned about the extra overhead and complication of doing this, for the majority of users who don't use the Compression Queue.  I have wondered whether this behaviour could be set with a react.ini setting, e.g.: CompressionQueue=1.

2. Allowing the user to specify whether a token, or all tokens, should not be reset to its default value when a new disc is inserted.

Currently, all tokens are reset to their default values when a new disc is inserted.  I have been looking at ways for users to change this behaviour on a per-token basis.

Unfortunately for me, the way the current system works cannot easily be changed to cope with this.

However, this has led me to think about the AMD dialogue, and question the logic of the current set-up.  Currently the dialogue will let users add, amend and delete tokens.  Does it need to?  Given that you need to amend your CFG to deal with tokens, it's not as if you create new tokens on the spur of the moment - the correct process is to set the default in react.ini and amend your CFG to deal with the token.  It seems to me that you only need to amend token values in the dialogue.  If no-one can suggest otherwise, then it  seems that the dialogue needs a complete revamp. Any suggestions welcome.
Title: REACT 2 Released
Post by: poop on 2007-08-12 08:53:32
I'm sure I have read the answer to this before, but can't find it again...

I use React2 to rip to FLAC and MP3. Album art is embedded for MP3 files, but for FLAC there is a JPEG created called 'folder'.

SO now you're all shaking your heads because you know what I'm about to ask... and I have mine hung in shame... 

How do I ensure that the album art is named specific to artist/album? Can I embed album art into FLAC files the same as MP3?

Thanks.



And sorry... 
Title: REACT 2 Released
Post by: deltadave on 2007-08-12 18:07:03
I've been doing a little work on a couple of points raised by deltadave, and I'm looking for some feedback.

1. Amending the meta.ini system so that values are stored separately for each disc, so that the mod can be used with the Compression Queue.

deltadave highlighted an issue in b15 where the additional meta data (AMD) stored in meta.ini was reset when a new disc was inserted, even though the previous disc was still being processed.  This was fixed in b16 - meta.ini is now only updated just before a disc is ripped.

However, storing the AMD in the same place for every disc still means that b16 cannot be used with the Compression Queue.

I have done some testing, storing the AMD for a disc under the freedb id for the disc, allowing multiple sets to be stored.  To calculate the freedb id before ripping I am creating a cuesheet, extracting the freedb id, and then deleting it - unless CreateAllCuesheets is set in which case I extract it from one of those.  This appears to work OK, although I would like an easier/faster way to get the freedb id before ripping.

I'm a little concerned about the extra overhead and complication of doing this, for the majority of users who don't use the Compression Queue.  I have wondered whether this behaviour could be set with a react.ini setting, e.g.: CompressionQueue=1.


Is there a reason that you have to look up the freedbid before ripping begins?  Isn't that when the AMD tags are committed?  Why not use the cfg file to echo any values added into a file named with the freedbid using the output redirect (>) operator - ie echo @freedbid@ > @outroot@\@freedbid@.amd  Following that up with an append operator (>>) for any further metadata for that album.

How does EAC know when to do a compression queue? is that switch accessible to react?

2. Allowing the user to specify whether a token, or all tokens, should not be reset to its default value when a new disc is inserted.

Currently, all tokens are reset to their default values when a new disc is inserted.  I have been looking at ways for users to change this behaviour on a per-token basis.

Unfortunately for me, the way the current system works cannot easily be changed to cope with this.

However, this has led me to think about the AMD dialogue, and question the logic of the current set-up.  Currently the dialogue will let users add, amend and delete tokens.  Does it need to?  Given that you need to amend your CFG to deal with tokens, it's not as if you create new tokens on the spur of the moment - the correct process is to set the default in react.ini and amend your CFG to deal with the token.  It seems to me that you only need to amend token values in the dialogue.  If no-one can suggest otherwise, then it  seems that the dialogue needs a complete revamp. Any suggestions welcome.


I agree, amending values is probably the right way to do it. I'd also like to recommend that in addition to hitting the 'update' button in the dialog, tabbing thru or using enter to commit the value also be valid methods of committing the tag data.  I know it's a nitpick, but its also an interface behavior standard.
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-08-12 19:11:31
I'm sure I have read the answer to this before, but can't find it again...

I use React2 to rip to FLAC and MP3. Album art is embedded for MP3 files, but for FLAC there is a JPEG created called 'folder'.

SO now you're all shaking your heads because you know what I'm about to ask... and I have mine hung in shame... 

How do I ensure that the album art is named specific to artist/album? Can I embed album art into FLAC files the same as MP3?
I'm presuming that you are using REACT-track.cfg.

If you are embedding the artwork in yor MP3s you should already successfully be embedding it in your FLACs as well.  You could use metaflac, or possibly MP3Tag, to test.

To change the name of the JPEG replace the following line in the FLAC section of the CFG:

Code: [Select]
IF %have_cover%==1 IF NOT EXIST folder.jpg COPY "@cover@" folder.jpg

... with:

Code: [Select]
IF %have_cover%==1 IF NOT EXIST "$artist$ - $album$.jpg" COPY "@cover@" "$artist$ - $album$.jpg"

... or something similar.
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-08-12 20:13:55
Is there a reason that you have to look up the freedbid before ripping begins?  Isn't that when the AMD tags are committed?  Why not use the cfg file to echo any values added into a file named with the freedbid using the output redirect (>) operator - ie echo @freedbid@ > @outroot@\@freedbid@.amd  Following that up with an append operator (>>) for any further metadata for that album.

How does EAC know when to do a compression queue? is that switch accessible to react?
The AMD gets written just prior to ripping by the wrapper instance of REACT, and is read just prior to running the batch file by the processing instance of REACT.  The processing instance is not run until the queue is activated.  The wrapper instance has no access to the @freedbid@ token, as that is part of the processing phase.

It's possible that I could use REACT to check whether the queue is active, but that would involve opening the dialgue and checking the state of the checkbox - yet more screen flickering, time, and risk of going wrong - which is my concern with creating this temporary cuesheet...  it's an idea though.

 
I agree, amending values is probably the right way to do it. I'd also like to recommend that in addition to hitting the 'update' button in the dialog, tabbing thru or using enter to commit the value also be valid methods of committing the tag data.  I know it's a nitpick, but its also an interface behavior standard.
Yes, if it's just updating I am basically planning to turn to simple text boxes - which should hopefully give us normal Windows form behaviour.  AutoIt's GUI authoring is not as good a Visual Studio (I am disappointed that using the keyboard only is not properly supported by the current dialogue).  My intention would be, as soon as a user exists a text box that value would be recorded.
Title: REACT 2 Released
Post by: deltadave on 2007-08-12 22:06:54
The wrapper instance is very limited in the data it has access to, which is why you would like a command line way of getting the freedbid.  That also brings up the question of what to do if a disc isn't in the freedb database.  It sounds as if we should lobby the EAC developer(s) to make more hooks available since the data is acquired prior to ripping by EAC.  Hmmmm, will have to ponder this.

I've also noticed a weird behavior in REACT - the longer that the program is open and working there builds up a delay between inserting the disc and displaying the track information.  When freshly opened, and a disc is inserted the track data shows up almost immediately after the freedb query is complete.  If REACT has been open several hours it can take 20-30 seconds to show and after a day or so, can be almost a minute.  The workaround has been to periodically restart REACT, but I thought I would share this with you.
Title: REACT 2 Released
Post by: poop on 2007-08-13 04:17:32
If you are embedding the artwork in yor MP3s you should already...


Thanks Synthetic Soul. Now that I have worked it out, I realised that Foobar won't recognise album art unless called 'folder.jpeg', which is why I didn't do it the first time.

Have checked FLAC files with Abander Tag Control, and still no embedded album art. Might have to check with metaflac in case, because if the album art is embedded it should solve all my issues (provided foobar sees it). Strange that it is working for my MP3s coded at the same time though...

Thanks again.
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-08-13 08:00:02
The wrapper instance is very limited in the data it has access to, which is why you would like a command line way of getting the freedbid. That also brings up the question of what to do if a disc isn't in the freedb database. It sounds as if we should lobby the EAC developer(s) to make more hooks available since the data is acquired prior to ripping by EAC.
That's right; it basically has access to the album-level meta data entered in the main EAC GUI (artist, album, date, genre) and the additional meta data (AMD). And thn of course it can execute EAC menu commands to achieve its goals (like creating cuesheets, or starting the rip process).

I don't think it should matter if the disc isn't in the database, there will still be a freedb id (just no matching id in the database).  It would be nice to have an easy way to get the id.

FYI there is another way I found to get the freedb id, which is to export the disc data to a DB text file, ensuring that the settings (freedb / Database options > Export) are such that the freedb id is included.  However, this process is no less simple than creating a cuesheet, and requires that the user's EAC settings are tampered with (and maintained), so I still favour the cuesheet approach.

I've also noticed a weird behavior in REACT - the longer that the program is open and working there builds up a delay between inserting the disc and displaying the track information. When freshly opened, and a disc is inserted the track data shows up almost immediately after the freedb query is complete. If REACT has been open several hours it can take 20-30 seconds to show and after a day or so, can be almost a minute. The workaround has been to periodically restart REACT, but I thought I would share this with you.
IIRC I have heard of other people having problems after running REACT for a while.  I can't think what might be going on; certainly nothing that would make a difference of almost a minute!  I guess AutoIt, or the REACT code, is doing something wrong.
Title: REACT 2 Released
Post by: big_red on 2007-08-15 14:07:33
Having a problem when creating Various Artists.  The EAClog is not copied to the Music Directories or deleted.  All is great for Single Artists.

I can see the EAClog text file saved as 'Various - $album$.txt' in the Temporary Directory specified in EAC. 
When I debug I see that REACT is looking in the same Temporary Directory but for a file named '$artist$ - $album$.txt' where $artist$ is the artist's name of the final track of the CD.  So REACT states that it can not find the specified file.

What have I done wrong?  I have tried replacing the standard copy with  COPY /Y "C:\Temp Music\Various - $album$.txt$" "Various Artists - $album$ - EAClog.txt"    but with no success.

Any help appreciated.
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-08-15 15:14:17
Here's a hastily bugfixed b16b (http://www.synthetic-soul.co.uk/temp/REACT_2.0.ssb16b.zip).

When ripping to tracks the log file was set as "$artist$ - $album$".

IIRC, from past issues with REACT, EAC will not always pass "Various" as the CD artist for VA albums - it depends on the freedb submission.  Sometimes it's "Various", sometimes its "Various Artists" - IIRC the submission has to begin with "Various" for EAC to pick it up as a VA album - users sometimes submit using something else!

EDIT: NB: I Just searched and found the original discussion (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=35158&view=findpost&p=441451).  It's pretty convoluted, but documents the time that we discovered how EAC deals with VA freedb entries.

With this in mind this fix grabs the CD Artist from the basename string when dealing with a VA album ripped to tracks - hopefully ensuring that it will match EAC's naming scheme (whether the freedb entry has used "Various", "Various Artists", "Various Artist", or "Various Badgers").

Please let me know how it goes.

NB: I used b16b as I'm part way through b17 (see my post on Aug 10).
Title: REACT 2 Released
Post by: big_red on 2007-08-15 15:46:12
Here's a hastily bugfixed b16b (http://www.synthetic-soul.co.uk/temp/REACT_2.0.ssb16b.zip).

When ripping to tracks the log file was set as "$artist$ - $album$".

IIRC, from past issues with REACT, EAC will not always pass "Various" as the CD artist for VA albums - it depends on the freedb submission.  Sometimes it's "Various", sometimes its "Various Artists" - IIRC the submission has to begin with "Various" for EAC to pick it up as a VA album - users sometimes submit using something else!  (Just searched and found the original discussion (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=35158&view=findpost&p=443449) (that is a concluding post, you can read before and after for a greater understanding)).

With this in mind this fix grabs the CD Artist from the basename string when dealing with a VA album ripped to tracks - hopefully ensuring that it will match EAC's naming scheme (whether the freedb entry has used "Various", "Various Artists", "Various Artist", or "Various Badgers").

Please let me know how it goes.

NB: I used b16b as I'm part way through b17 (see my post on Aug 10).


Thanks, I thought I was going mad.  I shall give b16b a try tonight and let you know.
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-08-15 15:49:41
Thanks, I thought I was going mad.  I shall give b16b a try tonight and let you know.
Disclaimer: I cannot promise that REACT 2.0.ssb16b (http://www.synthetic-soul.co.uk/temp/REACT_2.0.ssb16b.zip) will stop you from going mad.

If you're backing up a large catalogue of CDs you're probably too far gone...
Title: REACT 2 Released
Post by: big_red on 2007-08-15 17:11:44
Thanks, I thought I was going mad.  I shall give b16b a try tonight and let you know.
Disclaimer: I cannot promise that REACT 2.0.ssb16b (http://www.synthetic-soul.co.uk/temp/REACT_2.0.ssb16b.zip) will stop you from going mad.

If you're backing up a large catalogue of CDs you're probably too far gone...


You're probably right, in fact more than probably!!

I tried ssb16b and it did copy the log file and the cover art to the music directory but my (much alterered as I tried to get it to copy the log file last night) REACT-track.cfg copied the log file with the same $artist$ name as the same as the artist name as the final track of the CD and I had cover art for every artist on the CD.

I added the following lines in stead of the standard ones and all appears good.

Code: [Select]
        IF @various@==1 GOTO end_SA_Cover
            IF %have_cover%==1 IF NOT EXIST "$artist$ - $album$ - Cover.jpg" COPY "@cover@" "$artist$ - $album$ - Cover.jpg"
        :end_SA_Cover
        IF @various@==0 GOTO end_VA_Cover
            IF %have_cover%==1 IF NOT EXIST "Various Artists - $album$ - Cover.jpg" COPY "@cover@" "Various Artists - $album$ - Cover.jpg"
        :end_VA_Cover


Code: [Select]
            IF @various@==1 GOTO end_SA_EAClog
                COPY /Y "@eaclog@" "$artist$ - $album$ - EAClog.txt"
            :end_SA_EAClog
            IF @various@==0 GOTO end_VA_EAClog
                COPY /Y "@eaclog@" "Various Artists - $album$ - EAClog.txt"
            :end_VA_EAClog


So I am working now so thanks very much
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-08-15 17:22:48
My brain's a bit fried, and it looks like you're pretty much sorted anyway, but it looks to me like you could simply use $cdartist$ instead of $artist$, with no decision making necessary.  For VA albums $cdartist$ will return the value of the VA variable set in your REACT.ini, which defaults to "Various Artists".

Therefore, for a VA album "$cdartist$ - $album$" should give you "Various Artists - $album$" while a non-VA will still equate to "$artist$ - $album$" (cdartist == artist) .

Code: [Select]
IF %have_cover%==1 IF NOT EXIST "$cdartist$ - $album$ - Cover.jpg" COPY "@cover@" "$cdartist$ - $album$ - Cover.jpg"

Code: [Select]
COPY /Y "@eaclog@" "$cdartist$ - $album$ - EAClog.txt"
Title: REACT 2 Released
Post by: big_red on 2007-08-15 17:45:26
My brain's a bit fried, and it looks like you're pretty much sorted anyway, but it looks to me like you could simply use $cdartist$ instead of $artist$, with no decision making necessary.  For VA albums $cdartist$ will return the value of the VA variable set in your REACT.ini, which defaults to "Various Artists".

Therefore, for a VA album "$cdartist$ - $album$" should give you "Various Artists - $album$" while a non-VA will still equate to "$artist$ - $album$" (cdartist == artist) .

Code: [Select]
IF %have_cover%==1 IF NOT EXIST "$cdartist$ - $album$ - Cover.jpg" COPY "@cover@" "$cdartist$ - $album$ - Cover.jpg"

Code: [Select]
COPY /Y "@eaclog@" "$cdartist$ - $album$ - EAClog.txt"


Yeah, I see it now.  I shall change it to cdartist.
Title: REACT 2 Released
Post by: pholzmann on 2007-08-19 00:05:04
I went beack to ssb15... seemed to work better...but still not fully reliable.
I find it hard to believe that b15 should perform any different to b16 - the changes were with the GUI.

Understand, but there it is. I have reason to suspect the GUI is interacting with other windows in various "wait for XYZZY to happen" ways... see below. I'll try ssb17 when it's ready...

Quote
* If I leave DEBUG off, the batch file never runs. Is it possible that with DEBUG=1 in the ini file, something inside REACT changes?
I would have said that it does run, but exits so fast you don't see it.  Just a guess.

Nope. The batch file *hangs*. I should not have said "never runs". I mean, it opens, and hangs immediately.

ANYway... I've been running for a while now, on my patched ssb15, and have learned some things. I found workarounds for everything until now...

1) If I begin an F10 whole-disk capture (I'm capturing single-file FLAC plus multi-file MP3), and then something goes wrong so I have to cancel:
  a) If I cancel during gap-finding, I can restart with no problem
  b) If I cancel later, I need to restart REACT

2) After performing several rips, the albumart software does not fire up the first time I press F10. If I wait for the gap-find to complete, wait another minute or two, then press F10 again, it goes forward. I think this relates to the comment elsewhere in this thread about REACT slowing down after many rips.

  a) Idea: could it be NOT fully resetting after the CD is removed and/or while firing up the next Rip? I'm guessing that something is waiting for a window to complete or close or ???

  b) It would help to have a keystroke that does a "full reset-- restart REACT as if just opened"... for those strange error situations

3) It's not clear to me what REACT knows or does with respect to the AccurateRip database, and/or when a rip is unsuccessful.

QUESTIONS:
  - How does REACT decide whether a RIP was completed successfully?
    a) If I stop the RIP, I want REACT to not-process
    b) If I let the RIP complete, if REACT thinks there was a problem, it should ask me about continuing, rather than auto-killing. It is hard for REACT to know for sure if things worked or not!
        - on a C2 drive like mine, "timing error" is not a problem, usually... just means some retries happened
        - it's possible to have AccurateRip tell me the rip was "bad" when it isn't. I just ripped a CD that's perfect, but it's a different pressing than the 2 copies in the DB. It worked, but AccurateRip doesn't know that.
    c) In the case of this good-but-AR-thinks-not, I get the following result
        - Full rip to wav
        - REACT skips making the FLAC file
        - But the MP3 files ARE created
        - I get no indication of error or trouble... just missing flac file(s)!

Your thoughts on this last one especially appreciated. I can't get REACT to make the flac file! No error messages, it just doesn't do it.

Thanks muchly,
MrPete
Title: REACT 2 Released
Post by: dobo on 2007-08-19 00:29:29
Thought i'd report that React 2 16b + EAC0.99pb3 & Accuraterip + Album Art Downloader 0.8 all seems to work together just fine ripping to Wavpack and mp3.

Thanks to all thats made this possible.
Title: REACT 2 Released
Post by: pholzmann on 2007-08-19 02:13:17
Update:
QUESTIONS:
    c) In the case of this good-but-AR-thinks-not, I get the following result
        - Full rip to wav
        - REACT skips making the FLAC file
        - But the MP3 files ARE created
        - I get no indication of error or trouble... just missing flac file(s)!

Your thoughts on this last one especially appreciated. I can't get REACT to make the flac file! No error messages, it just doesn't do it.


SOLVED that one... Very strange. Turns out the album art downloader found a GIF file, saved as JPG, and got everything confused. Resaving as a real JPG fixed the flac process. All other questions do remain...

thx
Title: REACT 2 Released
Post by: mogorp on 2007-08-19 13:58:43
I haven't been following this since the new version of EAC came out.  Is there a command to get REACT to use the new test and copy image function?
Title: REACT 2 Released
Post by: 288db on 2007-08-19 16:14:12
I haven't been following this since the new version of EAC came out.  Is there a command to get REACT to use the new test and copy image function?


Yes.  You would add Test=1 to the react.ini file and use F10 as the image hotkey.  It would look like below:
Code: [Select]
[Settings]
Version=2.0.ssb16b
ImageExt=flac
ImageNaming=$artist$ - [$year$] $album$
ImageHotKey={F10}
TracksHotKey={F4}
TracksHotVal=+{F6}
Test=1
.....


I'm using EAC .99 prebeta 3 and REACT 2.0.ssb16b.
Title: REACT 2 Released
Post by: Stone Free on 2007-08-19 18:10:08
I had been using the b10 version of the mod and when I tried to rip a various artists CD from the Uni Bands society for a bit of nostalgia, I found the .FLAC track rips only contained the track numbers and the dash character but no band or title.

The tracks are titled Song - Artist, and the CD Artist says Various and the Various Artists checkbox is ticked

I have just tried upgrading to beta 16, but this has not fixed the issue.

Here is my track cfg file:

Code: [Select]
@ECHO OFF
CHCP 1252
TITLE @track@/@numtracks@ - "@album@"
REM Copyright © Tycho, 2006
REM
REM ** Create compressed audio tracks from ripped .wav tracks.
REM **
REM ** You may consider using image mode (F10)
REM ** as it supports creating tracks via acdir.exe,
REM ** and post-processing will always work (see below).
REM **
REM ** Flac requires flac.exe/metaflac.exe (v1.1.3)
REM ** NeroAac requires NeroAacEnc.exe/NeroAacTag.exe/AacGain.exe.
REM ** OggEnc2 requires OggEnc2.exe/VorbisGain.exe.
REM **
REM ** I prefer applying album gain 92dB to get a reasonable
REM ** volume for my DAP. The RG tags are still relative
REM ** to 89dB SPL, i.e. album gain will be about -3.0dB.


REM ============== Begin Main Script ==================


IF @Debug@==1 ECHO ON

SET TrackDir_Flac="@TrackDir_Flac@"
SET TrackDir_Wavpack="@TrackDir_Wavpack@"
SET TrackDir_MP3="@TrackDir_MP3@"
SET TrackDir_AAC="@TrackDir_AAC@"
SET TrackDir_OGG="@TrackDir_OGG@"

IF @various@==0 SET TrackName=@TrackName_SA@
IF @various@==1 SET TrackName=@TrackName_VA@

SET realNumTracks=@numtracks@
IF [@datadisc@] EQU [1] SET /a realNumTracks=@numtracks@-1

SET have_cover=0
SET embed_cover=0

IF EXIST "@cover@" (
SET have_cover=1
SET embed_cover=@EmbedCover@
)

REM ---- Track ----


IF NOT @Flac@==1 GOTO end_flac_tracks
IF NOT EXIST %TrackDir_Flac% MKDIR %TrackDir_Flac%
PUSHD %TrackDir_Flac%
IF @various@==1 SET VA_tag=-T "album artist=@VA@"
IF %embed_cover%==1 SET Cover_tag=--picture="|image/jpeg|||@cover@"
ECHO ON
@tools@\flac.exe @Opt_Flac@ %Cover_tag% %VA_tag% -T artist="@artist@" -T

album="@album@" -T tracknumber="@track@/@numtracks@" -T title="@title@" -T date="@year@" -T

genre="@genre@" -T comment="@comment@" -T encoded-by="%USERNAME%" -T encoding="Flac @Ver_Flac@

@Opt_Flac@" "@source@" -o "%TrackName%.flac"
@ECHO OFF
IF %have_cover%==1 IF NOT EXIST folder.jpg COPY "@cover@" folder.jpg
POPD
:end_flac_tracks


IF NOT @Wavpack@==1 GOTO end_wavpack_tracks
IF NOT EXIST %TrackDir_Wavpack% MKDIR %TrackDir_Wavpack%
PUSHD %TrackDir_Wavpack%
IF @various@==1 SET VA_tag=-w "album artist=@VA@"
ECHO ON
@tools@\wavpack.exe @Opt_Wavpack@ %VA_tag% -w artist="@artist@" -w album="@album@" -w

track="@track@/@numtracks@" -w title="@title@" -w year="@year@" -w genre="@genre@" -w

comment="@comment@" -w encodedby="%USERNAME%" -w encodersettings="Wavpack @Ver_Wavpack@

@Opt_Wavpack@" "@source@" "%TrackName%.wv"
@ECHO OFF
IF %have_cover%==1 IF NOT EXIST folder.jpg COPY "@cover@" folder.jpg
TITLE @track@/@numtracks@ - "@album@"
POPD
:end_wavpack_tracks


IF NOT @LameMP3@==1 GOTO end_lame_tracks
IF NOT EXIST %TrackDir_MP3% MKDIR %TrackDir_MP3%
PUSHD %TrackDir_MP3%
IF @various@==1 SET VA_tag=--user-text "[album artist]@VA@" --frame "TPE2:@VA@"
IF %embed_cover%==1 SET Cover_tag=--pict "{3}@cover@"
ECHO ON
@tools@\lame.exe @Opt_LameMP3@ "@source@" "%TrackName%.mp3"
@tools@\metamp3.exe %Cover_tag% %VA_tag% --artist "@artist@" --album "@album@"

--track @track@/@numtracks@ --title "@title@" --year "@year@" --genre "@genre@" --comment "@comment@"

--frame TENC:"%USERNAME%" --frame TSSE:"LAME @Ver_LameMP3@ @Opt_LameMP3@" "%TrackName%.mp3"
@ECHO OFF
IF %have_cover%==1 IF NOT EXIST folder.jpg COPY "@cover@" folder.jpg
POPD
:end_lame_tracks


IF NOT @iTunesAac@==1 GOTO end_itunes_aac_tracks
IF NOT EXIST %TrackDir_AAC% MKDIR %TrackDir_AAC%
PUSHD %TrackDir_AAC%
IF %embed_cover%==1 SET Cover_tag=-r "@cover@"
ECHO ON
@tools@\iTunesEncode.exe @Opt_iTunesAac@ -e "AAC Encoder" %Cover_tag% -x @various@ -a

"@artist@" -l "@album@" -n "@track@" -m "@numtracks@" -t "@title@" -y "@year@" -g "@genre@" -c

"@comment@" -i "@source@" -o "%TrackName%.m4a"
@ECHO OFF
IF %have_cover%==1 IF NOT EXIST folder.jpg COPY "@cover@" folder.jpg
POPD
GOTO end_nero_aac_tracks
:end_itunes_aac_tracks

IF NOT @NeroAac@==1 GOTO end_nero_aac_tracks
IF NOT EXIST %TrackDir_AAC% MKDIR %TrackDir_AAC%
PUSHD %TrackDir_AAC%
IF @various@==1 SET VA_tag=--albumArtist "@VA@" --compilation true
IF %embed_cover%==1 SET Cover_tag=--artwork "@cover@"
ECHO ON
@tools@\neroAacEnc.exe @Opt_NeroAac@ -if "@source@" -of "%TrackName%.m4a"
@tools@\AtomicParsley.exe "%TrackName%.m4a" -o REACT_tmp.m4a %Cover_tag% %VA_tag%

--artist "@artist@" --album "@album@" --tracknum "@track@/@numtracks@" --title "@title@" --year

"@year@" --genre "@genre@" --comment "@comment@" --encodingTool "neroAacEnc @Ver_NeroAac@

@Opt_NeroAac@"
@ECHO OFF
MOVE /Y REACT_tmp.m4a "%TrackName%.m4a"
IF %have_cover%==1 IF NOT EXIST folder.jpg COPY "@cover@" folder.jpg
POPD
:end_nero_aac_tracks


IF NOT @OggEnc2@==1 GOTO end_oggenc_tracks
IF NOT EXIST %TrackDir_OGG% MKDIR %TrackDir_OGG%
PUSHD %TrackDir_OGG%
IF @various@==1 SET VA_tag=-c "album artist=@VA@"
ECHO ON
@tools@\oggenc2.exe @Opt_OggEnc2@ %VA_tag% -c artist="@artist@" -c album="@album@" -c

tracknumber="@track@/@numtracks@" -c title="@title@" -c date="@year@" -c genre="@genre@" -c

comment="@comment@" -c encoded-by="%USERNAME%" -c encoding="OggEnc @Ver_OggEnc2@ @Opt_OggEnc2@"

"@source@" -o "%TrackName%.ogg"
@ECHO OFF
IF %have_cover%==1 IF NOT EXIST folder.jpg COPY "@cover@" folder.jpg
POPD
:end_oggenc_tracks
IF @Debug@==1 ECHO ON

REM ** Delete the source .wav
DEL "@source@"


REM ---- Post-processing ----


rem ** Scan and compute ReplayGain and add cover picture for supported formats.
rem ** NB: The following will only work if at least the last track is selected,
rem ** and it is a regular audio track.

rem IF NOT @track@==@numtracks@ GOTO end_post_process
IF [@track@] NEQ [%realNumTracks%] GOTO end_post_process

SET add_rg=@ReplayGain@
SET aac_enc=@NeroAac@
IF @iTunesAac@==1 SET aac_enc=1

IF NOT @ReplayGain@==1 GOTO end_RG
SET RG_MetaFlac=--add-replay-gain
SET RG_MetaMP3=--replay-gain
:end_RG

IF NOT @ApplyAlbumGain@==1 GOTO end_apply_AG
SET RG_MetaMP3=--apply-gain album@AdjustAlbumGain_dB@
SET RG_AacGain=/a /o /c /d @AdjustAlbumGain_dB@
SET add_rg=1
:end_apply_AG


REM ** Audio Formats:

IF @Flac@==1 (
PUSHD %TrackDir_Flac%
IF %add_rg%==1 @tools@\Glob.exe -v -c @tools@\metaflac.exe %RG_MetaFlac%

*.flac
REM COPY /Y "@eaclog@" "EAClog.txt"
POPD
)

IF @Wavpack@==1 (
PUSHD %TrackDir_Wavpack%
IF %add_rg%==1 @tools@\wvgain.exe -a *.wv
REM COPY /Y "@eaclog@" "EAClog.txt"
POPD
)

IF @LameMP3@==1 (
PUSHD %TrackDir_MP3%
IF %add_rg%==1 @tools@\metamp3.exe %RG_MetaMP3% *.mp3
REM COPY /Y "@eaclog@" "EAClog.txt"
POPD
)

IF %aac_enc%==1 (
PUSHD %TrackDir_AAC%
IF %add_rg%==1 @tools@\aacgain.exe %RG_AacGain% *.m4a > "gainlog.txt"
REM COPY /Y "@eaclog@" "EAClog.txt"
POPD
)

IF @OggEnc2@==1 (
PUSHD %TrackDir_OGG%
IF %add_rg%==1 @tools@\vorbisgain.exe -a *.ogg
REM COPY /Y "@eaclog@" "EAClog.txt"
POPD
)


REM ** Cleanup

DEL "@eaclog@"
DEL "@albumfile@.[*].cue"
DEL "@cover@"

:end_post_process


REM ================ End Main Script ===================


IF @Debug@==1 (
PAUSE
EXIT
)

REM ** Delete this .bat file:
DEL %0
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-08-19 19:08:45
Added CODEBOX tags added to your post.  Can you post your INI file using CODEBOX tags please?

Also, try adding DebugMode=1 in the UserSettings section of REACT.ini, and then posting the contents of debugging.txt which will be created in your REACT folder (again, using CODEBOX).
Title: REACT 2 Released
Post by: Stone Free on 2007-08-19 19:26:32
OK Heres the .INI,

Code: [Select]
[Settings]
Version=2.0.ssb16b
ImageExt=flac
ImageNaming=$artist$ - [$year$] $album$
ImageHotKey={F10}
TracksHotKey={F4}
TracksHotVal=+{F5}
VA=Various Artists
CreateAllCuesheets=0
RunCoverDownloader=0
CoverDownloader=C:\Program Files\Audio\REACT2\coverdownloader\albumart.exe
EAC=C:\Program Files\Audio\Exact Audio Copy\EAC.exe
Tools=C:\Program Files\Audio\REACT2\tools
MinimizeCompressionWindow=1
ProcessPriority=1
Sla_Bks_Col_Qst_Bar_Quo_Ast_Lt_Gt=-|-|-||!|'|#|[|]

[UserTrackFormats]
Flac=1
Wavpack=0
LameMP3=0
NeroAac=0
iTunesAac=0
OggEnc2=0

[UserOutputNames]
;OutRoot=@mymusic@\EAC
OutRoot=D:\
ImageDir_Flac=@OutRoot@\FLAC-images\$cdartist$
ImageDir_Wavpack=@OutRoot@\WV-images\$cdartist$
ImageDir_MP3=@OutRoot@\MP3-images\$cdartist$
TrackDir_Flac=@OutRoot@\CDs\$cdartist$\$album$
TrackDir_Wavpack=@OutRoot@\CDs\$cdartist$\$album$
TrackDir_MP3=@OutRoot@\MP3\$cdartist$\[$year$] $album$
TrackDir_AAC=@OutRoot@\AAC\$cdartist$\[$year$] $album$
TrackDir_OGG=@OutRoot@\OGG\$cdartist$\[$year$] $album$
TrackName_SA=$track$ - $title$
TrackName_VA=$track$ - $title$
TrackName_VA_acdir=$n - $~t [$~a]
TrackName_SA_acdir=$n - $~t


[UserSettings]
Debug=0
Comment=Created with EAC/REACT2, @curdate@
EmbedCover=1
ReplayGain=0
ApplyAlbumGain=1
AdjustAlbumGain_dB=+5.0
AddCuesheetAG=0
UseWaveGainAG=0
Opt_Flac=-8 -f
Opt_Wavpack=-hmy -c -b192 -n -x3
Opt_LameMP3=-V5 --vbr-new --noreplaygain --nohist
Opt_NeroAac=-lc -q 0.21
Opt_iTunesAac=-d -s 2000
Opt_OggEnc2=-q 3.0
Ver_Flac=1.1.4
Ver_Wavpack=4.40
Ver_LameMP3=3.97
Ver_NeroAac=1.0.0.2
Ver_OggEnc2=2.83 Lancer aoTuV b5

[DefaultMetaData]
discnumber=1
totaldiscs=1
discname=

will come back to you with the debug output

Do I have to rip the entire disk to get debugging.txt because I see no text files generated?
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-08-19 19:50:49
Yes, you do.

However, after re-reading your post, I am wondring about the part where you say "The tracks are titled Song - Artist", as the proper format for a VA disc is "Artist / Title".  This is likely to be your problem.
Title: REACT 2 Released
Post by: Stone Free on 2007-08-19 20:03:38
Yes, you do.

However, after re-reading your post, I am wondring about the part where you say "The tracks are titled Song - Artist", as the proper format for a VA disc is "Artist / Title".  This is likely to be your problem.
Well ripped entire album and still no debugging .txt

Code: [Select]
 POPD
)

C:\Documents and Settings\Peter\My Documents\My Music>IF 0 == 1 (
PUSHD "D:\\MP3\Various Artists\[] Above & Beyond"
 IF 1 == 1 C:\PROGRA~1\Audio\REACT2\tools\metamp3.exe --apply-gain album+5.0 *.m
p3
 REM COPY /Y "C:\Documents and Settings\Peter\My Documents\My Music\Above & Beyond.log" "EAClog.txt"
 POPD
)

C:\Documents and Settings\Peter\My Documents\My Music>IF 0 == 1 (
PUSHD "D:\\AAC\Various Artists\[] Above & Beyond"
 IF 1 == 1 C:\PROGRA~1\Audio\REACT2\tools\aacgain.exe /a /o /c /d +5.0 *.m4a  1>
"gainlog.txt"
 REM COPY /Y "C:\Documents and Settings\Peter\My Documents\My Music\Above & Beyond.log" "EAClog.txt"
 POPD
)

C:\Documents and Settings\Peter\My Documents\My Music>IF 0 == 1 (
PUSHD "D:\\OGG\Various Artists\[] Above & Beyond"
 IF 1 == 1 C:\PROGRA~1\Audio\REACT2\tools\vorbisgain.exe -a *.ogg
 REM COPY /Y "C:\Documents and Settings\Peter\My Documents\My Music\Above & Beyond.log" "EAClog.txt"
 POPD
)

C:\Documents and Settings\Peter\My Documents\My Music>REM ** Cleanup

C:\Documents and Settings\Peter\My Documents\My Music>DEL "C:\Documents and Settings\Peter\My Documents\My Music\Above & Beyond.log"

C:\Documents and Settings\Peter\My Documents\My Music>DEL "C:\Documents and Settings\Peter\My Documents\My Music\Above & Beyond.[*].cue"
Could Not Find C:\Documents and Settings\Peter\My Documents\My Music\Above & Beyond.[*].cue

C:\Documents and Settings\Peter\My Documents\My Music>DEL "C:\Documents and Settings\Peter\My Documents\My Music\Above & Beyond.jpg"
Could Not Find C:\Documents and Settings\Peter\My Documents\My Music\Above & Beyond.jpg

C:\Documents and Settings\Peter\My Documents\My Music>REM ================ End Main Script ===================

C:\Documents and Settings\Peter\My Documents\My Music>IF 1 == 1 (
PAUSE
 EXIT
)
Press any key to continue . . .
Will try swapping round artist and track and replacing - with /
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-08-19 20:11:43
I have reason to suspect the GUI is interacting with other windows in various "wait for XYZZY to happen" ways... see below. I'll try ssb17 when it's ready...
The AMD GUI does not rely on anything else.  I am undecided about releasing b17.  I don't think it would help you anyway.

2) After performing several rips, the albumart software does not fire up the first time I press F10. If I wait for the gap-find to complete, wait another minute or two, then press F10 again, it goes forward. I think this relates to the comment elsewhere in this thread about REACT slowing down after many rips.

a) Idea: could it be NOT fully resetting after the CD is removed and/or while firing up the next Rip? I'm guessing that something is waiting for a window to complete or close or ???

b) It would help to have a keystroke that does a "full reset-- restart REACT as if just opened"... for those strange error situations
This is definitely a concern, but I'm not sure that I'm in a position to do anything about it.  I can only assume that something isn't resetting, but it's a bit of a needle in a haystack, and the fact that I'd need to rip numerous discs to even begin testing is a little prohibitive.

I added the functionality in b15 (IIRC) to output text to a debug file (debugging.txt).  Maybe I could release a test version of REACT that wrote everything to the file, in the hope that it might highlight the problem when it occurs.

3) It's not clear to me what REACT knows or does with respect to the AccurateRip database, and/or when a rip is unsuccessful.

QUESTIONS:
- How does REACT decide whether a RIP was completed successfully?
a) If I stop the RIP, I want REACT to not-process
b) If I let the RIP complete, if REACT thinks there was a problem, it should ask me about continuing, rather than auto-killing. It is hard for REACT to know for sure if things worked or not!
- on a C2 drive like mine, "timing error" is not a problem, usually... just means some retries happened
- it's possible to have AccurateRip tell me the rip was "bad" when it isn't. I just ripped a CD that's perfect, but it's a different pressing than the 2 copies in the DB. It worked, but AccurateRip doesn't know that.
REACT knows nothing about the AR results, whether the rip matched well, etc.  EAC controls the running of REACT, so if REACT is running when you don't want it to, there's nothing REACT can do really.
Title: REACT 2 Released
Post by: 288db on 2007-08-19 20:24:01
This is resolved.
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-08-19 22:33:34
I would like to start by saying thanks to all of those who have put an effort to making REACT work with no problems.  I have noticed that some people, like myself, would like to be able to update files such as flac.exe, metamp3.exe and etc.  Well I update acdir.exe to version .12 and have noticed that my flac image is no longer made.  All mp3 and flac tracks are made and copied to the correct directories, along with the cue and jpg file being copied to the image folder, but no flac image exists. I have ran a debug and noticed nothing out of the ordinary.  Any ideas?

REACT 2.0.ssb16b & EAC .99 prebeta 3.  Also there are problems when upgrading flac.exe and metaflac.exe to 1.2.0 and metamp3.exe will not tag mp3s.  I believe it has something to do with the commands being changed.  I will look more into those once I figure out acdir
I'm surprised that changing ACDIR has caused problems - especially with the FLAC image creation in which it plays no part.  I can also see no reason why you could not upgrade FLAC to the latest version, although I'm less sure about metamp3, as I'm not overly familiar with its syntax, or changes made.  I believe I am using the latest beta though, with no problems or changes required.

All in all, I have no idea, sorry.
Title: REACT 2 Released
Post by: pholzmann on 2007-08-20 01:41:56
REACT knows nothing about the AR results, whether the rip matched well, etc.  EAC controls the running of REACT, so if REACT is running when you don't want it to, there's nothing REACT can do really.


THANK YOU! Now I feel pretty dumb. It just clicked: there's the "outer" REACT that drives the UI, and the post-rip REACT that gets called as a compressor.

I think understanding my "album-art-JPG are not really jpg files" problem has cleaned up most if not all remaining anomalies. And that is decidedly NOT a REACT issue. Whew!

Thanks soooo much. This is getting smoother all the time.

I'll aim some of my more advanced debug tools at REACT to see if I can discover any hints about what is going wrong over a series of rips...

Until then,
THANKS!

--MrPete
Title: REACT 2 Released
Post by: pholzmann on 2007-08-20 12:03:44
OK, I've learned some more, and found a few things perhaps worth chewing on.

First, the CHCP command is necessary, for non-ASCII characters in filenames, like "Scott Denté" -- so I messed around with that a bit more. It's VERY strange on my (Win XP SP2, tablet edition) machine.
* It always locks up if I use "CHCP 1252" the first time a CMD window is opened
* It usually works ok if I use "CHCP 1252 | CHCP"    (but not always)

I'm suspecting that some of the MS Windows extensions in support of tablet PC's is causing grief

Second, if I abort the batch file (due to CHCP lockup or whatever), in EAC using Alt-V (compress WAV's), I can get REACT to create and run the appropriate batch file -- **almost**. The result is almost correct but not quite:
* For FLAC single-file output: the artist folder's not created; FLAC and CUE not placed correctly, JPG not copied.
* For MP3 file-per-track output: the artist folder is created as "[]" (or maybe no artist folder, and that's the album name?. Again, MP3's placed in the mp3 "root" (as with flac), and the JPG album art is not copied

Finally, and perhaps most useful: while monitoring REACT over an extended period using System internals' Filemon.exe app, I found REACT got into a continuous background loop trying to open the CUE file for one of my rips. Even after later rips had been done, it would continue to attempt to open this cue file. Perhaps that's the source of the slowdown.

*Possible* related topic: does REACT properly handle semi-overlapping operations? Here's my typical workflow:
* Run REACT
* Insert CD
* Press F10, let gap-finder complete, wait for AlbumArt to load
* Pick albumart; that app auto-closes
* now EAC starts ripping
* when rip complete, REACT batch file starts waiting for the log file
* press "OK" on EAC status messages; log gets auto-written
* now the REACT batch process begins
* eject CD
* Insert new CD, wait for FreeDB to load CD info
* Press F10 and continue

NOTE that I press F10 to begin ripping the next CD, *before* the batch file completes for the previous one.

Is there any reason this should cause grief?
Title: REACT 2 Released
Post by: pholzmann on 2007-08-20 14:16:32
Finally, and perhaps most useful: while monitoring REACT over an extended period using System internals' Filemon.exe app, I found REACT got into a continuous background loop trying to open the CUE file for one of my rips. Even after later rips had been done, it would continue to attempt to open this cue file. Perhaps that's the source of the slowdown.

*Possible* related topic: does REACT properly handle semi-overlapping operations?...


Update: definite correlation. REACT does not loop on CUE file-open attempts until I begin a new rip (F10) while the previous one is still running in EAC's "compression queue". As *soon* as I press F10, the loop-trying-to-open-CUE begins, and does not stop until I close REACT.

Also noted:

1) EAC supports the overlap quite nicely. It maintains a background compression queue, does not begin the next compression until the first one is done (I told it I only had a 2-cpu machine), etc.

2) I think I've found a satisfactory workaround for my CHCP problem. This works without lockup (so far):
        CHCP 1252|prompt

3) It would be helpful in general if the batch file could check return status from FLAC, LAME, etc... and not delete files needed to re-run when there's an error.
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-08-20 14:32:23
The REACT code will go into a recurring loop if one of the track cuesheets (created by specifiying CreateAllCuesheets) is not found.  I could change this so that it gives up after a certain time.  When looking for the log file Tycho's code will try for a maximum of five seconds (20 loops waiting 0.25 seconds between each check) perhaps I should change his fMoveCuesheet() function to do the same.

Good find.

OK, just seen your next post.  No idea why it is happening.  Essentially the code sends key combinations to access EAC's menu commands to make all the types of cuesheet.  So, either the key commands are not being sent, or the cuesheets just aren't being created for some reason.

I know that b15 will have a problem with the meta data if you rip in the way you do, as the data held in meta.ini will be overwritten when you eject the disc.  This was fixed in b16.  As for the core REACT code, I cannot really say, although I can't think where an issue might happen.

At some point, when I get some time, I will go through all the source with a fine tooth comb, trying to ascertain whether the line may cause problems in this situation, or when ripping multiple discs.  The code in fMoveCuesheet() which will loop indefinately if the cueseet is not found is a prime example.  At this same time I may add huge numbers of debug statements, to create b16_debug, which will output KB of debug text, but could be used to try to fix these strange issues that a few people are seeing!
Title: REACT 2 Released
Post by: 288db on 2007-08-20 16:49:11
Well after upgrading flac, metaflac and acdir, everything went fine.  Once I replaced metamp3.exe with v092b5 things went wrong.  I have the flac, flac image and mp3s created, but no tagging for mp3s.  Problems arise at the start of creating the mp3s with metamp3.

Code: [Select]
TITLE 01/15 mp3 "The Singles 1992-2003" & C:\PROGRA~1\EXACTA~1\encoders\lame.exe
-V5 --vbr-new --noreplaygain --nohist  - "01 - Just a Girl.mp3" & C:\PROGRA~1\E
XACTA~1\encoders\metamp3.exe --pict "{3}C:\Users\Steve\Music\EAC\The Singles 199
2-2003.jpg"  --artist "No Doubt" --album "The Singles 1992-2003" --title "Just a
Girl" --track 01/15 --year "2003" --genre "Pop" --comment "FreedbID:CB0E000F" -
-frame TENC:"Steve" --frame TSSE:"LAME 3.97 -V5 --vbr-new --noreplaygain --nohis
t" "01 - Just a Girl.mp3"
LAME 3.97 32bits (http://www.mp3dev.org/)
CPU features: MMX (ASM used), 3DNow! (ASM used), SSE (ASM used)
Using polyphase lowpass filter, transition band: 15826 Hz - 16360 Hz
Encoding <stdin> to 01 - Just a Girl.mp3
Encoding as 44.1 kHz VBR(q=5) j-stereo MPEG-1 Layer III (ca. 11.9x) qval=3
'C:\PROGRA~1\EXACTA~1\encoders\metamp3.exe' is not recognized as an internal or
external command,
operable program or batch file.


I would post more from the debug, but I do not have a debug.txt file that was created.  I'm looking more into the problem, but hoping others might have an idea.  Thanks.
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-08-20 17:00:31
It looks like it simply can't find metamp3.exe

Is it actually in "C:\Program Files\Exact Audio Copy\encoders"?  If not, either change the value of the "Tools" setting under "Settings" in your REACT.ini to point to the right place (normally "C:\Program Files\REACT2\tools"), or put metamp3 in "C:\Program Files\Exact Audio Copy\encoders".
Title: REACT 2 Released
Post by: 288db on 2007-08-20 17:08:29
Argh....it's fixed finally.  Jusdt rebooted and all works now.  Have to love computers. 
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-08-20 17:16:29
Maybe it's a runtime thing.  The metamp3 thread states:

You must have the vc sp1 redististributable runtime libraries to get it working. Get it from here:
http://www.apachelounge.com/download/vcredist_x86-sp1.exe (http://www.apachelounge.com/download/vcredist_x86-sp1.exe)

This may only be true for the beta.

Also, see this post (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=49751&view=findpost&p=478005) from Martin H.  It may be worth reading on, in case things have changed.
Title: REACT 2 Released
Post by: pholzmann on 2007-08-21 02:56:33
The REACT code will go into a recurring loop if one of the track cuesheets (created by specifiying CreateAllCuesheets) is not found.  I could change this so that it gives up after a certain time.  When looking for the log file Tycho's code will try for a maximum of five seconds (20 loops waiting 0.25 seconds between each check) perhaps I should change his fMoveCuesheet() function to do the same.

Good find.

OK, just seen your next post.  No idea why it is happening.  Essentially the code sends key combinations to access EAC's menu commands to make all the types of cuesheet.  So, either the key commands are not being sent, or the cuesheets just aren't being created for some reason.


Update, now running ssb16b...

I'm not sure if this is normal or unexpected:
* When in this mode, REACT always looks for a "plain" Trackname.CUE file, but all the cue files are Trackname [something].cue

Good News! overlapping rips and compression works fine from the output perspective (i.e. all files in the right place, AFAIK.)

Medium News: I ripped four CD's in a row with no problem, and no CUE-loop! Unfortunately, on CD #5, FileMon says the CUElooper is back. Bleah.

BugFix Help Request: remember my problem with AlbumArt GIF/BMP downloading as JPG? Apparently, there's a setting I don't know how to set, in REACT:

At least with AlbumArt Downloader XUI, there's support for a target download file of
    Trackname.%extension%

i.e. if the track is "Strawberry Fields Forever", the AlbumArt request should be
    Strawberry Fields Forever.%extension%

but right now it is
    Strawberry Fields Forever.jpg

Where can I fix this?

Thx muchly!!!!

MrPete
Title: REACT 2 Released
Post by: pholzmann on 2007-08-21 04:35:13
By the way, this:

CHCP 1252 | PROMPT

...has proven reliable. I recommend making it part of the default cfg. Can't explain WHY chcp hangs sometimes without it, but it is a very real effect.

thx

MrPete
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-08-21 07:50:23
By the way, this:

CHCP 1252 | PROMPT

...has proven reliable. I recommend making it part of the default cfg. Can't explain WHY chcp hangs sometimes without it, but it is a very real effect.
I don't see a reason why not.  I don't understand what's happening to you.

I'm not sure if this is normal or unexpected:
* When in this mode, REACT always looks for a "plain" Trackname.CUE file, but all the cue files are Trackname [something].cue
What mode?  "Trackname" should never be used; IIRC REACT uses the album name for the four cuesheets created ("<album>.[<type>].cue"). When ripping to images it is named the same as the image file.  You're ripping to tracks (using REACT-track.cfg) aren't you?  Can you possibly explain further please?

Good News! overlapping rips and compression works fine from the output perspective (i.e. all files in the right place, AFAIK.)
Great.  Good to hear some good news from you!

Medium News: I ripped four CD's in a row with no problem, and no CUE-loop! Unfortunately, on CD #5, FileMon says the CUElooper is back. Bleah.
It's strange that it will take a while to manifest itself.  Thanks for the info anyway.

BugFix Help Request: remember my problem with AlbumArt GIF/BMP downloading as JPG? Apparently, there's a setting I don't know how to set, in REACT:

At least with AlbumArt Downloader XUI, there's support for a target download file of
Trackname.%extension%

i.e. if the track is "Strawberry Fields Forever", the AlbumArt request should be
Strawberry Fields Forever.%extension%

but right now it is
Strawberry Fields Forever.jpg

Where can I fix this?
Unfortunately I am not familiar with the album art processing, as I don't use it.  However, I have taken a look at the source and the AlbumArt Downloader XUI thread and I think I see that this is quite achievable.  Maybe I could move the parameters used to REACT.ini.  REACT currently uses:

'<artist>' '<album>' '<filename-friendly album>.jpg'

I suppose a more accurate XUI parameter string would be:

/artist '<artist>' /album '<album>' /path '<filename-friendly album>.%extension%'

However, I don't know if there is any way for REACT to know what extension was used, so when it replaces the token "@cover@" it is going to have to see if '<filename-friendly album>.jpg' exists and if not expect '<filename-friendly album>.gif'.  I'm not sure if that will cause problems.  Presumably the image should always be there before the batch file runs?
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-08-21 11:30:33
BugFix Help Request: remember my problem with AlbumArt GIF/BMP downloading as JPG? Apparently, there's a setting I don't know how to set, in REACT:

At least with AlbumArt Downloader XUI, there's support for a target download file of
    Trackname.%extension%

i.e. if the track is "Strawberry Fields Forever", the AlbumArt request should be
    Strawberry Fields Forever.%extension%

but right now it is
    Strawberry Fields Forever.jpg

Where can I fix this?
Please try ssb16c (http://www.synthetic-soul.co.uk/temp/REACT_2.0.ssb16c.zip).  Add CoverDownloaderXUI=1 to the [Settings] section of your REACT.ini.  This will then use the parameters:

Code: [Select]
/artist "<artist>" /album "<album>" /path "<album>.%extension%" /autoclose

The processing instance of REACT will look for the existence of "<album>.gif", then "<album>.png" but finally default to "<album>.jpg" without checking for it's existence.  Therefore, for it to catch a non-JPEG file you will have to ensure that you are saving the image before the processing instance begins.  I believe that this is default behaviour when ripping to tracks (but not images).  For those interested, check out the RunCoverDownloader settings (http://wiki.hydrogenaudio.org/index.php?title=REACT#Settings_Section) in the wiki article.

I have also made a couple of other small changes, including giving up on trying to move the cuesheet after five seconds, and a little more debug text.  As said before, to view any debug text set DebugMode=1 under the [UserSettings] section and restart REACT.  REACT will then output various information into debugging.txt in the REACT directory.  This is not connected to the existing Debug=1 setting (Debug is useful for catching CFG-related issues; I implemented DebugMode in order for users to be able to provide information when reporting bugs).
Title: REACT 2 Released
Post by: pholzmann on 2007-08-21 12:37:45
I'm not sure if this is normal or unexpected:
* When in this mode, REACT always looks for a "plain" Trackname.CUE file, but all the cue files are Trackname [something].cue
What mode?  "Trackname" should never be used; IIRC REACT uses the album name for the four cuesheets created ("<album>.[<type>].cue"). When ripping to images it is named the same as the image file.  You're ripping to tracks (using REACT-track.cfg) aren't you?  Can you possibly explain further please?

I apologize. I got mixed up. I'm ripping images. That should have been AlbumName.cue that it searches for. "In this mode" is what I'm calling a CUEloop ... searching forever for a file, in the background.

If the album is called "Imagine", what I see is:
  Folder has Imagine..cue etc
but REACT is searching for Imagine.cue (and never finds it of course... particularly when i've moved on to another image!)

Quote
Unfortunately I am not familiar with the album art processing...I don't know if there is any way for REACT to know what extension was used, so when it replaces the token "@cover@" it is going to have to see if '<filename-friendly album>.jpg' exists and if not expect '<filename-friendly album>.gif'.  I'm not sure if that will cause problems.  Presumably the image should always be there before the batch file runs?

I think you're guaranteed it will be there before the batch file runs. Don't know why, but the rip does not even begin until the album art has been saved.

So far, I've seen jpg, gif and bmp album art.

For me at least, I would use the above "fix" to ensure I only pick jpg files! (The problem with "album.jpg" vs "album.%extension%" is that with the former, i get no software indication of the kind of file i'm saving...)

I'll try 16c asap...

THANKS!!!!
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-08-21 13:21:12
I apologize. I got mixed up. I'm ripping images. That should have been AlbumName.cue that it searches for. "In this mode" is what I'm calling a CUEloop wink.gif... searching forever for a file, in the background.

If the album is called "Imagine", what I see is:
Folder has Imagine..cue etc
but REACT is searching for Imagine.cue (and never finds it of course... particularly when i've moved on to another image!)
Hmm.. if you are ripping to image you really should not be using CreatAllCuesheets to create the four cuesheets.  When ripping to image a cuesheet is automatically created, using the same name as the image.

The fact that your image cuesheet is named "<album>.cue" is a concern.  What value do you have set for ImageNaming under [Settings] in the ini?  The default is "$artist$ - [$date$] $album$" IIRC (I use "$artist$ - $album$"). The image name must begin with $artist$!  Otherwise you will have problems with VA albums.

Edit: OK, to clarify: If you use CreateAllCuesheets EAC will create four cuesheets named "<album>.cue".  As REACT tells EAC to create them it then renames them to "<album>.[<type>].cue".  This may be where the confusion is coming in - I am now presuming that your ImageNaming value is fine.  I do think you may solve some of your problems (if not all) if you set CreateAllCuesheets=0 in your ini - you don't need them.

I think you're guaranteed it will be there before the batch file runs. Don't know why, but the rip does not even begin until the album art has been saved.
According to the wiki, when using images it will not wait (unless you set the value to 2 or 3).  if you are ripping to images perhaps you should set RunCoverDownloader to 2, in case.

I'll try 16c asap...
Thanks. Maybe I'll upload 16d to deal with BMP as well... 

Edit: OK, ssb16d (http://www.synthetic-soul.co.uk/temp/REACT_2.0.ssb16d.zip) should cope with GIF, PNG, BMP and JPG.
Title: REACT 2 Released
Post by: pholzmann on 2007-08-21 17:33:10
If you are ripping to image you really should not be using CreatAllCuesheets to create the four cuesheets.  When ripping to image a cuesheet is automatically created, using the same name as the image.

I did have CreateAllCuesheets=1

So, if that's incorrect for image rips, why not internally force it to zero?  -- I think you're right. That setting sometimes conflicts with image-rip cuesheet creation and causes a possible race condition for file names, etc.

Quote
The fact that your image cuesheet is named "<album>.cue" is a concern.  What value do you have set for ImageNaming under [Settings] in the ini?  The default is "$artist$ - [$date$] $album$" IIRC (I use "$artist$ - $album$"). The image name must begin with $artist$!  Otherwise you will have problems with VA albums.


Fine. I'm using the default... I think I've seen a dynamic sequence as the process takes place, something like:
  <album>.cue
  Tempfilename.cue
  $artist$ - [$date$] $album$.cue (in the final image folder)

Quote
According to the wiki, when using images it will not wait (unless you set the value to 2 or 3).  if you are ripping to images perhaps you should set RunCoverDownloader to 2, in case.

Mine was set to 2 -- obviously by me and I didn't remember. Just Made Sense at the time

Quote
I'll upload 16d...should cope with GIF, PNG, BMP and JPG.


OK, we're mostly making progress. Unfortunately, one bug remembered, and one serious backtrack

Progress: the new XUI switch works perfectly!

Bug remembered: if you exit EAC while REACT is monitoring (i.e. any time after pressing F10 and before the the batch file has finished), REACT never exits on its own. It sits hidden in the systray.

Suggestion: be sure to code for user-abort at various points in the process. Be particularly read, at the least, to exit if EAC crashes or is closed.

Serious backtrack: under 16c and 16d, something gets badly scrambled in EAC. Going back to 16b "fixes" the following...

(I'm using gap-detection method A, accurate)
Normally, the pre-track gap detection counts from 2 to n and stops.

In 16c and 16d, gap detection counts up some, backtracks, counts up more, goes to various numbers, and ends at zero (!)... and locks. The rest of EAC continues ok, and the rip completes. Eventually, the gap detector times out with some horrible error message. Then EAC dies. Fortunately, the time out is a long time after the rip is done. But I get only one RIP and then must kill/restart EAC and REACT.

This is repeatable on every CD I've tried, and does NOT happen if I go back to 16b.

Waaah!


In 16c and 16d, gap detection...ends at zero (!)... and locks.


BTW, "locks" means the cancel button is grayed out and the detection popup is completely unresponsive.

--MrPete
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-08-21 17:36:52
Serious backtrack: under 16c and 16d, something gets badly scrambled in EAC. Going back to 16b "fixes" the following...

(I'm using gap-detection method A, accurate)
Normally, the pre-track gap detection counts from 2 to n and stops.

In 16c and 16d, gap detection counts up some, backtracks, counts up more, goes to various numbers, and ends at zero (!)... and locks. The rest of EAC continues ok, and the rip completes. Eventually, the gap detector times out with some horrible error message. Then EAC dies. Fortunately, the time out is a long time after the rip is done. But I get only one RIP and then must kill/restart EAC and REACT.

This is repeatable on every CD I've tried, and does NOT happen if I go back to 16b.
That is so weird.  I can't see how REACT plays any part when this process is happening!!

I'll think on it.

NB: Of course, it works fine for me...
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-08-21 19:14:56
So, if that's incorrect for image rips, why not internally force it to zero? wink.gif -- I think you're right. That setting sometimes conflicts with image-rip cuesheet creation and causes a possible race condition for file names, etc.
I guess there are times when users may want both - I suppose it's possible that they may want a multi-file cuesheet also, so they could burn from track files created using ACDIR and still perfectly re-create the CD.  I don' think it is likely, or advisable though.  Still, I wouldn't want to restrict users completely, and Tycho obviously didn't.

Bug remembered: if you exit EAC while REACT is monitoring (i.e. any time after pressing F10 and before the the batch file has finished), REACT never exits on its own. It sits hidden in the systray.

Suggestion: be sure to code for user-abort at various points in the process. Be particularly read, at the least, to exit if EAC crashes or is closed.
I may have to investigate this.  I've not noticed this before - but then I tend to just rip one disc at a time, and leave things well alone once I've pressed F10.

In 16c and 16d, gap detection counts up some, backtracks, counts up more, goes to various numbers, and ends at zero (!)... and locks. The rest of EAC continues ok, and the rip completes. Eventually, the gap detector times out with some horrible error message. Then EAC dies. Fortunately, the time out is a long time after the rip is done. But I get only one RIP and then must kill/restart EAC and REACT.
I'm flabbergasted by the results you get.  I don't understand how you can have so many issues that I have never seen, or anyone else has reported.  I just cannot see how REACT is doing this, but the fact that b16b is OK for you must say something.  Have you set CreatAllCuesheets=0?  The only thing I can think that has changed around that time is the checking for the cuesheets' existence.  Perhaps you could use DebugMode (detailed previously) and see what gets written before this happens.  Maybe I do need to create a serious debug version for you to use...
Title: REACT 2 Released
Post by: pholzmann on 2007-08-22 02:43:21
I'm flabbergasted by the results you get.  I don't understand how you can have so many issues that I have never seen, or anyone else has reported.  I just cannot see how REACT is doing this, but the fact that b16b is OK for you must say something.

It's a gift  -- I used to get paid the Big Bucks to break (and fix) software :-D

Seriously, I have no idea. I just Do Stuff, and pay more attention than most when things go wrong. I usually know when something's a bug vs just me messing up. I don't just reboot and try again

Lemme play a little more. It helps knowing that all's well for you!
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-08-22 07:05:17
It's a gift  -- I used to get paid the Big Bucks to break (and fix) software :-D
Indeed!

Don't get me wrong, I do appreciate the feedback.  It's just that it's quite frustrating for me, when I can't emulate the problem.  I don't really have the time to test for hours and hours, if the truth be told.

If you could try DebugMode with b16d it may help me out.

Thanks.
Title: REACT 2 Released
Post by: dobo on 2007-08-22 22:54:42
I think a bug has been introduced with mods after 16b. Its to do with album art, let me explain

If you rip 2 consecutive CD's, on the 2nd CD the 2nd time the album art runs it searches on the first albums & artists name, its a bit annoying, however the rip still works of course, no major problems like pholzmann is having.

16b works as expected, 16d does not, can anyone confirm?

Also wish the memory leeks cold e fixed with the art downloader  obviously not reacts fault though.

I'm using RunCoverDownloader=1
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-08-23 07:56:35
I think a bug has been introduced with mods after 16b. Its to do with album art, let me explain

If you rip 2 consecutive CD's, on the 2nd CD the 2nd time the album art runs it searches on the first albums & artists name, its a bit annoying, however the rip still works of course, no major problems like pholzmann is having.

16b works as expected, 16d does not, can anyone confirm?
Yes, I can see it now.  Thanks for the report.  Silly bug on my part.

Please try ssb16e (http://www.synthetic-soul.co.uk/temp/REACT_2.0.ssb16e.zip).
Title: REACT 2 Released
Post by: Martin H on 2007-08-24 04:13:51
Hi Neil

Just wanted to say many thanks for this nice REACT mod of yours and that the 'Test=1' function simply rocks

I have been occupied with some other stuff lately and have not been using REACT for some time now(or ripping with anything else for that matter), but now when i return back to check out what's happening currently, then i happily find that EAC has now gotten both test & copy + AccurateRip support for images and also that you have faithfully continued the REACT development with great new features and fixes in Tycho's absence, so i just wanted to say many thank's for all your troubles, mate

CU, Martin.
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-08-24 07:35:07
Hi Martin,

I'm glad that my mod has been useful to you.

I'm actually getting quite concerned that I have been causing tycho's absence, rather than helping.  I hope he will be back soon with REACT 3, at which point I will gladly step back into the shadows.

Anyway, good to see you back.
Title: REACT 2 Released
Post by: tycho on 2007-08-24 08:59:52
Hi Martin,

I'm glad that my mod has been useful to you.

I'm actually getting quite concerned that I have been causing tycho's absence, rather than helping.  I hope he will be back soon with REACT 3, at which point I will gladly step back into the shadows.

Anyway, good to see you back.

Hi. Don't be concerned - you have been a great help all the way. I don't think REACT 3 will appear anytime soon, unless EAC is changed a lot, which is not likely. However, as I've promised earlier, I will try to merge in some *smaller* updates I have done, and then at some point a new "official" release. Please, continue to develop and support REACT if you can (and want to).
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-08-24 09:16:58
Hi. Don't be concerned - you have been a great help all the way.
...
Please, continue to develop and support REACT if you can (and want to).
That's a weight off my mind.  Thanks tycho.

I don't think  REACT 3 will appear anytime soon, unless EAC is changed a lot, which is  not likely. However, as I've promised earlier, I will try to merge in  some *smaller* updates I have done, and then at some point a new  "official" release.
Looking forward to it.
Title: REACT 2 Released
Post by: kockroach on 2007-08-25 04:31:06
Hello,

I just started to look at using REACT with the newest EAC 0.99pb3.  I have tried to get REACT to create a FLAC image and Nero AAC tracks, as well as download Album Art (using AlbumArtDownloaderXUI).  I am having a couple of issues, and I am not sure where to go now.  I have tried searching, but the information I have found doesn't seem to help.

I set REACT to wait until the album art is downloaded before it copies (set to 2 in the INI file).  I want to have a "folder.jpg" file when the process is done, but I don't end up with an image in the final directory at all.  Is it possible to set the path and name that should always be used by the AlbumArtDownloaderXUI so that REACT can find it?  When the XUI window opens, the default destination is not the same as the folder where the temporary CUE/WAV/LOG files are being held, plus it is defaulting to a filename format of "cdartist"- "album".jpg, which I don't want.

When REACT creates the CUE file and starts copying the temporary WAV, it is not placing these tempory files in a directory I have not set.  In my INI file I have it set for
Code: [Select]
OutRoot="D:\Music\Test"
however, the temporary CUE/WAV/LOG files are being put into my "D:\MUSIC\FLAC" directory (which is where my current music library resides).  I don't know how or why it is using my current FLAC directory.

Basically, I was hoping that the temporary files (CUE/WAV/LOG) and the folder.jpg would be held in the same temporary directory.

Thanks.
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-08-25 07:45:01
I dont use AlbumArtDownloaderXUI - and I currently don't have it installed on this laptop (looks like I need .Net 3) - but can't you just change the output directory?  In fact, thinking about it, I think if you resolve the issue below (D:\Music\FLAC > D:\Music\Test) this may resolve itself.

Using "<artist> - <album>.jpg" is standard naming for the source image, and can't be changed; however the source name is irrelevant.  By default REACT moves it to the destination directory renaming it to the same as the image file.  You can amend this behaviour by changing:

Code: [Select]
IF %have_cover%==1 COPY /Y "@cover@" %dest%\"@basename@.jpg"

...to:
Code: [Select]
IF %have_cover%==1 COPY /Y "@cover@" %dest%\folder.jpg

... in the FLAC image section of your REACT-image.cfg.

To change the folder that REACT is using for the source files go to EAC Options >  Directories.  Check "Use this directory" and select "D:\Music\Test".
Title: REACT 2 Released
Post by: dobo on 2007-08-25 08:40:50
Kockroach, what Synthetic Soul suggests is how i have mine set and works.

Synthetic Soul ssb16e has fixed the bug i posted, thanks again.
Title: REACT 2 Released
Post by: kockroach on 2007-08-25 14:14:31
Hi Synthethic Soul,

I had already made that change regarding the @basename@.jpg, changing it to folder.jpg.

Just to be safe, for your other suggestion, I started with a fresh directory.  I set the directory to "D:\Test"
Changing the directory in EAC Options doesn't help completely.  It is sending the folder.jpg image there, but it is not sending the temporary WAV/CUE/LOG files there.  They are going to "D:\Music\FLAC".  This is where my current FLAC library is held, so I would prefer it not be touched.  I don't know why EAC is throwing the files in there, especially since it is not the last directory I used, nor is it the one set in EAC Option --> Directories.

One thing I notice is that after selecting my Album Art, the "Save As" window from EAC pops up quickly, and I can see that it is using my "D:\Music\FLAC" directory, but it closes after about a second or two.

EDIT:  While I was writing this message, I was letting REACT/EAC do its thing on a CD.  Even though I have the "EAC Options/Directory" set to "D:\Test", the only thing that is going in there is the Album Art I downloaded.  The temporary files are being stored in "D:\Music\FLAC", while the final files are being put into "D:\Music\Test".  In the "D:\Music\Test", it has the proper directories, containing the music files, cue and logs, but no album art.
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-08-25 20:01:37
Hmmm... if you look in the registry, under:

HKEY_CURRENT_USER\Software\AWSoftware\EAC\StartUp Options

... you will notice a couple of other file paths.  It seems to me that "Actual Path" is the one that needs to change.

I just managed this in EAC by doing the following:If you're happy with regedit you may just want to edit the paths in the registry.  For safety: REACT uses DirectorySpecification - the directory set under "Use this directory".

I think if you used regedit to change all the paths above to "D:\Test" and then opened REACT/EAC it would all work as expected.
Title: REACT 2 Released
Post by: FredipusRex on 2007-08-25 20:28:18
I'm sorry, but I must be especially challenged today.

I have previously used EAC+FlackAttack to do ripping and compressing (to FLAC + Ogg, with embedded cue sheets). I then would tweak the tags and add album art using The Godfather. As I have a new computer and FlacAttack seems to have faded away, I thought I'd try REACT.

So far, no real luck. I downloaded both the REACT 2.0 (from the REACT 2/EAC plugin Uploads thread) and the latest ssb16e from this thread.

My problem is that neither of those appear to be a "full install" with the proper plugins in the "Tools" directory and the albumart cover downloader. They're just the REACT executable and a readme file.

I've grabbed and installed the AlbumArtDownloader, the EAC Ultimate Pack, newer FLAC and OggEnc2 encoders, figured out that REACT must be Run As Administrator under Vista to create the REACT.INI file - but this seems way too complicated considering that most members on this thread seem to be up and running within minutes.

Am I missing something? I just want to be able to rip a CD (with non-compliant cue sheets), create individual .FLAC and .ogg files, embed the album art into both the Oggs and FLACs and the cue sheets in the FLACs (I don't want one big FLAC image of the CD). Doable?

Thanks,

Derf!
Title: REACT 2 Released
Post by: kockroach on 2007-08-25 22:26:38
I just managed this in EAC by doing the following:
  • I chose a new directory (let's call it "X:\") under "Use this directory".
  • I changed the radio button to "Ask every time".
  • I ripped using F10, ripping to the new directory, "X:\".
  • I closed EAC and re-opened it.
  • I ripped using F10, and EAC opened the dialogue in "X:\".
  • I changed the radio button to "Use this directory".

I went with this route, and everything seems to work fine now.  Thanks for the help. 

I wonder if this problem arose since EAC (non-REACT) always asks for the directory to save when doing an Image based copy, but when doing track based, it uses the Directory path in the settings.  I think it may have been causing the problem.  But no worries, it is working now.

I do have one other question.  I had wanted to tag my files in a certain way regarding track number and total tracks.  My changes work for WavPack, FLAC and OGG tracks, but it will not work for MP3 and NeroAAC.

Here is what I have for the MP3 files (found in the Image CFG file):
Code: [Select]
@tools@\acdir.exe --overwrite --output "%TrackName%.mp3" --extra-opt "{3}@cover@" --pipe "TITLE $n/$N mp3 $#T & @tools@\lame.exe @Opt_LameMP3@ %ApplyAG_Lame% - $#o & @tools@\metamp3.exe %Cover_tag% %VA_tag% --artist $#a --album $#T --title $#t --track $n --totaltracks $N --year $q@year@$q --genre $q@genre@$q --comment $q@comment@$q --frame TENC:$q%USERNAME%$q --frame TSSE:$qLAME @Ver_LameMP3@ @Opt_LameMP3@$q $#o" "@sourcecuesheet@"


And this is in the NeroAAC section:
Code: [Select]
@tools@\acdir.exe --overwrite --output "%TrackName%.m4a" --extra-opt "@cover@" --pipe "TITLE $n/$N aac $#T & @tools@\neroAacEnc.exe @Opt_NeroAac@ -ignorelength -if - -of $#o & @tools@\AtomicParsley.exe $#o -o REACT_tmp.m4a %Cover_tag% %VA_tag% --artist $#a --album $#T --tracknum $n --totaltracks $N --title $#t --year $q@year@$q --genre $q@genre@$q --comment $q@comment@$q --encodingTool $qneroAacEnc @Ver_NeroAac@ @Opt_NeroAac@$q & MOVE /Y REACT_tmp.m4a $#o" "@sourcecuesheet@"


When the encoder runs, it says that it doesn't recognize the "--totaltracks" option for MP3 and NeroAAC, and there are no tags at all in the files.  What should I change to get this to work?  I basically did the same type of change for WV, FLAC and OGG, and they work without a problem (I know the tag formats are different, so that is mainly why they do work in those files).

I know I could go back to the $n/$N format, and then open them in Mp3tag to change them, but I really don't want the extra step if it can be avoided.

Thanks again for your help!
Title: REACT 2 Released
Post by: drbeachboy on 2007-08-25 22:51:15
Neither metamp3 or atomicparsley have a "totaltracks" field, though Neroaactag does. I can post what I use (a combination of both neroaactag & atomicparsley) if you want to try it.

For mp3, try using Tag v2.0.53b2 from synthetic soul's site and use the "-t" option to create "totaltracks" field.
Title: REACT 2 Released
Post by: kockroach on 2007-08-25 23:04:32
Thanks for the info drbeachboy.  I took a look at Synthetic Soul's Tag program, and from a brief look through the readme file I think I should be able to make the proper changes to get it to work.  I just don't have the time right now.

As far as your config using NeroAacTag and AtomicParsley, yes, I would like to take a look at what you are doing to tag your files.  I would appreciate it if you could post your code.

Thanks again!
Title: REACT 2 Released
Post by: drbeachboy on 2007-08-25 23:09:19
Here you go!

Code: [Select]
@tools@\acdir.exe --overwrite --output "%TrackName%.m4a" --pipe "TITLE $n/$N aac $#T & @tools@\neroAacEnc.exe @Opt_NeroAac@ -ignorelength -if - -of $#o & @tools@\neroAacTag.exe $#o %VA_tag% -meta:artist=$#a -meta:album=$#T -meta:track=$n -meta:totaltracks=$N -meta:title=$#t -meta:year=$q@year@$q -meta:genre=$q@genre@$q -meta:comment=$q@comment@$q & @tools@\AtomicParsley.exe $#o -o REACT_tmp.m4a --encodingTool $qneroAacEnc @Ver_NeroAac@ @Opt_NeroAac@$q & MOVE /Y REACT_tmp.m4a $#o" "@sourcecuesheet@"
Title: REACT 2 Released
Post by: kockroach on 2007-08-25 23:35:02
Thanks drbeachboy!  I'll give it a try.
Title: REACT 2 Released
Post by: Martin H on 2007-08-26 03:20:52
@kockroach

When dealing with MP3s, then i would strongly advice against using any 'totaltracks' tags, as it's very non-standard and since most apps probably will not be able to parse them correctly. The ID3v2 spec clearly defines that any optional total tracks values should be appended to the track number in the TRCK frame and seperated by a '/' charachter, just like e.g. the 'discnumber' value and optionally the 'totaldiscs' value are to be stored in the TPOS frame and seperated by a '/' charachter and then e.g foobar2000 will then parse those TRCK and TPOS frames and display there values as though it where two seperate tags i.e. 'tracknumber' and 'totaltracks' and 'discnumber' and ''totaldiscs', even though they aren't, but are just mapped to those fields internally by foobar2000, for easing the metadata handling between the different tagging formats. If you absolutely want to, then you can make a 'totaltracks' TXXX ID3v2 frame with metamp3.exe, but i can't see why you would ever want to when there allready are frames available which is meant for storing exactly those values. The TXXX frames are meant for stuff which aren't covered by the frames defined in the spec.
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-08-26 09:52:35
My problem is that neither of those appear to be a "full install" with the proper plugins in the "Tools" directory and the albumart cover downloader. They're just the REACT executable and a readme file.
The 1.99MB download in the REACT download thread (http://www.hydrogenaudio.org/forums/index.php?showtopic=50259) contains all the tools.  Note that some may now be outdated, e.g.: FLAC.  The thread also has links to tools not included.

My mod only includes REACT.exe, to overwrite the exe included in tycho's original release (in that thread).

Make sure you let REACT configure EAC.  REACT should do this on first run, but if you are in any doubt hit Ctrl+F2 to re-do it.

I just want to be able to rip a CD (with non-compliant cue sheets), create individual .FLAC and .ogg files, embed the album art into both the Oggs and FLACs and the cue sheets in the FLACs (I don't want one big FLAC image of the CD). Doable?
Most definately.

For mp3, try using Tag v2.0.53b2 from synthetic soul's site and use the "-t" option to create "totaltracks" field.
Unfortunately Case's Tag won't write ID3v2 tags; I don't know what whould happen if you use -t "totaltracks=12" on an MP3 file - probably APEv2 would be used.

When dealing with MP3s, then i would strongly advice against using any 'totaltracks' tags, as it's very non-standard and since most apps probably will not be able to parse them correctly.
I 100% agree.

If you absolutely want to, then you can make a 'totaltracks' TXXX ID3v2 frame with metamp3.exe, but i can't see why you would ever want to when there allready are frames available which is meant for storing exactly those values. The TXXX frames are meant for stuff which aren't covered by the frames defined in the spec.
To clarify, I believe you would set a switch as below for metamp3:

Code: [Select]
--frame "TXXX[totaltracks]:@numtracks@"
Title: REACT 2 Released
Post by: FredipusRex on 2007-08-26 15:06:43
The 1.99MB download in the REACT download thread (http://www.hydrogenaudio.org/forums/index.php?showtopic=50259) contains all the tools.  Note that some may now be outdated, e.g.: FLAC.  The thread also has links to tools not included.

My mod only includes REACT.exe, to overwrite the exe included in tycho's original release (in that thread).

Make sure you let REACT configure EAC.  REACT should do this on first run, but if you are in any doubt hit Ctrl+F2 to re-do it.

I just want to be able to rip a CD (with non-compliant cue sheets), create individual .FLAC and .ogg files, embed the album art into both the Oggs and FLACs and the cue sheets in the FLACs (I don't want one big FLAC image of the CD). Doable?
Most definately.


Thanks! I'll try it out (after vacation).
Title: REACT 2 Released
Post by: drbeachboy on 2007-08-26 17:04:24
Quote
Unfortunately Case's Tag won't write ID3v2 tags; I don't know what whould happen if you use -t "totaltracks=12" on an MP3 file - probably APEv2 would be used


My apologies! I completely forgot that TAG doesn't write ID3v2 tags. I haven't used TAG in a long time, so it slipped my mind. Though logically, it was most likely one of the reasons why I no longer use it. 
Title: REACT 2 Released
Post by: kockroach on 2007-08-26 21:21:52
For mp3, try using Tag v2.0.53b2 from synthetic soul's site and use the "-t" option to create "totaltracks" field.
Unfortunately Case's Tag won't write ID3v2 tags; I don't know what whould happen if you use -t "totaltracks=12" on an MP3 file - probably APEv2 would be used.

When dealing with MP3s, then i would strongly advice against using any 'totaltracks' tags, as it's very non-standard and since most apps probably will not be able to parse them correctly.
I 100% agree.

If you absolutely want to, then you can make a 'totaltracks' TXXX ID3v2 frame with metamp3.exe, but i can't see why you would ever want to when there allready are frames available which is meant for storing exactly those values. The TXXX frames are meant for stuff which aren't covered by the frames defined in the spec.
To clarify, I believe you would set a switch as below for metamp3:

Code: [Select]
--frame "TXXX[totaltracks]:@numtracks@"


Interesting, I didn't realize that it is non-standard to do it that way.  I was wanting to have it set that was for consistency, since I can do it with the other formats, but oh well.  I may not even go with MP3 for my lossy files.  I recently have been using NeroAAC, so that one was more important to get to work properly.  But, I am going to do some of my own testing to see which format my ears prefer, and REACT will be a nice way to convert a number of CDs into multiple formats for testing.

Thanks for all of your help Synthetic Soul, drbeachboy and Martin H!  I appreciate it.
Title: REACT 2 Released
Post by: kockroach on 2007-08-26 23:04:38
Here you go!

Code: [Select]
@tools@\acdir.exe --overwrite --output "%TrackName%.m4a" --pipe "TITLE $n/$N aac $#T & @tools@\neroAacEnc.exe @Opt_NeroAac@ -ignorelength -if - -of $#o & @tools@\neroAacTag.exe $#o %VA_tag% -meta:artist=$#a -meta:album=$#T -meta:track=$n -meta:totaltracks=$N -meta:title=$#t -meta:year=$q@year@$q -meta:genre=$q@genre@$q -meta:comment=$q@comment@$q & @tools@\AtomicParsley.exe $#o -o REACT_tmp.m4a --encodingTool $qneroAacEnc @Ver_NeroAac@ @Opt_NeroAac@$q & MOVE /Y REACT_tmp.m4a $#o" "@sourcecuesheet@"

Hey drbeachboy, what are you using for your Various Artist tag format?  I cannot get NeroAACTag.exe to tag the file, it is choking on the VA tag.  It was also have trouble with the cover file tag.

The original Image CFG has this:
Code: [Select]
        IF @various@==1 SET VA_tag=--album artist $q@VA@$q --compilation true
        IF %embed_cover%==1 SET Cover_tag=--artwork $#x

I have tried converting that to use "-meta-user" since Album Artist isn't standard, but it won't work.  I am not sure if I have the cover option set properly, but I am using "-add-cover:front:$#x" for that part.
Title: REACT 2 Released
Post by: drbeachboy on 2007-08-26 23:18:32
Here is my code for the two lines that you referenced.

Code: [Select]
IF @various@==1 SET VA_tag=-meta-user:albumArtist=$q@VA@$q -meta-user:compilation=true
        IF %embed_cover%==1 SET Cover_tag=-add-cover:front:$#x


I am using SS's REACT version ssb16
Title: REACT 2 Released
Post by: kockroach on 2007-08-26 23:23:28
I was close in what I had used.  I was thinking there might have been a way to use "Album Artist" being able to keep consistent with the other formats.  But NeroAACTag doesn't like the spaces at all...I wish there was a way to allow for the space and use "Album Artist", instead of "AlbumArtist".

Thanks!

EDIT: I created an Action in Mp3tag to change the field, so I can live with that for now.  Looks like I have everything working now.  Thanks again everyone for your help.
Title: REACT 2 Released
Post by: drbeachboy on 2007-08-27 00:27:51
@ kockroach

Place $q (quotes) around Album Artist like in the code below, and neroaactag will tag it properly.

Code: [Select]
IF @various@==1 SET VA_tag=-meta-user:$qalbum artist$q=$q@VA@$q -meta-user:compilation=true
Title: REACT 2 Released
Post by: kockroach on 2007-08-27 00:48:58
Awesome!  Thanks again for the help drbeachboy.

EDIT:
I was looking at the different downloads, making sure I had the most up-to-date versions.  I noticed that nyaochi created CueProc as a replacement for ACDIR.  There was a post in this thread in February, asking if REACT would be updated to use CueProc, but I didn't find any response to that.  I would almost assume it could be used instead of ACDIR.  Is this correct?
Title: REACT 2 Released
Post by: drbeachboy on 2007-08-27 03:00:58
I used CueProc with REACT 1.0 with no issues, but I ran into a few difficulties using it with REACT 2.0. IMHO, there is really no benefit of one over the other, so I just stayed with ACDIR since it was already pre-written in the config file and worked perfectly.
Title: REACT 2 Released
Post by: kockroach on 2007-08-27 03:18:25
Good to know.  I was thinking that if CueProc was a significant improvement that it would have been changed in REACT.  Just thought I would ask.  Thanks.
Title: REACT 2 Released
Post by: sdgenxr on 2007-09-03 17:22:07
REACT and Vista?  I recently upgraded to Vista Premium and installed the latest version of EAC (V0.99 prebeta 3) and copied over my .ini and .cfg files from my XP build.  Now when I'm ripping a CD, I get an error when REACT starts to cut the image up using acdir and stops.  Is this an issue with EAC prebeta 3, Vista, or acdir?

On a separate note, does anyone know how I can make REACT either auto run, or a GUI to use in Vista Media Center?

Thanks
Title: REACT 2 Released
Post by: dewey1973 on 2007-09-03 20:04:10
REACT and Vista?  I recently upgraded to Vista Premium and installed the latest version of EAC (V0.99 prebeta 3) and copied over my .ini and .cfg files from my XP build.  Now when I'm ripping a CD, I get an error when REACT starts to cut the image up using acdir and stops.  Is this an issue with EAC prebeta 3, Vista, or acdir?

On a separate note, does anyone know how I can make REACT either auto run, or a GUI to use in Vista Media Center?

Thanks

If I recall correctly, this is an issue with acdir.  I remember having the same problem when I upgraded to Vista.  I do most of my ripping on an XP machine so I just abandoned the Vista box.  Sorry, I can't help further.
Title: REACT 2 Released
Post by: Bill02888 on 2007-09-06 05:21:10
When using REACT v2.0.ssb16e and EAC prebeta 3 on Windows XP w/SP2, ripping to WavPack images and MP3 tracks I noticed the following fly by in the Command Prompt window:

Quote
TITLE 06/22 mp3 "Unforgettable With Love" & C:\PROGRA~1\REACT2\tools\lame.exe -V5 --vbr-new --norepl
aygain --nohist  - "06 This Can't Be Love.mp3" & C:\PROGRA~1\REACT2\tools\metamp3.exe --pict "{3}E:\
Unforgettable With Love.jpg"  --artist "Cole, Natalie" --album "Unforgettable With Love" --title "Th
is Can't Be Love" --track 06/22 --year "1991" --genre "Vocal" --comment "Created with EAC/REACT2, 20
07-09-06" --frame TENC:"Myname Here" --frame TSSE:"LAME 3.97 -V5 --vbr-new --noreplaygain --nohist"
"06 This Can't Be Love.mp3"
LAME 3.97 32bits (http://www.mp3dev.org/)
CPU features: MMX (ASM used), 3DNow! (ASM used), SSE (ASM used), SSE2
Using polyphase lowpass filter, transition band: 15826 Hz - 16360 Hz
Encoding <stdin> to 06 This Can't Be Love.mp3
Encoding as 44.1 kHz VBR(q=5) j-stereo MPEG-1 Layer III (ca. 11.9x) qval=3
metamp3 v0.91 - Copyright © 2006 by Tycho

Usage: C:\PROGRA~1\REACT2\tools\metamp3.exe [options] [mp3files]
options:
  --artist <artist>              audio/song artist
  --album <album>                audio/song album
  --track <track>[/total]        audio/song track number
  --title <title>                audio/song title
  --year <year>                  audio/song year of issue (1 to 9999)
  --genre <genre>                audio/song genre name
  --comment [[desc]][{lng}]<text> add user-defined text
  --user-text [[desc]]<text>      add user text frame (TXXX)
  --user-url [[desc]]<URL>        add user URL frame (WXXX)
  --frame <frame:text>            set any T* or W* type frame
  --pict [[desc]][{type}]<file>  add picture artwork
  --save-pict <pict>              pict=[[desc]][{type}]<file>
  --list-pict-types              list possible picture type numbers
  --list-frames                  list Text and URL id3v2.3 frames
  --list-genres                  list standard id3v1.1 genres
  --1                            add id3v1 tag only (default both v1 and v2)
  --2                            add id3v2 tag only (--1 --2 will add both)
  --fit                          add id3v1 + id3v2 if tag does not fit id3v1
  --remove [[desc]]<frame>        remove frame(s). accepts wildcards *,?
  --replay-gain                  calculate and set replay gain tags
  --apply-gain <gain>            change volume. gain=[album|radio]<+dB|-dB>
  --undo-gain                    undo previous apply-gain
  --info                          print detailed mp3/lametag info
  --version                      show version info
  --help                          show this help

TITLE 07/22 mp3 "Unforgettable With Love" & C:\PROGRA~1\REACT2\tools\lame.exe -V5 --vbr-new --norepl


Any ideas what's making metamp3 get upset? Maybe the ' in the track name?

- Bill
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-09-06 07:01:55
No.  I ran your metamp3 command and it worked fine.  Even changing the album art to a non-existent file didn't cause a problem.  I did produce the same result by specifying a non-existent MP3, so I can only assume that the MP3 that LAME created (if it did) did not have the same path as expected.

I believe that I have seen this issue before (somewhere in this thread).  Is it possible that the path to the MP3 files is very long?  What would be the full path to that file?

Edit: Here's the resolving post (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=50273&view=findpost&p=505497) (see further up that page for the full story).
Title: REACT 2 Released
Post by: Bill02888 on 2007-09-07 01:46:25
Thanks SS. My first rip after making that change happened to be a different CD named "Lost & Found Sound and Beyond". Instead of naming the MP3 track path[blockquote]F:\Audio\CD Rips\MP3\NPR All Things Considered\Lost & Found Sound and Beyond\[/blockquote]it created[blockquote]F:\Audio\CD Rips\MP3\NPR All Things Considered\LOST\[/blockquote]Trying the Natalie Cole CD now (as I type) to see what happens... (insert music on hold here) ...

I've got an unrelated issue while I'm thinking about it. Sometimes when I look at my EAC drive settings it will show my Plextor PX-716A 1.11 as only supporting the speed "Actual". Other times it will list Actual, 4x, and 8x. And other times it'll show quite a lengthy list (comparatively) going up to (IIRC) 40x. When I can select 40x the test and copy is quite speedy. This time it only allowed me to specify 8x so the process is taking much longer than it should (about 20 mins for the test). Any idea why EAC (still the latest -- prebeta 3) would report different drive speed capabilities for this, the only CD/DVD drive on this system?

Okay. The Natalie Cole CD just finished. I did not see the same error this time. Looks like the short path solution worked, 'cept for the & issue I reported in the first paragraph.

- Bill
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-09-07 08:20:58
Thanks SS. My first rip after making that change happened to be a different CD named "Lost & Found Sound and Beyond". Instead of naming the MP3 track path

    F:\Audio\CD Rips\MP3\NPR All Things Considered\Lost & Found Sound and Beyond\

it created

    F:\Audio\CD Rips\MP3\NPR All Things Considered\LOST\
Hmm.  That change should not have altered the way that REACT creates destination folders - only the path passed to LAME.  Did you change the line:

Code: [Select]
IF NOT EXIST %dest% MKDIR %dest%

... at all?

Okay. The Natalie Cole CD just finished. I did not see the same error this time. Looks like the short path solution worked, 'cept for the & issue I reported in the first paragraph.
Good news.  I'm a little confused though, as the path you posted above is nowhere near the 250 character limit that robert spoke of.

This whole situation isn't making a lot of sense to me at the moment.

I've got an unrelated issue while I'm thinking about it.
This is well out of the realms of this thread.  Please start a new topic in the CD Hardware/Software forum.  Unfortunately I can't personally help you with this anyway.
Title: REACT 2 Released
Post by: vulc44n on 2007-09-07 23:28:23
I've used REACT2 successfully for some time.  However, I am now having issues on my new system.

I have configured EAC .99 pb3 and REACT2 ssb16b as I normally would, but after hitting F10 I am just given a blank command prompt window. 

Also, when I find the batch file and try to run it, the same thing happens.

Any ideas?
Title: REACT 2 Released
Post by: Bill02888 on 2007-09-09 01:53:18
I un-did the changes to the REACT scripts, deleted both my track and image directories for Natalie Cole, then re-ripped with no error whatsoever. Don't we all hate when that happens!?!

I just noticed that on the link where I downloaded ssb16e there is a separate Zip file with .CFG files. I've been using the "original scripts" dated December 11, 2006. Am I losing some fixes by not using the associated .CFG files?

Thanks,
Bill
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-09-09 07:18:02
Those CFG (plus REACT.ini) files (http://wiki.hydrogenaudio.org/index.php?title=REACT:Mods#Download) are the originals, with a few of my suggested updates included.  Most of these are not necessary, although I can think of one: the ampersand fix.

I have applied a few of the suggested changes, including:There may be one or two others, but I can't remember.  Nothing that should be detrimental... I think.

I'm going to amend the mod wiki page (http://wiki.hydrogenaudio.org/index.php?title=REACT:Mods) to point to b16e now.
Title: REACT 2 Released
Post by: Bill02888 on 2007-09-09 23:05:59
I'm refining my EAC/REACT setup. Just started using AlbumArtDownloaderXUI. Works well. The only issue (and this was the case even when using the previous AlbumArt program) is that I use E: as the directory to which I have EAC ripping its .WAV files. Each time one of the album art programs starts it defaults to using C:\ as the destination drive and directory.

According to the XUI command line reference (http://album-art.sourceforge.net/index.php/Command_Line_Reference) the /path option may be used to specify the path. Would love it if REACT passed the EAC temp drive and path, as well as the file name of course, to XUI.

What do you think?

Bill
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-09-10 09:10:45
If you've set CoverDownloaderXUI=1 then the /path switch is actually used.
Title: REACT 2 Released
Post by: Bill02888 on 2007-09-10 14:03:56
If you've set CoverDownloaderXUI=1 then the /path switch is actually used.


Used or not, perhaps it's only providing the file name? As mentioned, it does not default to saving the image in the same drive and directory as I chose in EAC. It defaults to C:\. I have to append the E:\ in front of the cover image file name each time.

Shouldn't the /path be specified exactly as the "EAC temporary directory"?

Bill
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-09-10 14:20:59
It's actually passing the whole path to the image, e.g.:

Code: [Select]
C:\Documents and Settings\Neil\My Documents\Audio\Proof of Youth.%extension%

Here is the REACT code:

Code: [Select]
If $g_coverDownloaderXUI Then
    $g_coverDownloaderParams = '/artist "' & $gui_artist & '" /album "' & $gui_album & '" /path "' & $gui_albumfile & '.%extension%" /autoclose'
Else
    $g_coverDownloaderParams = '"' & $gui_artist & '" "' & $gui_album & '" "' & $gui_albumfile & '.jpg"'
EndIf

Have you tried running albumart.exe on the command line, passing /path to see if it works then? E.g.:

Code: [Select]
albumart.exe /artist "The Go! Team" /album "Proof Of Youth" /path "E:\Proof Of Youth.%extension%"


Edit: Can I just check:  Have you definately set CoverDownloader to point to the XUI version, and CoverDownloaderXUI=1 in the [Settings] section of your REACT.ini?

Edit 2: Actually, you may want to take a look at posts 612 (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=50273&view=findpost&p=512429) to 616.  This may help you.
Title: REACT 2 Released
Post by: dobo on 2007-09-10 20:02:43

If you've set CoverDownloaderXUI=1 then the /path switch is actually used.


Used or not, perhaps it's only providing the file name? As mentioned, it does not default to saving the image in the same drive and directory as I chose in EAC. It defaults to C:\. I have to append the E:\ in front of the cover image file name each time.

Shouldn't the /path be specified exactly as the "EAC temporary directory"?

Bill


I use E:\music\ for my extraction dir and my albumart xui always puts the art in that directory for me so it is possible. I'm using albumart 0.8.0.0 the latest 16e mod and the latest moded react cfg's
e.g
E:\Music\Back To The Old School.%extension%

react.ini
OutRoot=E:\Music\
RunCoverDownloader=1
CoverDownloaderXUI=1

EAC options -> directories -> use this directory = E:\Music\

think thats all the options i use

All working good here
Title: REACT 2 Released
Post by: Bill02888 on 2007-09-11 02:47:39
If you've set CoverDownloaderXUI=1 then the /path switch is actually used.
Used or not, perhaps it's only providing the file name? As mentioned, it does not default to saving the image in the same drive and directory as I chose in EAC. It defaults to C:\. I have to append the E:\ in front of the cover image file name each time.

Shouldn't the /path be specified exactly as the "EAC temporary directory"?

Bill
I use E:\music\ for my extraction dir and my albumart xui always puts the art in that directory for me so it is possible. I'm using albumart 0.8.0.0 the latest 16e mod and the latest moded react cfg's
e.g
E:\Music\Back To The Old School.%extension%

react.ini
OutRoot=E:\Music\
RunCoverDownloader=1
CoverDownloaderXUI=1

EAC options -> directories -> use this directory = E:\Music\

think thats all the options i use

All working good here
I use E:\ (my scratch drive) as my EAC extraction directory and F:\Audio\CD Rips\ as my REACT OutRoot. In spite of this, Album Art Downloader XUI 0.9.0.0 (perhaps under control of REACT 2 16e) is defaulting to C:\.

Here is a partial list of my REACT.ini settings:
Code: [Select]
[Settings]
ImageExt=wv
ImageNaming=$artist$ - $album$
RunCoverDownloader=1
;CoverDownloader=C:\Program Files\REACT2\coverdownloader\albumart.exe
CoverDownloader=C:\Program Files\AlbumArtDownloader\AlbumArt.exe
CoverDownloaderXUI=1
Test=1

[UserTrackFormats]
LameMP3=1

[UserOutputNames]
OutRoot=f:\Audio\CD Rips
ImageDir_Wavpack=@OutRoot@\WavPack\$cdartist$
TrackDir_MP3=@OutRoot@\MP3\$cdartist$\$album$
TrackName_SA=$track$ $title$
TrackName_VA=$track$ $title$ [$artist$]
TrackName_SA_acdir=$n $~t
TrackName_VA_acdir=$n $~t [$~a]
Title: REACT 2 Released
Post by: Bill02888 on 2007-09-11 03:02:26
It's actually passing the whole path to the image, e.g.:

Code: [Select]
C:\Documents and Settings\Neil\My Documents\Audio\Proof of Youth.%extension%

Here is the REACT code:

Code: [Select]
If $g_coverDownloaderXUI Then
    $g_coverDownloaderParams = '/artist "' & $gui_artist & '" /album "' & $gui_album & '" /path "' & $gui_albumfile & '.%extension%" /autoclose'
Else
    $g_coverDownloaderParams = '"' & $gui_artist & '" "' & $gui_album & '" "' & $gui_albumfile & '.jpg"'
EndIf

Have you tried running albumart.exe on the command line, passing /path to see if it works then? E.g.:

Code: [Select]
albumart.exe /artist "The Go! Team" /album "Proof Of Youth" /path "E:\Proof Of Youth.%extension%"

Edit: Can I just check:  Have you definately set CoverDownloader to point to the XUI version, and CoverDownloaderXUI=1 in the [Settings] section of your REACT.ini?

Edit 2: Actually, you may want to take a look at posts 612 (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=50273&view=findpost&p=512429) to 616.  This may help you.
Ah! Good catch SS! The value for my "Extraction Options\DirectorySpecification" in the registry was C:\, but "StartUp Options\ActualPath" was E:\. The other paths are all empty. I went to EAC, changed EAC Options | Directories from "Ask every time" to "Use this directory", specified e:\ (yes, lowercase) as the directory, clicked okay, got out of EAC, started EAC again, went back and set to "Ask every time" again. I verified that "DirectorySpecification" is now e:\ (yes, lowercase), and now when I use F10 AlbumArt XUI is starting in E:\ just fine and dandy!

Thanks 'yall!
Bill
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-09-11 10:05:08
Ah! Good catch SS! The value for my "Extraction Options\DirectorySpecification" in the registry was C:\, but "StartUp Options\ActualPath" was E:\. The other paths are all empty. I went to EAC, changed EAC Options | Directories from "Ask every time" to "Use this directory", specified e:\ (yes, lowercase) as the directory, clicked okay, got out of EAC, started EAC again, went back and set to "Ask every time" again. I verified that "DirectorySpecification" is now e:\ (yes, lowercase), and now when I use F10 AlbumArt XUI is starting in E:\ just fine and dandy!
Ah, good news.

Maybe I will update Tycho's function that sets up EAC with REACT to update all the keys in the registry to use the folder in DirectorySpecification (which is the folder set using the "Use this directory" textbox (easily accessible to the user)).  This means that users could just hit Ctrl+F2 to synch the folders.
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-09-11 11:40:28
In fact, I just have.

2.0.ssb16f (http://wiki.hydrogenaudio.org/index.php?title=REACT:Mods#Download) will set the value of ActualPath from that value of DirectorySpecification when you (re)configure REACT (using Ctrl+F2).

Therefore, if people have this problem in the future the solution will be:Bill02888, I know your problem was the reverse of this, but I think using the method above is the most user-friendly way for a user to ensure that the folders are in synch.

I get a little confused about this situation.In essence, it is a lot easier if you have "Use this directory" checked. You run the risk of confusing REACT if you do not.

I'm not sure why users would want to use "Ask every time", but REACT does not currently force "Use this directory" when configuring EAC.
Title: REACT 2 Released
Post by: bilbo on 2007-09-11 15:18:51
I would like to try React but don't want to mess up my EAC settings. When React reconfigures EAC, Can these changes be undone by simply loading a previous profile? If there are additional changes, what are they?
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-09-11 15:27:00
If you save your current settings to a profile then you can always just load that profile back in.

I would save the current settings and then create a new REACT profile before letting REACT configure EAC.

REACT obviously sets the External compressor settings itself, but also sets a few other minor settings, as well as the file naming schemes.  On the whole nothing major - it certainly won't mess with your drive setup or anything similar.  The relevant code is below - you will be able to make as much sense of the keys as I can.

Code: [Select]
$p = "HKEY_CURRENT_USER\Software\AWSoftware\EAC\Compression Options"
RegWrite($p, "UseExternalEncoder", "REG_BINARY", "FF")
RegWrite($p, "ExternalEncoderType", "REG_BINARY", "14000000")
RegWrite($p, "ExternalEncoderProgram", "REG_SZ", @ScriptFullPath)
RegWrite($p, "ExternalEncoderOptions", "REG_SZ", 'REACT %o %s %d "%a" "%g" "%t" "%n" "%x" "%y" "%m" "%e" "%f" "%b" %r')
RegWrite($p, "ExternalEncoderExtension", "REG_SZ", "eac")
RegWrite($p, "ExternalEncoderCreateCRC", "REG_BINARY", "00")
RegWrite($p, "ExternalEncoderID3Tag", "REG_BINARY", "00")
RegWrite($p, "ExternalEncoderCheckReturnCode", "REG_BINARY", "00")
RegWrite($p, "ExternalEncoderDeleteSource", "REG_BINARY", "00")

$p = "HKEY_CURRENT_USER\Software\AWSoftware\EAC\Extraction Options"
RegWrite($p, "BackgroundExternalCompression", "REG_BINARY", "FF")
RegWrite($p, "NoCompressionWindow", "REG_BINARY", "00")
RegWrite($p, "BeepWhenDone", "REG_BINARY", "00")
RegWrite($p, "AutoSaveStatus", "REG_BINARY", "FF")

$v = RegRead($p, "FileNamingConvention")
If $v = "" Or $v = "%T" Then
    RegWrite($p, "UseVariousFileNamingConvention", "REG_BINARY", "FF")
    RegWrite($p, "OpenCDInfoDialog", "REG_BINARY", "FF")
    RegWrite($p, "RetrieveCDDBOnUnknownCD", "REG_BINARY", "FF")
EndIf

RegWrite($p, "FileNamingConvention", "REG_SZ", "%D - %C - %N - %T")
RegWrite($p, "VariousFileNamingConvention", "REG_SZ", "%D - %C - %N - %T (%A)")
Title: REACT 2 Released
Post by: Bill02888 on 2007-09-11 19:12:37
I'm not sure why users would want to use "Ask every time", but REACT does not currently force "Use this directory" when configuring EAC.
I actually do always use the same directory. Maybe the default setting is to prompt each time? Regardless, I'll switch to using "Use this directory" from now on so that things will be absolutely fabulous!
Title: REACT 2 Released
Post by: dpr on 2007-09-13 18:12:42
Here's a question that I asked elsewhere on the forum and got pointed to REACT2:

I'm planning to use EAC to rip my cd collection - about 500 cds. I want to produce two things

1. An ISO image of the CD with a CUE file for it. (I'm paranoid, and with an ISO image I can easuly reburn a cd if I need)

2. mp3s of each track, maybe I'll save the wav files too.


So my question is how can I avoid using EAC to *read* the disc twice. It seems like I should be able to use EAC to produce #1 and then somehow pull the tracks out of it? One way would be to 'burn' the image to a virtiual drive and then use EAC a second time to create the wave files for each track, which are then sent to an encoder.


So, I've played around with REACT and EAC. I don't see how to do this. It seems like EAC will ether exact tracks or an image, both not both. To make EAC run REACT as an external compressor, I need to specify compressed in the action.

Any ideas?

Thanks
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-09-13 19:09:51
To get an image and tracks you use REACT in image mode.  It will use a command line app called ACDIR to (in simple terms) chop the ripped WAVE up and convert to another format - e.g.: MP3 tracks.

I would recommend using a lossless image with cuesheet, rather than an ISO.  The lossless file has many benefits, including a much smaller file size and error tolerance.

Have you read the REACT wiki page (http://wiki.hydrogenaudio.org/index.php?title=REACT)?
Title: REACT 2 Released
Post by: dpr on 2007-09-13 21:36:37
To get an image and tracks you use REACT in image mode.  It will use a command line app called ACDIR to (in simple terms) chop the ripped WAVE up and convert to another format - e.g.: MP3 tracks.

I would recommend using a lossless image with cuesheet, rather than an ISO.  The lossless file has many benefits, including a much smaller file size and error tolerance.

Have you read the REACT wiki page (http://wiki.hydrogenaudio.org/index.php?title=REACT)?


Thanks for the clue on using image mode. The answer to my question was not there. The solution is to set ImageExt=...  in the REACT.ini file. This is documented in the REACT-image.cfg file, but not in the wiki page...

I am now working on some problems with albumart - the amazon.com and amazon.de scripts return invalid URI for the artwork... (The Beatles, Abbey Rd)

Thanks again. Neat software
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-09-13 22:01:04
I didn't yet know that you had decided to use lossless...

The wiki has this to say:

Quote
Copy Image mode only (F10). The format extension for the compressed image file + cuefile. E.g. flac, wv, or mp3. Set to wav when no compressed image is desired.
Title: REACT 2 Released
Post by: dobo on 2007-09-13 22:16:43
Quote
I am now working on some problems with albumart - the amazon.com and amazon.de scripts return invalid URI for the artwork... (The Beatles, Abbey Rd)



Are you using the latest AlbumArtDownloader? V0.9.1

AlbumArtDownloader (http://sourceforge.net/project/platformdownload.php?group_id=187008)
Title: REACT 2 Released
Post by: dpr on 2007-09-13 23:51:09
Quote
I am now working on some problems with albumart - the amazon.com and amazon.de scripts return invalid URI for the artwork... (The Beatles, Abbey Rd)



Are you using the latest AlbumArtDownloader? V0.9.1

AlbumArtDownloader (http://sourceforge.net/project/platformdownload.php?group_id=187008)


oops. I was using an older one bundled in with REACT2. Thanks.
Title: REACT 2 Released
Post by: gsa999 on 2007-09-14 10:27:40
Hi
I have a lot of WAV images with cue sheets which I now want to use with REACT to convert them to FLAC images, seperate FLAC files and seperate MP3 files. I load the wav image into daemon tools. I have my REACT cfg and ini files setup correctly. My wav images are stored in seperate folders for each artist together with the cue sheets. Both cue and wav files are named by artist, year and album title.

My question whether I can automate this whole process, using something like catwalk - ie trawl through all the folders, auto load each wav image into daemon tools, load react, press F10 to create image and seperate files, unmount from daemon tools and go to the next wav image in the folder. When finished move to the next folder and carry on. I will delete the wav images when complete since I will have smaller flac images now

I guess this all depends on whether react can be called from the command line. I think daemon tools can.

Rgds
G
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-09-14 11:08:26
Is your sole purpose to create FLAC images and MP3 tracks?

If so, I wouldn't bother using EAC, and probably not REACT.

Why not load all cuesheets into foobar and then use Converter? On the command line, you could use a simple batch file to call ACDIR to do the dirty work.  If you have foobar that's probably the easiest way though.

FWIW, I have never tried using the "external compressor" side of REACT via the command line, but I'm sure it is possible - you just have to pass the parameters as EAC would  - I can't see why it wouldn't work.
Title: REACT 2 Released
Post by: gsa999 on 2007-09-14 16:44:32
Is your sole purpose to create FLAC images and MP3 tracks?


And also flac tracks. I want to use REACT because I can automatically add the albumart (which I also have stored in same folder - in an earlier post you explained how I can use this rather than the AlbumArt downloader app), eac log and also do the replaygain bit all in one go. I don't expect foobar would let me do this.

Sounds like I might just have to do it all manually 
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-09-14 17:33:02
I vaguely remember that conversation...  Did you change your config so that it checks a local path instead?

Anyways,  I've been looking at running REACT from the command line but I have come across the first problem for you: How will you pass the meta data to REACT?

The command line to call would be as so:

Code: [Select]
REACT.EXE REACT "<filename>" "<path>\<filename>" "<path>\<filename>" "<artist>" "<album>" "<title>" "<tracknumber>" "<total tracks>" "<year>" "<genre>" "<comment>" "<freedbid>" "<crc>" "<bitrate>"

You will need to pass all parameters, even if they are "".  E.g.:

Code: [Select]
REACT.EXE REACT "My Artist - My Album.wav" "X:\WAVES\My Artist - My Album.wav" "X:\WAVES\My Artist - My Album.wav" "My Artist" "My Album" XXX 2 2 2007 "Rock" "My Comment" XXX XXX XXX

For you to pass the info you are either going to have to do something quite clever (using SED to get the values from the cuesheet or something) or write each line manually.

It is possible that you could still use a batch file with ACDIR and Album Art XUI (which will search locally also) to do what you want.

Needs more thought.
Title: REACT 2 Released
Post by: Martin H on 2007-09-15 12:34:57
@Neil

I would be happy if you would please answer a question for me... If i write an audio CD with EAC, and if the cuesheet that the burn was based from, was loaded from %temp%, then afterwards when ripping CDs with REACT, then the temporary wav image, cuesheet and log file is saved into %temp%, instead of the path i have defined as the default ripping directory in EAC.

Now, i can live with this, as i just run a regfile of the EAC reg entries from where it previously worked i.e. before writing with EAC from another path than the defaultly selected in EAC, but i was wondering if your ssb16f build would fix that also, if pressing CTRL+F2, or if it was only a fix that would effect people using albumart[XUI].exe(which i don't) ? I can't test it myself, as i have run out of empty discs unfortunetly, so if you could please tell me that, then i would really appreciate it.

Also, no matter if ssb16f fixes my issue or not, then would you recommend that i press CTRL+F2 to make the reg entries better "in-sync" with the folders, or should i only do it if using albumart[xui].exe ?

Thank's in advance.
Title: REACT 2 Released
Post by: Stone Free on 2007-09-15 13:43:36
To run AlbumArt XUI as well as setting the flag, I assume you have to change CoverDownloader to point from
   .\REACT2\coverdownloader\albumart.exe
to where ever you have put AlbumArt XUI, or can you have two paths swappable by activating CoverDownloaderXUI?

Also can someone tell me what size album art should be used for 5.5 iPods?
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-09-15 18:58:12
@ Martin

Hi Martin.  I suspect that my new addition to Ctrl+F2 would resolve this issue.  I sounds very similar to the other issues experienced.

If it doesn't (I would be quite surprised) perhaps you could check the registry for the paths and I could add the key that is not playing ball.

Edit: To confirm, the folder sync code I added to the Ctrl+F2 function is nothing to do with AlbumArt XUI - it is purely as case of synchronising the the 'last used' folder (ActualPath) (presumably your temp directory) to the folder specified in the options (DirectorySpecification).

@ Stone Free

Yes, you do need to change CoverDownloader to point to the XUI executable.  You don't need to add CoverDownloaderXUI=1 - but it will mean that REACT will then pick up BMP, GIF, PNG and JPEG covers (although I suspect we should all be sticking purely with JPEG anyway).
Title: REACT 2 Released
Post by: Martin H on 2007-09-15 21:51:54
[...] it is purely as case of synchronising the the 'last used' folder (ActualPath) (presumably your temp directory) to the folder specified in the options (DirectorySpecification).

Hi Neil  Thank you very much for explaining this to me, mate  I have just checked, and your mod fixes my issue perfectly, so i can from now on fix this issue by simply pressing CTRL+F2 after having written an audio CD, instead of having to run a regfile to fix it, so that's really a great addition you have added to REACT there IMHO  Btw, sorry for being so slow to understand this, and you where of course exactly right in that the 'StartUp Options\ActualPath' reg entrie was set to the %temp% folder in my case, before i pressed CTRL+F2.

Again, many thank's Neil for your kind help and efforts

CU, Martin.
Title: REACT 2 Released
Post by: gsa999 on 2007-09-17 08:18:23
Did you change your config so that it checks a local path instead?

Hi
Yes I changed it to a local path and that works fine. Basically many of the images I already have are much cleaner than those that would be found automatically with the coverart downloader app.

I think catwalk might be able to do something since it is can pull out the metadata from the cue sheet. It was the react command line that I had no clues on.

I will see if I can get anywhere with this over the next week or so; I'm a bit busy at work at the moment so it will have to be tackled in bits.

Thx
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-09-17 10:07:45
Ah, that's cool.  Good luck.

I didn't realise that Catwalk could do that.  I actually considered whether any of Tangerine's apps could be useful here, but his homepage is down.  I do have a copy of all his apps soemwhere, but they weren't, and currently aren't, at hand.

I was considering writing a batch file that would be passed the cuesheet, use SED to get the relevant meta data, and then call REACT with the correct command line.

I have also considered doing some testing with AutoIt, and then adding the functionality to REACT - so that if a cuesheet is passed as the only parameter it would extract the relevant meta data itself and call another REACT instance with the correct command line.  You could then just call:

Code: [Select]
REACT.EXE "C:\Path\To\My\cuesheet.cue"

... and it would run your CFG.
Title: REACT 2 Released
Post by: TheChipstar on 2007-09-17 11:18:28
Hey,

Is there any way of having REACT embed the cover art from a specific folder?
ie: My MP3 tracks are getting ripped via LAME to:
"C:\My Music\Mp3s\$Artist$\$Album$\"
but if there exists a .jpg named "folder.jpg" it by-passes the 'coverdownloader' and embeds this into the Mp3 files getting encoded, but if there doesn't exist a "folder.jpg" then it runs 'coverdownloader'?

Help much appreciated.
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-09-17 11:31:04
Unfortunately the cover downloader runs before the encoding process starts, so you can't do this in the CFG - although you could change the CFG to prefer the local copy to anything you choose to download.

I believe that Album Art XUI will let you specify a local folder as a source, so it's possible that you could use this method.

I guess it would be possible to add a new variable to the INI that REACT would check before running  the cover downloader.  This variable would state the path to check for existing files, e.g.:

CoverDownloaderLocalPath=C:\My Music\Mp3s\$artist$\$album$\folder.jpg

One issue: at this point REACT only has access to the basic information, like artist and album, so the path could only use $artist$ and $album$ as tokens.

I assume such a change would have been helpful to gsa999 as well.
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-09-17 13:42:36
I have also considered doing some testing with AutoIt, and then adding the functionality to REACT - so that if a cuesheet is passed as the only parameter it would extract the relevant meta data itself and call another REACT instance with the correct command line.  You could then just call:

Code: [Select]
REACT.EXE "C:\Path\To\My\cuesheet.cue"

... and it would run your CFG.
 
I guess it would be possible to add a new variable to the INI that REACT would check before running  the cover downloader.  This variable would state the path to check for existing files, e.g.:

CoverDownloaderLocalPath=C:\My Music\Mp3s\$artist$\$album$\folder.jpg

One issue: at this point REACT only has access to the basic information, like artist and album, so the path could only use $artist$ and $album$ as tokens.
Well, you can tell that I'm bored.  Both additions have been implemented in 2.0.ssb16h (http://wiki.hydrogenaudio.org/index.php?title=REACT:Mods#Download).

I was most interested to play with starting REACT "manually", as I see this as being quite useful to many people - including myself.  I am less interested in the local artwork addition, but it seems that it may actually be useful to a few others.

If you call REACT, just passing the full path to a cuesheet as a parameter, REACT will parse the cuesheet to detirmine the name of the WAVE, and any relevant meta data, and run a separate instance of REACT just as EAC would do.  NB: The drag and drop nature of Windows also means that you could drag a cuesheet onto the REACT executable to start the process.

If you set CoverDownloaderLocalPath in the [Settings] section of your INI, and you set RunCoverDownloader=1, REACT will check the path specified before running AlbumArt.exe.  If a file exists it will copy that to the working directory and continue, rather than running AlbumArt.exe to create the file.  As mentioned above, you can use $album$ and $artist$ tokens in the path.
Title: REACT 2 Released
Post by: TheChipstar on 2007-09-18 11:57:56
Am I do something wrong???

I did as you said add the new line into the ini file.
It looks like this...:
Code: [Select]
[Settings]
Version=2.0.ssb16h
ImageExt=wav
ImageNaming=$artist$ - [$year$] $album$
ImageHotKey={F10}
TracksHotKey={F4}
TracksHotVal=+{F5}
VA=Various Artists
CreateAllCuesheets=0
RunCoverDownloader=1
CoverDownloaderLocalPath=E:\Documents and Settings\Chase\My Documents\My Music\MP3s\MP3s ~VBR 0\$artist$\$album$\folder.jpg
CoverDownloader=D:\Program Files\REACT2\coverdownloader\albumart.exe
EAC=D:\Program Files\Exact Audio Copy\EAC.exe
Tools=D:\Program Files\REACT2\tools
MinimizeCompressionWindow=1
ProcessPriority=1
Sla_Bks_Col_Qst_Bar_Quo_Ast_Lt_Gt=-|-|-||!|'|#|[|]
Test=0
[UserTrackFormats]
LameMP3=1
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-09-18 12:01:45
If you use b16h that should do it.

Why, what is happening?

AFAIK if "E:\Documents and Settings\Chase\My Documents\My Music\MP3s\MP3s ~VBR 0\$artist$\$album$\folder.jpg" exists it should be copied to the working directory and the cover downloader will not open.
Title: REACT 2 Released
Post by: TheChipstar on 2007-09-18 22:33:58
It does exit... trust me on that one.
The MP3 tracks end up in the folder where the coverart (folder.jpg) is sitting, but none of the are embeded with the image.
The coverdownloader does not open either...

No big deal though. Would have been nice, but ohwell.

I also notice that the coverdownloader does not come up anymore either, even when the directory is correct (eg: CoverDownloader=D:\Program Files\REACT2\coverdownloader\albumart.exe) and the coverdownloader is set to run (eg: RunCoverDownloader=1). You would have seen these in my last posts.

Originally when I first installed REACT2 the coverdownloader was working fine. Sorry to say, but I haven't used REACT2 in a while, and so I reinstalled everything and set up my .ini file and .cgc file again, but can't seem to get the coverdownloader to run automatically after the burning process starts in EAC (through REACT).
It wasn't running before I used this newer version of REACT2 (REACT_2.0.ssb16h) so I'm not saying it's that. I reinstalled my original version of REACT2 a couple of weeks ago and since then it hasn't run (the exact same version as I originally installed). I'm just wondering how to activate it. I've tried using the original coverdownloader as well as the newer version, but I can't seem to get it to prompt me after telling it to burn tracks in EAC.
That's why I thought of having it so REACT2 would embed the image (folder.jpg) if it was found it the same directory (or any) as the tracks being burnt.

Help would be much appreciated. I've probably overlooked something small.
Title: REACT 2 Released
Post by: Bill02888 on 2007-09-18 23:10:07
There's a CoverArtXUI=1 flag that must be set for it to pass the correct values to the XUI program. (That might not be the exact name. Look for it in your .INI file. In the first section I believe.)
Title: REACT 2 Released
Post by: deltadave on 2007-09-19 05:37:12
Hi SS, just wanted to say thanks again for the REACT mod.  I've finally finished ripping all 328 cd's from my collection and owe it all to you.  Easy as pie...

BTW - the latest ssb16h reports it's version number as 16f in the top bar of eac.  Is this a value set in the ini file, or do you need to update the code?
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-09-19 09:28:25
Hi SS, just wanted to say thanks again for the REACT mod. I've finally finished ripping all 328 cd's from my collection and owe it all to you. Easy as pie...
Well, I think Tycho and yourself deserve most credit, but I'll accept a little thanks. 

BTW - the latest ssb16h reports it's version number as 16f in the top bar of eac. Is this a value set in the ini file, or do you need to update the code?
I wonder whether you have a proxy caching issue.  Mine definately says 'h'; I have just downloaded the zip, replaced my EXE, and that also says 'h'.  You may still be running 'f'.  The EXE should be dated 2007-09-17 12:19.

It does exit... trust me on that one.
The MP3 tracks end up in the folder where the coverart (folder.jpg) is sitting, but none of the are embeded with the image.
The coverdownloader does not open either...

No big deal though. Would have been nice, but ohwell.

I also notice that the coverdownloader does not come up anymore either, even when the directory is correct (eg: CoverDownloader=D:\Program Files\REACT2\coverdownloader\albumart.exe) and the coverdownloader is set to run (eg: RunCoverDownloader=1). You would have seen these in my last posts.

Originally when I first installed REACT2 the coverdownloader was working fine. Sorry to say, but I haven't used REACT2 in a while, and so I reinstalled everything and set up my .ini file and .cgc file again, but can't seem to get the coverdownloader to run automatically after the burning process starts in EAC (through REACT).
It wasn't running before I used this newer version of REACT2 (REACT_2.0.ssb16h) so I'm not saying it's that. I reinstalled my original version of REACT2 a couple of weeks ago and since then it hasn't run (the exact same version as I originally installed). I'm just wondering how to activate it. I've tried using the original coverdownloader as well as the newer version, but I can't seem to get it to prompt me after telling it to burn tracks in EAC.
That's why I thought of having it so REACT2 would embed the image (folder.jpg) if it was found it the same directory (or any) as the tracks being burnt.

Help would be much appreciated. I've probably overlooked something small.
Hmm... if it wasn't working for earlier versions then we can't test b16h.

As far as I understand it, you just need to set RunCoverDownloader=1 and CoverDownloader=C:\Path\To\AlbumArt.exe in the [Settings] section of your INI for the cover downloader to open.

Is it possible that you don't have the .NET framework installed?  Try running AlbumArt.exe by double-clicking on it, and see if it runs.

NB: Although you don't appear to be getting that far, to actually embed the artwork, you need to set EmbedCover=1 in the [UserSettings] section of your INI.

Edit: Actually, you could try putting b16h back on, and setting DebugMode=1 in the [UserSettings] section of your REACT.ini.  After amending your INI, open REACT, and rip a disc which you know has existing artwork.  Check the "debugging.txt" file in your REACT directory and post it here.  It won't help the fact that AlbumArt.exe is not running (as it seems that this is not a b16h issue) but it will tell us whether b16h can find your artwork, and maybe something else.

Oh, and to be pedantic: I assume that you are talking about "ripping" - not "burning" ("ripping" is extracting from a CD, and "burning" is writing to a CD).  I'm sure you know this, but I just want to be clear on what we are discussing.


As reference, here's an explanation of all relevant cover downloader INI variables (since b16h):

[Settings] RunCoverDownloader
Set to 1 to run AlbumArt.exe.

[Settings] CoverDownloader
The full path to AlbumArt.exe - whether it be the original or XUI.

[Settings] CoverDownloaderXUI

Set to 1 to tell REACT that you are using Album Art XUI.  REACT will then be able to deal with BMP, GIF, PNG and JPEG artwork (although you may need to amend your CFG to process non-JPEG files - depending on whether you are embedding).  I would stick with JPEGS where possible.  You do not need to set this to 1 if you are using XUI - If left out, or set to 0, REACT will still run XUI - it just won't be able to deal with non-JPEG files.

[Settings] CoverDownloaderLocalPath
If RunCoverDownloader is set, and you set this to the path of your existing artwork, REACT will check for the existence of a file before opening AlbumArt.exe.  If a file exists it will copy that file to the working directory, renaming it "<album>.jpg" (as REACT expects artwork to be called) and AlbumArt.exe will not be opened.  If the path is not set, or a file does not exist, AlbumArt.exe will open as normal.  You can use $artist$ and $album$ tokens in the path.

[UserSettings] EmbedCover

Set to 1 to embed the artwork in your files.
Title: REACT 2 Released
Post by: TheChipstar on 2007-09-19 10:46:10
Thanks. And yes, ripping, not burning, my bad.

About the coverdownloader...
Firstly, I have the path for the coverdownloader set correctly,. I'm running 'coverdownloader_4_0b_1' now. I tried the original which didn't work (although it did originally [don't know what's changed]) and so I tried the newest version which doesn't work either.
The albumart program does run when opened, as I have used this to find some of my album art manually before.
I do have the .net framework installed (only 2 not 3, 3 doesn't want to install [dumb Microsoft] and so I can't check if AlbumArt XUI works unfortunately).
Hence the CoverDownloaderXUI is set to =0 because I am not running this.
Embed cover is set to =1 and always have been.

I just figured it out sorry for my uselessness! I'm used to pressing the MP3 button on the side panel of EAC instead of F4... my bad.
This is the reason the coverdownloader wouldn't run. Stupid mistake. I've done heaps of rips using EAC without REACT that's why.

So now, when I have the RunCoverDownloader set to =1 the coverdownloader runs, even when the folder.jpg is present in the correct path. If I rip with RunCoverDownloader set to =0 then it rips an MP3 file without the folder.jpg embeded even when the ripped MP3 track ends up sitting right next to the folder.jpg and the are both using the same path. And yes, Embed cover is still set to =1. This happens when pressing f4 within EAC via REACT.

Cheers, hope you can make some sense out of that.
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-09-19 11:06:00
Ah, at least we are getting somewhere.

Can you provide debugging.txt, and also the full path to the artwork image that should be found please.
Title: REACT 2 Released
Post by: TheChipstar on 2007-09-19 12:10:19
I changed the variable of the debug to =1 and eveytime it ripped a track it would ask me to 'press any key to continue'. I couldn't find a deugging.txt anywhere though. Checked where MP3 tracks dir and REACT2 dir and C:\ but couldn't find one. I did however find the batch file resulting from the debug.
Can I post this to you some how?
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-09-19 13:14:15
Add DebugMode=1.

You can post the contents of the batch file here using [CODEBOX][/CODEBOX] tags.
Title: REACT 2 Released
Post by: TheChipstar on 2007-09-20 11:32:08
This is form the debugging.txt file.
The same code is found for each track ripped...
The batch file gives a better rendition of the rip though (found below).
Debugging.txt:
Code: [Select]
2007-09-20 21:40:34  Version: 2.0.ssb16h
2007-09-20 21:40:34  INI version: 2.0.ssb16
2007-09-20 21:40:34  VariousFileNamingConvention: %D - %C - %N - %T (%A)
2007-09-20 21:41:26  Command line: REACT "Pink Floyd - Pulse - 01 - Shine On You Crazy Diamond.wav" "C:\Ptmp1!542.wav" "C:\Ptmp1!542.eac" "Pink Floyd" "Pulse" "Shine On You Crazy Diamond" "01" "11" "1995" "Progressive Rock" "Track 1" "A9122F0B" "24A435F2" 128
2007-09-20 21:41:26  Source directory: C:
2007-09-20 21:41:26  Base name: Pink Floyd - Pulse - 01 - Shine On You Crazy Diamond
2007-09-20 21:41:26  Artist: Pink Floyd
2007-09-20 21:41:26  Album: Pulse
2007-09-20 21:41:26  Title: Shine On You Crazy Diamond
2007-09-20 21:41:26  Track: 1
2007-09-20 21:41:26  Total tracks: 11
2007-09-20 21:41:26  Year: 1995
2007-09-20 21:41:26  Genre: Progressive Rock
2007-09-20 21:41:26  Comment: Track 1
2007-09-20 21:41:26  FreeDB ID: A9122F0B
2007-09-20 21:41:26  CRC: 24A435F2
2007-09-20 21:41:26  Bitrate: 128
2007-09-20 21:41:26  Various artist: No
2007-09-20 21:41:26  Rip mode: Tracks
2007-09-20 21:41:26  Log: C:\Pink Floyd - Pulse.log
2007-09-20 21:41:26  Album file: C:\Pulse
2007-09-20 21:41:26  Log file: C:\Pink Floyd - Pulse
2007-09-20 21:41:26  Cover file: C:\Pulse.jpg
Batch file:
Code: [Select]
@ECHO OFF
CHCP 1252 | PROMPT
TITLE 11/11 - "Pulse"

REM Copyright © Tycho, 2006
REM
REM ** Create compressed audio tracks from ripped .wav tracks.
REM **
REM ** You may consider using image mode (F10)
REM ** as it supports creating tracks via acdir.exe,
REM ** and post-processing will always work (see below).
REM **
REM ** Flac requires flac.exe/metaflac.exe (v1.1.3)
REM ** NeroAac requires NeroAacEnc.exe/NeroAacTag.exe/AacGain.exe.
REM ** OggEnc2 requires OggEnc2.exe/VorbisGain.exe.
REM **
REM ** I prefer applying album gain 92dB to get a reasonable
REM ** volume for my DAP. The RG tags are still relative
REM ** to 89dB SPL, i.e. album gain will be about -3.0dB.


REM ============== Begin Main Script ==================


IF 1==1 ECHO ON

REM ** Create Disc-related tags if we have a set

REM If a disc name has been provided
IF "" EQU "" GOTO end_discname
SET discName=discname
SET discName=@%discname%@
IF "" EQU "%discName%" GOTO end_discname

REM Set tagging switches
SET Disc_Flac=-T "discname="
SET Disc_Wavpack=-w "discname="
REM SET Disc_MP3=--frame TSST:""
SET Disc_MP3=--frame "TXXX[setsubtitle]:"
SET Disc_OggEnc2=-c "discname="
SET Disc_Tak=-t "discname="

REM Add disc name to folder path
SET trackDir=%trackDir%\

GOTO :end_discnumber

:end_discname

REM Ensure that we have numeric values
SET /A discNumber = 1 + 0
SET /A totalDiscs = 1 + 0

REM IF a valid disc number and total number of discs has been provided
IF %totalDiscs% LEQ 1 GOTO :end_discnumber
IF %discNumber% LEQ 0 GOTO :end_discnumber

REM Set tagging switches
SET Disc_Flac=-T "discnumber=1" -T "totaldiscs=1"
SET Disc_Wavpack=-w "discnumber=1" -w "totaldiscs=1"
SET Disc_MP3=--frame TPOS:"1/1"
SET Disc_NeroAac=--disk "1/1"
SET Disc_OggEnc2=-c "discnumber=1" -c "totaldiscs=1"
SET Disc_Tak=-t "discnumber=1" -t "totaldiscs=1"

REM Add disc number to folder path
SET trackDir=%trackDir%\Disc 1

:end_discnumber


SET TrackDir_Flac="@TrackDir_Flac@%trackDir%"
SET TrackDir_Wavpack="@TrackDir_Wavpack@%trackDir%"
SET TrackDir_MP3="E:\Documents and Settings\Chase\My Documents\My Music\MP3s\MP3s ~VBR 0\Pink Floyd\Pulse%trackDir%"
SET TrackDir_AAC="@TrackDir_AAC@%trackDir%"
SET TrackDir_OGG="@TrackDir_OGG@%trackDir%"
SET TrackDir_Tak="@TrackDir_Tak@%trackDir%"


SET TrackName=11 - Breathe In The Air

SET have_cover=0
SET embed_cover=0

IF EXIST "C:\Pulse.jpg" (
SET have_cover=1
SET embed_cover=1
)




REM ---- Track ----


IF NOT 1==1 GOTO end_lame_tracks
IF NOT EXIST %TrackDir_MP3% MKDIR %TrackDir_MP3%
PUSHD %TrackDir_MP3%
IF 0==1 SET VA_tag=--user-text "[album artist]Various Artists" --frame "TPE2:Various Artists"
IF %embed_cover%==1 SET Cover_tag=--pict "{3}C:\Pulse.jpg"
ECHO ON
D:\PROGRA~1\REACT2\tools\lame.exe -V0 --vbr-new --noreplaygain --nohist "C:\Ptmp!4!2).wav" "%TrackName%.mp3"
D:\PROGRA~1\REACT2\tools\metamp3.exe %Cover_tag% %VA_tag% %Disc_MP3% --artist "Pink Floyd" --album "Pulse" --track 11/11 --title "Breathe In The Air" --year "1995" --genre "Progressive Rock" --comment "Created with EAC/REACT2, 2007-09-20" --frame TENC:"%USERNAME%" --frame TSSE:"LAME 3.97 -V0 --vbr-new --noreplaygain --nohist" "%TrackName%.mp3"
@ECHO OFF
IF %have_cover%==1 IF NOT EXIST folder.jpg COPY "C:\Pulse.jpg" folder.jpg
POPD
:end_lame_tracks



REM ** Delete the source .wav
DEL "C:\Ptmp!4!2).wav"


REM ---- Post-processing ----


rem ** Scan and compute ReplayGain and add cover picture for supported formats.
rem ** NB: The following will only work if at least the last track is selected,
rem ** and it is a regular audio track.

IF NOT 11==11 GOTO end_post_process

SET add_rg=0
SET aac_enc=@NeroAac@
IF @iTunesAac@==1 SET aac_enc=1

IF NOT 0==1 GOTO end_RG
SET RG_MetaFlac=--add-replay-gain
SET RG_MetaMP3=--replay-gain
:end_RG

IF NOT 1==1 GOTO end_apply_AG
SET RG_MetaMP3=--apply-gain album+1.0
SET RG_AacGain=/a /o /c /d +1.0
SET add_rg=1
:end_apply_AG


REM ** Audio Formats:


IF 1==1 (
PUSHD %TrackDir_MP3%
IF %add_rg%==1 D:\PROGRA~1\REACT2\tools\metamp3.exe %RG_MetaMP3% *.mp3
REM COPY /Y "C:\Pink Floyd - Pulse.log" "EAClog.txt"
POPD
)


REM ** Cleanup

DEL "C:\Pink Floyd - Pulse.log"
DEL "C:\Pulse.[*].cue"
DEL "C:\Pulse.jpg"

:end_post_process


REM ================ End Main Script ===================


IF 1==1 (
PAUSE
EXIT
)

REM ** Delete this .bat file:
DEL %0
[!--sizeo:1--][span style=\"font-size:8pt;line-height:100%\"][!--/sizeo--]Moderation: CODE to CODEBOX[/size]

Oops, my bad on the "code" instead of "codebox"...

At the end of the batch file it says:
Could Not FindC:\Pulse.jpg
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-09-20 11:33:25
OK, well it looks like REACT doesn't think that CoverDownloaderLocalPath has been set.

Presumably you have restarted REACT since setting the value?

Confused...
Title: REACT 2 Released
Post by: TheChipstar on 2007-09-20 11:35:29
Yup, that was a clean REACT. Boot a new window of REACT up every time I make a change to the .ini file.
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-09-20 11:45:59
I just tried your CoverDownloaderLocalPath setting:

Code: [Select]
CoverDownloaderLocalPath=E:\Documents and Settings\Chase\My Documents\My Music\MP3s\MP3s ~VBR 0\$artist$\$album$\folder.jpg

And got this in debugging.txt (process started for both image and track ripping but not allowed to complete):

Code: [Select]
2007-09-20 11:39:04  Version: 2.0.ssb16h
2007-09-20 11:39:04  INI version: 2.0.ss
2007-09-20 11:39:04  VariousFileNamingConvention: %D - %C - %N - %T (%A)
2007-09-20 11:39:10  CoverDownloaderLocalPath: E:\Documents an
d Settings\Chase\My Documents\My Music\MP3s\MP3s ~VBR 0\$artist$\$album$\folder.jpg
2007-09-20 11:39:10  Local cover art file does not exist
2007-09-20 11:39:10  CoverDownloader command: "C:\Program Files\AlbumArtDownloaderXUI\AlbumArt.exe" /artist "The Go! Team" /album "Grip Like A Vice" /path "C:\Documents and Settings\Neil\My Documents\Audio\Grip Like A Vice.%extension%" /autoclose  /localImagesPath "E:\Documents and Settings\Chase\My Documents\My Music\MP3s\MP3s ~VBR 0\%artist%\%album%\folder.jpg"
2007-09-20 11:39:10  Copy Image Beginning...

2007-09-20 11:39:11  - END -

2007-09-20 11:39:33  CoverDownloaderLocalPath: E:\Documents and Settings\Chase\My Documents\My Music\MP3s\MP3s ~VBR 0\$artist$\$album$\folder.jpg
2007-09-20 11:39:33  Local cover art file does not exist
2007-09-20 11:39:33  CoverDownloader command: "C:\Program Files\AlbumArtDownloaderXUI\AlbumArt.exe" /artist "The Go! Team" /album "Grip Like A Vice" /path "C:\Documents and Settings\Neil\My Documents\Audio\Grip Like A Vice.%extension%" /autoclose  /localImagesPath "E:\Documents and Settings\Chase\My Documents\My Music\MP3s\MP3s ~VBR 0\%artist%\%album%\folder.jpg"
2007-09-20 11:39:38  Copy Tracks Beginning...

2007-09-20 11:39:38  - END -

Still confused...

Edit: Hang on a minute.  Note that both my tests end with "Copy Image/Tracks Beginning..." - while yours doesn't.  Did you hit F4?


At the end of the batch file it says:
Could Not FindC:\Pulse.jpg
That's not really an issue for now - all that means is that you didn't save from the cover downloader (and the local file was not moved - which we know).

Once the local file is correctly found, or you chose to download an image, that should not happen.
Title: REACT 2 Released
Post by: TheChipstar on 2007-09-20 11:46:55
I'll try again... rebooting REACT and definitely pressing F4. Maybe I clicked on that damn MP3 button again without even realising...
Hang on...
Here...
Code: [Select]
2007-09-20 22:44:40  Version: 2.0.ssb16h
2007-09-20 22:44:40  INI version: 2.0.ssb16
2007-09-20 22:44:40  VariousFileNamingConvention: %D - %C - %N - %T (%A)
2007-09-20 22:44:46  Copy Tracks Beginning...

2007-09-20 22:44:46  - END -

2007-09-20 22:45:03  Command line: REACT "Pink Floyd - Pulse - 01 - Shine On You Crazy Diamond.wav" "C:\Ptmp1!542.wav" "C:\Ptmp1!542.eac" "Pink Floyd" "Pulse" "Shine On You Crazy Diamond" "01" "11" "1995" "Progressive Rock" "Track 1" "A9122F0B" "24A435F2" 128
2007-09-20 22:45:03  Source directory: C:
2007-09-20 22:45:03  Base name: Pink Floyd - Pulse - 01 - Shine On You Crazy Diamond
2007-09-20 22:45:03  Artist: Pink Floyd
2007-09-20 22:45:03  Album: Pulse
2007-09-20 22:45:03  Title: Shine On You Crazy Diamond
2007-09-20 22:45:03  Track: 1
2007-09-20 22:45:03  Total tracks: 11
2007-09-20 22:45:03  Year: 1995
2007-09-20 22:45:03  Genre: Progressive Rock
2007-09-20 22:45:03  Comment: Track 1
2007-09-20 22:45:03  FreeDB ID: A9122F0B
2007-09-20 22:45:03  CRC: 24A435F2
2007-09-20 22:45:03  Bitrate: 128
2007-09-20 22:45:03  Various artist: No
2007-09-20 22:45:03  Rip mode: Tracks
2007-09-20 22:45:03  Log: C:\Pink Floyd - Pulse.log
2007-09-20 22:45:03  Album file: C:\Pulse
2007-09-20 22:45:03  Log file: C:\Pink Floyd - Pulse
2007-09-20 22:45:03  Cover file: C:\Pulse.jpg

2007-09-20 22:46:24  - END -

2007-09-20 22:46:31  Command line: REACT "Pink Floyd - Pulse - 02 - Learning To Fly.wav" "C:\Ptmp660-!.wav" "C:\Ptmp660-!.eac" "Pink Floyd" "Pulse" "Learning To Fly" "02" "11" "1995" "Progressive Rock" "Track 2" "A9122F0B" "458BCDDE" 128
2007-09-20 22:46:31  Source directory: C:
2007-09-20 22:46:31  Base name: Pink Floyd - Pulse - 02 - Learning To Fly
2007-09-20 22:46:31  Artist: Pink Floyd
2007-09-20 22:46:31  Album: Pulse
2007-09-20 22:46:31  Title: Learning To Fly
2007-09-20 22:46:31  Track: 2
2007-09-20 22:46:31  Total tracks: 11
2007-09-20 22:46:31  Year: 1995
2007-09-20 22:46:31  Genre: Progressive Rock
2007-09-20 22:46:31  Comment: Track 2
2007-09-20 22:46:31  FreeDB ID: A9122F0B
2007-09-20 22:46:31  CRC: 458BCDDE
2007-09-20 22:46:31  Bitrate: 128
2007-09-20 22:46:31  Various artist: No
2007-09-20 22:46:31  Rip mode: Tracks
2007-09-20 22:46:32  Log: C:\Pink Floyd - Pulse.log
2007-09-20 22:46:32  Album file: C:\Pulse
2007-09-20 22:46:32  Log file: C:\Pink Floyd - Pulse
2007-09-20 22:46:32  Cover file: C:\Pulse.jpg

2007-09-20 22:47:19  - END -

2007-09-20 22:47:22  Command line: REACT "Pink Floyd - Pulse - 03 - High Hopes.wav" "C:\Ptmp556)!.wav" "C:\Ptmp556)!.eac" "Pink Floyd" "Pulse" "High Hopes" "03" "11" "1995" "Progressive Rock" "Track 3" "A9122F0B" "AA9098EC" 128
2007-09-20 22:47:22  Source directory: C:
2007-09-20 22:47:22  Base name: Pink Floyd - Pulse - 03 - High Hopes
2007-09-20 22:47:22  Artist: Pink Floyd
2007-09-20 22:47:22  Album: Pulse
2007-09-20 22:47:22  Title: High Hopes
2007-09-20 22:47:22  Track: 3
2007-09-20 22:47:22  Total tracks: 11
2007-09-20 22:47:22  Year: 1995
2007-09-20 22:47:22  Genre: Progressive Rock
2007-09-20 22:47:22  Comment: Track 3
2007-09-20 22:47:22  FreeDB ID: A9122F0B
2007-09-20 22:47:22  CRC: AA9098EC
2007-09-20 22:47:22  Bitrate: 128
2007-09-20 22:47:22  Various artist: No
2007-09-20 22:47:22  Rip mode: Tracks
2007-09-20 22:47:22  Log: C:\Pink Floyd - Pulse.log
2007-09-20 22:47:22  Album file: C:\Pulse
2007-09-20 22:47:22  Log file: C:\Pink Floyd - Pulse
2007-09-20 22:47:22  Cover file: C:\Pulse.jpg

2007-09-20 22:48:17  - END -

2007-09-20 22:48:20  Command line: REACT "Pink Floyd - Pulse - 04 - Take It Back.wav" "C:\Ptmp58)58.wav" "C:\Ptmp58)58.eac" "Pink Floyd" "Pulse" "Take It Back" "04" "11" "1995" "Progressive Rock" "Track 4" "A9122F0B" "53D7F5DE" 128
2007-09-20 22:48:20  Source directory: C:
2007-09-20 22:48:20  Base name: Pink Floyd - Pulse - 04 - Take It Back
2007-09-20 22:48:20  Artist: Pink Floyd
2007-09-20 22:48:20  Album: Pulse
2007-09-20 22:48:20  Title: Take It Back
2007-09-20 22:48:20  Track: 4
2007-09-20 22:48:20  Total tracks: 11
2007-09-20 22:48:20  Year: 1995
2007-09-20 22:48:20  Genre: Progressive Rock
2007-09-20 22:48:20  Comment: Track 4
2007-09-20 22:48:20  FreeDB ID: A9122F0B
2007-09-20 22:48:20  CRC: 53D7F5DE
2007-09-20 22:48:20  Bitrate: 128
2007-09-20 22:48:20  Various artist: No
2007-09-20 22:48:20  Rip mode: Tracks
2007-09-20 22:48:20  Log: C:\Pink Floyd - Pulse.log
2007-09-20 22:48:20  Album file: C:\Pulse
2007-09-20 22:48:20  Log file: C:\Pink Floyd - Pulse
2007-09-20 22:48:20  Cover file: C:\Pulse.jpg

2007-09-20 22:48:51  - END -

2007-09-20 22:48:53  Command line: REACT "Pink Floyd - Pulse - 05 - Coming Back To Life.wav" "C:\Ptmp-!)!3.wav" "C:\Ptmp-!)!3.eac" "Pink Floyd" "Pulse" "Coming Back To Life" "05" "11" "1995" "Progressive Rock" "Track 5" "A9122F0B" "433AF999" 128
2007-09-20 22:48:53  Source directory: C:
2007-09-20 22:48:53  Base name: Pink Floyd - Pulse - 05 - Coming Back To Life
2007-09-20 22:48:53  Artist: Pink Floyd
2007-09-20 22:48:53  Album: Pulse
2007-09-20 22:48:53  Title: Coming Back To Life
2007-09-20 22:48:53  Track: 5
2007-09-20 22:48:53  Total tracks: 11
2007-09-20 22:48:53  Year: 1995
2007-09-20 22:48:53  Genre: Progressive Rock
2007-09-20 22:48:53  Comment: Track 5
2007-09-20 22:48:53  FreeDB ID: A9122F0B
2007-09-20 22:48:53  CRC: 433AF999
2007-09-20 22:48:53  Bitrate: 128
2007-09-20 22:48:53  Various artist: No
2007-09-20 22:48:53  Rip mode: Tracks
2007-09-20 22:48:54  Log: C:\Pink Floyd - Pulse.log
2007-09-20 22:48:54  Album file: C:\Pulse
2007-09-20 22:48:54  Log file: C:\Pink Floyd - Pulse
2007-09-20 22:48:54  Cover file: C:\Pulse.jpg

2007-09-20 22:49:21  - END -

2007-09-20 22:49:24  Command line: REACT "Pink Floyd - Pulse - 06 - Sorrow.wav" "C:\Ptmp!)(0(.wav" "C:\Ptmp!)(0(.eac" "Pink Floyd" "Pulse" "Sorrow" "06" "11" "1995" "Progressive Rock" "Track 6" "A9122F0B" "984F45D3" 128
2007-09-20 22:49:24  Source directory: C:
2007-09-20 22:49:24  Base name: Pink Floyd - Pulse - 06 - Sorrow
2007-09-20 22:49:24  Artist: Pink Floyd
2007-09-20 22:49:24  Album: Pulse
2007-09-20 22:49:24  Title: Sorrow
2007-09-20 22:49:24  Track: 6
2007-09-20 22:49:24  Total tracks: 11
2007-09-20 22:49:24  Year: 1995
2007-09-20 22:49:24  Genre: Progressive Rock
2007-09-20 22:49:24  Comment: Track 6
2007-09-20 22:49:24  FreeDB ID: A9122F0B
2007-09-20 22:49:24  CRC: 984F45D3
2007-09-20 22:49:24  Bitrate: 128
2007-09-20 22:49:24  Various artist: No
2007-09-20 22:49:24  Rip mode: Tracks
2007-09-20 22:49:24  Log: C:\Pink Floyd - Pulse.log
2007-09-20 22:49:24  Album file: C:\Pulse
2007-09-20 22:49:24  Log file: C:\Pink Floyd - Pulse
2007-09-20 22:49:24  Cover file: C:\Pulse.jpg

2007-09-20 22:50:08  - END -

2007-09-20 22:50:10  Command line: REACT "Pink Floyd - Pulse - 07 - Keep Talking.wav" "C:\Ptmp842(2.wav" "C:\Ptmp842(2.eac" "Pink Floyd" "Pulse" "Keep Talking" "07" "11" "1995" "Progressive Rock" "Track 7" "A9122F0B" "D933DAAA" 128
2007-09-20 22:50:10  Source directory: C:
2007-09-20 22:50:10  Base name: Pink Floyd - Pulse - 07 - Keep Talking
2007-09-20 22:50:10  Artist: Pink Floyd
2007-09-20 22:50:10  Album: Pulse
2007-09-20 22:50:10  Title: Keep Talking
2007-09-20 22:50:10  Track: 7
2007-09-20 22:50:10  Total tracks: 11
2007-09-20 22:50:10  Year: 1995
2007-09-20 22:50:10  Genre: Progressive Rock
2007-09-20 22:50:10  Comment: Track 7
2007-09-20 22:50:10  FreeDB ID: A9122F0B
2007-09-20 22:50:10  CRC: D933DAAA
2007-09-20 22:50:10  Bitrate: 128
2007-09-20 22:50:10  Various artist: No
2007-09-20 22:50:10  Rip mode: Tracks
2007-09-20 22:50:10  Log: C:\Pink Floyd - Pulse.log
2007-09-20 22:50:10  Album file: C:\Pulse
2007-09-20 22:50:10  Log file: C:\Pink Floyd - Pulse
2007-09-20 22:50:10  Cover file: C:\Pulse.jpg

2007-09-20 22:50:43  - END -

2007-09-20 22:50:45  Command line: REACT "Pink Floyd - Pulse - 08 - Another Brick In The Wall (Part 2).wav" "C:\Ptmp07!55.wav" "C:\Ptmp07!55.eac" "Pink Floyd" "Pulse" "Another Brick In The Wall (Part 2)" "08" "11" "1995" "Progressive Rock" "Track 8" "A9122F0B" "86A78313" 128
2007-09-20 22:50:45  Source directory: C:
2007-09-20 22:50:45  Base name: Pink Floyd - Pulse - 08 - Another Brick In The Wall (Part 2)
2007-09-20 22:50:45  Artist: Pink Floyd
2007-09-20 22:50:45  Album: Pulse
2007-09-20 22:50:45  Title: Another Brick In The Wall (Part 2)
2007-09-20 22:50:45  Track: 8
2007-09-20 22:50:45  Total tracks: 11
2007-09-20 22:50:45  Year: 1995
2007-09-20 22:50:45  Genre: Progressive Rock
2007-09-20 22:50:45  Comment: Track 8
2007-09-20 22:50:45  FreeDB ID: A9122F0B
2007-09-20 22:50:45  CRC: 86A78313
2007-09-20 22:50:45  Bitrate: 128
2007-09-20 22:50:45  Various artist: No
2007-09-20 22:50:45  Rip mode: Tracks
2007-09-20 22:50:46  Log: C:\Pink Floyd - Pulse.log
2007-09-20 22:50:46  Album file: C:\Pulse
2007-09-20 22:50:46  Log file: C:\Pink Floyd - Pulse
2007-09-20 22:50:46  Cover file: C:\Pulse.jpg

2007-09-20 22:51:14  - END -

2007-09-20 22:51:16  Command line: REACT "Pink Floyd - Pulse - 09 - One Of These Days.wav" "C:\Ptmp7)4)!.wav" "C:\Ptmp7)4)!.eac" "Pink Floyd" "Pulse" "One Of These Days" "09" "11" "1995" "Progressive Rock" "Track 9" "A9122F0B" "E2CCD8A9" 128
2007-09-20 22:51:16  Source directory: C:
2007-09-20 22:51:16  Base name: Pink Floyd - Pulse - 09 - One Of These Days
2007-09-20 22:51:16  Artist: Pink Floyd
2007-09-20 22:51:16  Album: Pulse
2007-09-20 22:51:16  Title: One Of These Days
2007-09-20 22:51:16  Track: 9
2007-09-20 22:51:16  Total tracks: 11
2007-09-20 22:51:16  Year: 1995
2007-09-20 22:51:16  Genre: Progressive Rock
2007-09-20 22:51:16  Comment: Track 9
2007-09-20 22:51:16  FreeDB ID: A9122F0B
2007-09-20 22:51:16  CRC: E2CCD8A9
2007-09-20 22:51:16  Bitrate: 128
2007-09-20 22:51:16  Various artist: No
2007-09-20 22:51:16  Rip mode: Tracks
2007-09-20 22:51:16  Log: C:\Pink Floyd - Pulse.log
2007-09-20 22:51:16  Album file: C:\Pulse
2007-09-20 22:51:16  Log file: C:\Pink Floyd - Pulse
2007-09-20 22:51:16  Cover file: C:\Pulse.jpg

2007-09-20 22:51:45  - END -

2007-09-20 22:51:47  Command line: REACT "Pink Floyd - Pulse - 10 - Speak To Me.wav" "C:\Ptmp3--91.wav" "C:\Ptmp3--91.eac" "Pink Floyd" "Pulse" "Speak To Me" "10" "11" "1995" "Progressive Rock" "Track 10" "A9122F0B" "63617A9B" 128
2007-09-20 22:51:47  Source directory: C:
2007-09-20 22:51:47  Base name: Pink Floyd - Pulse - 10 - Speak To Me
2007-09-20 22:51:47  Artist: Pink Floyd
2007-09-20 22:51:47  Album: Pulse
2007-09-20 22:51:47  Title: Speak To Me
2007-09-20 22:51:47  Track: 10
2007-09-20 22:51:47  Total tracks: 11
2007-09-20 22:51:47  Year: 1995
2007-09-20 22:51:47  Genre: Progressive Rock
2007-09-20 22:51:47  Comment: Track 10
2007-09-20 22:51:47  FreeDB ID: A9122F0B
2007-09-20 22:51:47  CRC: 63617A9B
2007-09-20 22:51:47  Bitrate: 128
2007-09-20 22:51:47  Various artist: No
2007-09-20 22:51:47  Rip mode: Tracks
2007-09-20 22:51:48  Log: C:\Pink Floyd - Pulse.log
2007-09-20 22:51:48  Album file: C:\Pulse
2007-09-20 22:51:48  Log file: C:\Pink Floyd - Pulse
2007-09-20 22:51:48  Cover file: C:\Pulse.jpg

2007-09-20 22:51:57  - END -

2007-09-20 22:52:00  Command line: REACT "Pink Floyd - Pulse - 11 - Breathe In The Air.wav" "C:\Ptmp--658.wav" "C:\Ptmp--658.eac" "Pink Floyd" "Pulse" "Breathe In The Air" "11" "11" "1995" "Progressive Rock" "Track 11" "A9122F0B" "36F42A5B" 128
2007-09-20 22:52:00  Source directory: C:
2007-09-20 22:52:00  Base name: Pink Floyd - Pulse - 11 - Breathe In The Air
2007-09-20 22:52:00  Artist: Pink Floyd
2007-09-20 22:52:00  Album: Pulse
2007-09-20 22:52:00  Title: Breathe In The Air
2007-09-20 22:52:00  Track: 11
2007-09-20 22:52:00  Total tracks: 11
2007-09-20 22:52:00  Year: 1995
2007-09-20 22:52:00  Genre: Progressive Rock
2007-09-20 22:52:00  Comment: Track 11
2007-09-20 22:52:00  FreeDB ID: A9122F0B
2007-09-20 22:52:00  CRC: 36F42A5B
2007-09-20 22:52:00  Bitrate: 128
2007-09-20 22:52:00  Various artist: No
2007-09-20 22:52:00  Rip mode: Tracks
2007-09-20 22:52:00  Log: C:\Pink Floyd - Pulse.log
2007-09-20 22:52:00  Album file: C:\Pulse
2007-09-20 22:52:00  Log file: C:\Pink Floyd - Pulse
2007-09-20 22:52:00  Cover file: C:\Pulse.jpg

2007-09-20 22:54:20  - END -
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-09-20 12:01:45
OK, well it's either not running the cover downloader function (because it thinks that RunCoverDownloader is not 1) or it can't find a value for CoverDownloaderLocalPath.

I could put some more debug statements in the code to see which it is - maybe I need to create a special debug version of b16h for you to run, so we can try to pin this down.  You up for it?
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-09-20 12:23:10
Well, here is a version that spits out a lot more debug info anyway:

http://www.synthetic-soul.co.uk/temp/REACT...sb16h_debug.zip (http://www.synthetic-soul.co.uk/temp/REACT_2.0.ssb16h_debug.zip)

Close REACT; replace the exe with the one in the zip; open REACT; rip; paste debugging,txt here (using CODEBOX).

Maybe it wouldn't hurt to hit Ctrl+F2 with REACT open to reconfigure EAC as well.  Maybe something has gotten out of sync.  I just have no explanation for what you are seeing.

Here's debugging.txt for my test (both image and track mode in full):

Code: [Select]
2007-09-20 12:16:27  Version: 2.0.ssb16h_debug
2007-09-20 12:16:27  INI version: 2.0.ss
2007-09-20 12:16:27  VariousFileNamingConvention: %D - %C - %N - %T (%A)
2007-09-20 12:16:33  Reading INI
2007-09-20 12:16:33  ImageExt:wv
2007-09-20 12:16:33  ImageNaming: $artist$ - $album$
2007-09-20 12:16:33  ImageHotKey: {F10}
2007-09-20 12:16:33  TracksHotKey: {F4}
2007-09-20 12:16:33  TracksHotVal: +{F5}
2007-09-20 12:16:33  RunCoverDownloader: 1
2007-09-20 12:16:33  CoverDownloader: C:\Program Files\AlbumArtDownloaderXUI\AlbumArt.exe
2007-09-20 12:16:33  CoverDownloaderXUI: 1
2007-09-20 12:16:33  CoverDownloaderLocalPath: E:\Documents and Settings\Chase\My Documents\My Music\MP3s\MP3s ~VBR 0\$artist$\$album$\folder.jpg
2007-09-20 12:16:33  Setting EAC window title
2007-09-20 12:16:35  Image hot key pressed
2007-09-20 12:16:35  Setting variables from EAC meta data
2007-09-20 12:16:35  Testing whether we can create cuesheets
2007-09-20 12:16:35  fGUIRunWaitCoverDownloader(0) called
2007-09-20 12:16:35  Setting variables from EAC meta data
2007-09-20 12:16:35  CoverDownloaderLocalPath: E:\Documents and Settings\Chase\My Documents\My Music\MP3s\MP3s ~VBR 0\$artist$\$album$\folder.jpg
2007-09-20 12:16:35  Actual Path: E:\Documents and Settings\Chase\My Documents\My Music\MP3s\MP3s ~VBR 0\The Go! Team\Grip Like A Vice\folder.jpg
2007-09-20 12:16:35  Local cover art file does not exist
2007-09-20 12:16:35  CoverDownloader command: "C:\Program Files\AlbumArtDownloaderXUI\AlbumArt.exe" /artist "The Go! Team" /album "Grip Like A Vice" /path "C:\Documents and Settings\Neil\My Documents\Audio\Grip Like A Vice.%extension%" /autoclose /localImagesPath "E:\Documents and Settings\Chase\My Documents\My Music\MP3s\MP3s ~VBR 0\%artist%\%album%\folder.jpg"
2007-09-20 12:16:35  Copy Image Beginning...
2007-09-20 12:16:35  Substituting tokens using EAC meta data

2007-09-20 12:16:36  - END -

2007-09-20 12:16:49  Command line: REACT "The Go! Team - Grip Like A Vice.wav" "C:\Documents and Settings\Neil\My Documents\Audio\Ttmp1!542.wav" "C:\Documents and Settings\Neil\My Documents\Audio\Ttmp1!542.eac" "The Go! Team" "Grip Like A Vice" "A Version Of Myself" "02" "2" "2007" "Fusion" "DISCNO" "0D018902" "512B21EC" 128
2007-09-20 12:16:49  Source directory: C:\Documents and Settings\Neil\My Documents\Audio
2007-09-20 12:16:49  Base name: The Go! Team - Grip Like A Vice
2007-09-20 12:16:49  Artist: The Go! Team
2007-09-20 12:16:49  Album: Grip Like A Vice
2007-09-20 12:16:49  Title: A Version Of Myself
2007-09-20 12:16:49  Track: 2
2007-09-20 12:16:49  Total tracks: 2
2007-09-20 12:16:49  Year: 2007
2007-09-20 12:16:49  Genre: Fusion
2007-09-20 12:16:49  Comment: DISCNO
2007-09-20 12:16:49  FreeDB ID: 0D018902
2007-09-20 12:16:49  CRC: 512B21EC
2007-09-20 12:16:49  Bitrate: 128
2007-09-20 12:16:49  Various artist: No
2007-09-20 12:16:49  Rip mode: Image
2007-09-20 12:16:49  Log: C:\Documents and Settings\Neil\My Documents\Audio\The Go! Team - Grip Like A Vice.log
2007-09-20 12:16:49  Album file: C:\Documents and Settings\Neil\My Documents\Audio\Grip Like A Vice
2007-09-20 12:16:49  Log file: C:\Documents and Settings\Neil\My Documents\Audio\The Go! Team - Grip Like A Vice
2007-09-20 12:16:49  Cover file: C:\Documents and Settings\Neil\My Documents\Audio\Grip Like A Vice.jpg
2007-09-20 12:16:52  Setting EAC window title

2007-09-20 12:17:09  - END -

2007-09-20 12:20:19  Setting EAC window title
2007-09-20 12:20:24  Reading INI
2007-09-20 12:20:24  ImageExt:wv
2007-09-20 12:20:24  ImageNaming: $artist$ - $album$
2007-09-20 12:20:24  ImageHotKey: {F10}
2007-09-20 12:20:24  TracksHotKey: {F4}
2007-09-20 12:20:24  TracksHotVal: +{F5}
2007-09-20 12:20:24  RunCoverDownloader: 1
2007-09-20 12:20:24  CoverDownloader: C:\Program Files\AlbumArtDownloaderXUI\AlbumArt.exe
2007-09-20 12:20:24  CoverDownloaderXUI: 1
2007-09-20 12:20:24  CoverDownloaderLocalPath: E:\Documents and Settings\Chase\My Documents\My Music\MP3s\MP3s ~VBR 0\$artist$\$album$\folder.jpg
2007-09-20 12:20:24  Setting EAC window title
2007-09-20 12:20:33  Setting EAC window title
2007-09-20 12:20:36  Tracks hot key pressed
2007-09-20 12:20:36  Setting variables from EAC meta data
2007-09-20 12:20:36  Testing whether we can create cuesheets
2007-09-20 12:20:36  fGUIRunWaitCoverDownloader(1) called
2007-09-20 12:20:36  Setting variables from EAC meta data
2007-09-20 12:20:36  CoverDownloaderLocalPath: E:\Documents and Settings\Chase\My Documents\My Music\MP3s\MP3s ~VBR 0\$artist$\$album$\folder.jpg
2007-09-20 12:20:36  Actual Path: E:\Documents and Settings\Chase\My Documents\My Music\MP3s\MP3s ~VBR 0\The Go! Team\Grip Like A Vice\folder.jpg
2007-09-20 12:20:36  Local cover art file does not exist
2007-09-20 12:20:36  CoverDownloader command: "C:\Program Files\AlbumArtDownloaderXUI\AlbumArt.exe" /artist "The Go! Team" /album "Grip Like A Vice" /path "C:\Documents and Settings\Neil\My Documents\Audio\Grip Like A Vice.%extension%" /autoclose /localImagesPath "E:\Documents and Settings\Chase\My Documents\My Music\MP3s\MP3s ~VBR 0\%artist%\%album%\folder.jpg"
2007-09-20 12:20:37  Copy Tracks Beginning...

2007-09-20 12:20:37  - END -

2007-09-20 12:20:46  Command line: REACT "The Go! Team - Grip Like A Vice - 01 - Grip Like A Vice.wav" "C:\Documents and Settings\Neil\My Documents\Audio\Ttmp0-!55.wav" "C:\Documents and Settings\Neil\My Documents\Audio\Ttmp0-!55.eac" "The Go! Team" "Grip Like A Vice" "Grip Like A Vice" "01" "2" "2007" "Fusion" "DISCNO" "0D018902" "ED0A9DE5" 128
2007-09-20 12:20:46  Source directory: C:\Documents and Settings\Neil\My Documents\Audio
2007-09-20 12:20:46  Base name: The Go! Team - Grip Like A Vice - 01 - Grip Like A Vice
2007-09-20 12:20:46  Artist: The Go! Team
2007-09-20 12:20:46  Album: Grip Like A Vice
2007-09-20 12:20:46  Title: Grip Like A Vice
2007-09-20 12:20:46  Track: 1
2007-09-20 12:20:46  Total tracks: 2
2007-09-20 12:20:46  Year: 2007
2007-09-20 12:20:46  Genre: Fusion
2007-09-20 12:20:46  Comment: DISCNO
2007-09-20 12:20:46  FreeDB ID: 0D018902
2007-09-20 12:20:46  CRC: ED0A9DE5
2007-09-20 12:20:46  Bitrate: 128
2007-09-20 12:20:46  Various artist: No
2007-09-20 12:20:46  Rip mode: Tracks
2007-09-20 12:20:47  Log: C:\Documents and Settings\Neil\My Documents\Audio\The Go! Team - Grip Like A Vice.log
2007-09-20 12:20:47  Album file: C:\Documents and Settings\Neil\My Documents\Audio\Grip Like A Vice
2007-09-20 12:20:47  Log file: C:\Documents and Settings\Neil\My Documents\Audio\The Go! Team - Grip Like A Vice
2007-09-20 12:20:47  Cover file: C:\Documents and Settings\Neil\My Documents\Audio\Grip Like A Vice.jpg

2007-09-20 12:21:15  - END -

2007-09-20 12:21:18  Command line: REACT "The Go! Team - Grip Like A Vice - 02 - A Version Of Myself.wav" "C:\Documents and Settings\Neil\My Documents\Audio\Ttmp6)!58.wav" "C:\Documents and Settings\Neil\My Documents\Audio\Ttmp6)!58.eac" "The Go! Team" "Grip Like A Vice" "A Version Of Myself" "02" "2" "2007" "Fusion" "DISCNO" "0D018902" "512B21EC" 128
2007-09-20 12:21:18  Source directory: C:\Documents and Settings\Neil\My Documents\Audio
2007-09-20 12:21:18  Base name: The Go! Team - Grip Like A Vice - 02 - A Version Of Myself
2007-09-20 12:21:18  Artist: The Go! Team
2007-09-20 12:21:18  Album: Grip Like A Vice
2007-09-20 12:21:18  Title: A Version Of Myself
2007-09-20 12:21:18  Track: 2
2007-09-20 12:21:18  Total tracks: 2
2007-09-20 12:21:18  Year: 2007
2007-09-20 12:21:18  Genre: Fusion
2007-09-20 12:21:18  Comment: DISCNO
2007-09-20 12:21:18  FreeDB ID: 0D018902
2007-09-20 12:21:18  CRC: 512B21EC
2007-09-20 12:21:18  Bitrate: 128
2007-09-20 12:21:18  Various artist: No
2007-09-20 12:21:18  Rip mode: Tracks
2007-09-20 12:21:18  Log: C:\Documents and Settings\Neil\My Documents\Audio\The Go! Team - Grip Like A Vice.log
2007-09-20 12:21:18  Album file: C:\Documents and Settings\Neil\My Documents\Audio\Grip Like A Vice
2007-09-20 12:21:18  Log file: C:\Documents and Settings\Neil\My Documents\Audio\The Go! Team - Grip Like A Vice
2007-09-20 12:21:18  Cover file: C:\Documents and Settings\Neil\My Documents\Audio\Grip Like A Vice.jpg

2007-09-20 12:21:38  - END -
Title: REACT 2 Released
Post by: TheChipstar on 2007-09-21 07:42:16
What is wrong with this setup?...
Code: [Select]
[Settings]
Version=2.0.ssb16
ImageExt=wav
ImageNaming=$artist$ - [$year$] $album$
ImageHotKey={F10}
TracksHotKey={F4}
TracksHotVal=+{F5}
VA=Various Artists
CreateAllCuesheets=0
RunCoverDownloader=0
CoverDownloader=D:\Program Files\REACT2\coverdownloader\albumart.exe
CoverDownloaderLocalPath=E:\Documents and Settings\Chase\My Documents\My Music\MP3s\MP3s ~VBR 0\$artist$\$album$\folder.jpg
CoverDownloaderXUI=0
EAC=D:\Program Files\Exact Audio Copy\EAC.exe
Tools=D:\Program Files\REACT2\tools
MinimizeCompressionWindow=1
ProcessPriority=1
Sla_Bks_Col_Qst_Bar_Quo_Ast_Lt_Gt=-|-|-||!|'|#|[|]
Test=0

[UserTrackFormats]
LameMP3=1

[UserOutputNames]
TrackDir_MP3=E:\Documents and Settings\Chase\My Documents\My Music\MP3s\MP3s ~VBR 0\$artist$\$album$
TrackName_SA=$track$ - $title$
TrackName_VA=$track$ - $title$ [$artist$]
TrackName_SA_acdir=$n - $~t
TrackName_VA_acdir=$n - $~t [$~a]

[UserSettings]
DebugMode=1
Debug=0
Comment=Created with EAC/REACT2, @curdate@
EmbedCover=1
ReplayGain=0
ApplyAlbumGain=1
AdjustAlbumGain_dB=+1.0
AddCuesheetAG=0
UseWaveGainAG=0
Opt_LameMP3=-V0 --vbr-new --noreplaygain --nohist
Ver_LameMP3=3.97


[DefaultMetaData]
discnumber=1
totaldiscs=1
discname=
Opt_Flac=-5 -f
Opt_Wavpack=-hmy
Opt_LameMP3=-V5 --vbr-new --noreplaygain --nohist
Opt_NeroAac=-lc -q 0.21
Opt_iTunesAac=-d -s 2000
Opt_OggEnc2=-q 3.0
Ver_Flac=1.1.3
Ver_Wavpack=4.40
Ver_LameMP3=3.97
Ver_NeroAac=1.0.0.2
Ver_OggEnc2=2.83 Lancer aoTuV b5


[DefaultMetaData]
discnumber=1
totaldiscs=1
discname=

With the "RunCoverDownloader" variable. If I just want to use the local path, do I have to have this set to 1? Or will 0 still do the trick if I don't want to download the cover art, but instead just use the local path (ie: folder.jpg)?


Ahhh... that was my problem. I think a combination of two actually. Firstly, when I had the "RunCoverDownloader" set to 1, as well as my local path set, I pressed the MP3 button instead of F4. Then When the coverdownloader didn't run, I tried running REACT with the "RunCoverDownloader" set to 0. And this won't work at all, because although the folder.jpg is present and the local path is pointing to it, it still has to pass through the coverdownloader to be saved to C:\ (REACTs temp directory).

So to embed the cover, whether local or downloaded, both have to be passed through coverdownloader.

Thanks for your guys help. Sorry I suck so much, but I've leant quite a bit already.
Cheers.
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-09-21 08:28:06
Yes.  Remember, CoverDownloaderLocalPath is a bit of a hack on my part.

RunCoverDownloader is (now) not so much "Run AlbumArt.exe" but "I want cover art".

I'm glad it's resolved.


[Settings] CoverDownloaderLocalPath
If RunCoverDownloader is set, and you set this to the path of your existing artwork, REACT will check for the existence of a file before opening AlbumArt.exe.
...
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-09-21 14:15:38
Code: [Select]
...
2007-09-20 12:16:35 CoverDownloaderLocalPath: E:\Documents and Settings\Chase\My Documents\My Music\MP3s\MP3s ~VBR 0\$artist$\$album$\folder.jpg
2007-09-20 12:16:35 Actual Path: E:\Documents and Settings\Chase\My Documents\My Music\MP3s\MP3s ~VBR 0\The Go! Team\Grip Like A Vice\folder.jpg
2007-09-20 12:16:35 Local cover art file does not exist
2007-09-20 12:16:35 CoverDownloader command: "C:\Program Files\AlbumArtDownloaderXUI\AlbumArt.exe" /artist "The Go! Team" /album "Grip Like A Vice" /path "C:\Documents and Settings\Neil\My Documents\Audio\Grip Like A Vice.%extension%" /autoclose /localImagesPath "E:\Documents and Settings\Chase\My Documents\My Music\MP3s\MP3s ~VBR 0\%artist%\%album%\folder.jpg"
...

As you may have noticed from my debugging.txt output above, CoverDownloaderLocalPath is also used to specify Album Art Downloader XUI's /localImagesPath switch, if it does not match a local file.  Note: $artist$ and $album$ are correctly converted to XUI's %artist% and %album% syntax.

Therefore, if you do not want to direct REACT to a specific file, e.g:

Code: [Select]
CoverDownloaderLocalPath=C:\Documents and Settings\Neil\My Documents\My Music\$artist$\$album$\folder.jpg

... you may want to use Album Art Downloader XUI's wildcard support (see quote below) to specify a more general local search, e.g.:

Code: [Select]
CoverDownloaderLocalPath=C:\Documents and Settings\Neil\My Documents\My Music\**\*.jpg

This will then open Album Art Downloader XUI, using any JPEG in "C:\Documents and Settings\Neil\My Documents\My Music" as a potential source.

Another suggestion:

Code: [Select]
CoverDownloaderLocalPath=C:\Documents and Settings\Neil\My Documents\My Music\$artist$\**\*.jpg

Quote
Code: [Select]
/localImagesPath
              Path to search for local image  (/localImagesPath "\Art\Unsorted\**\*.jpg")
              files in. If not specified, the
              path to save art in is used.
              
              The following variables can be used in paths:
               %artist%     Artist searched for
               %album%      Album searched for
               *            Wildcard, matches any characters
               \**\         Subfolder search. Any folders will match
                             at this point in the path. For example
                             "\Art\Unsorted\**\*.jpg" will match:
                              \Art\Unsorted\image.jpg
                              \Art\Unsorted\misc\image.jpg
                              \Art\Unsorted\misc\old\image.jpg
                            
                             "\Art\Unsorted\*\*.jpg" will match only:
                              \Art\Unsorted\misc\image.jpg
Title: REACT 2 Released
Post by: lipidicman on 2007-09-25 14:47:07
Wow, I give this place a rest (to write a scientific paper and to try to move house) and I come back to find a new version of EAC which works with AccurateRip.  Can someone fill me in on the changes I will need to make to use this new EAC with React.

(Synthetic Soul will remember we were using SED to manipulate to cuesheets and also pasting in the accuraterip data, so I guess some of this will be obselete, any other issues)
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-09-25 14:54:48
Hi lipidicman. 

You will have to use my mod (http://wiki.hydrogenaudio.org/index.php?title=REACT:Mods#Download) now, as the EAC log file naming has changed (my mod will work with 0.99 and previous versions, but the official REACT will not pickup the log file if you are using 0.99). I know that you were the first to ever use it, so I guess this isn't a scare for you. 

The AccurateRip results are stored in the log file.  I've not seen anything about anyone extracting them from the log, or anything else.

Oh, also, if you add Test=1 to the [Settings] section of your INI REACT will run in Test & Copy mode.  It may be worth skimming the changelog (http://wiki.hydrogenaudio.org/index.php?title=REACT:Mods#Changelog) to see if there's anything else of interest that I've added; there's nothing revolutionary there.

Nothing else should have changed, or need changing (IIRC).
Title: REACT 2 Released
Post by: lipidicman on 2007-09-26 11:44:42
Thanks dude, I will have a look when I have more time.

Can I just check, REACT has not been changed?  So I need to upgrade EAC and your mod only
Also I always used test and copy, or is this test and copy for images (is this in EAC now?)
Title: REACT 2 Released
Post by: aguacaliente on 2007-10-01 19:37:34
I apologize if this has been answered before, but I couldn't find an answer.  I want to use REACT to apply wavegain to the temporary wav file before compressing to wavpack and aac.  With only minimal editing to the ini file, I can produce compressed files but have had no luck in applying wavegain.  My goal is to produce wavpack files that can taken from different CDs to burn my own compilations with reasonably consistent volume levels. 

In any case, this is a great tool and thanks in advance for my light you can shed.
Title: REACT 2 Released
Post by: Martin H on 2007-10-01 23:43:40
You shouldn't(and can't with REACT) use WaveGain.exe to directly apply the gain to the temporary WAVs, since then the lossless archive files produced wouldn't be lossless anymore.

First you need to download aacgain.exe (http://www.rarewares.org/aac-encoders.php)(mp3gain.exe adapted for aac input) and place it in your 'REACT2\tools' folder. Then you run REACT and press 'Alt+F2' to open 'REACT.ini' and then set 'ReplayGain' to '1'. This will make your WavPack and AAC files RG scanned and tagged with RG tags, so that RG compatible players will be able to scale the tracks accordingly. If you want to have the gain applied directly to the AAC files(and not just in the tags), then you should set 'ApplyAlbumGain' to '1', which will make the tracks have an Album Gain of 92dB. If you want another dB value, then change 'AdjustAlbumGain_dB' to another number than '+3.0'. The number is added to the standard 89dB level, so if you e.g. want to have 89dB, then just set it to '0'.

If you want to burn an audio CD from the WavPack files, then you can e.g. use Burrrn (http://www.burrrn.net/?page_id=4) for that, since it has options for running WaveGain.exe on the files and to apply the gain you'd like before they are written to disc.
Title: REACT 2 Released
Post by: aguacaliente on 2007-10-02 02:51:00
Thanks Martin for the thoughtful reply. Great advice! Everything seems to be working as you described.
Title: REACT 2 Released
Post by: Martin H on 2007-10-02 11:25:54
You are most welcome, my friend
Title: REACT 2 Released
Post by: Tim Morris on 2007-10-04 13:27:04
I must have missed this somewhere, but is there support for multiple threads when used on dual/quad core CPUs?

Tim
Title: REACT 2 Released
Post by: hobbsy on 2007-10-09 08:41:50
Just spent the evening trawling through all 29 pages of this thread -- can I just say well done to Neil for all his tireless hard work. You deserve some kind of medal!

I'm having a few problems creating a .m3u file (I remember this was mentioned earlier, but the advice didn't work for me) and also I'm unsure if I'm creating my LOG and CUE files correctly. I've never used a CUE file before to convert my FLAC files back to CD/WAV, so I don't know whether mine work properly. Just gonna test out the latest mod (ssb16h) and see how that goes for me before posing my question(s) more coherently
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-10-09 08:53:48
Thanks.  I'd prefer a cookie.

It sounds like we would do best to wait until you have tested a little further.  In order to help we really need to know whether you are ripping to image or tracks.

M3U creation is discussed in posts 139 (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=50273&view=findpost&p=462691) and 140 of this thread (as you may well know).  If Tag does work I would use that rather than my batch file.  If you can't get either to work let us know what happens.

Anyway, as I say, have a bit of a play and then come back with some more info.  Good luck!
Title: REACT 2 Released
Post by: gsa999 on 2007-10-09 16:14:17
Hi
Just discovered CueProc which replaced ACDIR. Does anyone know if REACT be updated to use CueProc at some point in the future?
Title: REACT 2 Released
Post by: hobbsy on 2007-10-09 19:37:45
Hi there - I have two questions if you have a moment please?

1/
When using grombulk's code for M3U generation using Tag.exe in post 140 (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=50273&view=findpost&p=462792) - where abouts in REACT-image.cfg should this extra line go? And is this only going to work if you are ripping your CD to an image rather than individual tracks?


2/
In the REACT:Mods wiki (http://wiki.hydrogenaudio.org/index.php?title=REACT:Mods) it says "Use Test & Copy by adding Test=1 under the Settings section of REACT.ini."

What key(s) would you then press to get the program to start doing a Test & Copy? Is this a better idea than just pressing F10, which is what I've done for my first few test rips?

I'm not sure of the benefits of ripping a CD to an image rather than individual tracks? I think ultimately I'd like to get a set of individual FLAC tracks and V0 mp3 tracks -- along with relevant CUE, LOG, M3U files in both the MP3+FLAC folders, plus embedded (+seperate) album artwork for both folders.
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-10-09 20:01:25
1. It would go in the MP3 track section:

Code: [Select]
IF NOT @LameMP3@==1 GOTO end_lame_tracks
    SET dest="@TrackDir_MP3@%trackDir%"
    IF NOT EXIST %dest% MKDIR %dest%
    PUSHD %dest%
        IF @various@==1 SET VA_tag=--user-text $q[album artist]@VA@$q --frame $qTPE2:@VA@$q
        IF %embed_cover%==1 SET Cover_tag=--pict $#x
        @tools@\acdir.exe --overwrite --output "%TrackName%.mp3" --extra-opt "{3}@cover@" --pipe "TITLE $n/$N mp3 $#T & @tools@\lame.exe @Opt_LameMP3@ %ApplyAG_Lame% - $#o & @tools@\metamp3.exe %Fit_tag% %Cover_tag% %VA_tag% %Disc_MP3_acdir% --artist $#a --album $#T --title $#t --track $n/$N --year $q@year@$q --genre $q@genre@$q --comment $q@comment@$q $#o" "@sourcecuesheet@"
        IF %add_rg%==1 @tools@\metamp3.exe %RG_MetaMP3% *.mp3
        IF @ApplyAlbumGain@==1 @tools@\metamp3.exe %ApplyAG_MetaMP3% *.mp3
        REM COPY /Y "@eaclog@" "EAClog.txt"
        IF %have_cover%==1 COPY /Y "@cover@" "folder.jpg"
        @tools@\tag.exe --playlist --onlyfiles --sort track --plname "00 - @basename@.m3u" "%dest%\*.mp3"
    POPD
:end_lame_tracks

I've put it right near the end for clarity, but anywhere after the call to ACDIR should be fine.

You could still use this technique if ripping to tracks.

Edit: Actually, the above is assuming you want your M3U for the MP3s of course.

2. If you add Test=1 you would still use F10 for images or F4 for tracks.

Image or tracks?  IMHO it is easier to rip to image and create as an exact archive of the CD as possible.  If your are purely planning to use the FLAC as a back-up then an image may suit you; if you will be playing the FLAC files then separate tracks may be the best option.  I generally point people to this thread (http://www.hydrogenaudio.org/forums/index.php?showtopic=40608) on the subject, but I'm sure there are others.

If you decide to rip to tracks then I guess this will raise further questions from you.
Title: REACT 2 Released
Post by: hobbsy on 2007-10-09 23:24:27
I've just done a test rip on my R.E.M. album Up

The rip took 20minutes and I used the 'F10' key on REACT v2.0.ssb16h
I am using LAME 3.97 and FLAC 1.2.1b

Here is a screengrab (http://img66.imageshack.us/img66/6154/reactfoldersscreengrabfpa1.gif) of my two resulting FLAC and MP3 folders

In the MP3 folder:
It doesn't appear to have given me a M3U file or CUE file in the MP3 folder. Also the LOG file is named 'EAClog.txt' rather than 'R.E.M - [1998] Up.log'

In the FLAC folder
I seem to have all 14 tracks as individual FLAC tracks, plus I have one big FLAC track
It gives me two folder JPG's --  'folder.jpg' and 'R.E.M - [1998] Up.jpg'. I think I'd prefer one image (in each MP3+FLAC folders) called the longer name

From my log file, what am I doing wrong in my process?

I have changed around bits of the 'REACT-track.cfg', 'REACT-image.cfg' and 'REACT.ini' files whilst reading through the whole 29 pages of this thread, so I'm not sure which bits I've wrongly editted


Log file created from the rip:

Code: [Select]
Exact Audio Copy V0.99 prebeta 3 from 28. July 2007

EAC extraction logfile from 9. October 2007, 22:44

R.E.M. / Up

Used drive  : HL-DT-STDVDRAM GSA-4167B  Adapter: 1  ID: 1

Read mode              : Secure
Utilize accurate stream : Yes
Defeat audio cache      : No
Make use of C2 pointers : Yes

Read offset correction                      : 667
Overread into Lead-In and Lead-Out          : No
Fill up missing offset samples with silence : Yes
Delete leading and trailing silent blocks  : No
Null samples used in CRC calculations      : Yes
Used interface                              : Native Win32 interface for Win NT & 2000

Used output format              : User Defined Encoder
Selected bitrate                : 192 kBit/s
Quality                        : High
Add ID3 tag                    : No
Command line compressor        : C:\Program Files\REACT2\REACT.exe
Additional command line options : REACT %o %s %d "%a" "%g" "%t" "%n" "%x" "%y" "%m" "%e" "%f" "%b" %r


TOC of the extracted CD

    Track |  Start  |  Length  | Start sector | End sector
    ---------------------------------------------------------
        1  |  0:00.00 |  4:13.37 |        0    |    19011 
        2  |  4:13.37 |  4:31.45 |    19012    |    39381 
        3  |  8:45.07 |  5:37.08 |    39382    |    64664 
        4  | 14:22.15 |  5:01.67 |    64665    |    87306 
        5  | 19:24.07 |  3:35.05 |    87307    |  103436 
        6  | 22:59.12 |  4:29.50 |    103437    |  123661 
        7  | 27:28.62 |  4:03.50 |    123662    |  141936 
        8  | 31:32.37 |  5:23.45 |    141937    |  166206 
        9  | 36:56.07 |  4:33.63 |    166207    |  186744 
      10  | 41:29.70 |  4:02.55 |    186745    |  204949 
      11  | 45:32.50 |  3:39.45 |    204950    |  221419 
      12  | 49:12.20 |  6:00.72 |    221420    |  248491 
      13  | 55:13.17 |  4:12.23 |    248492    |  267414 
      14  | 59:25.40 |  5:06.30 |    267415    |  290394 


Range status and errors

Selected range

    Filename C:\Music\R.E.M - [1998] Up.wav

    Peak level 99.8 %
    Range quality 100.0 %
    Test CRC 97C09336
    Copy CRC 97C09336
    Copy OK

No errors occurred

 
AccurateRip summary
 
Track  1  accurately ripped (confidence 84)  [AE39D203]
Track  2  accurately ripped (confidence 85)  [9D8F9F70]
Track  3  accurately ripped (confidence 86)  [BFEB839F]
Track  4  accurately ripped (confidence 84)  [08C3CB56]
Track  5  accurately ripped (confidence 86)  [2C9CD087]
Track  6  accurately ripped (confidence 85)  [2C921DBD]
Track  7  accurately ripped (confidence 84)  [2E50FA27]
Track  8  accurately ripped (confidence 84)  [B4DBF0CE]
Track  9  accurately ripped (confidence 84)  [D45F4149]
Track 10  accurately ripped (confidence 84)  [1F68B5FD]
Track 11  accurately ripped (confidence 86)  [5C38C5D7]
Track 12  accurately ripped (confidence 85)  [37C0A108]
Track 13  accurately ripped (confidence 85)  [2FB40F38]
Track 14  accurately ripped (confidence 82)  [0E08E677]
 
All tracks accurately ripped

End of status report


CUE file from the rip

Code: [Select]
REM REPLAYGAIN_ALBUM_GAIN -6.50 dB
REM REPLAYGAIN_ALBUM_PEAK 0.99896
REM REPLAYGAIN_ALBUM_SCALE 0.47315
REM DISCNUMBER 1
REM TOTALDISCS 1
REM GENRE Rock
REM DATE 1998
REM DISCID CD0F1F0E
REM COMMENT "ExactAudioCopy v0.99pb3"
PERFORMER "R.E.M."
TITLE "Up"
FILE "R.E.M - [1998] Up.flac" WAVE
  TRACK 01 AUDIO
    TITLE "Airport Man"
    PERFORMER "R.E.M."
    ISRC USWB19800945
    INDEX 01 00:00:00
  TRACK 02 AUDIO
    TITLE "Lotus"
    PERFORMER "R.E.M."
    ISRC USWB19800946
    INDEX 00 04:12:30
    INDEX 01 04:13:37
  TRACK 03 AUDIO
    TITLE "Suspicion"
    PERFORMER "R.E.M."
    ISRC USWB19800947
    INDEX 00 08:43:73
    INDEX 01 08:45:07
  TRACK 04 AUDIO
    TITLE "Hope"
    PERFORMER "R.E.M."
    ISRC USWB19800948
    INDEX 00 14:20:73
    INDEX 01 14:22:15
  TRACK 05 AUDIO
    TITLE "At My Most Beautiful"
    PERFORMER "R.E.M."
    ISRC USWB19800949
    INDEX 01 19:24:07
  TRACK 06 AUDIO
    TITLE "The Apologist"
    PERFORMER "R.E.M."
    ISRC USWB19800950
    INDEX 01 22:59:12
  TRACK 07 AUDIO
    TITLE "Sad Professor"
    PERFORMER "R.E.M."
    ISRC USWB19800951
    INDEX 01 27:28:62
  TRACK 08 AUDIO
    TITLE "You're In The Air"
    PERFORMER "R.E.M."
    ISRC USWB19800952
    INDEX 00 31:29:65
    INDEX 01 31:32:37
  TRACK 09 AUDIO
    TITLE "Walk Unafraid"
    PERFORMER "R.E.M."
    ISRC USWB19800953
    INDEX 00 36:54:21
    INDEX 01 36:56:07
  TRACK 10 AUDIO
    TITLE "Why Not Smile"
    PERFORMER "R.E.M."
    ISRC USWB19800954
    INDEX 00 41:27:51
    INDEX 01 41:29:70
  TRACK 11 AUDIO
    TITLE "Daysleeper"
    PERFORMER "R.E.M."
    ISRC USWB19800833
    INDEX 01 45:32:50
  TRACK 12 AUDIO
    TITLE "Diminished"
    PERFORMER "R.E.M."
    ISRC USWB19800955
    INDEX 01 49:12:20
  TRACK 13 AUDIO
    TITLE "Parakeet"
    PERFORMER "R.E.M."
    ISRC USWB19800957
    INDEX 01 55:13:17
  TRACK 14 AUDIO
    TITLE "Falls To Climb"
    PERFORMER "R.E.M."
    ISRC USWB19800958
    INDEX 00 59:21:66
    INDEX 01 59:25:40



Here is my REACT.ini file:

Code: [Select]
[Settings]
Version=2.0.ssb16
ImageExt=flac
ImageNaming=$artist$ - [$year$] $album$
ImageHotKey={F10}
TracksHotKey={F4}
TracksHotVal=+{F5}
VA=Various
CreateAllCuesheets=0
RunCoverDownloader=1
CoverDownloader=C:\Program Files\AlbumArtDownloader\AlbumArt.exe
CoverDownloaderXUI=1
EAC=C:\Program Files\Exact Audio Copy\EAC.exe
Tools=C:\Program Files\REACT2\tools
MinimizeCompressionWindow=1
ProcessPriority=1
Sla_Bks_Col_Qst_Bar_Quo_Ast_Lt_Gt=-|-|-||!|'|#|[|]
Test=1

[UserTrackFormats]
Flac=1
Wavpack=0
Tak=0
LameMP3=1
NeroAac=0
iTunesAac=0
OggEnc2=0

[UserOutputNames]
OutRoot=C:\Music
ImageDir_Flac=@OutRoot@\FLAC\$cdartist$\[$year$] $album$
ImageDir_Wavpack=@OutRoot@\Wavpack\$cdartist$\[$year$] $album$
ImageDir_Tak=@OutRoot@\TAK\$cdartist$
ImageDir_MP3=@OutRoot@\mp3\$cdartist$\[$year$] $album$
TrackDir_Flac=@OutRoot@\FLAC\$cdartist$\[$year$] $album$
TrackDir_Wavpack=@OutRoot@\Wavpack\$cdartist$\[$year$] $album$
TrackDir_Tak=@OutRoot@\TAK\$cdartist$\[$year$] $album$
TrackDir_MP3=@OutRoot@\mp3\$cdartist$\[$year$] $album$
TrackDir_AAC=@OutRoot@\AAC\$cdartist$\[$year$] $album$
TrackDir_OGG=@OutRoot@\OGG\$cdartist$\[$year$] $album$
TrackName_SA=$track$ - $title$
TrackName_VA=$track$ - $title$ [$artist$]
TrackName_SA_acdir=$n - $~t
TrackName_VA_acdir=$n - $~t [$~a]

[UserSettings]
Debug=0
Comment=Created with EAC/REACT2, @curdate@
EmbedCover=1
ReplayGain=1
ApplyAlbumGain=0
AdjustAlbumGain_dB=+3.0
AddCuesheetAG=1
UseWaveGainAG=0
Opt_Flac=-6 -V
Opt_Wavpack=-hmy
Opt_Tak=-pN -overwrite
Opt_LameMP3=-V0 --vbr-new --noreplaygain --nohist
Opt_NeroAac=-lc -q 0.21
Opt_iTunesAac=-d -s 2000
Opt_OggEnc2=-q 3.0
Ver_Flac=1.2.1b
Ver_Wavpack=4.40
Ver_Tak=1.0.1
Ver_LameMP3=3.97
Ver_NeroAac=1.0.0.2
Ver_OggEnc2=2.83 Lancer aoTuV b5

[DefaultMetaData]
discnumber=1
totaldiscs=1
discname=



Here is my REACT-image.cfg file:

Code: [Select]
@ECHO OFF
CHCP 1252 | PROMPT
TITLE "@album@"

REM Copyright © Tycho, 2006
REM
REM ** Ripping to .wav image.
REM **
REM ** To archive a CD as one large "image", you must SET
REM ** ImageExt=... in the REACT.ini file (Press Alt-F2).
REM ** This will set the @ImageExt@ variable. Extensions
REM ** currently supported:  flac, wv, mp3. Set to 'wav'
REM ** for no image archiving (default).
REM **
REM ** Also creates tracks by encoding directly to tracks, using ACDIR.
REM **
REM ** Flac requires flac.exe/metaflac.exe (v1.1.3)
REM ** NeroAac requires NeroAacEnc.exe/NeroAacTag.exe/AacGain.exe.
REM ** OggEnc2 requires OggEnc2.exe/VorbisGain.exe.
REM **
REM ** I prefer applying album gain 92dB to get a reasonable
REM ** volume for my DAP. The RG tags are still relative
REM ** to 89dB SPL, i.e. album gain will be about -3.0dB.

REM ============== Begin Main Script ==================


IF @Debug@==1 ECHO ON

IF @various@==0 SET TrackName=@TrackName_SA_acdir@
IF @various@==1 SET TrackName=@TrackName_VA_acdir@

SET add_rg=@ReplayGain@
SET have_cover=0
SET embed_cover=0

IF NOT @ReplayGain@==1 GOTO end_RG
    SET RG_Flac=--replay-gain
    SET RG_MetaFlac=--add-replay-gain
    SET RG_MetaMP3=--replay-gain
:end_RG

IF NOT @ApplyAlbumGain@==1 GOTO end_apply_AG
    SET ApplyAG_MetaMP3=--apply-gain album@AdjustAlbumGain_dB@
    SET ApplyAG_AacGain=/a /o /c /d @AdjustAlbumGain_dB@
    SET add_rg=1
:end_apply_AG

IF EXIST "@cover@" (
    SET have_cover=1
    SET embed_cover=@EmbedCover@
)

IF @various@==0 (
    SET ArtistField=artist
    SET MP3Artist=--artist "@artist@"
) else (
    SET ArtistField=album artist
    SET MP3Artist=--user-text "[album artist]@VA@" --frame "TPE2:@VA@"
)


REM ** Create Disc-related tags if we have a set

REM If a disc name has been provided
IF "@discname@" EQU "" GOTO end_discname
SET discName=discname
SET discName=@%discname%@
IF "@discname@" EQU "%discName%" GOTO end_discname

    REM Set tagging switches
    SET Disc_Flac=-T "discname=@discname@"
    SET Disc_Wavpack=-w "discname=@discname@"
    REM SET Disc_MP3=--frame TSST:"@discname@"
    SET Disc_MP3=--frame "TXXX[setsubtitle]:@discname@"
    SET Disc_OggEnc2=-c "discname=@discname@"
    SET Disc_Tak=-t "discname=@discname@"
    SET Disc_Flac_acdir=-T $qdiscname=@discname@$q
    SET Disc_Wavpack_acdir=-w $qdiscname=@discname@"$q
    REM SET Disc_MP3_acdir=--frame TSST:$q@discname@$q
    SET Disc_MP3_acdir=--frame $qTXXX[setsubtitle]:@discname@$q
    SET Disc_OggEnc2_acdir=-c $qdiscname=@discname@$q
    SET Disc_Tak_acdir=-t $qdiscname=@discname@$q

    REM Add disc name to image and track folder paths
    SET imageDir=%imageDir%\$discname$
    SET trackDir=%trackDir%\$discname$

    GOTO :end_discnumber

:end_discname

REM Ensure that we have numeric values
SET /A discNumber = @discnumber@ + 0
SET /A totalDiscs = @totaldiscs@ + 0

REM IF a valid disc number and total number of discs has been provided
IF %totalDiscs% LEQ 1 GOTO :end_discnumber
IF %discNumber% LEQ 0 GOTO :end_discnumber

    REM Set tagging switches
    SET Disc_Flac=-T "discnumber=@discnumber@" -T "totaldiscs=@totaldiscs@"
    SET Disc_Wavpack=-w "discnumber=@discnumber@" -w "totaldiscs=@totaldiscs@"
    SET Disc_MP3=--frame TPOS:"@discnumber@/@totaldiscs@"
    SET Disc_NeroAac=--disk "@discnumber@/@totaldiscs@"
    SET Disc_OggEnc2=-c "discnumber=@discnumber@" -c "totaldiscs=@totaldiscs@"
    SET Disc_Tak=-t "discnumber=@discnumber@" -t "totaldiscs=@totaldiscs@"
    SET Disc_Flac_acdir=-T $qdiscnumber=@discnumber@$q -T $qtotaldiscs=@totaldiscs@$q
    SET Disc_Wavpack_acdir=-w $qdiscnumber=@discnumber@$q -w $qtotaldiscs=@totaldiscs@$q
    SET Disc_MP3_acdir=--frame TPOS:$q@discnumber@/@totaldiscs@$q
    SET Disc_NeroAac_acdir=--disk $q@discnumber@/@totaldiscs@$q
    SET Disc_OggEnc2_acdir=-c $qdiscnumber=@discnumber@$q -c $qtotaldiscs=@totaldiscs@$q
    SET Disc_Tak_acdir=-t $qdiscnumber=@discnumber@$q -t $qtotaldiscs=@totaldiscs@$q

    REM Add disc number to image and track folder paths
    SET imageDir=%imageDir%\Disc @discnumber@
    SET trackDir=%trackDir%\Disc @discnumber@

:end_discnumber


SET run_wavegain=@UseWaveGainAG@
IF @AddCuesheetAG@==1 SET run_wavegain=1

IF %run_wavegain%==0 GOTO end_wavegain
    SET wg_tmp=wg_%RANDOM%
    @tools@\WaveGain.exe --album "@source@" --exec ECHO '%%ALBUM_GAIN%%'%%ALBUM_PEAK%%'%%ALBUM_NEW_PEAK%%'%%ALBUM_SCALE%%'> %wg_tmp%.txt
    FOR /F "usebackq tokens=1-6 delims='" %%a IN (%wg_tmp%.txt) DO (
        SET album_gain=%%b
        SET album_peak=%%c
        SET album_new_peak=%%d
        SET album_scale=%%e
    )
    ECHO REM REPLAYGAIN_ALBUM_GAIN %album_gain% dB> %wg_tmp%.cue
    ECHO REM REPLAYGAIN_ALBUM_PEAK %album_peak%>> %wg_tmp%.cue
    ECHO REM REPLAYGAIN_ALBUM_SCALE %album_scale%>> %wg_tmp%.cue
    DEL %wg_tmp%.txt
    TYPE "@cuesheet@" >> %wg_tmp%.cue
    MOVE /Y %wg_tmp%.cue "@cuesheet@"
:end_wavegain


REM ** Transfer RG values from Wavgain calculations, instead of recalculation.
IF @UseWaveGainAG@==1 IF %add_rg%==1 (
    SET RG_Flac=-T "replaygain_album_gain=%album_gain% dB" -T "replaygain_album_peak=%album_peak%"
    SET RG_MetaFlac=--set-tag="replaygain_album_gain=%album_gain% dB" --set-tag="replaygain_album_peak=%album_peak%"
    SET RG_Wavpack=-w "replaygain_album_gain=%album_gain% dB" -w "replaygain_album_peak=%album_peak%"
    SET RG_Wavpack_acdir=-w $qreplaygain_album_gain=%album_gain% dB$q -w $qreplaygain_album_peak=%album_peak%$q
    SET RG_Tak=-t "replaygain_album_gain=%album_gain% dB" -t "replaygain_album_peak=%album_peak%"
    SET RG_Tak_acdir=-t $qreplaygain_album_gain=%album_gain% dB$q -t $qreplaygain_album_peak=%album_peak%$q
    SET RG_MetaMP3=--user-text "[replaygain_album_gain]%album_gain% dB" --user-text "[replaygain_album_peak]%album_peak%"
    SET RG_OggEnc2_acdir=-c $qreplaygain_album_gain=%album_gain% dB$q -c $qreplaygain_album_peak=%album_peak%$q
)

REM ** Apply AlbumGain by using --scale <factor> computed from WaveGain. Only for MP3 and OGG.
IF @UseWaveGainAG@==1 IF @ApplyAlbumGain@==1 (
    SET ApplyAG_Lame=--scale %album_scale%
    SET ApplyAG_MetaMP3=--apply-gain @AdjustAlbumGain_dB@
    SET RG_MetaMP3=--user-text "[replaygain_album_gain]0.0 dB" --user-text "[replaygain_album_peak]%album_new_peak%"
    SET RG_OggEnc2_acdir=--scale %album_scale% -c $qreplaygain_album_gain=0.0 dB$q -c $qreplaygain_album_peak=%album_new_peak%$q
)


REM ---- Image ----


REM Ensure that the EAC log is available
:CheckForLog
IF NOT EXIST "@eaclog@" GOTO Pause


IF NOT @ImageExt@==flac GOTO end_flac_image
    SET dest="@ImageDir_Flac@%imageDir%"
    IF NOT EXIST %dest% MKDIR %dest%
    IF %embed_cover%==1 SET Cover_tag=--picture="|image/jpeg|||@cover@"
    @tools@\flac.exe @Opt_Flac@ %RG_Flac% %Cover_tag% %Disc_Flac% -T "%ArtistField%=@cdartist@" -T album="@album@" -T totaltracks="@numtracks@" -T date="@year@" -T genre="@genre@" -T comment="@comment@" -T encoded-by="%USERNAME%" -T encoding="Flac @Ver_Flac@ @Opt_Flac@" --tag-from-file="cuesheet=@cuesheet@" --tag-from-file="eaclog=@eaclog@" "@source@" -o "@image@"
MOVE /Y "@image@" %dest%
COPY /Y "@cuesheet@" %dest%
COPY /Y "@eaclog@" %dest%
    IF %have_cover%==1 COPY /Y "@cover@" %dest%\"@basename@.jpg"
:end_flac_image


IF NOT @ImageExt@==wv GOTO end_wavpack_image
    SET dest="@ImageDir_Wavpack@%imageDir%"
    IF NOT EXIST %dest% MKDIR %dest%
    @tools@\wavpack.exe @Opt_Wavpack@ %RG_Wavpack% %Disc_Wavpack% -w "%ArtistField%=@cdartist@" -w album="@album@" -w totaltracks="@numtracks@" -w year="@year@" -w genre="@genre@" -w comment="@comment@" -w encodedby="%USERNAME%" -w encodersettings="Wavpack @Ver_Wavpack@ @Opt_Wavpack@" -w cuesheet="@@cuesheet@" -w eaclog="@@eaclog@" "@source@" "@image@"
    IF @ReplayGain@==1 IF @UseWaveGainAG@==0 @tools@\wvgain.exe -a "@image@"
    TITLE "@album@"
    MOVE /Y "@image@" %dest%
    MOVE /Y "@cuesheet@" %dest%
    IF %have_cover%==1 COPY /Y "@cover@" %dest%\"@basename@.jpg"
:end_wavpack_image


IF NOT @ImageExt@==tak GOTO end_tak_image
    SET dest="@ImageDir_Tak@%imageDir%"
    IF NOT EXIST %dest% MKDIR %dest%
    @tools@\takc.exe -e @Opt_Tak@ "@source@" "@image@"
    @tools@\tag.exe %RG_Tak% %Disc_Tak% -t "%ArtistField%=@cdartist@" -t album="@album@" -t totaltracks="@numtracks@" -t year="@year@" -t genre="@genre@" -t comment="@comment@" -t encodedby="%USERNAME%" -t encodersettings="TAK @Ver_Tak@ @Opt_Tak@" -f cuesheet="@cuesheet@" -f eaclog="@eaclog@" "@image@"
    MOVE /Y "@image@" %dest%
    MOVE /Y "@cuesheet@" %dest%
    IF %have_cover%==1 COPY /Y "@cover@" %dest%\"@basename@.jpg"
:end_tak_image


IF NOT @ImageExt@==mp3 GOTO end_lame_image
    SET dest="@ImageDir_MP3@%imageDir%"
    IF NOT EXIST %dest% MKDIR %dest%
    IF %embed_cover%==1 SET Cover_tag=--pict "{3}@cover@"
    @tools@\lame.exe @Opt_LameMP3@ %ApplyAG_Lame% "@source@" "@image@"
    @tools@\metamp3.exe %RG_MetaMP3% %Cover_tag% %Disc_MP3% %MP3Artist% --album "@album@" --track @numtracks@ --year "@year@" --genre "@genre@" --comment "@comment@" --frame TENC:"%USERNAME%" --frame TSSE:"LAME @Ver_LameMP3@ @Opt_LameMP3@" "@image@"
    IF @ApplyAlbumGain@==1 @tools@\metamp3.exe %ApplyAG_MetaMP3% "@image@"
MOVE /Y "@image@" %dest%
COPY /Y "@cuesheet@" %dest%
COPY /Y "@eaclog@" %dest%
    IF %have_cover%==1 COPY /Y "@cover@" %dest%\"@basename@.jpg"
:end_lame_image


REM ---- Tracks ----


IF NOT @Flac@==1 GOTO end_flac_tracks
    SET dest="@TrackDir_Flac@%trackDir%"
    IF NOT EXIST %dest% MKDIR %dest%
    PUSHD %dest%
        IF @various@==1 SET VA_tag=-T $qalbum artist=@VA@$q
        IF %embed_cover%==1 SET Cover_tag=--picture=$#x
        @tools@\acdir.exe --overwrite --output "%TrackName%.flac" --extra-opt "|image/jpeg|||@cover@" --pipe "TITLE $n/$N flac $#T & @tools@\flac.exe @Opt_Flac@ %Cover_tag% %VA_tag% %Disc_Flac_acdir% -T artist=$#a -T album=$#T -T title=$#t -T tracknumber=$n/$N -T date=$q@year@$q -T genre=$q@genre@$q -T comment=$q@comment@$q -T encoded-by=$q%USERNAME%$q -T encoding=$qFlac @Ver_Flac@ @Opt_Flac@$q - -o $#o" "@sourcecuesheet@"
        IF %add_rg%==1 @tools@\Glob.exe -v -c @tools@\metaflac.exe %RG_MetaFlac% *.flac
        COPY /Y "@eaclog@" "EAClog.txt"
        IF %have_cover%==1 COPY /Y "@cover@" "folder.jpg"
        IF EXIST "@albumfile@.[*].cue" COPY /Y "@albumfile@.[*].cue" .
    POPD
:end_flac_tracks


IF NOT @Wavpack@==1 GOTO end_wavpack_tracks
    SET dest="@TrackDir_Wavpack@%trackDir%"
    IF NOT EXIST %dest% MKDIR %dest%
    PUSHD %dest%
        IF @various@==1 SET VA_tag=-w $qalbum artist=@VA@$q
        @tools@\acdir.exe --overwrite --output "%TrackName%.wv" --pipe "@tools@\wavpack.exe @Opt_Wavpack@ %RG_Wavpack_acdir% %VA_tag% %Disc_Wavpack_acdir% -w artist=$#a -w album=$#T -w title=$#t -w track=$n/$N -w year=$q@year@$q -w genre=$q@genre@$q -w comment=$q@comment@$q -w encodedby=$q%USERNAME%$q -w encodersettings=$qWavpack @Ver_Wavpack@ @Opt_Wavpack@$q - $#o" "@sourcecuesheet@"
        IF @ReplayGain@==1 IF @UseWaveGainAG@==0 @tools@\wvgain.exe -a *.wv
        COPY /Y "@eaclog@" "EAClog.txt"
        IF %have_cover%==1 COPY /Y "@cover@" "folder.jpg"
        IF EXIST "@albumfile@.[*].cue" COPY /Y "@albumfile@.[*].cue" .
    POPD
    TITLE "@album@"
:end_wavpack_tracks


IF NOT @Tak@==1 GOTO end_tak_tracks
    SET dest="@TrackDir_Tak@%trackDir%"
    IF NOT EXIST %dest% MKDIR %dest%
    PUSHD %dest%
        IF @various@==1 SET VA_tag=-t $qalbum artist=@VA@$q
        @tools@\acdir.exe --overwrite --output "%TrackName%.wav" --extract "@sourcecuesheet@"
        @tools@\acdir.exe --exec "@tools@\takc.exe -e -overwrite @Opt_Tak@ $q%TrackName%.wav$q $q%TrackName%.tak$q && @tools@\tag.exe %RG_Tak_acdir% %VA_tag% %Disc_Tak_acdir% -t artist=$#a -t album=$#T -t title=$#t -t track=$n/$N -t year=$q@year@$q -t genre=$q@genre@$q -t comment=$q@comment@$q -t encodedby=$q%USERNAME%$q -t encodersettings=$qTAK @Ver_Tak@ @Opt_Tak@$q $q%TrackName%.tak$q && DEL $q%TrackName%.wav$q" "@sourcecuesheet@"
        COPY /Y "@eaclog@" "EAClog.txt"
        IF %have_cover%==1 COPY /Y "@cover@" "folder.jpg"
        IF EXIST "@albumfile@.[*].cue" COPY /Y "@albumfile@.[*].cue" .
    POPD
:end_tak_tracks


IF NOT @LameMP3@==1 GOTO end_lame_tracks
    SET dest="@TrackDir_MP3@%trackDir%"
    IF NOT EXIST %dest% MKDIR %dest%
    PUSHD %dest%
        IF @various@==1 SET VA_tag=--user-text $q[album artist]@VA@$q --frame $qTPE2:@VA@$q
        IF %embed_cover%==1 SET Cover_tag=--pict $#x
        @tools@\acdir.exe --overwrite --output "%TrackName%.mp3" --extra-opt "{3}@cover@" --pipe "TITLE $n/$N mp3 $#T & @tools@\lame.exe @Opt_LameMP3@ %ApplyAG_Lame% - $#o & @tools@\metamp3.exe %Cover_tag% %VA_tag% %Disc_MP3_acdir% --artist $#a --album $#T --title $#t --track $n/$N --year $q@year@$q --genre $q@genre@$q --comment $q@comment@$q --frame TENC:$q%USERNAME%$q --frame TSSE:$qLAME @Ver_LameMP3@ @Opt_LameMP3@$q $#o" "@sourcecuesheet@"
        IF %add_rg%==1 @tools@\metamp3.exe %RG_MetaMP3% *.mp3
        IF @ApplyAlbumGain@==1 @tools@\metamp3.exe %ApplyAG_MetaMP3% *.mp3
COPY /Y "@eaclog@" %dest%
COPY /Y "@eaclog@" "EAClog.txt"
        IF %have_cover%==1 COPY /Y "@cover@" "folder.jpg"
        @tools@\tag.exe --playlist --onlyfiles --sort track --plname "00 - @basename@.m3u" "%dest%\*.mp3"
    POPD
:end_lame_tracks


IF NOT @NeroAac@==1 GOTO end_nero_aac_tracks
    SET dest="@TrackDir_AAC@%trackDir%"
    IF NOT EXIST %dest% MKDIR %dest%
    PUSHD %dest%
        IF @various@==1 SET VA_tag=--albumArtist $q@VA@$q --compilation true
        IF %embed_cover%==1 SET Cover_tag=--artwork $#x
        @tools@\acdir.exe --overwrite --output "%TrackName%.m4a" --extra-opt "@cover@" --pipe "TITLE $n/$N aac $#T & @tools@\neroAacEnc.exe @Opt_NeroAac@ -ignorelength -if - -of $#o & @tools@\AtomicParsley.exe $#o -o REACT_tmp.m4a %Cover_tag% %VA_tag% %Disc_NeroAac_acdir% --artist $#a --album $#T --tracknum $n/$N --title $#t --year $q@year@$q --genre $q@genre@$q --comment $q@comment@$q --encodingTool $qneroAacEnc @Ver_NeroAac@ @Opt_NeroAac@$q & MOVE /Y REACT_tmp.m4a $#o" "@sourcecuesheet@"
        IF @ApplyAlbumGain@==1 @tools@\aacgain.exe %ApplyAG_AacGain% *.m4a > gainlog.txt
        REM COPY /Y "@eaclog@" "EAClog.txt"
        IF %have_cover%==1 COPY /Y "@cover@" "folder.jpg"
    POPD
:end_nero_aac_tracks


IF NOT @OggEnc2@==1 GOTO end_oggenc_tracks
    SET dest="@TrackDir_OGG@%trackDir%"
    IF NOT EXIST %dest% MKDIR %dest%
    PUSHD %dest%
        IF @various@==1 SET VA_tag=-c $qalbum artist=@VA@$q
        @tools@\acdir.exe --overwrite --output "%TrackName%.ogg" --pipe "TITLE $n/$N ogg $#T & @tools@\oggenc2.exe @Opt_OggEnc2@ %RG_OggEnc2_acdir% %VA_tag% %Disc_OggEnc2_acdir% -c artist=$#a -c album=$#T -c title=$#t -c tracknumber=$n/$N -c date=$q@year@$q -c genre=$q@genre@$q -c comment=$q@comment@$q -c encoded-by=$q%USERNAME%$q -c encoding=$qOggEnc @Ver_OggEnc2@ @Opt_OggEnc2@$q - -o $#o" "@sourcecuesheet@"
        IF @ReplayGain@==1 IF @UseWaveGainAG@==0 @tools@\vorbisgain.exe -a *.ogg
        REM COPY /Y "@eaclog@" "EAClog.txt"
        IF %have_cover%==1 COPY /Y "@cover@" "folder.jpg"
    POPD
:end_oggenc_tracks


REM ================ End Main Script ===================


IF @Debug@==1 (
    PAUSE
    EXIT
)

REM ** Cleanup

DEL "@source@"
DEL "@eaclog@"
DEL "@cuesheet@"
DEL "@albumfile@.[*].cue"
DEL "@cover@"

REM ** Delete this .bat file:
DEL %0


GOTO :EOF

REM Pause for 2000 milliseconds and return to :CheckForLog
:Pause
@ECHO Waiting for EAC log file...
PING 1.1.1.1 -n 1 -w 2000 >NUL
GOTO CheckForLog



and here is my REACT-track.cfg file:

Code: [Select]
@ECHO OFF
CHCP 1252 | PROMPT
TITLE @track@/@numtracks@ - "@album@"

REM Copyright © Tycho, 2006
REM
REM ** Create compressed audio tracks from ripped .wav tracks.
REM **
REM ** You may consider using image mode (F10)
REM ** as it supports creating tracks via acdir.exe,
REM ** and post-processing will always work (see below).
REM **
REM ** Flac requires flac.exe/metaflac.exe (v1.1.3)
REM ** NeroAac requires NeroAacEnc.exe/NeroAacTag.exe/AacGain.exe.
REM ** OggEnc2 requires OggEnc2.exe/VorbisGain.exe.
REM **
REM ** I prefer applying album gain 92dB to get a reasonable
REM ** volume for my DAP. The RG tags are still relative
REM ** to 89dB SPL, i.e. album gain will be about -3.0dB.


REM ============== Begin Main Script ==================


IF @Debug@==1 ECHO ON

REM ** Create Disc-related tags if we have a set

REM If a disc name has been provided
IF "@discname@" EQU "" GOTO end_discname
SET discName=discname
SET discName=@%discname%@
IF "@discname@" EQU "%discName%" GOTO end_discname

    REM Set tagging switches
    SET Disc_Flac=-T "discname=@discname@"
    SET Disc_Wavpack=-w "discname=@discname@"
    REM SET Disc_MP3=--frame TSST:"@discname@"
    SET Disc_MP3=--frame "TXXX[setsubtitle]:@discname@"
    SET Disc_OggEnc2=-c "discname=@discname@"
    SET Disc_Tak=-t "discname=@discname@"

    REM Add disc name to folder path
    SET trackDir=%trackDir%\$discname$

    GOTO :end_discnumber

:end_discname

REM Ensure that we have numeric values
SET /A discNumber = @discnumber@ + 0
SET /A totalDiscs = @totaldiscs@ + 0

REM IF a valid disc number and total number of discs has been provided
IF %totalDiscs% LEQ 1 GOTO :end_discnumber
IF %discNumber% LEQ 0 GOTO :end_discnumber

    REM Set tagging switches
    SET Disc_Flac=-T "discnumber=@discnumber@" -T "totaldiscs=@totaldiscs@"
    SET Disc_Wavpack=-w "discnumber=@discnumber@" -w "totaldiscs=@totaldiscs@"
    SET Disc_MP3=--frame TPOS:"@discnumber@/@totaldiscs@"
    SET Disc_NeroAac=--disk "@discnumber@/@totaldiscs@"
    SET Disc_OggEnc2=-c "discnumber=@discnumber@" -c "totaldiscs=@totaldiscs@"
    SET Disc_Tak=-t "discnumber=@discnumber@" -t "totaldiscs=@totaldiscs@"

    REM Add disc number to folder path
    SET trackDir=%trackDir%\Disc @discnumber@

:end_discnumber


SET TrackDir_Flac="@TrackDir_Flac@%trackDir%"
SET TrackDir_Wavpack="@TrackDir_Wavpack@%trackDir%"
SET TrackDir_MP3="@TrackDir_MP3@%trackDir%"
SET TrackDir_AAC="@TrackDir_AAC@%trackDir%"
SET TrackDir_OGG="@TrackDir_OGG@%trackDir%"
SET TrackDir_Tak="@TrackDir_Tak@%trackDir%"


SET TrackName=@trackname@

SET have_cover=0
SET embed_cover=0

IF EXIST "@cover@" (
    SET have_cover=1
    SET embed_cover=@EmbedCover@
)




REM ---- Track ----


IF NOT @Flac@==1 GOTO end_flac_tracks
    IF NOT EXIST %TrackDir_Flac% MKDIR %TrackDir_Flac%
    PUSHD %TrackDir_Flac%
        IF @various@==1 SET VA_tag=-T "album artist=@VA@"
        IF %embed_cover%==1 SET Cover_tag=--picture="|image/jpeg|||@cover@"
        ECHO ON
        @tools@\flac.exe @Opt_Flac@ %Cover_tag% %VA_tag% %Disc_Flac% -T artist="@artist@" -T album="@album@" -T tracknumber="@track@/@numtracks@" -T title="@title@" -T date="@year@" -T genre="@genre@" -T comment="@comment@" -T encoded-by="%USERNAME%" -T encoding="Flac @Ver_Flac@ @Opt_Flac@" "@source@" -o "%TrackName%.flac"
        @ECHO OFF
        IF %have_cover%==1 IF NOT EXIST folder.jpg COPY "@cover@" folder.jpg
    POPD
:end_flac_tracks


IF NOT @Wavpack@==1 GOTO end_wavpack_tracks
    IF NOT EXIST %TrackDir_Wavpack% MKDIR %TrackDir_Wavpack%
    PUSHD %TrackDir_Wavpack%
        IF @various@==1 SET VA_tag=-w "album artist=@VA@"
        ECHO ON
        @tools@\wavpack.exe @Opt_Wavpack@ %VA_tag% %Disc_Wavpack% -w artist="@artist@" -w album="@album@" -w track="@track@/@numtracks@" -w title="@title@" -w year="@year@" -w genre="@genre@" -w comment="@comment@" -w encodedby="%USERNAME%" -w encodersettings="Wavpack @Ver_Wavpack@ @Opt_Wavpack@" "@source@" "%TrackName%.wv"
        @ECHO OFF
        IF %have_cover%==1 IF NOT EXIST folder.jpg COPY "@cover@" folder.jpg
        TITLE @track@/@numtracks@ - "@album@"
    POPD
:end_wavpack_tracks


IF NOT @Tak@==1 GOTO end_tak_tracks
    IF NOT EXIST %TrackDir_Tak% MKDIR %TrackDir_Tak%
    PUSHD %TrackDir_Tak%
        IF @various@==1 SET VA_tag=-t "album artist=@VA@"
        ECHO ON
        @tools@\takc.exe -e -overwrite @Opt_Tak@ "@source@" "%TrackName%.tak"
        @tools@\tag.exe %VA_tag% %Disc_Tak% -t artist="@artist@" -t album="@album@" -t track="@track@/@numtracks@" -t title="@title@" -t year="@year@" -t genre="@genre@" -t comment="@comment@" -t encodedby="%USERNAME%" -t encodersettings="TAK @Ver_Tak@ @Opt_Tak@" "%TrackName%.tak"
        @ECHO OFF
        IF %have_cover%==1 IF NOT EXIST folder.jpg COPY "@cover@" folder.jpg
        TITLE @track@/@numtracks@ - "@album@"
    POPD
:end_tak_tracks


IF NOT @LameMP3@==1 GOTO end_lame_tracks
    IF NOT EXIST %TrackDir_MP3% MKDIR %TrackDir_MP3%
    PUSHD %TrackDir_MP3%
        IF @various@==1 SET VA_tag=--user-text "[album artist]@VA@" --frame "TPE2:@VA@"
        IF %embed_cover%==1 SET Cover_tag=--pict "{3}@cover@"
        ECHO ON
        @tools@\lame.exe @Opt_LameMP3@ "@source@" "%TrackName%.mp3"
        @tools@\metamp3.exe %Cover_tag% %VA_tag% %Disc_MP3% --artist "@artist@" --album "@album@" --track @track@/@numtracks@ --title "@title@" --year "@year@" --genre "@genre@" --comment "@comment@" --frame TENC:"%USERNAME%" --frame TSSE:"LAME @Ver_LameMP3@ @Opt_LameMP3@" "%TrackName%.mp3"
        @ECHO OFF
        IF %have_cover%==1 IF NOT EXIST folder.jpg COPY "@cover@" folder.jpg
        @tools@\tag.exe --playlist --onlyfiles --sort track --plname "00 - @basename@.m3u" "%dest%\*.mp3"
    POPD
:end_lame_tracks


IF NOT @iTunesAac@==1 GOTO end_itunes_aac_tracks
    IF NOT EXIST %TrackDir_AAC% MKDIR %TrackDir_AAC%
    PUSHD %TrackDir_AAC%
        IF %embed_cover%==1 SET Cover_tag=-r "@cover@"
        ECHO ON
        @tools@\iTunesEncode.exe @Opt_iTunesAac@ -e "AAC Encoder" %Cover_tag% -x @various@ -a "@artist@" -l "@album@" -n "@track@" -m "@numtracks@" -t "@title@" -y "@year@" -g "@genre@" -c "@comment@" -i "@source@" -o "%TrackName%.m4a"
        @ECHO OFF
        IF %have_cover%==1 IF NOT EXIST folder.jpg COPY "@cover@" folder.jpg
    POPD
    GOTO end_nero_aac_tracks
:end_itunes_aac_tracks

IF NOT @NeroAac@==1 GOTO end_nero_aac_tracks
    IF NOT EXIST %TrackDir_AAC% MKDIR %TrackDir_AAC%
    PUSHD %TrackDir_AAC%
        IF @various@==1 SET VA_tag=--albumArtist "@VA@" --compilation true
        IF %embed_cover%==1 SET Cover_tag=--artwork "@cover@"
        ECHO ON
        @tools@\neroAacEnc.exe @Opt_NeroAac@ -if "@source@" -of "%TrackName%.m4a"
        @tools@\AtomicParsley.exe "%TrackName%.m4a" -o REACT_tmp.m4a %Cover_tag% %VA_tag% %Disc_NeroAac% --artist "@artist@" --album "@album@" --tracknum "@track@/@numtracks@" --title "@title@" --year "@year@" --genre "@genre@" --comment "@comment@" --encodingTool "neroAacEnc @Ver_NeroAac@ @Opt_NeroAac@"
        @ECHO OFF
        MOVE /Y REACT_tmp.m4a "%TrackName%.m4a"
        IF %have_cover%==1 IF NOT EXIST folder.jpg COPY "@cover@" folder.jpg
    POPD
:end_nero_aac_tracks


IF NOT @OggEnc2@==1 GOTO end_oggenc_tracks
    IF NOT EXIST %TrackDir_OGG% MKDIR %TrackDir_OGG%
    PUSHD %TrackDir_OGG%
        IF @various@==1 SET VA_tag=-c "album artist=@VA@"
        ECHO ON
        @tools@\oggenc2.exe @Opt_OggEnc2@ %VA_tag% %Disc_OggEnc2% -c artist="@artist@" -c album="@album@" -c tracknumber="@track@/@numtracks@" -c title="@title@" -c date="@year@" -c genre="@genre@" -c comment="@comment@" -c encoded-by="%USERNAME%" -c encoding="OggEnc @Ver_OggEnc2@ @Opt_OggEnc2@" "@source@" -o "%TrackName%.ogg"
        @ECHO OFF
        IF %have_cover%==1 IF NOT EXIST folder.jpg COPY "@cover@" folder.jpg
    POPD
:end_oggenc_tracks


REM ** Delete the source .wav
DEL "@source@"


REM ---- Post-processing ----


rem ** Scan and compute ReplayGain and add cover picture for supported formats.
rem ** NB: The following will only work if at least the last track is selected,
rem ** and it is a regular audio track.

IF NOT @track@==@numtracks@ GOTO end_post_process

    SET add_rg=@ReplayGain@
    SET aac_enc=@NeroAac@
    IF @iTunesAac@==1 SET aac_enc=1

    IF NOT @ReplayGain@==1 GOTO end_RG
        SET RG_MetaFlac=--add-replay-gain
        SET RG_MetaMP3=--replay-gain
    :end_RG

    IF NOT @ApplyAlbumGain@==1 GOTO end_apply_AG
        SET RG_MetaMP3=--apply-gain album@AdjustAlbumGain_dB@
        SET RG_AacGain=/a /o /c /d @AdjustAlbumGain_dB@
        SET add_rg=1
    :end_apply_AG


    REM ** Audio Formats:

    IF @Flac@==1 (
        PUSHD %TrackDir_Flac%
            IF %add_rg%==1 @tools@\Glob.exe -v -c @tools@\metaflac.exe %RG_MetaFlac% *.flac
            COPY /Y "@eaclog@" "EAClog.txt"
        POPD
    )

    IF @Wavpack@==1 (
        PUSHD %TrackDir_Wavpack%
            IF %add_rg%==1 @tools@\wvgain.exe -a *.wv
            REM COPY /Y "@eaclog@" "EAClog.txt"
        POPD
    )

    IF @LameMP3@==1 (
        PUSHD %TrackDir_MP3%
            IF %add_rg%==1 @tools@\metamp3.exe %RG_MetaMP3% *.mp3
            COPY /Y "@eaclog@" "EAClog.txt"
        POPD
    )

    IF %aac_enc%==1 (
        PUSHD %TrackDir_AAC%
            IF %add_rg%==1 @tools@\aacgain.exe %RG_AacGain% *.m4a > "gainlog.txt"
            REM COPY /Y "@eaclog@" "EAClog.txt"
        POPD
    )

    IF @OggEnc2@==1 (
        PUSHD %TrackDir_OGG%
            IF %add_rg%==1 @tools@\vorbisgain.exe -a *.ogg
            REM COPY /Y "@eaclog@" "EAClog.txt"
        POPD
    )


    REM ** Cleanup

    DEL "@eaclog@"
    DEL "@albumfile@.[*].cue"
    DEL "@cover@"

:end_post_process


REM ================ End Main Script ===================


IF @Debug@==1 (
    PAUSE
    EXIT
)

REM ** Delete this .bat file:
DEL %0



Any comments/suggestions/advice would be appreciated
Title: REACT 2 Released
Post by: hobbsy on 2007-10-10 00:27:45
I just tried doing a 'F4' rip (using a different album: The Verve - A Storm In Heaven) and it produced these files in the FLAC and MP3 folders (http://img255.imageshack.us/img255/4932/reactfoldersverveasihvl3.gif)

This time I did get a M3U playlist, entitled 'The Verve - A Storm In Heaven.m3u' -- but it was located in

C:\Music\The Verve - A Storm In Heaven.m3u

rather than in

C:\Music\mp3\The Verve\[1993] A Storm In Heaven\The Verve - A Storm In Heaven.m3u

The M3U file doesn't work if I drag n drop it into MediaMonkey



Here are the contents of The Verve - A Storm In Heaven.m3u

Code: [Select]
#EXTM3U
#EXTINF:239,The Verve - Star Sail
The Verve - A Storm In Heaven - 01 - Star Sail.eac
#EXTINF:243,The Verve - Slide Away
The Verve - A Storm In Heaven - 02 - Slide Away.eac
#EXTINF:339,The Verve - Already There
The Verve - A Storm In Heaven - 03 - Already There.eac
#EXTINF:328,The Verve - Beautiful Mind
The Verve - A Storm In Heaven - 04 - Beautiful Mind.eac
#EXTINF:316,The Verve - The Sun. The Sea
The Verve - A Storm In Heaven - 05 - The Sun, The Sea.eac
#EXTINF:380,The Verve - Virtual World
The Verve - A Storm In Heaven - 06 - Virtual World.eac
#EXTINF:185,The Verve - Make It 'Til Monday
The Verve - A Storm In Heaven - 07 - Make It 'Til Monday.eac
#EXTINF:205,The Verve - Blue
The Verve - A Storm In Heaven - 08 - Blue.eac
#EXTINF:400,The Verve - Butterfly
The Verve - A Storm In Heaven - 09 - Butterfly.eac
#EXTINF:188,The Verve - See You In The Next One (Have A Good Time)
The Verve - A Storm In Heaven - 10 - See You In The Next One (Have A Good Time).eac



Also, with a 'F4' rip I got no CUE files but I did get a EAClog.txt in both MP3+FLAC folders:
 (can this log file be auto-renamed the same as the artist and title of the CD?)

EAClog.txt:

Code: [Select]
Exact Audio Copy V0.99 prebeta 3 from 28. July 2007

EAC extraction logfile from 9. October 2007, 23:49

The Verve / A Storm In Heaven

Used drive  : HL-DT-STDVDRAM GSA-4167B  Adapter: 1  ID: 1

Read mode              : Secure
Utilize accurate stream : Yes
Defeat audio cache      : No
Make use of C2 pointers : Yes

Read offset correction                      : 667
Overread into Lead-In and Lead-Out          : No
Fill up missing offset samples with silence : Yes
Delete leading and trailing silent blocks  : No
Null samples used in CRC calculations      : Yes
Used interface                              : Native Win32 interface for Win NT & 2000
Gap handling                                : Not detected, thus appended to previous track

Used output format              : User Defined Encoder
Selected bitrate                : 192 kBit/s
Quality                        : High
Add ID3 tag                    : No
Command line compressor        : C:\Program Files\REACT2\REACT.exe
Additional command line options : REACT %o %s %d "%a" "%g" "%t" "%n" "%x" "%y" "%m" "%e" "%f" "%b" %r


TOC of the extracted CD

    Track |  Start  |  Length  | Start sector | End sector
    ---------------------------------------------------------
        1  |  0:00.00 |  3:59.20 |        0    |    17944 
        2  |  3:59.20 |  4:03.07 |    17945    |    36176 
        3  |  8:02.27 |  5:38.58 |    36177    |    61584 
        4  | 13:41.10 |  5:27.72 |    61585    |    86181 
        5  | 19:09.07 |  5:16.20 |    86182    |  109901 
        6  | 24:25.27 |  6:20.18 |    109902    |  138419 
        7  | 30:45.45 |  3:05.07 |    138420    |  152301 
        8  | 33:50.52 |  3:25.00 |    152302    |  167676 
        9  | 37:15.52 |  6:39.50 |    167677    |  197651 
      10  | 43:55.27 |  3:07.48 |    197652    |  211724 


Track  1

    Filename C:\Music\The Verve - A Storm In Heaven - 01 - Star Sail.wav

    Peak level 100.0 %
    Track quality 100.0 %
    Test CRC 7F3637EB
    Copy CRC 7F3637EB
    Accurately ripped (confidence 4)  [4FEDABFA]
    Copy OK

Track  2

    Filename C:\Music\The Verve - A Storm In Heaven - 02 - Slide Away.wav

    Peak level 98.9 %
    Track quality 100.0 %
    Test CRC 2A837DC4
    Copy CRC 2A837DC4
    Accurately ripped (confidence 4)  [67DE8AE4]
    Copy OK

Track  3

    Filename C:\Music\The Verve - A Storm In Heaven - 03 - Already There.wav

    Peak level 97.7 %
    Track quality 100.0 %
    Test CRC A4F81909
    Copy CRC A4F81909
    Accurately ripped (confidence 4)  [3A5354B7]
    Copy OK

Track  4

    Filename C:\Music\The Verve - A Storm In Heaven - 04 - Beautiful Mind.wav

    Peak level 91.5 %
    Track quality 100.0 %
    Test CRC 564DB809
    Copy CRC 564DB809
    Accurately ripped (confidence 4)  [6C3243CD]
    Copy OK

Track  5

    Filename C:\Music\The Verve - A Storm In Heaven - 05 - The Sun, The Sea.wav

    Peak level 95.5 %
    Track quality 100.0 %
    Test CRC 26E3AB94
    Copy CRC 26E3AB94
    Accurately ripped (confidence 4)  [BB631E44]
    Copy OK

Track  6

    Filename C:\Music\The Verve - A Storm In Heaven - 06 - Virtual World.wav

    Peak level 97.7 %
    Track quality 99.9 %
    Test CRC A8B401EA
    Copy CRC A8B401EA
    Accurately ripped (confidence 4)  [1E46BB57]
    Copy OK

Track  7

    Filename C:\Music\The Verve - A Storm In Heaven - 07 - Make It 'Til Monday.wav

    Peak level 84.3 %
    Track quality 100.0 %
    Test CRC 31823755
    Copy CRC 31823755
    Accurately ripped (confidence 4)  [87EDF7C1]
    Copy OK

Track  8

    Filename C:\Music\The Verve - A Storm In Heaven - 08 - Blue.wav

    Peak level 97.9 %
    Track quality 100.0 %
    Test CRC 9E018F39
    Copy CRC 9E018F39
    Accurately ripped (confidence 4)  [BE95A042]
    Copy OK

Track  9

    Filename C:\Music\The Verve - A Storm In Heaven - 09 - Butterfly.wav

    Peak level 97.9 %
    Track quality 100.0 %
    Test CRC 0C16CD56
    Copy CRC 0C16CD56
    Accurately ripped (confidence 4)  [3FBA311C]
    Copy OK

Track 10

    Filename C:\Music\The Verve - A Storm In Heaven - 10 - See You In The Next One (Have A Good Time).wav

    Peak level 94.6 %
    Track quality 100.0 %
    Test CRC AED36FEB
    Copy CRC AED36FEB
    Accurately ripped (confidence 4)  [DC90B5D4]
    Copy OK


All tracks accurately ripped

No errors occurred

End of status report


Finally, with this type of rip (F4), my FLAC tracks did not have the album art embedded (?)
EDIT - actually, with both of my rips (F4 + F10), the album art was not embedded in the FLAC tracks
Title: REACT 2 Released
Post by: Martin H on 2007-10-10 01:02:52
Hi hobbsy

First you need to decide between lossless images or track files, as there's no point in using both.
If you want lossless track files, then change 'ImageExt' into 'wav' in your REACT.ini.
If you want a lossless image, then keep 'ImageExt' as 'flac', but change 'Flac' to '0' under [UserTrackFormats].
I haven't really gotten into the m3u issue myself, since i never use playlists personally.
You aren't getting cuesheets because you haven't set 'CreateAllCuesheets' to '1' in 'REACT.ini'. If you do that, then you will get all the 4 cuesheet types, but most people only want the 'multiple gaps' type, and this can be done by changing REACT-image.cfg :

Change :
Code: [Select]
IF NOT @Flac@==1 GOTO end_flac_tracks
[...]
IF EXIST "@albumfile@.[*].cue" COPY /Y "@albumfile@.[*].cue" .


Into :
Code: [Select]
 
IF NOT @Flac@==1 GOTO end_flac_tracks
[...]
IF EXIST "@albumfile@.[mg].cue" COPY /Y "@albumfile@.[mg].cue" "@basename@.cue"


In REACT only the lossless tracks/images gets cuesheets as there's not really much point in using cuesheets for lossy files, but if you want them still, then let me now. Also, the cuesheet will most likely be referencing non-existant filenames, so you also need to make the changes that this wiki article suggests : http://wiki.hydrogenaudio.org/index.php?ti...File_References (http://wiki.hydrogenaudio.org/index.php?title=REACT:Amending_Cuesheet_File_References)

For the log files, then do the following :

In 'REACT-image.cfg' change :
Code: [Select]
IF NOT @Flac@==1 GOTO end_flac_tracks
[...]
COPY /Y "@eaclog@" "EAClog.txt"


Into :
Code: [Select]
IF NOT @Flac@==1 GOTO end_flac_tracks
[...]
COPY /Y "@eaclog@" "@basename@.txt"


Change :
Code: [Select]
IF NOT @LameMP3@==1 GOTO end_lame_tracks
[...]
COPY /Y "@eaclog@" %dest%
COPY /Y "@eaclog@" "EAClog.txt"


Into :
Code: [Select]
IF NOT @LameMP3@==1 GOTO end_lame_tracks
[...]
COPY /Y "@eaclog@" "@basename@.txt"


For the covers, then in REACT-image.cfg change :
Code: [Select]
IF NOT @Flac@==1 GOTO end_flac_tracks
[...]
IF %have_cover%==1 COPY /Y "@cover@" "folder.jpg"


Into :
Code: [Select]
IF NOT @Flac@==1 GOTO end_flac_tracks
[...]
IF %have_cover%==1 COPY /Y "@cover@" "@basename@.jpg"


Change :
Code: [Select]
IF NOT @LameMP3@==1 GOTO end_lame_tracks
[...]
IF %have_cover%==1 COPY /Y "@cover@" "folder.jpg"


Into :
Code: [Select]
IF NOT @LameMP3@==1 GOTO end_lame_tracks
[...]
IF %have_cover%==1 COPY /Y "@cover@" "@basename@.jpg"


However, beware that i believe that most playback apps will look for covers with the 'folder.jpg' name, so think about if you actually want to do this change...

Edit : I have just seen your last post, and you should beware that F10 is for REACT-image.cfg and F4 is for REACT-tracks.cfg... F10 and REACT-image.cfg is recommended and also even though you decide that you don't want to use images...
Title: REACT 2 Released
Post by: hobbsy on 2007-10-10 02:36:37
Hi Martin - thank you so much for your edits and reply

I just updated my REACT-image.cfg and REACT.ini files with your suggestions
(all except the last 2 regarding the album folder name changes)

Now, when I try to do a 'F10' rip I get the individual FLAC and MP3 tracks in their respective folders - plus a .JPG called 'folder.jpg' and a LOG file in the format 'artist - [year] album title.txt' in each of the FLAC+MP3 folders

I don't however get a CUE or M3U ?

Can FLAC tracks have the artwork embedded?

I think I've decided to backup my CD collection into individual FLAC tracks (rather than an image of each CD), along with V0 mp3s. Does this mean I should still be using 'F10' each time?



======


Change :
Code: [Select]
IF NOT @Flac@==1 GOTO end_flac_tracks
[...]
IF EXIST "@albumfile@.[*].cue" COPY /Y "@albumfile@.[*].cue" .


Into :
Code: [Select]
 
IF NOT @Flac@==1 GOTO end_flac_tracks
[...]
IF EXIST "@albumfile@.[mg].cue" COPY /Y "@albumfile@.[mg].cue" "@basename@.cue"



Is there meant to be a period/fullstop '.' at the end of the editted line?
Title: REACT 2 Released
Post by: Martin H on 2007-10-10 03:00:35
You are very welcome, mate 

I'm affraid i can't help you with the m3u's. Second, i'm sorry, but i can see that i have made a mistake. In the examples i have given you, then please change '@basename@' into '@cdartist@ - [@year@] @album@'(as else there will be that extra 'title' in the logs/cues). Then about the missing cuesheet, then i don't relly undertstand why it isn't made, but in the example i gave you, then it should all be on the same line, like this :

IF EXIST "@albumfile@.[mg].cue" COPY /Y "@albumfile@.[mg].cue" "@cdartist@ - [@year@] @album@.cue"

However, not doing that, should also copy the cuesheet into the right place, but just keep it named as '@albumfile@.[mg].cue' and make an error in the log for the next line, so i really don't know why(and of course have 'CreateAllCuesheets' set to '1')... The fullstop should be there in the original cfg, but not in my edit however. Yes, it is recommended to use F10 even though you don't make images, as it's best for certain post-processing operations, like album gain etc. You should set 'EmbedCover' to '1' in REACT.ini for getting the coverart embedded into FLAC and MP3 tracks.

Sorry, for the mistakes and for not being able to help you with everything...
Title: REACT 2 Released
Post by: hobbsy on 2007-10-10 03:26:45
I think I'm getting slightly confused by the 2 cfg files....

Is it correct that when you use 'F10', the only cfg file that is called is REACT-image.cfg

and when 'F4' is used, only REACT-track.cfg is called/used?

or are both cfg used regardless of the F4/F10 key pressed?



Also, within REACT-image.cfg it seems to be seperated by the commented out lines

REM ---- Image ----

and

REM ---- Tracks ----

are both sections used with a F10 rip?



My F10 rips are not producing a CUE now ... could it be due to the final lines on my REACT-image.cfg file:

Code: [Select]
DEL "@source@"
DEL "@eaclog@"
DEL "@cuesheet@"
DEL "@albumfile@.[*].cue"
DEL "@cover@"
Title: REACT 2 Released
Post by: hobbsy on 2007-10-10 03:55:46
My F10 rips are not producing a CUE now ... could it be due to the final lines on my REACT-image.cfg file:

Code: [Select]
DEL "@source@"
DEL "@eaclog@"
DEL "@cuesheet@"
DEL "@albumfile@.[*].cue"
DEL "@cover@"



EDIT:--

if I remove the two lines at the bottom

Code: [Select]
DEL "@cuesheet@"
DEL "@albumfile@.[*].cue"


I get two CUE files, but they are under C:\Music\ rather than in the C:\Music\artist\title\ folder
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-10-10 08:53:37
F10 will run REACT-image.cfg and F4 will run REACT-track.cfg

REACT-image contains code to deal with multiple images and also multiple tracks.  If you rip to image you can create tracks at the same time.

To save confusion, and a lot of unecessary posting, I think you should decide whether you are using images or tracks, and then ask questions solely about that practise.

Assuming that you will be using REACT-track.cfg:

To run Tag to create the M3U you should change (near the very bottom of the file):

Code: [Select]
IF @LameMP3@==1 (
PUSHD %TrackDir_MP3%
    IF %add_rg%==1 @tools@\metamp3.exe %RG_MetaMP3% *.mp3
    REM COPY /Y "@eaclog@" "EAClog.txt"
POPD
)

... to:

Code: [Select]
IF @LameMP3@==1 (
PUSHD %TrackDir_MP3%
    IF %add_rg%==1 @tools@\metamp3.exe %RG_MetaMP3% *.mp3
    REM COPY /Y "@eaclog@" "$artist$ - [$year$] $album$.txt"
    @tools@\tag.exe --playlist --onlyfiles --sort track --plname "$artist$ - [$year$] $album$.m3u"
POPD
)

Notice that I have changed the EAC log name to "$artist$ - [$year$] $album$.txt", and amended the M3U similarly.

NB: Notice that your previous M3U has ".eac" as the file extensions - which is why it did not work.

There's too much else to read here.  Pick a ripping method - image or tracks - implement the changes that Martin and I (to a lesser degree) have suggested, and then come back with some clear indications of what is still not right.  I'm sure we can finish it off from there.
Title: REACT 2 Released
Post by: gsa999 on 2007-10-10 15:40:16
Is it possible to change the format of @curdate@ which appears in the comment when ripping with EAC and REACT2 to UK date format?
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-10-10 16:45:38
Just discovered CueProc which replaced ACDIR. Does anyone know if REACT be updated to use CueProc at some point in the future?
I guess you can change your CFG to use CueProc whenever.  Maybe Tycho will switch to CueProc with REACT 3, but I'm not sure whether there is a need.  I don't really know much about CueProc - I'm happy with ACDIR.
Is it possible to change the format of @curdate@ which appears in the comment when ripping with EAC and REACT2 to UK date format?
Not via the CFG.  DOS doesn't really have any useful date functions either.
Title: REACT 2 Released
Post by: hobbsy on 2007-10-11 02:34:01
Thanks Martin & Synthetic Soul - my apologies for the multiple posts

I want individual FLAC and individual (V0) MP3 tracks, so I think I will stick to using 'F4' (as I do not require a large FLAC image). Also I don't think I really need the ReplayGain or AlbumGain features.

I am currently getting a pop-up error when I try to F4 rip now

Code: [Select]
Unhandled exception

at Gaps.2150 -> INDEX-RANGE


Have you seen this before?
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-10-11 10:19:35
Have you seen this before?
No!

I can't guess what application is raising that error.  Any more info?

Does this happen with only one disc, or with a few?
Title: REACT 2 Released
Post by: sidewalking on 2007-10-13 06:45:22
Thanks for the info drbeachboy....As far as your config using NeroAacTag and AtomicParsley, yes, I would like to take a look at what you are doing to tag your files.  I would appreciate it if you could post your code.


I had to keep tweaking my REACT2 config file as well to get NeroAacTag to replace AtomicParsley correctly.  I thought I would share my current "working" section of code here as well:

Code: [Select]
IF NOT @NeroAac@==1 GOTO end_nero_aac_tracks
    IF NOT EXIST %TrackDir_AAC% MKDIR %TrackDir_AAC%
    PUSHD %TrackDir_AAC%
        IF @various@==1 SET VA_tag=--albumArtist "@VA@" --compilation true
        IF %embed_cover%==1 SET Cover_tag=-add-cover:front:"@cover@"
        ECHO ON
        @tools@\neroAacEnc_SSE.exe @Opt_NeroAac@ -if "@source@" -of "%TrackName%.m4a"
        @tools@\Neroaactag.exe "%TrackName%.m4a" REACT_tmp.m4a %Cover_tag% %VA_tag% -meta:artist="@artist@" -meta:album="@album@" -meta:track="@track@" -meta:title="@title@" -meta:year="@year@" -meta:genre="@genre@" -meta:totaltracks="@numtracks@" -meta:comment="NeroAacEnc @Ver_NeroAac@: @Opt_NeroAac@"
        @ECHO OFF
        IF %have_cover%==1 IF NOT EXIST folder.jpg COPY "@cover@" folder.jpg
    POPD
:end_nero_aac_tracks


Just in case there are others looking for another example.  BTW, I am using EAC V0.95 beta 4...
Title: REACT 2 Released
Post by: gsa999 on 2007-10-13 16:57:43
Hi,
I did post this question several months ago, but did not get a response. I have only just got back to trying to get this to work now

I have downloaded metamp3 v0.92b5 in order to get leading zeros on mp3 tracks and now I am not getting any tags at all added to my mp3 files via REACT.

I think its something to do with the --pict parameter not appearing in the metamp3.txt file. Presumably I now need to make changes to the REACT config files to get all this working again since the metamp3 command line parameters have changed - I think its the %Cover_tag% and possibly the %VA-tag% fields that need changing, but what do they need changing to and does the mp3 image bit need to change as well.
I have checked that metamp3 does work by adding an artist without using REACT.

So basically I need to know what changes do I need to make to the REACT image and track config files in order to use the latest version of metamp3?

Thx
Title: REACT 2 Released
Post by: Martin H on 2007-10-13 22:12:33
Hi gsa999

I don't personally use metamp3.exe or MP3 for that matter anymore, but let's see if i cannot help you anyway

I don't know if you use the track or image based config, but i'm just assuming that you use the image based config then(F10 and REACT-image.cfg), or else then let me now :

Open REACT_image.cfg and change the following to update it to the new metamp3.exe beta syntax :

Change :
Code: [Select]
SET MP3Artist=--user-text "[album artist]@VA@" --frame "TPE2:@VA@"

Into :
Code: [Select]
SET MP3Artist=--frame "TXXX[album artist]:@VA@" --frame "TPE2:@VA@"

Change :
Code: [Select]
SET RG_MetaMP3=--user-text "[replaygain_album_gain]%album_gain% dB" --user-text "[replaygain_album_peak]%album_peak%"

Into :
Code: [Select]
SET RG_MetaMP3=--frame "TXXX[replaygain_album_gain]:%album_gain% dB" --frame "TXXX[replaygain_album_peak]:%album_peak%"

Change :
Code: [Select]
SET RG_MetaMP3=--user-text "[replaygain_album_gain]0.0 dB" --user-text "[replaygain_album_peak]%album_new_peak%"

Into :
Code: [Select]
SET RG_MetaMP3=--frame "TXXX[replaygain_album_gain]:0.0 dB" --frame "TXXX[replaygain_album_peak]:%album_new_peak%"

Change :
Code: [Select]
IF %embed_cover%==1 SET Cover_tag=--pict "{3}@cover@"

Into :
Code: [Select]
IF %embed_cover%==1 SET Cover_tag=--frame "APIC{3}:@cover@"

Change :
Code: [Select]
IF NOT @LameMP3@==1 GOTO end_lame_tracks
[...]
IF @various@==1 SET VA_tag=--user-text $q[album artist]@VA@$q --frame $qTPE2:@VA@$q
IF %embed_cover%==1 SET Cover_tag=--pict $#x
@tools@\acdir.exe --overwrite --output "%TrackName%.mp3" --extra-opt "{3}@cover@" --pipe "TITLE $n/$N mp3 $#T & @tools@\lame.exe @Opt_LameMP3@ %ApplyAG_Lame% - $#o & @tools@\metamp3.exe %Cover_tag% %VA_tag% %Disc_MP3_acdir% --artist $#a --album $#T --title $#t --track $n/$N --year $q@year@$q --genre $q@genre@$q --comment $q@comment@$q --frame TENC:$q%USERNAME%$q --frame TSSE:$qLAME @Ver_LameMP3@ @Opt_LameMP3@$q $#o" "@sourcecuesheet@"

Into :
Code: [Select]
IF NOT @LameMP3@==1 GOTO end_lame_tracks
[...]    
IF @various@==1 SET VA_tag=--frame $qTXXX[album artist]:@VA@$q --frame $qTPE2:@VA@$q        
IF %embed_cover%==1 SET Cover_tag=--frame $#x
@tools@\acdir.exe --overwrite --output "%TrackName%.mp3" --extra-opt "APIC{3}:@cover@" --pipe "TITLE $n/$N mp3 $#T & @tools@\lame.exe @Opt_LameMP3@ %ApplyAG_Lame% - $#o & @tools@\metamp3.exe %Cover_tag% %VA_tag% %Disc_MP3_acdir% --artist $#a --album $#T --title $#t --track $n/$N --year $q@year@$q --genre $q@genre@$q --comment $q@comment@$q --frame TENC:$q%USERNAME%$q --frame TSSE:$qLAME @Ver_LameMP3@ @Opt_LameMP3@$q $#o" "@sourcecuesheet@"
Title: REACT 2 Released
Post by: gsa999 on 2007-10-14 18:32:05
Martin,
Thanks a lot for this.
Latest version of metamp3 now works with REACT2. I now have leading zeros on my mp3 files.
However I have noticed that using the old version I ended up with the following tags in the file (using dbPoweramp to view)

mp3gain_album_minmax
mp3gain_minmax
mp3gain_undo

I now only have mp3gain_undo. I have no idea what these are, but I guess they maybe important. Any ideas why the first two have vanished?

Is it possible to change the format of @curdate@ which appears in the comment when ripping with EAC and REACT2 to UK date format?
Not via the CFG.  DOS doesn't really have any useful date functions either.

Hi Synthetic Soul
Thanks for this. I wonder whether I could create a token using your mod to REACT2 for my own custom date, which I just change (using ALT-F5) each time I rip CD's. Do I just create a token called say UKDATE and then change the comment field to something like
Comment=Ripped on %ukdate%

Regards
Gordon
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-10-14 19:13:07
Hi Synthetic Soul
Thanks for this. I wonder whether I could create a token using your mod to REACT2 for my own custom date, which I just change (using ALT-F5) each time I rip CD's. Do I just create a token called say UKDATE and then change the comment field to something like
Comment=Ripped on %ukdate%
Yes, that would work. Sounds like a reasonable solution.
Title: REACT 2 Released
Post by: Martin H on 2007-10-14 19:59:21
Thanks a lot for this.

No problem, mate - I'm glad to help out wherever i can
Quote
However I have noticed that using the old version I ended up with the following tags in the file (using dbPoweramp to view)

mp3gain_album_minmax
mp3gain_minmax
mp3gain_undo

I now only have mp3gain_undo. I have no idea what these are, but I guess they maybe important. Any ideas why the first two have vanished?

It's because i asked Tycho to stop adding those tags, since they are of no use to us. Now only the 'mp3gain_undo' tag is added whenever the gain is directly applied to the MP3s and that tag is actually usefull, since it makes it possible to undo the applied gain later on with metamp3.exe if ever needed.
Title: REACT 2 Released
Post by: gsa999 on 2007-10-16 15:03:24
Martin H
Many thanks for the response. Can you confirm whether mp3gain is actually changing the content of my mp3's and what the difference is between this and replaygain. I am a little confused between what these two technologies
Rgds
Gordon

Hi Synthetic Soul
I have now successfully setup a @_ukdate@ token which is now appearing in the correct format in my comment field and I even managed to exclude it from the cuesheet by using the underscore. Thanks for this mod.

I had already implemented your suggestion from a couple of months ago about using my local albumart and that works fine as well.

Finally thanks to Martin H I have got metamp3 working and leading zeros on my mp3's.

Next task - this goes back to my earlier post about trying to automate REACT with existing WAVS and cuesheets. I have to admit I completely missed your change to run REACT from the command line; I will test this out tonight. However one thing I liked from doing it all manually - ie load the wav in daemon tools, load EAC, F10 was that I got a nice new cuesheet with all the correct info on - eg if genre was missing on the initial cue sheet it created a new cuesheet with genre included (becuase I put it in the EAC genre box). Another example would be the creation of a missing disk id. I am guessing this won't work with the command line option, so the cue sheet will not have any data that is not on the original one. Is this correct?

Gordon
Title: REACT 2 Released
Post by: hobbsy on 2007-10-16 15:11:10
Re: the error I was getting:

Code: [Select]
Unhandled exception

at Gaps.2150 -> INDEX-RANGE


Have you seen this before?
No!

I can't guess what application is raising that error.  Any more info?

Does this happen with only one disc, or with a few?


It's happened on about 3 out of the last 4 discs I tried.
Haven't had much time recently to test this out any more I'm afraid.
I might just try reverting back to the original REACT.ini / REACT-image.cfg / REACT-track.cfg files
I was probably getting too fussy - a set of FLAC and v0 mp3s are all I really need
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-10-16 16:20:22
I have now successfully setup a @_ukdate@ token which is now appearing in the correct format in my comment field and I even managed to exclude it from the cuesheet by using the underscore. Thanks for this mod.
Ah, good thinking.  You're welcome.

... so the cue sheet will not have any data that is not on the original one. Is this correct?
Yes.
Title: REACT 2 Released
Post by: Martin H on 2007-10-16 16:50:45
Many thanks for the response.

You're very welcome, mate
Quote
Can you confirm whether mp3gain is actually changing the content of my mp3's and what the difference is between this and replaygain.

Yes, your MP3's are getting the gain applied directly and i know that since you have previously said that you are getting a 'mp3gain_undo' tag field besides the other standard RG fields. Normally, then RG is just added as tags, which then RG aware players can parse and then scale the decoded output accordingly, but this then also means that non-RG aware players, like e.g. portables and such, will not be able to use the RG tags to adjust the loudness of the files. Therefore, some people preffer to apply the gain directly to the files, so that all players used will be able to playback the content with the wanted loudness even though they don't support parsing the RG tags and scalling the content accordingly. Also, when you apply the gain to your MP3s, then you can always undo the gain later on if needed, because you have those 'mp3gain_undo' tags in the files. So you have the option of either getting your MP3s to get the gain applied directly, or to just add RG tags to them instead. Btw, when you apply the gain directly, then those files will still have the RG tags in them, since this gives you the possibility of changing from e.g. album gain and to track gain and also because the applied gain is only applied in steps of 1.5dB and so the tags will make RG aware players scale the decoded output to reach a 0.01 dB precision by parsing those tags and scaling the decoded output during playback. Don't worry about the 1.5dB steps of precision when using non-RG aware players, since that is a neglible difference only. So, if you want the RG aplied directly, then in your REACT.ini you should set 'ApplyAlbumGain=1' and set 'AdjustAlbumGain_dB=+3.0' to whatever you like(the number is added to the 89dB standard reference, so if you e.g. just wants to follow the reference, then just set it to '0'). If you only want RG tags and not getting the gain applied directly, then set 'ApplyAlbumGain=0' and set 'ReplayGain=1'. Also, if you want to have RG tags on the lossless images/track files then you should set 'ReplayGain=1'. Btw, the option 'ApplyAlbumGain=1' only applies to lossy files and not lossless ones.
Title: REACT 2 Released
Post by: gsa999 on 2007-10-16 17:13:31
Thanks Martin
Which one should I use on mp3 files for playing on (a) iPod and (b) Squeezebox

G
Title: REACT 2 Released
Post by: Martin H on 2007-10-16 18:28:47
I don't know about the Squeezebox, but i believe that ipods dosen't support RG(however they support a similar implementation called Soundcheck), so in that case, i guess that it would propperly be best to apply the gain directly. Personally, then i would recommend applying the RG through an alternative method which REACT also supports and which will cut about 10% off from the filesize for newer releases, but however, you cannot undo the gain applied with this method, though(but you can always transcode new MP3s from your lossless files anyway if needed). This method is about running WaveGain.exe on the WAV image to calculate the recommended album gain and scale value and then afterwards use that scale value together with lame.exe's '--scale' switch during encoding to MP3s. This will give smaller size and give you RG'ed playback on all equipment, but as i said, cannot be reversed, though. If you want to do this, then you should do the following to your REACT.ini : 'ApplyAlbumGain=1' & 'UseWaveGainAG=1' + also add 'REM' infront of this line under the mp3 tracks section in REACT-image.cfg :

IF @ApplyAlbumGain@==1 @tools@\metamp3.exe %ApplyAG_MetaMP3% *.mp3

When you do that, then the files will be scalled to have an average album gain value of 89dB and it dosen't matter what you have the following option set to as it isn't used in that case : 'AdjustAlbumGain_dB=+3.0'. If you don't add the 'REM' infront of the line, then metamp3.exe is runned on the MP3s additionally to alter them according to the 'AdjustAlbumGain_dB' option. If you want another value than 89dB, then i would advice you to forget this method and don't do any of the instructions i have given you in this post and instead just look at my last post for the right instructions.
Title: REACT 2 Released
Post by: gsa999 on 2007-10-16 21:21:28
Thanks again for the explanation. I seem to have both RG tags and the mp3gain in my mp3's. I'll leave as is for the time being. I am pretty sure squeezebox can read RG tags, which is my main priority.

Another question though. As well as creating mp3 tracks I am creating a flac image which has cusheet, coverart and eac log embedded in it. What is the best way of viewing all this information in the flac afterwards. Also if I have embedded the cuesheet and the eac log do I need to keep them as seperate files.
Title: REACT 2 Released
Post by: Martin H on 2007-10-17 23:33:10
When you say 'view', then if you just mean to check that it's there, then i would recommend Mp3tag (http://www.mp3tag.de/en/) for that. About the issue of if you should save the cuesheets and logs externally, then it's up to yourself really. I personally do not keep them around as external files, as to me, then the biggest selling point of images with embedded cuesheets and eaclogs, is actually the fact that you just have one single file to represent each single album, and not three of them, but hey - that's just me. Some people keep the cuesheets externally for writing purposses, but still, there are several ways to extract the cuesheets quickly from the images whenever you need them, like e.g. Synthetic Soul's great ammended version of Tag.exe (http://www.synthetic-soul.co.uk/tag/) and foobar2000 (http://www.foobar2000.org/). Additionally, then Burrrn (http://www.burrrn.net/?page_id=4) is a great little tool which even supports writing those images without you needing to extract the cuesheet from them first. At the end of the day, then it's really just a personal preference and nothing else...
Title: REACT 2 Released
Post by: pm1315 on 2007-10-18 20:05:00
FYI there is another way I found to get the freedb id, which is to export the disc data to a DB text file, ensuring that the settings (freedb / Database options > Export) are such that the freedb id is included.  However, this process is no less simple than creating a cuesheet, and requires that the user's EAC settings are tampered with (and maintained), so I still favour the cuesheet approach.


Does the option to export the 'whole' EAC database to db text ACTUALLY WORK for you.  When I do it, all I get is a string of zeros "00000000" in place of the disc id. 

e.g. 00000000;Sinatra Reprise;Frank Sinatra;The Last Dance;0:02:47.73;Frank Sinatra

However, if I stick a CD in the drive and choose the export to db text for the current CD, the discid is output correctly.

e.g. 230FCE14;Sinatra Reprise;Frank Sinatra;The Last Dance;0:02:47.73;Frank Sinatra

I'm using the latest version of EAC on WinXP sp2

Thanks.
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-10-18 20:12:53
I get similar results to you when exporting the whole database.  Presumably EAC does not record the ID, so cannot provide it as part of the database, only when exporting the current disc info.

FYI the process I discussed was using the "Export CD Information To" option, exporting only the current disc info as an alternative to a cuesheet.
Title: REACT 2 Released
Post by: pm1315 on 2007-10-19 04:58:22
I get similar results to you when exporting the whole database.  Presumably EAC does not record the ID, so cannot provide it as part of the database, only when exporting the current disc info.

FYI the process I discussed was using the "Export CD Information To" option, exporting only the current disc info as an alternative to a cuesheet.


I just wanted to confirm that I was not the only one experiencing this anomally with the discid when exporting the  'whole' database.  I used a text editor to open the EAC database file 'cddb.dat', and the discid does appear to be saved in the file.

Thanks.
Title: REACT 2 Released
Post by: gsa999 on 2007-10-23 13:27:17
Hi
Would it be possible to add to the tracks section of image.cfg for mp3 files (and others) the ability to auto convert RG tags to iPod soundcheck tags and then add them to the ITUNESNORM tag. For iPod owners I think this would be a better solution to applying mp3gain.


I have just read a post about how it can be done in MP3Tag but it would be nice to be able to do it as part of the initial rip/transcode process.


G
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-10-23 17:20:52
I remember Tycho being in a conversation about this - perhaps it was the metamp3 thread (I'll have to have a look).

Anyway, while searching for that I found this thread (http://www.hydrogenaudio.org/forums/index.php?showtopic=42762), which talks about a command line app, IPODRG.EXE, that will convert RG tags to SoundCheck tags.

It should be trivial to get metamp3 to write RG tags (as it should already) and then run this app to convert them to SoundCheck tags.

Edit:  Hmm... it seems the app needs a SoundCheck value to begin with (  ).  There is an explanation here (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=24620&view=findpost&p=422138) regarding how to achieve this (a dummy value) with MP3Tag.  This should eb achievable with metamp3 also.  It may be worth checking first to see if it really does still need a value there to begin.

Edit: Would I be right in saying that you would set the dummy SoundCheck value with metamp3 using:

Code: [Select]
--frame "COMM[ITUNNORM]: 00000F0A 000003E2 000054FF 00003C89 00008AFA 00006158 0000842C 000084CF 0002FF0A 0001DDC1"
Title: REACT 2 Released
Post by: gsa999 on 2007-10-24 08:32:40
OK thanks SS. I don't know whether this command is right or not - its a bit too technical for me, hopefully someone else may know

In the meantime I have another problem. I would like to add the year of the album plus  hyphen in front of the album title so they sort in release order on the iPod.

I tried amending this line:

Code: [Select]
@tools@\acdir.exe --overwrite --output "%TrackName%.mp3" --extra-opt "APIC{3}:%cover%" --pipe "TITLE $n/$N mp3 $#T & @tools@\lame.exe @Opt_LameMP3@ %ApplyAG_Lame% - $#o & @tools@\metamp3.exe %Cover_tag% %VA_tag% %Disc_MP3_acdir% --artist $#a --album $#T --title $#t --track $n/$N --year $q@year@$q --genre $q@genre@$q --comment $q@comment@$q --frame TENC:$q%USERNAME%$q --frame TSSE:$qLAME @Ver_LameMP3@ @Opt_LameMP3@$q $#o" "@sourcecuesheet@"


to this

Code: [Select]
@tools@\acdir.exe --overwrite --output "%TrackName%.mp3" --extra-opt "APIC{3}:%cover%" --pipe "TITLE $n/$N mp3 $#T & @tools@\lame.exe @Opt_LameMP3@ %ApplyAG_Lame% - $#o & @tools@\metamp3.exe %Cover_tag% %VA_tag% %Disc_MP3_acdir% --artist $#a --album $#T --title $q@year@$q - $#t --track $n/$N --year $q@year@$q --genre $q@genre@$q --comment $q@comment@$q --frame TENC:$q%USERNAME%$q --frame TSSE:$qLAME @Ver_LameMP3@ @Opt_LameMP3@$q $#o" "@sourcecuesheet@"


I get an ACDIR crash with this though. Any ideas what I have done wrong 
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-10-24 09:02:47
Use:

Code: [Select]
--title $q@year@ - $t$q

... or

Code: [Select]
--title $q$R{DATE} - $t$q

The "#"in "$#t" will surround the value in quotes, so yours would have ended up as

"2007" - "Title"
... not
"2007 - Title"

I don't really like the idea of poluting your tags in this way - but if it's the only way then who am I to argue.
Title: REACT 2 Released
Post by: gsa999 on 2007-10-24 10:35:47
I don't really like the idea of poluting your tags in this way - but if it's the only way then who am I to argue.

Thanks
I agree totally, its horrible but its the only way I can get the year to appear on the iPod and also to get the albums sorted in release order rather than alphabetically!

I am also going to create an mp3tag action to do this on my existing mp3 collection and a second one to remove the year info. See my posts under the mp3tag thread yesterday and today mp3tag link (http://www.hydrogenaudio.org/forums/index.php?showtopic=54518)

So should the firmware ever change on the iPod I can easily go through and get rid of the year from the title.

Rgds
Title: REACT 2 Released
Post by: gsa999 on 2007-10-25 08:27:10
Just been tested ripping flac and mp3 tracks at the same time as a flac image. All works great. However looking into the RG tags in the flac and mp3 files I notice they are not the same.

The album gain and track gain figures are very close between the flac and mp3 version of same track. Maybe this is just a rounding in the calculations.

But album peak and track peak are considerably different between the flac and mp3 version of the same track. One says 1.30556 (flac) and the MP3 says 0.98751831

Is this what you would expect or is something not right here?

On another point. I mentioned in an earlier post that I had got SS's mod working with a ukdate token. I thought I would try to take this one step further and put this into the DefaultMetaData on react.ini

Instead of
_ukdate=
I then change the comment under UserSettings to
Comment=Created on @_ukdate@ 

This works when I manually type in a date in the metadate window. But I wanted to avoid having to type the date in manually each time so I tried:

_ukdate=%date%

%date% is the DOS command that pulls back the system date from the machine in UK format since that it how the PC is setup. I tried this in a test batch file ie

@echo off
set _ukdate=%date%
echo %_ukdate%
pause

The batch file works fine as a standalone test

But %date% does not work with REACT. My comment just appears as Created on %date%. Any ideas how I could get this to work.


Thx
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-10-25 09:05:49
But %date% does not work with REACT. My comment just appears as Created on %date%. Any ideas how I could get this to work.
I think I'd have to see the code in question to attempt a response,  Looking at REACT-image.cfg I see the calls to ACDIR currently use some DOS variables, so I don't see why yours won't.

The only shot in the dark I can try would be to use something like:

Code: [Select]
SET Comment_tag=--comment $qCreated on %DATE%$q
...
@tools@\acdir.exe --overwrite --output "%TrackName%.mp3" --extra-opt "{3}@cover@" --pipe "TITLE $n/$N mp3 $#T & @tools@\lame.exe @Opt_LameMP3@ %ApplyAG_Lame% - $#o & @tools@\metamp3.exe --fit %Cover_tag% %VA_tag% %Disc_MP3_acdir% --artist $#a --album $#T --title $#t --track $n/$N --year $q@year@$q --genre $q@genre@$q %Comment_tag% $#o" "@sourcecuesheet@"
Title: REACT 2 Released
Post by: Martin H on 2007-10-25 11:18:37
But album peak and track peak are considerably different between the flac and mp3 version of the same track. One says 1.30556 (flac) and the MP3 says 0.98751831

Getting different peak values between lossless and lossy formats is perfectly normal, since lossy encoders introduce quantization to the sample values. Btw, then the file with the peak of 1.30556 must be a MP3 file, since 16bit lossless files cannot have peaks over 32768 which then is normalized to 1.00 i.e. 32768 / 32768 = 1.00.
Title: REACT 2 Released
Post by: gsa999 on 2007-10-26 08:11:40
The only shot in the dark I can try would be to use something like:

Code: [Select]
SET Comment_tag=--comment $qCreated on %DATE%$q
...
@tools@\acdir.exe --overwrite --output "%TrackName%.mp3" --extra-opt "{3}@cover@" --pipe "TITLE $n/$N mp3 $#T & @tools@\lame.exe @Opt_LameMP3@ %ApplyAG_Lame% - $#o & @tools@\metamp3.exe --fit %Cover_tag% %VA_tag% %Disc_MP3_acdir% --artist $#a --album $#T --title $#t --track $n/$N --year $q@year@$q --genre $q@genre@$q %Comment_tag% $#o" "@sourcecuesheet@"

Hi SS
This works great. Many many thanks.
Interestigly I first tried putting the SET command in react.ini and it did not work, but when I put it in REACT-image.cfg it worked fine. Why would that be?
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-10-26 08:58:56
Variables set in the INI are just REACT tokens, not DOS variables.

If you set it in the INI you would need to refer to it as @Comment_tag@, not %Comment_tag%.

Use the INI and @token@ tokens for static values, but use the CFG and DOS %var% variables for dynamic values.

Have you tried the SoundTouch stuff yet?
Title: REACT 2 Released
Post by: gsa999 on 2007-10-26 11:10:57
Have you tried the SoundTouch stuff yet?

No not yet. I am testing a solution for populating the SoundCheck tag in mp3tag first this weekend. If that works I will then move onto trying to get it to work with REACT.
Title: REACT 2 Released
Post by: gsa999 on 2007-10-27 13:49:12
Another REACT question
How do I stop it writing MP3 files with the ID3v1 tag - I only want ID3v2.3

Thx
Title: REACT 2 Released
Post by: Martin H on 2007-10-27 18:44:47
How do I stop it writing MP3 files with the ID3v1 tag - I only want ID3v2.3

In REACT-image.cfg change :

@tools@\acdir.exe --overwrite --output "%TrackName%.mp3" --extra-opt "APIC{3}:%cover%" --pipe "TITLE $n/$N mp3 $#T & @tools@\lame.exe @Opt_LameMP3@ %ApplyAG_Lame% - $#o & @tools@\metamp3.exe %Cover_tag% [...]

Into :

@tools@\acdir.exe --overwrite --output "%TrackName%.mp3" --extra-opt "APIC{3}:%cover%" --pipe "TITLE $n/$N mp3 $#T & @tools@\lame.exe @Opt_LameMP3@ %ApplyAG_Lame% - $#o & @tools@\metamp3.exe --2 %Cover_tag% [...]

Edit: Only the red part needs to be added i.e. '--2'.
Title: REACT 2 Released
Post by: gsa999 on 2007-10-28 07:40:10
Edit: Only the red part needs to be added i.e. '--2'.

Hi - this does not seem to have worked. When I look at the contents of the MP3 aqfterwards with the dbPowerAMP Explorer properties it still says it contains an ID3v1.1 tag as well as ID3v2.3. Should I be setting -- id3v2-only in LAME as well.

Also I notice that the ID3v2.3 says ANSI in brackets. Using MP3tag on another mp3 file (not created with REACT) it says UTF16 in brackets for v2.3. Which one should I be using and how do you change them in REACT2? Is there somewhere that explains what all these different tags mean?

Rgds
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-10-28 09:24:43
Edit: Only the red part needs to be added i.e. '--2'.
Hi - this does not seem to have worked. When I look at the contents of the MP3 aqfterwards with the dbPowerAMP Explorer properties it still says it contains an ID3v1.1 tag as well as ID3v2.3. Should I be setting -- id3v2-only in LAME as well.
It should work.  You need to make sure that the command line does not have --1 or --fit in there also.  Be sure to check the value of Opt_LameMP3 in your INI, as well as the relevant line in the CFG. Do not add --id3v2-only; let metamp3 do all the tagging.

Also I notice that the ID3v2.3 says ANSI in brackets. Using MP3tag on another mp3 file (not created with REACT) it says UTF16 in brackets for v2.3. Which one should I be using and how do you change them in REACT2?
It may be worth checking the metamp3 thread (or Martin may know this).  I'm pretty sure metamp3 will only use ANSI.

Is there somewhere that explains what all these different tags mean?
Run metamp3 --help on the command line.  Here's the output from 0.92b5:

Code: [Select]
C:\Documents and Settings\Administrator>metamp3 --help
Arg Used: 1 2
metamp3 v0.92 beta 5 - Copyright © 2007 by Tycho

Usage: metamp3 [options] [mp3files]
options:
  --artist <text>                set artist
  --album <text>                  set album
  --track <text>                  set track[/total]
  --title <text>                  set title
  --year <text>                  set year
  --genre <text>                  set genre
  --comment <text>                set comment
  --frame <frame>[[descr]][{extra}]:<text>
                                  set/add a T*, W*, COMM or APIC type frame
  --extract <frame>[[descr]][{extra}]:<file>
                                  extract a T*, W*, COMM or APIC type frame
  --remove <frame>[[descr]]      remove frame(s). accepts wildcards *,?

  --1                            add id3v1 tag only (default both v1 and v2)
  --2                            add id3v2 tag only (--1 --2 will add both)
  --fit                          add id3v1 + id3v2 if tag does not fit id3v1
  --replay-gain                  scan and set replay gain tags
  --apply-gain [album|radio]<+dB|-dB>
                                  apply gain to the the audio frames
  --undo-gain                    undo previous apply-gain
  --list-picture-types            list possible picture type numbers
  --list-frames                  list possible text and URL id3v2.3 frames
  --list-genres                  list standard id3v1.1 genres
  --info                          print detailed mp3/lametag info
  --version                      show version info
  --help                          show this help

Input <text> prefixed with '@' takes input from a following file name.
Title: REACT 2 Released
Post by: gsa999 on 2007-10-28 13:43:35
Hi again
My code in the cfg file now says
Code: [Select]
@tools@\acdir.exe --overwrite --output "%TrackName%.mp3" --extra-opt "APIC{3}:%cover%" --pipe "TITLE $n/$N mp3 $#T & @tools@\lame.exe @Opt_LameMP3@ %ApplyAG_Lame% - $#o & @tools@\metamp3.exe --2 %Cover_tag% %VA_tag% %Disc_MP3_acdir% --artist $#a --album $q@year@: $T$q --title $#t --track $n/$N --year $q@year@$q --genre $q@genre@$q --comment $q%Comment_tag%$q --frame TENC:$q%USERNAME%$q --frame TSSE:$qLAME @Ver_LameMP3@ @Opt_LameMP3@$q $#o" "@sourcecuesheet@"

and in react ini it says
Code: [Select]
Opt_LameMP3=-b 320 --noreplaygain --nohist

I have not included --1 or --fit as an option.

Just to be clear in the dbPoweramp exporer properties popup it says on the 'Contains' line

Album Art, Replaygain, ID Tag [ID3v2.3 (ANSI) & ID3v1.1]

I'm not sure what I am doing wrong here 
Title: REACT 2 Released
Post by: Martin H on 2007-10-28 20:58:10
Check with Mp3tag to see where the problem lies i.e. with metamp3.exe or dBpoweramp.

metamp3.exe can set ID3v1(.1) and ID3v2.3 ISO-8859-1 tags. Mp3tag can additionally set ID3v2.3 UTF-16 and ID3v2.4 UTF-8 tags, and by default it sets ID3v1(.1) and ID3v2.3 UTF-16. The benefit from using ID3v2.3 UTF-16 over ID3v2.3 ISO-8859-1 is unicode support, but if you don't need that, then optimal ID3v2 compatibility is obtained with ID3v2.3 ISO-8859-1(which e.g. lame.exe and metamp3.exe also sets).
Title: REACT 2 Released
Post by: gsa999 on 2007-10-29 08:13:46
Check with Mp3tag to see where the problem lies i.e. with metamp3.exe or dBpoweramp.
Martin,
I have checked in mp3tag and that shows ID3v1 as well (although it does not show ANSI in brackets, nothing is shown in brackets!), so I think it must be a problem with the code in REACT2/Metamp3

Interestingly, I have what may be a related problem with some old mp3's where I can't get rid of the ID3v1 tag. The only consistent factor in these files is that they have some album art embedded which I did ages ago with WMP and defined the cover art as the Cover. Now I embed album art via Itunes.

I notice that in the MP3 tracks section of REACT-image.cfg, metamp3 now has the following code for embedding the album art

Code: [Select]
SET Cover_tag=--frame "APIC{3}:%cover%"
I think the 3 means cover. I wonder if this is resulting in the ID3v1 tag getting populated. I'm not sure how I can tell whether my embedded album art is in an ID3v2 or an ID3v1 tag

Gordon
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-10-29 09:01:00
I'm not sure how I can tell whether my embedded album art is in an ID3v2 or an ID3v1 tag
ID3v1 (http://www.id3.org/ID3v1) is a very simple schema and does not include album art.
Title: REACT 2 Released
Post by: gsa999 on 2007-10-29 10:08:31
Is it possible to get REACT to automatically create a playlist for my FLAC and MP3 tracks and move it to the correct folder? I wonder whether there ought to be an option in the ini file to turn it on/off.
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-10-29 10:28:26
You can use Tag (http://wiki.hydrogenaudio.org/index.php?title=Tag.exe) to do this.  If it's not already there, put it in the tools directory (or change the code below to poitn to the correct location).

In both track sections of your CFG just add:

Code: [Select]
@tools@\tag.exe --playlist --onlyfiles --sort track --plname "$artist$ - $album$.m3u" *.XXX

... where XXX is  either "mp3" or "flac".  E.g.:

Code: [Select]
IF NOT @Flac@==1 GOTO end_flac_tracks
    SET dest="@TrackDir_Flac@%trackDir%"
    IF NOT EXIST %dest% MKDIR %dest%
    PUSHD %dest%
        IF @various@==1 SET VA_tag=-T $qalbum artist=@VA@$q
        IF %embed_cover%==1 SET Cover_tag=--picture=$#x
        @tools@\acdir.exe --overwrite --output "%TrackName%.flac" --extra-opt "|image/jpeg|||@cover@" --pipe "TITLE $n/$N flac $#T & @tools@\flac.exe @Opt_Flac@ %Cover_tag% %VA_tag% %Disc_Flac_acdir% -T artist=$#a -T album=$#T -T title=$#t -T tracknumber=$n/$N -T date=$q@year@$q -T genre=$q@genre@$q -T comment=$q@comment@$q -T encoded-by=$q%USERNAME%$q -T encoding=$qFlac @Ver_Flac@ @Opt_Flac@$q - -o $#o" "@sourcecuesheet@"
        IF %add_rg%==1 @tools@\Glob.exe -v -c @tools@\metaflac.exe %RG_MetaFlac% *.flac
        COPY /Y "@eaclog@" "EAClog.txt"
        IF %have_cover%==1 COPY /Y "@cover@" "folder.jpg"
        IF EXIST "@albumfile@.[*].cue" COPY /Y "@albumfile@.[*].cue" .
        @tools@\tag.exe --playlist --onlyfiles --sort track --plname "$artist$ - $album$.m3u" *.flac
    POPD
:end_flac_tracks
Title: REACT 2 Released
Post by: gsa999 on 2007-10-29 11:38:09
You can use Tag (http://wiki.hydrogenaudio.org/index.php?title=Tag.exe) to do this.
Many thanks SS,
I really do appreciate your assistance to all my queries 

Just need to sort out my ID3v1 query now, as it is obviously nothing to do with embedded album art 

Rgds
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-10-29 11:43:49
You're welcome gsa999.

I don't get the ID3v1 problem.  Using --2 definately works:

Code: [Select]
C:\Documents and Settings\Neil\Desktop>metamp3 --info test.mp3
metamp3 v0.92 beta 5 - Copyright © 2007 by Tycho

File: test.mp3
  Type                    : mpeg 1 layer III
  Mode                    : joint stereo
  Frequency              : 44100 Hz
  Frames                  : 5623
  Length                  : 00:02:26
  Max. Reservoir          : 511
  Av. Reservoir          : 447
  Emphasis                : none
  Scalefac                : 37.6%
  Bad Last Frame          : no
  Encoder                : Lame 3.98 (beta)

  Bitrate (average)      : 128
  -----------------------------------------------------------
  128    ||||||||||||||||||||||||||||||||||||||||      100.0%
  -----------------------------------------------------------

  Lame Header:

  Quality                : 57
  Version String          : Lame 3.98 (beta)
  Tag Revision            : 0
  VBR Method              : cbr
  Lowpass Filter          : 17000
  Psycho-acoustic Model  : nspsytune
  Safe Joint Stereo      : no
  nogap (continued)      : no
  nogap (continuation)    : no
  ATH Type                : 4
  ABR Bitrate            : 128
  Noise Shaping          : 2
  Stereo Mode            : Joint Stereo
  Unwise Settings Used    : no
  Input Frequency        : 44.1kHz


 ID3v1.1 tags:


 ID3v2.3 tags:


C:\Documents and Settings\Neil\Desktop>metamp3 --2 --artist Buzzcocks test.mp3
metamp3 v0.92 beta 5 - Copyright © 2007 by Tycho
Updating ID3: test.mp3

C:\Documents and Settings\Neil\Desktop>metamp3 --info test.mp3
metamp3 v0.92 beta 5 - Copyright © 2007 by Tycho

File: test.mp3
  Type                    : mpeg 1 layer III
  Mode                    : joint stereo
  Frequency              : 44100 Hz
  Frames                  : 5623
  Length                  : 00:02:26
  Max. Reservoir          : 511
  Av. Reservoir          : 447
  Emphasis                : none
  Scalefac                : 37.6%
  Bad Last Frame          : no
  Encoder                : Lame 3.98 (beta)

  Bitrate (average)      : 128
  -----------------------------------------------------------
  128    ||||||||||||||||||||||||||||||||||||||||      100.0%
  -----------------------------------------------------------

  Lame Header:

  Quality                : 57
  Version String          : Lame 3.98 (beta)
  Tag Revision            : 0
  VBR Method              : cbr
  Lowpass Filter          : 17000
  Psycho-acoustic Model  : nspsytune
  Safe Joint Stereo      : no
  nogap (continued)      : no
  nogap (continuation)    : no
  ATH Type                : 4
  ABR Bitrate            : 128
  Noise Shaping          : 2
  Stereo Mode            : Joint Stereo
  Unwise Settings Used    : no
  Input Frequency        : 44.1kHz


 ID3v1.1 tags:


 ID3v2.3 tags:

  TPE1: Buzzcocks

C:\Documents and Settings\Neil\Desktop>
Maybe you should do some similar testing to see whether this is a metamp3 or REACT issue?

Edit: I just tested using --frame "APIC{3}:<file>", and still no ID3v1 tag is created:

Code: [Select]
 ID3v1.1 tags:


 ID3v2.3 tags:

   TPE1: Buzzcocks
   APIC: []{3=Cover (front)}: image/jpeg, 19356 bytes
Title: REACT 2 Released
Post by: gsa999 on 2007-10-30 08:28:02
I tried testing this last night and here is the output:

Code: [Select]
File: After Forever - After Forever - 13 - Lonely.mp3
   Type                    : mpeg 1 layer III
   Mode                    : joint stereo
   Frequency               : 44100 Hz
   Frames                  : 7827
   Length                  : 00:03:24
   Max. Reservoir          : 396
   Av. Reservoir           : 377
   Emphasis                : none
   Scalefac                : 3.7%
   Bad Last Frame          : no
   Encoder                 : Lame 3.97

   Bitrate (average)       : 320
   -----------------------------------------------------------
   320     ||||||||||||||||||||||||||||||||||||||||      100.0%
   -----------------------------------------------------------

   Lame Header:

   Quality                 : 57
   Version String          : Lame 3.97
   Tag Revision            : 0
   VBR Method              : cbr
   Lowpass Filter          : 20500
   Psycho-acoustic Model   : nspsytune
   Safe Joint Stereo       : yes
   nogap (continued)       : no
   nogap (continuation)    : no
   ATH Type                : 4
   ABR Bitrate             : 255 or more
   Noise Shaping           : 1
   Stereo Mode             : Joint Stereo
   Unwise Settings Used    : no
   Input Frequency         : 44.1kHz


ID3v1.1 tags:

   Title  : Lonely
   Artist : After Forever
   Album  : 2007: After Forever
   Year   : 2007
   Track  : 13
   Comment: Created on 29/10/2007
   Genre  : Gothic Rock

ID3v2.3 tags:

   APIC: []{3=Cover (front)}: image/jpeg, 20318 bytes
   TPE1: After Forever
   TALB: 2007: After Forever
   TIT2: Lonely
   TRCK: 13/13
   TYER: 2007
   TCON: Gothic Rock
   COMM: []{eng}: Created on 29/10/2007
   TENC: GSA
   TSSE: LAME 3.97 -b 320
   TXXX: [replaygain_track_gain]: -8.74 dB
   TXXX: [replaygain_track_peak]: 1.014637
   TXXX: [replaygain_album_gain]: -10.08 dB
   TXXX: [replaygain_album_peak]: 1.112657

As you can see it is writing certain data to both ID3v1 and v2 tags. I am using the latest beta version of metamp3 (093b5).
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-10-30 11:16:49
I presume you tagged this from the command line (not REACT)?

If so, I guess there is an issue with metamp3.  It may be useful for Tycho to see the command that you ran.

Do you mean 0.92b5 BTW?  The first post in the metamp3 thread (http://www.hydrogenaudio.org/forums/index.php?showtopic=49751) links to 0.92b5.  Is there a 0.93b5?

Edit: Actually, given that you have RG tags in there I guess REACT did this, or at least had a hand in it.  To really find the source of the issue I think that you should try some tagging some fresh (untagged) MP3s from the command line with metamp3.  This should prove whether your issue is with metamp3 or with your REACT config somehow.
Title: REACT 2 Released
Post by: gsa999 on 2007-10-30 11:36:22
I presume you tagged this from the command line (not REACT)?
No - I ran this through the full REACT process, which created a FLAC Image, FLAC Tracks and MP3 Tracks. I did not run this from the command line
Do you mean 0.92b5 BTW?
Ah yes - sorry - I am using 0.92b5

OK will clear out all the tags in one of my files and try what you suggest with metamp3 from the command line to see if this throws any light on matters.

Out of interest do you have an mp3 that you created by running the full REACT process (ie rip from CD and produce MP3's). It would be interesting to see whether these have v1 tags.

Rgds
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-10-30 11:39:49
Out of interest do you have an mp3 that you created by running the full REACT process (ie rip from CD and produce MP3's). It would be interesting to see whether these have v1 tags.
They would, as I use --fit IIRC.

I will try to find time to run my process using --2 instead.
Title: REACT 2 Released
Post by: gsa999 on 2007-10-30 22:17:20
OK some more testing done. I cleared out all tags and then ran the same metamp3 test as you did and I got the same results as you did - just an ID3v2 tag.
Therefore I think it must be something to do with the way REACT is creating these files. Could it be related to ACDIR?
Also I notice a variable called %Disc_MP3_acdir%, but further up the config this is remed out. I think this is part of your mod, why is it remed out further up the config and could this be anything to do with the problem.
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-10-30 22:28:30
I really don't have a clue what is happening.  It doesn't appear to make sense.

I think the comment you are talking about is below:

Code: [Select]
    REM SET Disc_MP3_acdir=--frame TSST:$q@discname@$q
    SET Disc_MP3_acdir=--frame $qTXXX[setsubtitle]:@discname@$q

As you can see the variable is set in the next line.  The commented line is really there for my reference.  It uses ID3v2.4 syntax (TSST is not a valid 2.3 frame), which is not currently supported by metamp3.  If it does become supported I would uncomment that line and comment out the other.
Title: REACT 2 Released
Post by: gsa999 on 2007-10-31 12:18:52
Having had another look at the code in the REACT-image.cfg file I think I might have found the issue, but before I test it I just need to understand a couple of things.

I noticed that when listing the contents of the MP3 using metamp3 --info that the ID3 tags all had the familiar descriptions - ie artist, album, genre etc, whereas the ID3v2 tags all had frame names -ie TPE1, TALB, TCON etc.

In the MP3 section of the REACT code all the field that are populating into the ID3v1 tags are using the syntax such as --artist $#a whereas things such as the encoded by field used the frame syntax. I am therefore going to test changing the commands for those using the non frame syntax, as follows:

OLD
Code: [Select]
--artist $#a
--album $q@year@: $T$q
--title $#t
--track $n/$N
--year $q@year@$q
--genre $q@genre@$q
--comment $q%Comment_tag%$q

NEW
Code: [Select]
--frame TPE1:$#a
--frame TALB:$q@year@: $T$q
--frame TIT2:$#t
--frame TRCK:$n/$N
--frame TYER:$q@year@$q
--frame TCON:$q@genre@$q
--frame COMM:$q%Comment_tag%$q

2 questions:
1. I am assuming frames are something specific to ID3v2 tags - is this correct
2. In the above why do some commands need to begin and end in $q and others (artist, title and track) do not

Rgds
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-10-31 12:37:27
Firstly, I don't think this will be the problem; however, as I really have no idea what your problem is I shouldn't really speak.  That said, the test I posted above used --artist to set the artist, and I got no ID3v1.

ID3v1 (http://www.id3.org/ID3v1) is a very simple schema.  There are no frames, there are just 128 bytes split into specific bytes for each tag value (e.g.: 30 bytes for the artist).  I would recommend following my link - it's a small page and should clear up any confusion.

"$#a" is ACDIR's way of saying "the artist name ($a) surrounded by quotes (#).  Therefore, for these values you do need need ACDIR's token "$q" to specify a double quote.  You could use "$q$a$q" instead of "$#a" I suppose.

Here's ACDIR's variable help output:

Code: [Select]
C:\Documents and Settings\Neil>acdir --help-variables
Audio CD Image Reader (ACDIR) 0.12 alpha  Copyright (c) 2003-2005 by Nyaochi

acdir variable (used in expressions) format: {%|$}[~][#]<variable-name>
  where a variable begins with either '%' or '$' (useful for batch files)
  where an optional character '~' legitimates the value to be a valid filename
  where an optional character '#' quotes the value with '"' for command line
  Available variables are:
    %f       Filename of the audio image (e.g. CDImage.wav)
    %p       Path to the cuesheet file
    %d       Path to the cuesheet file with substitution of '_' for '\'
    %o       Output filename (evaluation result of -o or --output argument)
    %x       Extra options (specified in --extra-opt argument)
    %t       Title of the track (e.g. White Album)
    %T       Title of the CD image (e.g. Back in the U.S.S.R.)
    %a       Performer of the track (e.g. The Beatles)
    %A       Performer of the CD image (e.g. The Beatles)
    %n       Track number (e.g. 01)
    %N       Number of tracks in the CD image (e.g. 17)
    %r{NAME} REM NAME field value of the track or CD image if not in the track
    %R{NAME} REM NAME field value of the CD image
    %q       Double-quotation character, '"'
    %s       Start time of the track (INDEX 01)
    %S       Start time of the track (INDEX 00 if any, otherwise INDEX 01)
    %e       End time of the track (INDEX 01)
    %E       End time of the track (INDEX 00 if any, otherwise INDEX 01)
Title: REACT 2 Released
Post by: SamHain86 on 2007-11-01 07:40:36
Short and quick of it:
No success using track mode {F4} to make OGG Vorbis tracks, and no success whatsoever with making images in image mode {F10}, however I am successful in making individual tracks when using Image mode. I have:Errors I have seen in the Compression Window are:This is the last of my attempts with the REACT.ini
Code: [Select]
[Settings]
Version=2.0
ImageExt=wv
ImageNaming=$artist$ - $album$
ImageHotKey={F10}
TracksHotKey={F4}
TracksHotVal=+{F5}
VA=Various
CreateAllCuesheets=0
RunCoverDownloader=0
CoverDownloader=C:\Program Files\REACT2\coverdownloader\albumart.exe
EAC=C:\Program Files\Exact Audio Copy\EAC.exe
Tools=C:\Program Files\REACT2\tools
MinimizeCompressionWindow=0
ProcessPriority=1
Sla_Bks_Col_Qst_Bar_Quo_Ast_Lt_Gt=-|-|-||!|'|#|[|]

[UserTrackFormats]
Flac=0
Wavpack=0
LameMP3=0
NeroAac=0
iTunesAac=0
OggEnc2=1

[UserOutputNames]
OutRoot=F:\MEDIA\CDAA_ARCHIVE\$genre$\$cdartist$\$album$ [$year$]
ImageDir_Flac=@OutRoot@\FLAC Lossless Image
ImageDir_Wavpack=@OutRoot@\WaVPack Lossless Image
ImageDir_MP3=@OutRoot@\MP3 Image
TrackDir_Flac=@OutRoot@\FLAC Lossless Tracks
TrackDir_Wavpack=@OutRoot@\WavPack Lossless Tracks
TrackDir_MP3=@OutRoot@\MP3 tracks
TrackDir_AAC=@OutRoot@\AAC tracks
TrackDir_OGG=@OutRoot@\OGG Vorbis tracks
TrackName_SA=$track$ $title$
TrackName_VA=$track$ $title$
TrackName_SA_acdir=$n $~t
TrackName_VA_acdir=$n $~t

[UserSettings]
Debug=0
Comment=Ripped by SAM HAIN with EAC/REACT2, @curdate@
EmbedCover=0
ReplayGain=0
ApplyAlbumGain=0
AdjustAlbumGain_dB=+3.0
AddCuesheetAG=0
UseWaveGainAG=0
Opt_Flac=-8 -v
Opt_Wavpack=-hh
Opt_LameMP3=-V5 --vbr-new --noreplaygain --nohist
Opt_NeroAac=-lc -q 0.21
Opt_iTunesAac=-d -s 2000
Opt_OggEnc2=-q 3.0
Ver_Flac=1.1.3
Ver_Wavpack=4.40
Ver_LameMP3=3.97
Ver_NeroAac=1.0.0.2
Ver_OggEnc2=2.83 Lancer aoTuV b5
I am running Windows XP Professional SP2 (up-to-date with fixes, yadda yadda, with bells and whistles all included), with new up-to-date .NET and Java... and anything else that can be up-to-date is up-to-date. The CD is no issue, Cold's A Different Kind of Pain, which has never given me problems ripping and encoding. Any help as always appreciated.


The long of it:
What is going on?!?!

Looking at the first half of posts in this thread I've noticed that there are differences between my REACT image CFGs and the ones described here. For instance there are no:
Code: [Select]
Flac=0
Wavpack=0
LameMP3=0
NeroAac=0
OggEnc2=1
fields in my REACT-image.cgf.

REACT seems like the perfect tool to accomplish what I always do: lossless WV image with stored CUE data and lossy Q2 OGG Vorbis for general playback.Those options for Oggenc2 may be incorrect since I never use EAC to create my OGG Vorbis tracks, I just drop the WV image into FooBar2000 and have it convert to -q2, and FB2K automatically tags the output files.

Please some one help me, this is getting on my nerves that this does not work. Also, lots here say AccurateRip doesn't work with Images. I know it once did not but I exclusively rip to lossless images and get confidence reports all the time with a CRC check for each track and each track can have it's own degree of confidence. Did support just happen recently? I have a bulk of more questions as I am fascinated at the potential this program, as soon as pass this milestone.
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-11-01 09:08:13
Are you using my modded version (http://wiki.hydrogenaudio.org/index.php?title=REACT:Mods#Synthetic_Soul.27s_Mod)?

Also, lots here say AccurateRip doesn't work with Images. I know it once did not but I exclusively rip to lossless images and get confidence reports all the time with a CRC check for each track and each track can have it's own degree of confidence. Did support just happen recently? I have a bulk of more questions as I am fascinated at the potential this program, as soon as pass this milestone.
EAC recently introduced AccurateRip with images (v.0.99)

Errors I have seen in the Compression Window are:
  • "C:\Program Files\REACT2\oggenc2.exe" is not recognized as an internal or external command, operable program or batch file.
It doesn't look like REACT installs oggenc2 by default (it isn't in my tools directory).  To keep things simple for now, leave the CFG using paths to \REACT\tools and ensure your preferred version of oggenc2 is in that directory.

Looking at the first half of posts in this thread I've noticed that there are differences between my REACT image CFGs and the ones described here. For instance there are no:
Code: [Select]
Flac=0
Wavpack=0
LameMP3=0
NeroAac=0
OggEnc2=1
fields in my REACT-image.cgf.
... and there shouldn't be.

REACT seems like the perfect tool to accomplish what I always do: lossless WV image with stored CUE data and lossy Q2 OGG Vorbis for general playback.
It really is.  Stick with it for a while - I'm sure that we can get you up and running.
Title: REACT 2 Released
Post by: SamHain86 on 2007-11-01 10:40:36
Are you using my modded version (http://wiki.hydrogenaudio.org/index.php?title=REACT:Mods#Synthetic_Soul.27s_Mod)?
No, I am using the one found on the main download page.

Quote
It doesn't look like REACT installs oggenc2 by default (it isn't in my tools directory).  To keep things simple for now, leave the CFG using paths to \REACT\tools and ensure your preferred version of oggenc2 is in that directory.
When I realized it wasn't in the tools directory, I put it in there, and I receive a Windows error: oggenc2 has encountered an error and windows is terminating.... yadda yadda.

Quote
... and there shouldn't be.
This is in your modded version I take it?

Quote
It really is.  Stick with it for a while - I'm sure that we can get you up and running.
I will, I mean I hammered out EAC and FB2K because of their versatility. Thanks for you help so far, I can try this when I get home this afternoon.
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-11-01 10:46:34
Are you using my modded version?
No, I am using the one found on the main download page.
You need to use my mod.  The Official version does not work with EAC 0.99.

Quote
... and there shouldn't be.
This is in your modded version I take it?
No, any. They are INI settings, and should not be in the CFG.


In order to help diagnose your issues you may want to try adding Debug=1 in the [Settings]section of your INI.  I sometimes copy the BAT file that REACT creates (in the working directory) also, before it is deleted, so that I can scrutinise the actual commands that are run.
Title: REACT 2 Released
Post by: SamHain86 on 2007-11-01 12:57:44
@Synthetic Soul-

-Works perfectly now! Thank you so much. I can now start tweaking it for my custom preferences... so I soon will have even more questions. Also, thanks for pointing out your modified version---I never would have thought that REACT wasn't compatible with EAC 0.99b.
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-11-01 13:06:47
@Synthetic Soul-

-Works perfectly now! Thank you so much. I can now start tweaking it for my custom preferences... so I soon will have even more questions. Also, thanks for pointing out your modified version---I never would have thought that REACT wasn't compatible with EAC 0.99b.


Cool, that was easy.

Tycho has been busy in recent months, and has been happy to leave my mod as the latest version.  He was working on version 3 last I heard.

My only advice: only tamper with the CFG if you really need to.  Once you start making changes there is makes things more complicated for you to maintain, and for us to help with any problems.  I'm not saying that you should never change it - many REACT users do - but I would recommend using the INI options as much as possible and only revert to CFG changes where necessary.  Oh, and make backups!
Title: REACT 2 Released
Post by: gsa999 on 2007-11-02 09:35:49
Hi SS
As you thought my suggestion about changing the code to use frames did not work, I am still getting ID3v2 tags coming out.

I thought I would try to create a seperate batch file without using REACT to achieve the same thing to see if that would help to pinpoint the problem
The code is below:
Code: [Select]
SET tools=C:\PROGRA~1\EXACTA~2\REACT2\Tools\
SET sourcecue="C:\Documents and Settings\Gordon\My Documents\My Music\EAC\After Forever - 2007 - After Forever.cue"
SET TrackDirMP3=C:\Documents and Settings\Gordon\My Documents\My Music\EAC
SET TrackName=$~A - $~T - $n - $~t
SET year=2007
SET genre=Gothic Rock
SET Comment_tag=Created on %DATE%
SET USERNAME=Gordon
SET ver_lame=3.97
SET opt_lame=-b 320 --noreplaygain --nohist
SET opt_lame_tag=-b 320
SET cover=C:\Documents and Settings\Gordon\My Documents\My Music\EAC\After Forever - 2007 - After Forever.jpg
SET cover_tag=--frame $#x
SET Disc_MP3_acdir=--frame $qTXXX[setsubtitle]:DISC GSA$q

REM METHOD 1
SET dest="%TrackDir_MP3%"
PUSHD %dest%
%tools%\acdir.exe --overwrite --output "%TrackName%.mp3" --extra-opt "APIC{3}:%cover%" --pipe "TITLE $n/$N mp3 $#T & %tools%\lame.exe %opt_lame% $#o & %tools%\metamp3.exe --2 %Cover_tag% %Disc_MP3_acdir% --artist $#a --album $q@year@: $T$q --title $#t --track $n/$N --year $q%year%$q --genre $q%genre%$q --comment $q%Comment_tag%$q --frame TENC:$q%USERNAME%$q --frame TSSE:$qLAME %ver_lame% %opt_lame_tag%$q $#o" %sourcecue%
%tools%\metamp3.exe --replay-gain *.mp3

REM METHOD 2
REM %tools%\acdir.exe --overwrite --output "%TrackName%.mp3" --extra-opt "APIC{3}:%cover%" --pipe "TITLE $n/$N mp3 $#T & %tools%\lame.exe %opt_lame% $#o & %tools%\metamp3.exe --2 %Cover_tag% %Disc_MP3_acdir% --frame TPE1:$#a --frame TALB:$q@year@: $T$q --frame TIT2:$#t --frame TRCK:$n/$N --frame TYER:$q%year%$q --frame TCON:$q%genre%$q --comment $q%Comment_tag%$q --frame TENC:$q%USERNAME%$q --frame TSSE:$qLAME %ver_lame% %opt_lame_tag%$q $#o" sourcecue%
REM %tools%\metamp3.exe --replay-gain *.mp3

pause

I have 2 methods in the file - method 2 is currently Remed out and uses the --frame commad for artist etc

When I run this it does not seem to create any files and I get a "Could not find file" error message after each file has been run through acdir and then the metamp3 line to RG the files just errors becuase it can't find the files

Code: [Select]
TITLE 13/13 mp3 "After Forever" & C:\PROGRA~1\EXACTA~2\REACT2\Tools\\lame.exe -b
320 --noreplaygain --nohist "After Forever - After Forever - 13 - Lonely.mp3" &
C:\PROGRA~1\EXACTA~2\REACT2\Tools\\metamp3.exe --2 --frame "APIC{3}:C:\Document
s and Settings\Gordon\My Documents\My Music\EAC\After Forever - 2007 - Afte
r Forever.jpg" --frame "TXXX[setsubtitle]:DISC GSA" --artist "After Forever" --a
lbum "@year@: After Forever" --title "Lonely" --track 13/13 --year "2007" --genr
e "Gothic Rock" --comment "Created on 02/11/2007" --frame TENC:"Gordon" --f
rame TSSE:"LAME 3.97 -b 320" "After Forever - After Forever - 13 - Lonely.mp3"
Could not find "After Forever - After Forever - 13 - Lonely.mp3"
metamp3 v0.92 beta 5 - Copyright (c) 2007 by Tycho

Usage: C:\PROGRA~1\EXACTA~2\REACT2\Tools\\metamp3.exe [options] [mp3files]
options:
   --artist <text>                 set artist
   --album <text>                  set album
   --track <text>                  set track[/total]
   --title <text>                  set title
   --year <text>                   set year
   --genre <text>                  set genre
   --comment <text>                set comment
   --frame <frame>[[descr]][{extra}]:<text>
                                   set/add a T*, W*, COMM or APIC type frame
   --extract <frame>[[descr]][{extra}]:<file>
                                   extract a T*, W*, COMM or APIC type frame
   --remove <frame>[[descr]]       remove frame(s). accepts wildcards *,?

   --1                             add id3v1 tag only (default both v1 and v2)
   --2                             add id3v2 tag only (--1 --2 will add both)
   --fit                           add id3v1 + id3v2 if tag does not fit id3v1
   --replay-gain                   scan and set replay gain tags
   --apply-gain [album|radio]<+dB|-dB>
                                   apply gain to the the audio frames
   --undo-gain                     undo previous apply-gain
   --list-picture-types            list possible picture type numbers
   --list-frames                   list possible text and URL id3v2.3 frames
   --list-genres                   list standard id3v1.1 genres
   --info                          print detailed mp3/lametag info
   --version                       show version info
   --help                          show this help

Input <text> prefixed with '@' takes input from a following file name.

Any idea what I am doing wrong here?
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-11-02 11:30:25
We're getting a bit too OT here, I may move these posts soon.

Code: [Select]
C:\PROGRA~1\EXACTA~2\REACT2\Tools\\lame.exe -b
320 --noreplaygain --nohist "After Forever - After Forever - 13 - Lonely.mp3"

You have no input.

I assume it should be:

Code: [Select]
C:\PROGRA~1\EXACTA~2\REACT2\Tools\\lame.exe -b
320 --noreplaygain --nohist - "After Forever - After Forever - 13 - Lonely.mp3"

Batch file code snippet:

Code: [Select]
... lame.exe %opt_lame% - $#o ...
Title: REACT 2 Released
Post by: SamHain86 on 2007-11-02 12:37:37
My only advice: only tamper with the CFG if you really need to.  Once you start making changes there is makes things more complicated for you to maintain, and for us to help with any problems.  I'm not saying that you should never change it - many REACT users do - but I would recommend using the INI options as much as possible and only revert to CFG changes where necessary.  Oh, and make backups!
Gotcha. ;-)
Funny I read this now after a mixture of random and intuitive tinkering, I configured the INI and the image CFG to use a different directory structure for Soundtracks. Now with the help of some other tools I make MD5 calculations of the files, and then make archives with recovery records. This is amazing.

My final question: How do I alter the various album artist in EAC to something else and keep the individual artists stored as the track performer in the CUE? I have many CDs that are various artists, however they are released under another artist. For instance, DJ Tiesto's In Search of Sunrise, a compilation of other artists however mixed by Tiesto. Is there a way to change EAC's behavior to accomplish this so I don't have to manually tag and rename folders?

EDIT: found the tools necessary to do what I wanted.
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-11-02 14:49:07
Since you mentioned backups: Do you know of any command line MD5 calculators that send out the hash as a file? I always create a MD5 of my lossless image file, which will get thrown into a RAR archive later on for permanent backup to a DVD. With what I have seen so far, I shouldn't have any problems automating that process, too. tongue.gif
I would use FSUM (http://www.slavasoft.com/fsum/):

@tools@\FSUM "@image@">%dest%\"@basename@.md5"

And my final question: How do I alter the various album artist in EAC to something else and keep the individual artists stored as the track performer in the CUE? I have many CDs that are various artists, however they are released under another artist. For instance, DJ Tiesto's In Search of Sunrise, a compilation of other artists however mixed by Tiesto. Is there a way to change EAC's behavior to accomplish this so I don't have to manually tag and rename folders?
Hmm.. this is do-able - pretty much anything is if you put your mind to it with REACT - but it could be a lot of effort, and may be one better left to manual editing when required, as it should be required infrequently.

EAC will require the use of the VA checkbox to record the track artists.  You would therefore need to use something like SED in your CFG to edit the cuesheet after it has been written, using a new token to specify the actual value required.  You'd probably also need to rename some folders.

Definately possible though.

Edit: After looking at the CFG I would suggest something like:
Title: REACT 2 Released
Post by: gsa999 on 2007-11-04 17:28:30
Final post on this matter I promise!
I have worked out what the problem was with trying to get REACT2 to only write ID3v2.3 tags. The code should read:
Code: [Select]
@tools@\acdir.exe --overwrite --output "%TrackName%.mp3" --extra-opt "APIC{3}:%cover%" --pipe "TITLE $n/$N mp3 $#T & @tools@\lame.exe @Opt_LameMP3@ %ApplyAG_Lame% - $#o & @tools@\metamp3.exe --2 %Cover_tag% %VA_tag% %Disc_MP3_acdir% --artist $#a --album $q@year@: $T$q --title $#t --track $n/$N --year $q@year@$q --genre $q@genre@$q --comment $q%Comment_tag%$q --frame TENC:$q%USERNAME%$q --frame TSSE:$qLAME @Ver_LameMP3@ @Opt_LameMP3_tag@$q $#o" "@sourcecuesheet@"
IF %add_rg%==1 @tools@\metamp3.exe --2 %RG_MetaMP3% *.mp3
IF @ApplyAlbumGain@==1 @tools@\metamp3.exe --2 %ApplyAG_MetaMP3% *.mp3
I had added --2 into the main acdir/lame/metamp3 line above but not the the second and third lines which also call  metamp3 to write the RG and applygain (I don't actually use apply gain though)

It all works perfectly now. Thanks for your help 

G
Title: REACT 2 Released
Post by: gsa999 on 2007-11-05 13:08:27
A Replaygain question.
In the REACT.INI file there is an option (AdjustAlbumGain_dB) to allow you to change the default reference level for replaygain from the standard 89db. The text at the top of the cfg suggests using +3, making it 92db which it says is best for DAP's. I am just creating RG album and track tags and then intend to convert them to Sound Check tabs using mp3tag. I am not using mp3gain (ApplyAlbumGain)

However I notice on my flac image that it has created a tag called ReplayGain Reference Level and this says 89db. Why is this not saying 92db? And also does this mean that the RG tags I have in my flac and mp3 files are referenced to 89 or 92?

I guess I am concluding that the AdjustAlbumGain-dB variable in REACT.INI only applies with mp3gain. Is this correct? Can the reference level for the flac image be changed and for this to be used when calculating the RG tags?
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-11-05 13:43:59
Yes, AdjustAlbumGain_dB is only pertinent to metamp3 and aacgain, when applying the gain.

I don't know of a way to amend FLAC's reference value.  A quick scan of the docs didn't highlight anything.
Title: REACT 2 Released
Post by: Osprey on 2007-11-10 06:37:13
Please help a moron who has never dealt with a script before.
I want to get FLAC and MP3s out at the same time from my ripped files.  I have read the readme, the Wiki and browsed through the forums, but I can't get this thing to work at all after EAC rips it  I am sure it is something obvious I have done with my naming conventions or the command line modifications in the ini file, but I am not sure what. 

This is my INI, can someone take a look and see what my issue is? I've tried it by hitting f4 and f10, and modifying the image directories, doesn't seem to make a difference.
Thanks.

[Settings]
Version=2.0
ImageExt=wav
ImageNaming=$artist$ - [$year$] $album$
ImageHotKey={F10}
TracksHotKey={F4}
TracksHotVal=+{F5}
VA=Various Artists
CreateAllCuesheets=0
RunCoverDownloader=0
CoverDownloader=E:\Program Files\REACT\coverdownloader\albumart.exe
EAC=E:\Program Files\Exact Audio Copy\EAC.exe
Tools=E:\Program Files\REACT\tools
MinimizeCompressionWindow=1
ProcessPriority=1
Sla_Bks_Col_Qst_Bar_Quo_Ast_Lt_Gt=-|-|-||!|'|#|[|]

[UserTrackFormats]
Flac=1
Wavpack=0
LameMP3=1
NeroAac=0
iTunesAac=0
OggEnc2=0

[UserOutputNames]
OutRoot=@mymusic@\EAC
ImageDir_Flac=@OutRoot@\FLAC-images\$cdartist$
ImageDir_Wavpack=@OutRoot@\WV-images\$cdartist$
ImageDir_MP3=@OutRoot@\MP3-images\$cdartist$
TrackDir_Flac=M:\$cdartist$\$album$
TrackDir_Wavpack=@OutRoot@\WV\$cdartist$\[$year$] $album$
TrackDir_MP3=H:\Music\$cdartist$\$album$
TrackDir_AAC=@OutRoot@\AAC\$cdartist$\[$year$] $album$
TrackDir_OGG=@OutRoot@\OGG\$cdartist$\[$year$] $album$
TrackName_SA=$artist$-$album$-$track$-$title$
TrackName_VA=$artist$-$album$-$track$-$title$
TrackName_SA_acdir=$n - $~t
TrackName_VA_acdir=$n - $~t [$~a]

[UserSettings]
Debug=1
Comment=Created with EAC/REACT2, @curdate@
EmbedCover=0
ReplayGain=0
ApplyAlbumGain=0
AdjustAlbumGain_dB=+3.0
AddCuesheetAG=0
UseWaveGainAG=0
Opt_Flac=-8 -T "artist=%a"-T "album=%g"-T "tracknumber=%n" -T "title=%t" %s
Opt_Wavpack=-hmy
Opt_LameMP3=-V 2 --vbr-new --add-id3v2 --pad-id3v2 --ta "%a" --tt "%t" --tl "%g" --ty "%y" --tn "%n" %s %d
Opt_NeroAac=-lc -q 0.21
Opt_iTunesAac=-d -s 2000
Opt_OggEnc2=-q 3.0
Ver_Flac=1.1.3
Ver_Wavpack=4.40
Ver_LameMP3=3.97
Ver_NeroAac=1.0.0.2
Ver_OggEnc2=2.83 Lancer aoTuV b5
Title: REACT 2 Released
Post by: SamHain86 on 2007-11-10 09:45:50
@Osprey
-I think your problem is my problem. Make sure you are using Synthetic Soul's modified version of REACT since the actual 2.0 does not work with the latest EAC. Get Synthetic Soul's moddified version here (http://wiki.hydrogenaudio.org/index.php?title=REACT:Mods#Synthetic_Soul.27s_Mod).

Also you are programming your REACT.INI to tag the files TWICE. Set your INI like this:
Code: [Select]
Opt_Flac=-8
Opt_LameMP3=-V 2 --vbr-new --add-id3v2 --pad-id3v2

Take a peak in at the tracks and image CFGs. It is not difficult at all to use this. I have no background with programming at all, but I pecked through the lines one at a time and now I have slick script that generates different directories for soundtracks, makes hashes of my lossless image file [EDIT: "and the audio data inside," I am hoping to get this with SHNTOOL on WV images], and makes a RAR archive with 10% recovery record to be later burned to DVD. It is a really handy tool.

For some hints of how I solved my problems, start reading here: http://www.hydrogenaudio.org/forums/index....0273&st=767 (http://www.hydrogenaudio.org/forums/index.php?showtopic=50273&st=767)

@Synthetic Soul
-Thanks again for all your help before.

@Everyone
Is there an archiving utility like WinRAR that adds recovery records to correct damaged archives? And I mean a significant recovery record, like WinRAR's 10% of the total archive size of a recovery record. I found ARJ however it does not seem to work, despite having all the necessary DLLs and installed components.
Title: REACT 2 Released
Post by: Martin H on 2007-11-10 19:52:25
I personally just keep two seperate DVD+R archives of my WavPack images(and i only use MCC or TY media), but if you want to make recovery records, then i believe that dvdisaster (http://dvdisaster.net/en/index.php) is one of the best solutions for that...
Title: REACT 2 Released
Post by: Osprey on 2007-11-10 23:52:28
Thanks dude, you saved me a ton of time.  I will definitely play with the software now that I have it working.  BTW, is there an advantage to making an image versus just ripping the tracks?  I assume there must be.

@Osprey
-I think your problem is my problem. Make sure you are using Synthetic Soul's modified version of REACT since the actual 2.0 does not work with the latest EAC. Get Synthetic Soul's moddified version here (http://wiki.hydrogenaudio.org/index.php?title=REACT:Mods#Synthetic_Soul.27s_Mod).
Title: REACT 2 Released
Post by: nago on 2007-11-11 00:14:57
I'm trying to get REACT to replace flacattack. I've got it mostly setup the way I want, except that I'm trying to copy the log and cue over for the track extraction mode.
I've started editing the .cfg to add a line to copy the two files over, but it seems that the @eaclog@ variable is pointing to an incorrect filename.
In my case, it's pointing to: "C:\Cdtools\EAC\TMP\Nutcracker with The London Symphony Orchestra.log"
when the actual filename is "Tchaikovsky - Nutcracker with The London Symphony Orchestra.log" .. Is there a setting in EAC that controls the resulting filename of the .log file that I may have mis-set that is confusing REACT?


Edit: Should have just read but five minutes longer. Apparently the official version of REACT does not currently play nicely with the new EAC prebetas. Switching to Synthetic Soul's version has fixed my issue. Sorry for the post.
Title: REACT 2 Released
Post by: SamHain86 on 2007-11-11 13:18:52
@nago-
-You aren't the only one. I think there ought to be a big, bright, flashy marquee banner somewhere that says "REACT2.0 DOES NOT WORK WITH EAC 0.99PB6" because that problem kept me awake for many nights. 

@Osprey-
-I only rip to images for two reasons:@Martin H-
-I am using DVDisaster in conjunction with these RAR archives... do you honestly think it is fruitless to have both recovery methods? I still want to make some kind of ZIP or RAR archive... else I have to keep track of which CDs I have yet to backup. 

@Anyone-
-I think I am being brain dead or something when it comes to SHNTOOL because I cannot figure out how to output the MD5 and SHA-1 hashes to a file.  Any command line suggestions?
Title: REACT 2 Released
Post by: nago on 2007-11-11 20:14:29
@nago-
-You aren't the only one. I think there ought to be a big, bright, flashy marquee banner somewhere that says "REACT2.0 DOES NOT WORK WITH EAC 0.99PB6" because that problem kept me awake for many nights. 



Actually, I had to go back to the original, and am just 'guessing' the log and cue locations. the modified version did some pretty wonky things for me, including; when I set the 'tracks' shortkey to be F6 and point to Shift+F6, it worked fine the original version, but the modded one would only copy tracks instead of T&C.

Also, if I had the album art retriever enabled, the modified version would start ripping tracks before detecting gaps was even done- so EAC would be busy looking for gaps, the album art retriever would be up, and it'd be ripping tracks already. It didn't make EAC very happy...

So I switched back to the original and am just using some name-guessing tactics to find the log/cue, but I made a guess user-configurable in case it just doesn't work.

...I'd switch back to the modified version if I could hammer those two problems, though...
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-11-11 20:38:42
the modified version did some pretty wonky things for me, including; when I set the 'tracks' shortkey to be F6 and point to Shift+F6, it worked fine the original version, but the modded one would only copy tracks instead of T&C.
To use T&C with my mod set Test=1 in the [Settings] section of the INI, and press the normal hotkey (F4 or F10 by default).  I did this to include the new T&C for images.

Also,  if I had the album art retriever enabled, the modified version would  start ripping tracks before detecting gaps was even done- so EAC would  be busy looking for gaps, the album art retriever would be up, and it'd  be ripping tracks already. It didn't make EAC very happy...
I can't see how this happens.  Ripping tracks before gap detection?  REACT forcing this?  Dunno.  There should be no difference in the actual process timeline.

If there is an issue and we can pinpoint it then I'll gladly fix the bug; however, this is the first I've heard of it, and it doesn't appear to make sense.  That said, I don't use album art, so I have only personally tested a limited nmber of times.
Title: REACT 2 Released
Post by: nago on 2007-11-11 21:10:21
I'll test it out more thoroughly after I get my .cfg fully hammered out, but it did some pretty weird things when I was trying to use it, so I just went back to the "original" one for now, but I'll go back and try to see if I can replicate and pinpoint exactly what the cause was.


Edit: just replicated it on a separate computer.
Enable 'Create all Cuesheets' and 'Run Cover Downloader' simultaneously and it will do some funky things.
It will start to detect gaps, but it doesn't seem to finish "fast enough", and the cover downloader will launch while it is still detecting gaps.
After selecting album art or closing it otherwise, it will start to rip tracks while it is (trying) to detect gaps, although at this point it will say;
'Detecting Gaps- Track 0' and it will never finish at this point.

Edit Again: If you use the former-f4 hotkey function "Detect Gaps" before invoking the REACT tracks script, everything works out fine.
Title: REACT 2 Released
Post by: leonlikestrees on 2007-11-11 21:58:08
Hi all,

I've been playing with REACT for the last few days, and I've got it doing most of what I want now, but I'm having a prolem with cover art.

It seems that all the temporary files are being created in "My Documents", and the generated BAT file is expecting the cover art to be there, however the cover art is actually being stored in z:\music, which is where I haveconfigured EAC to place it's output files too.

I thought all temporary files would be created and subsequently tidied up from the EAC working directory.

At the moment they are created in My Documents, and not deleted.

I am using Vista,  EAC V0.99 prebeta 3, REACT 2.0.ssb16, with the ssb16 config files. I changed the lame settings, and OutRoot in the ini file. I haven't touched the cfgs.

Any help is much appreciated.

Leon
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-11-11 22:07:48
It may be worth upgrading to the latest version of my mod, and then using Ctrl+F2 to reconfigure EAC.

If you check the changelog (http://wiki.hydrogenaudio.org/index.php?title=REACT:Mods#Changelog) you'll find some links against ssb16f that detail some issues with the working directories getting out of sync.
Title: REACT 2 Released
Post by: leonlikestrees on 2007-11-11 22:24:37
My bad. I am on the latest version, but I copied the version string from the ini file!

I did ctrl-F2 though, and it seems to have fixed it. What exactly happens when you hit ctrl-f2?

On slightly odd thing that is ahppening though is that the folder images are somehow being flagged as executable, so when I double click them, windows tries to execute (and fail). They are still valid jpgs though. Odd. I'll look into that in more detail tomorrow night, but I have a baby to feed now.

Ta, SS!
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-11-11 22:40:15
What exactly happens when you hit ctrl-f2?
Please check the links in the changelog if you want background info.
Title: REACT 2 Released
Post by: nago on 2007-11-11 22:52:55
Playing with the error I got further..

Invoking the tracks script with F4 without detecting gaps beforehand and having 'create all cuesheets' set to true (and having cover art set to false) will still produce the results I am talking about.

It will go through and start detecting gaps, but maybe halfway through, the track ripping dialog comes up and starts ripping tracks before it's done detecting gaps.

It doesn't do it if you detect the gaps manually beforehand, but the original REACT does not have this issue.


If you don't cancel the extraction and gap detection processes when it starts messing up, it will produce unhandled exception errors: the current one I've got on screen says "Unhandled Exception' - at Gaps.2150 -> INDEX-RANGE"
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-11-12 07:35:43
Thanks for the report.  I'll try to find some time to test this.

I'm confused, as I'm 99% sure my mod does not alter the process timeline at all.  I'll have to look at the code involved to see if I can work out what could be causing an issue.

I can't see how REACT can force EAC to start ripping when it is part-way through detecting the gaps!

I'll look into it when I can.
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-11-12 09:59:43
OK, I think I may have resolved this.

I made a change a while back, that stopped REACT hanging when trying to create the cuesheets.  This change made REACT give up after five seconds, rather than trying indefinately.

However, when EAC needs to detect gaps, the process will take longer than five seconds.  Therefore, I have raised the limit to two minutes.

I cannot remember who was having problems with the infinite loop that REACT 2.0 uses, and why I changed it to give up after five seconds.  Hopefully the two minutes limit should be OK for both situations.  If not, maybe I'll have to move the value used out to the INI, for people to amend as they see fit.

Additionally, I must admit that I was blissfully unaware of the TracksHotVal setting.  As it was an easy change I have put that functionality back in.  I don't like to remove functionality from Tycho's original, I just try to tack on a few extra bits.  Therefore, to use T&C with tracks, you can now either use TracksHotVal as discussed in the wiki, or the Test=1 setting (or both, it won't matter). To use T&C with images you must use the Test=1 setting.

Please try 2.0.ssb16i (http://www.synthetic-soul.co.uk/temp/REACT_2.0.ssb16i.zip).

Edit: FYI, the post (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=50273&view=findpost&p=511470) where it was decided to stop looking for a cuesheet after five seconds.  I hope th latest change doesn't just bring more grief.
Title: REACT 2 Released
Post by: SamHain86 on 2007-11-12 10:52:15
@leonlikestrees-
-You must be using my modified INI since you've mentioned @OutRoot@, which is a variable I added. That is strange that it makes executable folders... sounds like a Vista problem. Mine does not do this on XP.

EDIT: My bad, I created a different variable called RootFolder that dictates the output directory. Then I have OutRoot and OutRoot_sndtrk which specify the sub-directories.
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-11-12 11:12:34
@Outroot@ is a standard REACT variable. It's documented in the wiki. (http://wiki.hydrogenaudio.org/index.php?title=REACT#UserOutputNames_Section)
Title: REACT 2 Released
Post by: leonlikestrees on 2007-11-12 13:59:39
@Outroot@ is a standard REACT variable. It's documented in the wiki. (http://wiki.hydrogenaudio.org/index.php?title=REACT#UserOutputNames_Section)


I only mentioned it in case it had a bearing. My question about F2 was more a general one, than specific to this error.

@SamHain86 - not using your files yet, except to learn from (thanks!). Now I have found REACT, I'm muddling through as I don't think my needs are quite the same as yours.
Title: REACT 2 Released
Post by: nago on 2007-11-12 18:49:00
Thanks a whole bunch, my good friend. However, I now have questions for you.
Are the LOG and CUE names generated by EAC always going to be the same (EAC Versions aside), or are they user-configurable at all?

Additionally, in your modified react, does @eaclog@ point to the correct logfile in both the old and new EAC versions, or is it statically set to the new logfile?

One further question. Is there a way to automatically extract only one cuefile out of the four? currently I have it set to generate all four and am using variables to pick out just the one I want.
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-11-12 22:56:59
Thanks a whole bunch, my good friend.
You're welcome. Thanks for reporting the bug so clearly.

Are the LOG and CUE names generated by EAC always going to be the same (EAC Versions aside), or are they user-configurable at all?
They are not configurable; they will always be created with the naming scheme that EAC chooses.  Of course, there is nothing stopping you from using REACT to rename them.

Additionally, in your modified react, does @eaclog@ point to the correct logfile in both the old and new EAC versions, or is it statically set to the new logfile?
The mod should work with both log naming formats.

One further question. Is there a way to automatically extract only one cuefile out of the four? currently I have it set to generate all four and am using variables to pick out just the one I want.
That's the way to go: create all four and then just move/copy/rename the one you want.  REACT will always create all four.
Title: REACT 2 Released
Post by: Martin H on 2007-11-13 18:10:31
@Synthetic Soul

I have reripped all my CDs alittle while ago(as i wanted to use Test & copy and AccurateRip), but now i'm beginning to be alittle nervous about this last reported error that you have just fixed. I'm ripping to WV images only, and so can you tell me if that error about the 5 seconds cutoff for cuesheet creation also could have effected me ? I mean, if some of my ripped CDs would have used over 5 seconds for doing the gap and UPC/ISRC detection, then REACT would have just stopped the gap and UPC/ISRC detection and started ripping, which then would mean that on some CDs cuesheets there would be some of the final tracks which would show no INDEX 00 possitions even though they maybe should have and no ISRC codes even though they maybe should have ?

Thank's in advance.
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-11-13 18:23:55
Hi Martin.

The bug would only affect ripping with CreateAllCuesheets selected.

Even then, I have no idea what the outcome would have been.  nago experienced a full lock-up.  When I tested I did not experience a lock-up, and as far as I remember the detection did finally complete - I simply didn't get the cuesheets.

I really am a bit clueless on this, but I would suspect that, if the detection never completed to create the cuesheets, it would run again before the disc was ripped (as normal). I'm not sure if you could ever start ripping without a full detect.  It sounded like nago experienced this, but then he never successfully ripped!  As I say, I had a different experience.  The whole sequence is pretty messy though, and it's difficult to say how EAC is responding.

In conclusion though, you should not be affected, but I cannot accurately say what the outcome would be for someone using CreateAllCuesheets. I guess we would need someone to re-rip and cross-examine their results.

Edit: Also, I should clarify that, to be accurate, the five second timeout was on renaming the cuesheets.  REACT sends the key or menu commands to create a certain cuesheet, and then tries to rename it to the "@albumfile@.
Title: REACT 2 Released
Post by: Martin H on 2007-11-13 18:28:27
Thank's alot for that explenation, my friend

pheew, for a minute there i almost thought that i had to rerip my colection again

Thank's again, mate
Title: REACT 2 Released
Post by: Akkurat on 2007-11-14 15:07:57
Hello all. First I must say big thanks to Tycho and of course to Synthetic Soul, you've done a great job.

I have been modifying REACT heavily to my own needs and everything have been going great BUT (the infamous but) when testing with "illegal" chars my work stopped to a screeching halt. So could you please test ripping with "illegal" (and special) chars: &%/\:*?"<>|    using these chars in "CD title", "CD artist" and "track titles" produce all kinds of problems.

First I modified and tried to use the image ripping but I realized that using ACDIR I couldn't use the character replacement ini-setting. Then I found CueProc, successor to ACDIR, but reading the documentation and briefly the forum conversation I realized that you can't use char replacement with CueProc either.

Then I went back to track ripping after I invented a way to correctly read the REAL last AUDIO track number from generated cuesheet so that the post-processing would work with CDs with data track (and to get the correct total track number to tags as well).

Here's the solution (you have to have a cuesheet of course):
Code: [Select]
REM ** UNDER TESTING!!! @sourcecuesheet@ variable maybe not correct, currently I'm testing with hard-coded cuesheet filename until the "illegal" char replacement problem is solved.
REM ** Read the REAL last AUDIO track number from cuesheet. Number is zero-padded.
SET LastTrackNum=
IF EXIST "@sourcecuesheet@" (
    FOR /F "tokens=2 delims= " %%i IN ('FINDSTR /R "TRACK.[0-9][0-9].AUDIO" "@sourcecuesheet@"') DO SET LastTrackNum=%%i
)
I plan to use this method to find if the cd has a data track, so I could copy all files automatically to a DATA subfolder (or pack them to archive). One problem is ready to be solved; how can I detect which drive has the cd?

But then, like I said, I stumbled on to this "illegal" chars problem which yields at least according to my tests these problems so far:

1. Cover downloader doesn't work (using AlbumArtDownloaderXUI-0.10.1). Parameters sent are wrong. Example:
Code: [Select]
"C:\Program Files\REACT2\coverdownloader\albumart.exe" /artist "Supergrass&%/\:*?"<>|äåö" /album "Kiss Of Life (CDS)&%/\:*?"<>|äåö" /path "D:\Music\RIPPED\EAC\Kiss Of Life (CDS)&%         äåö.%extension%" /autoclose

SUGGESTION: Escape quote (") chars when starting "albumart.exe". (Escape only necessary chars for the "/artist" & "/album" switches, but use the REACT "Sla_Bks_Col_Qst_Bar_Quo_Ast_Lt_Gt" setting for the "/path" switch.)

CORRECTED:

"C:\Program Files\REACT2\coverdownloader\albumart.exe" /artist "Supergrass&%/\:*?(INSERT_ESCAPE_CHAR_HERE)"<>|äåö" /album "Kiss Of Life (CDS)&%/\:*?(INSERT_ESCAPE_CHAR_HERE)"<>|äåö" /path "D:\Music\RIPPED\EAC\Kiss Of Life (CDS)&%----'[]-äåö.%extension%" /autoclose

2. Additional cue filenames wrong (using CreateAllCuesheets) (and var pointing to it). Not copied to dest. folder. Inside cue-files, FILE lines totally wrongly escaped (EAC style? Impossible to change?!). Also PERFORMER and TITLE lines are escaped: " -> '  ... no solution to this either I think? To me, the inside cuefile escapes are not important.

3. Flac filenames wrong when using IMAGE-RIP. Impossible to change with ACDIR! Can't do nothing with this I guess if you don't change ACDIR (or CueProc).

4. Correct flac tags would be nice; the "-char is replaced with '-char.. all other chars fine. Escape it?

5. Eaclog filename wrong (and var pointing to it). Not copied to dest. folder.

6. Cover image wouldn't be copied to dest. folder.. impossible to do a test because albumart.exe doesn't work currently.. but still, you have to notice that the @cover@ variable could contain wrong string.

7. All cleanup delete commands are not working.

Huh, I hope that's all. Folders and flac filenames are correctly escaped thou.. it's a good start.

I can send you my heavily modded ini and cfg files if you like. By using some diff-program like WinMerge, you could pick out many enhancements I've already made.. I mean, to consider adding them to your mod.. if they're useful in your opinion.

I have many great (well, at least I think so) suggestions and tricks to share but I would like to have my settings to work properly before I could share with you all. And I do have so much that I think it's wise not to post all of them in one post. Well, I'll see what would be the proper way to post those after I get this char replacement problem solved.

EDIT: removed OT questions.
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-11-14 15:41:17
Your post is so long that it will take me a while to digest and respond.  Sufficing to say that I have done some testing with some illegal characters, and have never had any issues - let alone the number you appear to be reporting.

I will do some more testing, but I find many of your points confused, and I'm also concerned that you are testing with an amended CFG.

Until then...

And for last, couple of general questions:

- Which GAP DETECTION setting should I use in EAC? Does it matter? Do I just select the one that works fast and reliably?

- What about data tracks? If I want to make a 1:1 copy of CD, is my only option to make an image?
- What's the best way to backup a enhanced CD? Extract flac-files and copy files from cd to DATA\-folder?

- Why would I want to save cue-file if I'm ripping to flac tracks?
...
- Should I import it to flac-tracks? Pros/cons?
IMHO These are OT for this thread - please start a new one.  Let's spread the load a little!  If members feel that they can respond specifically to REACT then feel free to in this thread; however let's please not turn this already confusing thread into a general EAC ripping guide.

- And which one to use? *.[mg].cue (w/ data track) or *.[m].cue (no data track)?
...
- Do I need these files in tools-folder: libFLAC.dll, libOggFLAC.dll and libsndfile.dll? What are those for? Just trying to clean up and customize REACT to my own needs and these are the only files left. (I use --verify flac option, if that matters?)
If you wanted a cuesheet (I normally point people to this thread (http://www.hydrogenaudio.org/forums/index.php?showtopic=40608)) you would normally use [mg]. The files you list are used by ACDIR.
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-11-14 17:09:06
1. Cover downloader doesn't work (using AlbumArtDownloaderXUI-0.10.1). Parameters sent are wrong. Example:
Code: [Select]
"C:\Program Files\REACT2\coverdownloader\albumart.exe" /artist "Supergrass&%/\:*?"<>|äåö" /album "Kiss Of Life (CDS)&%/\:*?"<>|äåö" /path "D:\Music\RIPPED\EAC\Kiss Of Life (CDS)&% äåö.%extension%" /autoclose

SUGGESTION: Escape quote (") chars when starting "albumart.exe". (Escape only necessary chars for the "/artist" & "/album" switches, but use the REACT "Sla_Bks_Col_Qst_Bar_Quo_Ast_Lt_Gt" setting for the "/path" switch.)

CORRECTED:

"C:\Program Files\REACT2\coverdownloader\albumart.exe" /artist "Supergrass&%/\:*?(INSERT_ESCAPE_CHAR_HERE)"<>|äåö" /album "Kiss Of Life (CDS)&%/\:*?(INSERT_ESCAPE_CHAR_HERE)"<>|äåö" /path "D:\Music\RIPPED\EAC\Kiss Of Life (CDS)&%----'[]-äåö.%extension%" /autoclose
Replicated.  The issue is with the double quote in the artist and album values.  I have escaped this and it now works.  NB: the filename follows the 'standard' format (album name with illegal characters replaced with a space) as per the EAC log file in track mode - so will not be changed.

2. Additional cue filenames wrong (using CreateAllCuesheets) (and var pointing to it). Not copied to dest. folder. Inside cue-files, FILE lines totally wrongly escaped (EAC style? Impossible to change?!). Also PERFORMER and TITLE lines are escaped: " -> ' ... no solution to this either I think? To me, the inside cuefile escapes are not important.
PERFORMER and TITLE need the double quote to be replaced by an apostrophe - no alternative.  I don't really know what other issues you have here, but all in all I don't think that there's anything that can be done (or perhaps needs to be done).

3. Flac filenames wrong when using IMAGE-RIP. Impossible to change with ACDIR! Can't do nothing with this I guess if you don't change ACDIR (or CueProc).
What FLAC filenames?  Please clarify.

4. Correct flac tags would be nice; the "-char is replaced with '-char.. all other chars fine. Escape it?
I think this is a standard character replacement issue here.  Granted, the double quote could actually be replaced with two double quotes (I think) to escape it, but this code uses the standard Sla_Bks_Col_Qst_Bar_Quo_Ast_Lt_Gt replacements, and the issue is so minor I'm not inclined to change it (personally - tycho or any other user is obviously free to do so!).  This is such a minor/infrequent issue I would recommend manually re-tagging any susceptible files after processing.

5. Eaclog filename wrong (and var pointing to it). Not copied to dest. folder.
Replicated.  When naming the log file in track mode EAC uses the format "<artist> - <album>" with any illegal characters replaced with a space.  REACT thought it was emulating this; however EAC treats the apostrophe as an illegal character also, which REACT did not.  I have now changed this, so that the REACT variable should match the name that EAC creates when an apostrophe is in the filename (artist and/or album name).

6. Cover image wouldn't be copied to dest. folder.. impossible to do a test because albumart.exe doesn't work currently.. but still, you have to notice that the @cover@ variable could contain wrong string.
What do you call the 'wrong' string?  I don't see an issue here - even given the recognised bug above - this would not affect the batch file name or covert art (which use the same naming scheme as the log file).  Please see response RE: path in Q1.

7. All cleanup delete commands are not working.
Are you running in debug mode?  The batch file won't be deleted in debug mode.  If not, then I guess this is a mismatch between the REACT variables and the actual file names, but I am not seeing this issue.


I will release 2.0.ssb16j after a little more testing.
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-11-14 17:44:30
A couple of additional points...

3. Flac filenames wrong when using IMAGE-RIP. Impossible to change with ACDIR! Can't do nothing with this I guess if you don't change ACDIR (or CueProc).
OK, with regard to illegal character replacement, I remember now that ACDIR replaces illegal characters with a space (it does not replace the apostrophe, unlike EAC, as it is not actually illegal).  I'm not sure what you are considering a bug or where, but please bear this in mind.  This is not an issue for normal use - I guess you are trying to second-guess filenames and it's not working out?

4. Correct flac tags would be nice; the "-char is replaced with '-char.. all other chars fine. Escape it?
I think this is a standard character replacement issue here.  Granted, the double quote could actually be replaced with two double quotes (I think) to escape it, but this code uses the standard Sla_Bks_Col_Qst_Bar_Quo_Ast_Lt_Gt replacements, and the issue is so minor I'm not inclined to change it (personally - tycho or any other user is obviously free to do so!).  This is such a minor/infrequent issue I would recommend manually re-tagging any susceptible files after processing.
Actually, I have just realised, there is nothing we can do here.  EAC will always pass a double quote as an apostrophe it seems.  I presume this is because that it has to pass values as a command line parameter, and it was considered better to replace them (and thus solve any potential issue) than escape them.

This happens before REACT becomes involved, so there's nothing we can do.

Finally, I have previously failed to thank you for identifying these bugs.  It's always good to iron out a few more.  I will point out that the original REACT will also suffer from both those I have confirmed so far.  (Not my fault guv', honest.)
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-11-14 20:09:00
I can send you my heavily modded ini and cfg files if you like. By using some diff-program like WinMerge, you could pick out many enhancements I've already made.. I mean, to consider adding them to your mod.. if they're useful in your opinion.

I have many great (well, at least I think so) suggestions and tricks to share but I would like to have my settings to work properly before I could share with you all. And I do have so much that I think it's wise not to post all of them in one post. Well, I'll see what would be the proper way to post those after I get this char replacement problem solved.
I have provided some modded configs, to accompany the few guides I have written in the wiki (http://wiki.hydrogenaudio.org/index.php?title=Category:REACT).

If you feel that you have some amendments that others would be interested in I would recommend that you register as a wiki author and add your guides to the REACT category.  The more the merrier!


Here's 2.0.ssb16j (http://www.synthetic-soul.co.uk/temp/REACT_2.0.ssb16j.zip) BTW.
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-11-14 20:49:00
OK, this is me done for now I think.

I've found one more thing that you will need to bear in mind if you started with the official CFG files:

Near the top of REACT-track.cfg you will find:

Code: [Select]
IF @various@==0    SET TrackName=@TrackName_SA@
IF @various@==1    SET TrackName=@TrackName_VA@

This will cause issues with some characters (namely ampersand and percent).

Change these two lines to this:

Code: [Select]
SET TrackName=@trackname@

I introduced this token in 2.0.ssb10.  It escapes the characters so that they can be written to the batch file, and will automatically return the correct value depending on whether the disc is VA or not.

Anyone who hasn't made this change, and uses REACT-track.cfg, should take heed.
Title: REACT 2 Released
Post by: Akkurat on 2007-11-15 17:49:03
1. Cover downloader doesn't work (using AlbumArtDownloaderXUI-0.10.1). Parameters sent are wrong. Example:
Code: [Select]
"C:\Program Files\REACT2\coverdownloader\albumart.exe" /artist "Supergrass&%/\:*?"<>|äåö" /album "Kiss Of Life (CDS)&%/\:*?"<>|äåö" /path "D:\Music\RIPPED\EAC\Kiss Of Life (CDS)&% äåö.%extension%" /autoclose

SUGGESTION: Escape quote (") chars when starting "albumart.exe". (Escape only necessary chars for the "/artist" & "/album" switches, but use the REACT "Sla_Bks_Col_Qst_Bar_Quo_Ast_Lt_Gt" setting for the "/path" switch.)

CORRECTED:

"C:\Program Files\REACT2\coverdownloader\albumart.exe" /artist "Supergrass&%/\:*?(INSERT_ESCAPE_CHAR_HERE)"<>|äåö" /album "Kiss Of Life (CDS)&%/\:*?(INSERT_ESCAPE_CHAR_HERE)"<>|äåö" /path "D:\Music\RIPPED\EAC\Kiss Of Life (CDS)&%----'[]-äåö.%extension%" /autoclose
Replicated.  The issue is with the double quote in the artist and album values.  I have escaped this and it now works.  NB: the filename follows the 'standard' format (album name with illegal characters replaced with a space) as per the EAC log file in track mode - so will not be changed.
Sorry to report but it still doesn't work. ("C:\Program Files\REACT2\coverdownloader\albumart.exe" /artist "Supergrass&%/\:*?""""<>|äåö" /album "Kiss Of Life (CDS)&%/\:*?""""<>|äåö" /path "D:\Music\RIPPED\EAC\Kiss Of Life (CDS)&%        äåö.%extension%" /autoclose)

About the filename, EAC log (as well as temp cue, bat & wav file) in image mode is saved with REACT char conversions, I just can't see why this image couldn't be saved with same conversion. In image mode (and track mode), only the additional cue files are saved without REACT char conversions.

2. Additional cue filenames wrong (using CreateAllCuesheets) (and var pointing to it). Not copied to dest. folder. Inside cue-files, FILE lines totally wrongly escaped (EAC style? Impossible to change?!). Also PERFORMER and TITLE lines are escaped: " -> ' ... no solution to this either I think? To me, the inside cuefile escapes are not important.
PERFORMER and TITLE need the double quote to be replaced by an apostrophe - no alternative.  I don't really know what other issues you have here, but all in all I don't think that there's anything that can be done (or perhaps needs to be done).
All clear except, if the temp cue file in image mode is saved with REACT char conversion, I can't see why these additional cue filenames couldn't. File naming scheme is not consistent, that's why I reported it. Not a biggie but still..

5. Eaclog filename wrong (and var pointing to it). Not copied to dest. folder.
Replicated.  When naming the log file in track mode EAC uses the format "<artist> - <album>" with any illegal characters replaced with a space.  REACT thought it was emulating this; however EAC treats the apostrophe as an illegal character also, which REACT did not.  I have now changed this, so that the REACT variable should match the name that EAC creates when an apostrophe is in the filename (artist and/or album name).
Everything ok now. But could you consider saving the log filename in track mode using REACT char conversion, like in image mode. Somebody may like to save it other than "EAClog.txt". Make a ini-setting? Consistent naming again, nothing more.

6. Cover image wouldn't be copied to dest. folder.. impossible to do a test because albumart.exe doesn't work currently.. but still, you have to notice that the @cover@ variable could contain wrong string.
What do you call the 'wrong' string?  I don't see an issue here - even given the recognised bug above - this would not affect the batch file name or covert art (which use the same naming scheme as the log file).  Please see response RE: path in Q1.
I predicted the same behaviour like in the 5. point I made about EAClog file. Still couldn't test because albumart.exe doesn't work currently.

THIS IS Akkurat's POST, COULDN'T QUOTE IT FOR SOME MYSTICAL REASON
-----------------------------------------------------------------------------------------
7. All cleanup delete commands are not working.
-----------------------------------------------------------------------------------------
THIS IS Akkurat's POST, COULDN'T QUOTE IT FOR SOME MYSTICAL REASON

Are you running in debug mode?  The batch file won't be deleted in debug mode.  If not, then I guess this is a mismatch between the REACT variables and the actual file names, but I am not seeing this issue.
Yes I'm running in debug mode, BUT in track mode, the cleanup is done even when the debug is on! Only the bat-file is not deleted. Inconsistent behaviour between image and track mode.. again. But anyways, it's fixed now; only the bat-file is left behind if in debug mode.

***
About the mystical quote problem which made me almost rip my ears off in anger (don't have any hair to pull on) ; seems that you can't use more than 4 "sub-quotes", any more and all quote tags are not working.. at least in preview. Another bug this board has is the post number anchor link located in the upper right corner of each post. It links every post to the first post on the page.

Sometimes my life is so sad when I do find bugs everywhere.. I'm a perfectionist and I do want to correct everything, it's hard to have a positive mindset.. believe me. 

EDIT: Removed my comment about the 4. point in my original post. I will reply to it in another reply.
Title: REACT 2 Released
Post by: Akkurat on 2007-11-15 18:13:44
3. Flac filenames wrong when using IMAGE-RIP. Impossible to change with ACDIR! Can't do nothing with this I guess if you don't change ACDIR (or CueProc).

OK, with regard to illegal character replacement, I remember now that ACDIR replaces illegal characters with a space (it does not replace the apostrophe, unlike EAC, as it is not actually illegal).  I'm not sure what you are considering a bug or where, but please bear this in mind.  This is not an issue for normal use - I guess you are trying to second-guess filenames and it's not working out?

I'm very sorry, I messed up a little bit, clearly I had too many things in my mind. I Should have explained more. Definately NOT a bug, just the way ACDIR works and it was meant to illustrate my other points. Forget this completely. And sorry again.


4. Correct flac tags would be nice; the "-char is replaced with '-char.. all other chars fine. Escape it?

I think this is a standard character replacement issue here.  Granted, the double quote could actually be replaced with two double quotes (I think) to escape it, but this code uses the standard Sla_Bks_Col_Qst_Bar_Quo_Ast_Lt_Gt replacements, and the issue is so minor I'm not inclined to change it (personally - tycho or any other user is obviously free to do so!).  This is such a minor/infrequent issue I would recommend manually re-tagging any susceptible files after processing.

Actually, I have just realised, there is nothing we can do here.  EAC will always pass a double quote as an apostrophe it seems.  I presume this is because that it has to pass values as a command line parameter, and it was considered better to replace them (and thus solve any potential issue) than escape them.

This happens before REACT becomes involved, so there's nothing we can do.

You're quite right.. except now when I think of it quickly, I could compare EAClog strings to cue file strings.. that way I could change the "artist" and "album" tags.. BUT how can I compare the "title"s? EAClog doesn't have correct titles.. maybe impossible, got to think about it more later.

Finally, I have previously failed to thank you for identifying these bugs.  It's always good to iron out a few more.  I will point out that the original REACT will also suffer from both those I have confirmed so far.  (Not my fault guv', honest.)


My pleasure. Not to worry, we're not on a crusade to find the culprits.. at least I'm not.  I have to say WOW to the speed and dedication you answered my questions, thanks a lot.
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-11-15 19:02:52
All clear except, if the temp cue file in image mode is saved with REACT char conversion, I can't see why these additional cue filenames couldn't. File naming scheme is not consistent, that's why I reported it. Not a biggie but still..
...
Everything ok now. But could you consider saving the log filename in track mode using REACT char conversion, like in image mode. Somebody may like to save it other than "EAClog.txt". Make a ini-setting? Consistent naming again, nothing more.
...
I predicted the same behaviour like in the 5. point I made about EAClog file. Still couldn't test because albumart.exe doesn't work currently.
You should understand that this is EAC's convention - not REACT's.

EAC will name the log differently for tracks (<artist> - <album>) and images (same format as used by the image and cuesheet).  REACT uses the log file naming scheme for the four cuesheets, batch file, etc. - it is purely following EAC's lead.

If you have issues with the way things are named you can always rename files in the config, or copy them using a different name (examples in the config already).

I'm all up for fixing annoying bugs in REACT, but I'm not going to change working, core functionality at this time!

Sorry to report but it still doesn't work. ("C:\Program Files\REACT2\coverdownloader\albumart.exe" /artist "Supergrass&%/\:*?""""<>|äåö" /album "Kiss Of Life (CDS)&%/\:*?""""<>|äåö" /path "D:\Music\RIPPED\EAC\Kiss Of Life (CDS)&% äåö.%extension%" /autoclose)
OK, I'm sorry.  I'll have to test using your values.  I tested with artist, album and track names all containing the full set of illegal chars (IIRC) and it worked for me.  I'll test some more.

But could you consider saving the log filename in track mode using REACT char conversion, like in image mode. Somebody may like to save it other than "EAClog.txt". Make a ini-setting? Consistent naming again, nothing more.
The log is renamed to EAClog.txt in the config.  Check the config and amend the relevant line to your needs  - remember to use the $$ tokens to get filename-friendly values, e.g.: "$cdartist$ - $album$.log".
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-11-15 20:56:13
OK, I'm mid-investigation here, but maybe I can get some help...

Akkurat's params:

Code: [Select]
 /artist "Supergrass&%/\:*?""""<>|äåö" /album "Kiss Of Life (CDS)&%/\:*?""""<>|äåö" /path "D:\Music\RIPPED\EAC\Kiss Of Life (CDS)&% äåö.%extension%" /autoclose

... don't work. Yet, move the quotes:

Code: [Select]
 /artist "Supergrass&%/\"""":*?<>|äåö" /album "Kiss Of Life (CDS)&%/\"""":*?<>|äåö" /path "D:\Music\RIPPED\EAC\Kiss Of Life (CDS)&% äåö.%extension%" /autoclose

... and it works, although two double quotes are passed through.  However using two rather than four does not work (albumart.exe complains) - using one or three and the command won't even run.  In essence, only the combination \"""" appears to run (although wrongly passes through two double quotes.

At this point, it is not making any sense, and I may simply resort to just removing double quotes from the artist and album names before submitting.

Edit: Either that or I just say f*** it; how many artists and albums have double quotes in them? (or maybe that's the vino tinto speaking...)
Title: REACT 2 Released
Post by: nago on 2007-11-16 00:28:42
Sorry to add to frustrations, good friend! The next time you're in the AU3 editor, try hitting ctrl+f5 to launch the syntax checker. There are a few errors in the main dialog, and a good number in the metadata addition; they relate mostly to functions that are undefined.
I haven't run into any circumstances where these errors have stopped the show, but the next time you dive in to make updates, consider smoothing out the wrinkles "just in case", I don't understand au3 stuff all too much so maybe these are perfectly healthy errors. I haven't a clue.

Also: Is there a reason for omitting the TAK information from the .au3 script (where it writes the .ini file) -- you've added the info to the .cfg and a downloadable ini, but if you were to regenerate the .ini, the tak stuff wouldn't get regenerated, would it?

Another also: is there a reason for changing EAC's working directory to something in @outroot@, (the syncdirectories function) or am I misreading your code?

Sorry if you're really going to start hating me here, I do have another question . in the official version of react, I could set the @outroot@ variable to something like %userprofile%\desktop\ripped  and when it was written to the batchfile, @outroot@ would literally be %userprofile%\desktop\ripped so when it was actually processed windows would pick up the variable. In your modified version, I'm finding it's getting written as %%userprofile%% -- is this a symptom of escaping illegal characters? if so, can I ... unescape them somehow?

Fifth Edit: You're absolutely just going to murder me and dump my body out at sea. Testing further with the createallcuesheets=1 ... when gaps are undetected, pressing f4 to start the whole process, it will detect all gaps, and create TWO cuesheets, the S and MG ones. After this it stops with no error. Then, after the two minutes are up, it will continue on, create the last two cuesheets MC and M, and continue to the coverdownloader, ripping, etc. Your guess is as good as mine.

Oh god, don't kill me.
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-11-16 07:52:27
The next time you're in the AU3 editor, try hitting ctrl+f5 to launch the syntax checker. There are a few errors in the main dialog, and a good number in the metadata addition; they relate mostly to functions that are undefined.
I haven't run into any circumstances where these errors have stopped the show, but the next time you dive in to make updates, consider smoothing out the wrinkles "just in case", I don't understand au3 stuff all too much so maybe these are perfectly healthy errors. I haven't a clue.
I don't use SciTE, but I've just loaded the Additional Meta Data.au3 file and all the errors are due to SciTE trying to compile the script as standalone, not an include.  The main REACT script file will also have calls to functions defined in included au3 files.  Nothing to worry about.

Also: Is there a reason for omitting the TAK information from the .au3 script (where it writes the .ini file) -- you've added the info to the .cfg and a downloadable ini, but if you were to regenerate the .ini, the tak stuff wouldn't get regenerated, would it?
Sheer laziness.  My updated configs have the TAK code in them, but I've never seen fit to update REACT to include TAK.  They are two separe things.

Another also: is there a reason for changing EAC's working directory to something in @outroot@, (the syncdirectories function) or am I misreading your code?
Without looking at the code, I think @outroot@ is used as a last resort only (a fails safe), and may never actually run.  The main purpose of the function is to sync to the folder specified in the EAC GUI.  However, if for some reason this cannot be retrieved from the registry then @outroot@ is used to ensure at least a directory is set.

Sorry if you're really going to start hating me here, I do have another question sad.gif. in the official version of react, I could set the @outroot@ variable to something like %userprofile%\desktop\ripped and when it was written to the batchfile, @outroot@ would literally be %userprofile%\desktop\ripped so when it was actually processed windows would pick up the variable. In your modified version, I'm finding it's getting written as %%userprofile%% -- is this a symptom of escaping illegal characters? if so, can I ... unescape them somehow?
You are correct, this was to resolve other issues.  I can't think of a workaround, but I will think some more on it.

Testing further with the createallcuesheets=1 ... when gaps are undetected, pressing f4 to start the whole process, it will detect all gaps, and create TWO cuesheets, the S and MG ones. After this it stops with no error. Then, after the two minutes are up, it will continue on, create the last two cuesheets MC and M, and continue to the coverdownloader, ripping, etc.
I've been testing CreateAllCuesheets a bit in the past few days and have never seen this once.  From our PM's I understand that you are editing the REACT code.  May I suggest that you investigate and let me know if you find anything?
Title: REACT 2 Released
Post by: nago on 2007-11-16 08:21:19
Okay.

I've made some edits to the actual .au3 files, but not very many- I added a variable for the eacpath (I could only find one that worked for the path+exe), I also added a few parts where it regenerates the .ini with a few settings I've added that my personal .cfgs use, but I haven't edited absolutely anything inside the main loop for react, I don't know why I would get this error and you wouldn't... I'm going to re-download ssb16j and test it "clean" and see what I come up with.

As for using windows environment variables... I wound up adding another global in the au3 to point to the desktop. I'm leaving the default directory as a folder on the desktop so that whoever I send my modified version to doesn't go "hey, where the f--- are my files?" since I know a good number won't look at the EAC config and don't use the my music directory.  But, do let me know if you come up with a clever way for allowing windows environment variables in the .ini.

Concerning tak/compile warnings: Sorry for the pester. I'm just a bit OCD about things and sometimes I wonder if it's a mistake, or intentional, etc. I may only be succeeding in annoying you, but in my own head I'm trying to help you iron out any bugs that I'm coming across, since I do really like this script an awful lot, You and Tycho's work on this is absolutely super-appreciated.

Concerning @outroot@ ... I see, so that you don't have to use the ini functionality, and it's contained within the gui? I always thought of the EAC directory as a "working" or "temp" directory since I never actually used this for resultant output (I've always used Flacattack or something similar to ship them out), so in my modified version of react (off of the original 2.0) I had just set this directory automatically to a subdirectory of EAC called TMP. I was a little confused when I switched over and the behavior had changed, but this actually probably makes sense for a majority of users. I am wondering, though, can I safely comment out where you call the syncdirectories function (this is when ctrl+f2 is pressed to configure eac) to retain the original functionality of solely using @outroot@?





Edit: Replicated without consistency. At first, I used your stock .ini and changed just a few tiny things: turning on createallcuesheets, and changing the TracksHotVal to +{F6} instead. I tried ripping all tracks using f4 and it worked perfectly, but the coverdownloader didn't launch.

Trying to figure out why, I disabled EmbedCover=1; ReplayGain=1; ApplyAlbumGain=1 and then noticed the path to the coverdownloader was wrong in the ini, so I changed it and restarted react. upon coming back up and pressing f4 to rip tracks again, I successfully replicated the error: the first two cuesheets extract, followed by a two minute pause, then the other two and then coverdownloader launches.

...the sort of part comes to when I re-enabled the replaygain settings, it worked fine again. I disabled them again, and it still worked. I have no idea what caused the error, now.

without replacing any other files again, I replaced just the .ini and replaced ONLY the createallcuesheets setting, leaving everything else intact, including the wrong coverart exe location. It performed the same error again. Without giving it the two minutes, I restarted react without changing any settings and hit f4 again. same results.



It's possessed, I'm afraid.
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-11-16 09:29:10
I may only be succeeding in annoying you, but in my own head I'm trying to help you iron out any bugs that I'm coming across
The only thing that may annoy me is calling things bugs when they are not!  I've done a fair amount of chasing my own tail in the last few days.

Concerning @outroot@ ... I see, so that you don't have to use the ini functionality, and it's contained within the gui? I always thought of the EAC directory as a "working" or "temp" directory since I never actually used this for resultant output (I've always used Flacattack or something similar to ship them out), so in my modified version of react (off of the original 2.0) I had just set this directory automatically to a subdirectory of EAC called TMP. I was a little confused when I switched over and the behavior had changed, but this actually probably makes sense for a majority of users. I am wondering, though, can I safely comment out where you call the syncdirectories function (this is when ctrl+f2 is pressed to configure eac) to retain the original functionality of solely using @outroot@?
The fSynchOutputDirectories() function was introduced to resolve an issue that various users were having as their working directories were out of synch (note the plural: there are two paths used, neither related to @outpath@).  You can disable it, but you are merely removing functionality and not restoring functionality.  I suggest that you follow these links (post (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=50273&view=findpost&p=515730) | post (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=50273&view=findpost&p=512481)) for a background before coming to any conclusions.

Edit: Replicated without consistency. At first, I used your stock .ini and changed just a few tiny things: turning on createallcuesheets, and changing the TracksHotVal to +{F6} instead. I tried ripping all tracks using f4 and it worked perfectly, but the coverdownloader didn't launch.

Trying to figure out why, I disabled EmbedCover=1; ReplayGain=1; ApplyAlbumGain=1 and then noticed the path to the coverdownloader was wrong in the ini, so I changed it and restarted react. upon coming back up and pressing f4 to rip tracks again, I successfully replicated the error: the first two cuesheets extract, followed by a two minute pause, then the other two and then coverdownloader launches.

...the sort of part comes to when I re-enabled the replaygain settings, it worked fine again. I disabled them again, and it still worked. I have no idea what caused the error, now.

without replacing any other files again, I replaced just the .ini and replaced ONLY the createallcuesheets setting, leaving everything else intact, including the wrong coverart exe location. It performed the same error again. Without giving it the two minutes, I restarted react without changing any settings and hit f4 again. same results.

It's possessed, I'm afraid.
Not on my machine... Of course, you realise that the RG settings bear no relevance to the process that fails for you on occassion.

What confuses me is why I've never heard of any issues from track users before - or now - regarding this.  I was under the impression that REACT had quite a user-base, yet this is a first.  As an image user it's not something that I've personally had much experience with.

Edit: One thing to ask: do you just sit back and leave EAC/REACT to it while it happens, or do you change window, etc.?
Title: REACT 2 Released
Post by: nago on 2007-11-16 10:07:37
Edit: You nailed it, it's only when I switch windows. I didn't think this was the case as I thought the au3 keypresses applied to that particular window only and not the currently active window. With the original react2 I never saw it do this either, and I was always switching windows. If it's missing a keypress, too, how does it get the first two, anyway? and how does it end up getting all four regardless? It seems like such a weird occurrence...

I know that the RG values have no relevance, but sometimes weird unexpected things happen, so I thought I'd mention absolutely every last thing I did for completeness' sake: did I mention the OCD? :\

And, sorry for calling things bugs. I really don't mean any offense. I have a bad choice of vocabulary sometimes. Shall I call them "Surprise Features" from now on? =)
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-11-16 11:27:55
Edit: You nailed it, it's only when I switch windows. I didn't think this was the case as I thought the au3 keypresses applied to that particular window only and not the currently active window. With the original react2 I never saw it do this either, and I was always switching windows. If it's missing a keypress, too, how does it get the first two, anyway? and how does it end up getting all four regardless? It seems like such a weird occurrence...
Thank the Lord.  It's always best to set REACT going and leave it well alone really.

The second cuesheet is requested using menu commands, rather than key presses (shortcut keys).  I can only assume that AutoIt doesn't like that if the window is not active - or perhaps visa-versa.  It may simply be down to the timing of you switching windows.

I know that the RG values have no relevance, but sometimes weird unexpected things happen, so I thought I'd mention absolutely every last thing I did for completeness' sake: did I mention the OCD? :\
Of course, and you were right to do so.  I did not mean to be patronising.

And, sorry for calling things bugs. I really don't mean any offense. I have a bad choice of vocabulary sometimes. Shall I call them "Surprise Features" from now on? =)
  LMAO.  Yes, that makes me feel more secure.
Title: REACT 2 Released
Post by: Akkurat on 2007-11-16 14:31:40
You should understand that this is EAC's convention - not REACT's.

EAC will name the log differently for tracks (<artist> - <album>) and images (same format as used by the image and cuesheet).  REACT uses the log file naming scheme for the four cuesheets, batch file, etc. - it is purely following EAC's lead.

If you have issues with the way things are named you can always rename files in the config, or copy them using a different name (examples in the config already).
...
I'm all up for fixing annoying bugs in REACT, but I'm not going to change working, core functionality at this time!

Yes I know and I do understand what you're saying, the point was just that I recommended that feature with "normal" users (which don't want/can edit the cfg-files) in mind. Telling them to remove "REM"-lines in order to achieve certain functionality is much easier than guiding them to use all kinds of variables. The fact is that other files are created with EAC-style-escaping and others with REACT-char-conversion-style-escaping in both track and image modes.

But it's not so important now when I know that you're only dedicated to iron out clear bugs in the system. I did however get a different impression when I read all of the posts in this topic (33 pages, took a long time to finish) and that's why I was offering these changes. I might tone down a bit the "vast" amount of suggestions I already promised because those are pure enhancements to REACT, not bugs.


OK, I'm mid-investigation here, but maybe I can get some help...

Akkurat's params:

Code: [Select]
 /artist "Supergrass&%/\:*?""""<>|äåö" /album "Kiss Of Life (CDS)&%/\:*?""""<>|äåö" /path "D:\Music\RIPPED\EAC\Kiss Of Life (CDS)&% äåö.%extension%" /autoclose

... don't work. Yet, move the quotes:

Code: [Select]
 /artist "Supergrass&%/\"""":*?<>|äåö" /album "Kiss Of Life (CDS)&%/\"""":*?<>|äåö" /path "D:\Music\RIPPED\EAC\Kiss Of Life (CDS)&% äåö.%extension%" /autoclose

... and it works, although two double quotes are passed through.  However using two rather than four does not work (albumart.exe complains) - using one or three and the command won't even run.  In essence, only the combination \"""" appears to run (although wrongly passes through two double quotes.

At this point, it is not making any sense, and I may simply resort to just removing double quotes from the artist and album names before submitting.

Edit: Either that or I just say f*** it; how many artists and albums have double quotes in them? (or maybe that's the vino tinto speaking...)

Actually that string I posted was copied from the albumart.exe window when it tried to run. So the original one "-char (along with the rest of the chars) defined in EAC artist field was replaced with 4 "-chars. But if it behaves randomly, just fudge it like you said; it's a billion to one that "-char(s) would make a difference finding correct artist&album cover.
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-11-16 14:37:50
My only response really is that what one person may see as the optimum way, another may see as inconvenient.  What you call an enhancement may be a hindrance to someone else.

I think it's best that REACT changes things as little as necessary.  It also provides some consistency throughout all users, which is useful when identifying actual bugs.

The fact is that other files are created with EAC-style-escaping and others with REACT-char-conversion-style-escaping in both track and image modes.
Yet both styles can easily be accessed using the @eaclog@ variable.  Simple.

But it's not so important now when I know that you're only dedicated to iron out clear bugs in the system. I did however get a different impression when I read all of the posts in this topic (33 pages, took a long time to finish) and that's why I was offering these changes.
I'm not sure that this is quite fair; however I will only makes improvements that I believe to be... improvements.  IMHO REACT works pretty damn smoothly as it is, and changing core functionality now will be to the detriment of all existing users.

I might tone down a bit the "vast" amount of suggestions I already promised because those are pure enhancements to REACT, not bugs.
Perhaps if you post your suggestions in a clear and concise way, and other users pipe up and agree with you, then I could be persuaded.  You never know until you try.  Alternatively, you could start your own code branch.

Actually that string I posted was copied from the albumart.exe window when it tried to run. So the original one "-char (along with the rest of the chars) defined in EAC artist field was replaced with 4 "-chars. But if it behaves randomly, just fudge it like you said; it's a billion to one that "-char(s) would make a difference finding correct artist&album cover.
Yes, I assumed as such.  At this point in time I can't see any better alternative than to either remove double quotes, or replace them with an apostrophe, as EAC does.  I'm all up for any better suggestions.
Title: REACT 2 Released
Post by: Akkurat on 2007-11-16 14:46:24
Edit: You nailed it, it's only when I switch windows. I didn't think this was the case as I thought the au3 keypresses applied to that particular window only and not the currently active window. With the original react2 I never saw it do this either, and I was always switching windows. If it's missing a keypress, too, how does it get the first two, anyway? and how does it end up getting all four regardless? It seems like such a weird occurrence...
Thank the Lord.  It's always best to set REACT going and leave it well alone really.

The second cuesheet is requested using menu commands, rather than key presses (shortcut keys).  I can only assume that AutoIt doesn't like that if the window is not active - or perhaps visa-versa.  It may simply be down to the timing of you switching windows.

I think I have stumbled on to this kind of problem myself. Here's couple of notes I made recently:

- REACT uses shortcuts like Alt+M which could yield problems if user changes focus to another application quickly. I bumped into this when I had "CreateAllCuesheets=1" and the gap detection took veryveryvery long time and I had changed application focus to Notepad2 which after a while executed Alt+M command (Modify lines) by itself... I'm sure that I didn't press those keys myself. Later I understood that REACT tried to active Alt+M action in EAC but failed because I was using Notepad2 at that very moment. Pretty "serious" problem which could lead to unexplainable problem descriptions, such as: all cuesheets are not created?! A proper advice to documentation to leave the EAC window on top when starting the rip would, I guess, suffice?

- When extracting all cuesheets, EAC fails sometimes and hangs during the gap analyzing. This happens (almost every time) only when you try to rip a cd for the second time. No cd eject between the rips. Ejecting/reinserting the cd fixes this. UPDATE: EAC hangs sometimes even if eject/reinsert trick is used. Seems that EAC is majorly flawed or REACT messes things up. UPDATE 2: Sometimes gives error messages: "Detection mode not possible for this drive". Seems to be linked to "wrong" GAP DETECTION setting in EAC!?

Don't know if the last one relates to this but.. you never know.
Title: REACT 2 Released
Post by: Akkurat on 2007-11-16 14:58:53
Actually that string I posted was copied from the albumart.exe window when it tried to run. So the original one "-char (along with the rest of the chars) defined in EAC artist field was replaced with 4 "-chars. But if it behaves randomly, just fudge it like you said; it's a billion to one that "-char(s) would make a difference finding correct artist&album cover.
Yes, I assumed as such.  At this point in time I can't see any better alternative than to either remove double quotes, or replace them with an apostrophe, as EAC does.  I'm all up for any better suggestions.

I suggest that you remove "-chars, in this case I do think that it's better that way than replacing them with completely different chars.
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-11-16 15:29:49
- REACT uses shortcuts like Alt+M which could yield problems if user changes focus to another application quickly. I bumped into this when I had "CreateAllCuesheets=1" and the gap detection took veryveryvery long time and I had changed application focus to Notepad2 which after a while executed Alt+M command (Modify lines) by itself... I'm sure that I didn't press those keys myself. Later I understood that REACT tried to active Alt+M action in EAC but failed because I was using Notepad2 at that very moment. Pretty "serious" problem which could lead to unexplainable problem descriptions, such as: all cuesheets are not created?! A proper advice to documentation to leave the EAC window on top when starting the rip would, I guess, suffice?
This is definately a failing with REACT; however we must bear in mind that REACT is a simple wrapper written to automate some EAC processes, it is not a modified version of EAC.  If users want cuesheets - and tycho added this functionality after user request - the only way that REACT can achieve this is to send key presses and activate menus, expecting that the user is currently concentrating on EAC.

Before we identified the issue with nago's cuesheets I was going to investigate setting EAC to detect gaps before attempting to write the cuesheets.  Here's an insight into the hoops we have to go through: I figured that the menu item "Action" > "Test Gaps On Silence" is disabled until gap detection has occurred.  I was wondering whether I could attempt to access that menu item, and, if an error occurred (I don't know whether it would produce an error or not at this time), then I could assume that gaps had not yet been detected (remember EAC cannot tell me whether they have or not).  If this was the case I could use the menu command to detect gaps (the shortcut, F4, has been hijacked by REACT already).  I would probably then have to hook into the "Analyzing" dialogue to see when it disappears.  I suppose I'd have to give it a few seconds to appear in the first place.  If it did appear then I guess I could work out when it disappeared - and then begin to request the cuesheets using key presses and menu commands.

It's not ideal, but it's all we have.  If we could properly hook into EAC then things would be perfect - unfortunately we can't, and they're not.
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-11-16 15:50:04
Sorry if you're really going to start hating me here, I do have another question sad.gif. in the official version of react, I could set the @outroot@ variable to something like %userprofile%\desktop\ripped and when it was written to the batchfile, @outroot@ would literally be %userprofile%\desktop\ripped so when it was actually processed windows would pick up the variable. In your modified version, I'm finding it's getting written as %%userprofile%% -- is this a symptom of escaping illegal characters? if so, can I ... unescape them somehow?
You are correct, this was to resolve other issues.  I can't think of a workaround, but I will think some more on it.
I think it's safe if I don't escape values in [UserOutputNames].  In 2.0.ssb16k I will risk leaving that section unescaped, so you can continue to use %USERPROFILE%.  I think it makes sense using Window's tokens there, and wouldn't want to stop you doing so.  If a user has problems with a folder name there they will simply have to manually escape the value - at least it is in their control - unlike an artist or album name.
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-11-16 16:09:09
5. Eaclog filename wrong (and var pointing to it). Not copied to dest. folder.
Replicated.  When naming the log file in track mode EAC uses the format "<artist> - <album>" with any illegal characters replaced with a space.  REACT thought it was emulating this; however EAC treats the apostrophe as an illegal character also, which REACT did not.  I have now changed this, so that the REACT variable should match the name that EAC creates when an apostrophe is in the filename (artist and/or album name).
OK, I really am going mad now.

I've just done some more testing and EAC is not replacing the apostrophe at all

I resorted to testing with the same artist and album values that I used when I reported the above, and the apostrophe is there.

I'm reverting to not replacing the apostrophe, and taking a sabbatical.
Title: REACT 2 Released
Post by: Akkurat on 2007-11-16 17:14:07
I do sense a little hostility (maybe a little too agressive word choice) towards me.. hmm, don't know if I'm interpreting your posts wrongly Synthetic Soul.. but I know that I got an unwanted guest feeling at the moment.  Let's make it clear; I do not want to argue or raise any bad feelings whatsoever here. I just came here to share because I thought that I had something to give to the REACT development. I'm sorry if I have caused harm. It's sometimes hard to be clear and concise when you want to keep the post size down and at the same time you're trying to describe your problems/whatever understandably.. and of course there's the language barrier too (english is not my mother language).

Well, in any case, I honestly think that you, Synthetic Soul, should (if you want to) take over the REACT development with blessing from Tycho. You've been the real "driver" for a long time now. I really would like to see REACT progress, now the development is at stand still (well almost if you don't count your inputs to your mod).
-------
Ok, I'm posting couple of suggestion/insights and enhancements here:

- Add ini-setting based "Encodedby" setting.

- Add the whole REACT version to "Version" ini-setting and make the variable usable in cfg-files.

- track.cfg: Add "IF @Debug@==1 ECHO ON" command after every (except the first in line 1) "@ECHO OFF" command so that the debug spits out rest of the commands if "Debug=1" option is used.

- After I studied the REACT-image.cfg, I spotted that if you have given a "discname" then the "discnumber" and "totaldiscs" are not not written because there is a GOTO jump after the "discname"?! (GOTO :end_discnumber) I don't know if this is the way it was meant to be but I guess that somebody would like to have both "discname" and "discnumber" / "totaldiscs" tags written?

- using metaflac without glob.exe tool (remember to change the @Tools@ to point to the dir where metaflac is):
Code: [Select]
IF %add_rg%==1 (
    SETLOCAL ENABLEDELAYEDEXPANSION
    SET flacfiles=
    FOR %%f IN (*.flac) DO SET flacfiles=!flacfiles! "%%f"
    "@Tools@\metaflac.exe" %RG_MetaFlac% !flacfiles!
    SETLOCAL DISABLEDELAYEDEXPANSION
)


- Get Flac version from the executable. (remember to change the @Tools@ to point to the dir where flac is):
Use %Ver_Flac% where ever you like.
Put the following code after REM ============== Begin Main Script ================== line
Code: [Select]
REM ** Get flac version
SET Ver_Flac=
FOR /F "delims=" %%i IN ('"@Tools@\flac.exe" --version') DO SET Ver_Flac=%%i


- Use correct last track number in track mode if data track(s) are present in the CD. Makes sure that the post-processing works also.
1. You must have CreateAllCuesheets setting set to 1 in REACT.ini!
2. Change all @track@ and @numtracks@ variables to $track$ and %LastTrackNum%.
3. Put the following code before the TITLE @track@/@numtracks@ - "@album@" line in row 3.
Code: [Select]
REM ** Read the REAL last AUDIO track number from cuesheet. Number is zero-padded.
SET LastTrackNum=
IF EXIST "@albumfile@.[mg].cue" (
    FOR /F "tokens=2 delims= " %%i IN ('FINDSTR /R "TRACK.[0-9][0-9].AUDIO" "@albumfile@.[mg].cue"') DO SET LastTrackNum=%%i
) ELSE (
    SET LastTrackNum=@numtracks@
)


- Add tag about EAC and REACT
1. You must have CreateAllCuesheets setting set to 1 in REACT.ini!
2. Add ReactVersion=2.0.ssb16j (custom) line to [UserSettings] section of your REACT.ini. (You have to change it manually everytime you upgrade to new version.)
3. Use %Ripper% variable where ever you like. Example: -T ripper="%Ripper%" in flac file encoding.
4. Put the following code after REM ============== Begin Main Script ================== line
Code: [Select]
REM ** Get EAC (from cuesheet) & REACT (from REACT.ini) versions
SET EacVer=
IF EXIST "@albumfile@.[mg].cue" (
    SETLOCAL ENABLEDELAYEDEXPANSION
    FOR /F "tokens=4 delims= " %%i IN ('FINDSTR /R "REM.COMMENT..ExactAudioCopy.*" "@albumfile@.[mg].cue"') DO SET EacVer=%%i
    REM ** Remove trailing quote char
    SET EacVer=!EacVer:"=!
    SETLOCAL DISABLEDELAYEDEXPANSION
)
SET Ripper=EAC %EacVer% / REACT @ReactVersion@


Little OT but.. take your time Synthetic Soul, I hate to see somebody go mad or sad. Take a looooong break and spend more time with your lovely family (yes, I looked at your profile). I can't understand how you've so much time to dedicate to this project. THANKS A MILLION FOR YOUR WORK!

EDIT: Added more instructions to code samples.
EDIT2: Moved one problem description to another post #840.
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-11-16 17:35:27
I do sense a little hostility (maybe a little too agressive word choice) towards me.. hmm, don't know if I'm interpreting your posts wrongly Synthetic Soul.. but I know that I got an unwanted guest feeling at the moment.  Let's make it clear; I do not want to argue or raise any bad feelings whatsoever here. I just came here to share because I thought that I had something to give to the REACT development. I'm sorry if I have caused harm. It's sometimes hard to be clear and concise when you want to keep the post size down and at the same time you're trying to describe your problems/whatever understandably.. and of course there's the language barrier too (english is not my mother language).

Well, in any case, I honestly think that you, Synthetic Soul, should (if you want to) take over the REACT development with blessing from Tycho. You've been the real "driver" for a long time now. I really would like to see REACT progress, now the development is at stand still (well almost if you don't count your inputs to your mod).
Much as I'd like to just drop this for now I can't really leave your post unanswered.

I will admit that I have been a little frustated in the past few days with bugs reports that are not actual bugs.  I have spent a lot of time testing code that didn't need testing.

That said, I did not mean to make you feel unwelcome, or that your input is not appreciated. It is.  I apologise if my responses have been curt; I had hoped I had curbed my frustration.

I think I will take a break this weekend on your advice. 

NB: You may want to take a look at 2.0.ssb16k (http://wiki.hydrogenaudio.org/index.php?title=REACT:Mods#Download). I have actually, I believe, improved the code that deals with creating and renaming the cuesheets.  REACT will now ensure that the main window is active before sending the key presses or menu commands, and (less importantly) I have changed the function that looks to move the cuesheets to wait for up to five seconds or the closure of the "Analyzing" dialogue.
Title: REACT 2 Released
Post by: SamHain86 on 2007-11-16 18:15:35
Some one other than Synthetic Soul, since he does deserve a break from this. You really are a trooper of this forum. Thank you for your diligence as these are not even your problems!

I am getting some really funky behaviors from my cover downloader. I panned out the others, however these ones still persist. And I promise I did nothing to INI and CFGs that should be causing this behavior, if that is at all possible.

Whenever I save an image there is no suggested file name, and no selectable file formats for the image. I have to manually type in the name (or copy it in) and add .JPG to save it. Not much of a problem, but is a nuisance. I thought when I first began using REACT that it had default image formats and had <album name>.jpg for the suggested file name. Am I wrong?

Then I started getting bad pictures from WalMart so I decided to activate the google and discogs BOO. However I go to preview or to save and it gives me this strange error: "Capacity must be positive. Parameter name: capacity". It always does this pictures with ":" in the title. What happened?
Title: REACT 2 Released
Post by: nago on 2007-11-16 18:44:19
Let's buy SS a cake.


SamHain86: Are you using the original version of the cover downloader? Also, even if you're absolutely sure you've made no significant ini or cfg changes, try putting them aside and replacing them with the stock configs and see if the error persists. As far as the other download scripts go, I've never used them, it's possible they're outdated and are parsing things incorrectly.
Title: REACT 2 Released
Post by: MarkE on 2007-11-16 19:05:25
Hello all; forum noob but big REACT fan here. Hope this is the right place to post to ask about this query...

I'm using REACT to create both mp3 and flac tracks (not images) from CDs, using a PC with Core 2 Duo processor. I initially set EAC to use 2 simultaneous external compressor threads in EAC > EAC Options > Tools, thinking that this would make the most of the dual-core processor. However, things didn't go well; as soon as enough of a "queue" had built up for 2 instances of REACT to run simultaneoulsy, all the flacs were processed fine but the later temporary wav's from an album weren't converted to mp3's and weren't deleted.

I ran debug mode and saw the following; the name given for the temporary wav file for, say, track 4 was the same as for track 3 if the track 3 compressor thread was still running when track 4 started. The track 3 compressor thread would then close (presumably deleting this wav). By this time, the track 4 thread had usually created the flac but when it moved on to creating the mp3 it wouldn't be able to find the temporary wav and would stall.

Obviously the problem can be solved by allowing only 1 simultaneous external compressor thread in the EAC settings above, but this considerably slows down the process of ripping a CD.

Any ideas for solving this?! All help gratefully received!

Thanks,
Mark
Title: REACT 2 Released
Post by: nago on 2007-11-16 19:15:36
If you're keen on coding, try storing the internal temporary names as per-track settings instead of just one temp var.

so, instead of saying %temp%==track3.wav you could say, %temp3%==track3.wav so that when the next instance was called up it wouldn't overwrite the old one.

Edit: wait, so it gets it right for the FLAC, but usually not the mp3? I don't see how that is even possible, since the temporary name is going to be substituted in for @source@ before both encoders are called, it should be consistent... 

Maybe it involves the fact that it's just set to write to one batchfile. Maybe I could cook up a workaround where if a batchfile was in-use we could use a second batchfile ?
Title: REACT 2 Released
Post by: SamHain86 on 2007-11-16 20:00:19
@Nago-
-I second your proposal on getting Sythetic Soul a cake!

I has just reverted to the original coverdownloader files and am using the stock INI and CFGs, and there still are no options for the image and no default name. However, I thought it did this for me. From my tinkering, I have seen REACT looks for <album>.jpg as the cover and it does not work without that. I have never played with the cover settings in the CFGs, as far as I am aware.

I just enabled the google and discogs BOOs and same "parameter capacity" behavior as I described before. This time my computer did not give me all sorts of other errors though... Maybe it is just tired from crunching some F@H algorithms all night...  Soon my computer will want to take vacation time, I just know it!

UPDATE: I just discovered it is not limited to images with ":" in their titles, it is all images found with the discogs.boo. I searched other albums and all the images found in the discogs section give me this error. I dare not say the "B" word.    I kid you not, I think this is my computer's way of telling me it wants a vacation.

EDIT: My grammar is shot...
Title: REACT 2 Released
Post by: nago on 2007-11-16 20:05:21
I wonder if it could be a problem with the cover downloader itself? I think it stores some things in the registry, maybe it's got some rogue values that is throwing it off? If it's not something like that, I wouldn't know what. Try contacting the author of the cover downloader?
Title: REACT 2 Released
Post by: SamHain86 on 2007-11-16 20:32:08
I found an updated version of the cover downloader from source forge, actually. I am going to see what I can do about integrating it with REACT. The interface is different however it has all the same components as the one that comes standard with REACT. It states that all original command line parameters function in it, assuming that this is the same program. I'll keep you posted... since I have nothing better to do on a Friday night... lame...

EDIT: I forgot to mention, it works. :shakes head: ... Friggin scatter-brain.

UPDATE: It works! It has default information and a cooler interface than the current coverdownloader. The only negatives are that it takes longer to load up (about 15 seconds), and it tries to save to the directory D:\Temp (the one I want) with a file name F:\MEDIA\In Search of Sunrise, vol. 5- Los Angeles - CD2.jpg (my directory for when it actually works) ... a minor surprise feature.
Title: REACT 2 Released
Post by: MarkE on 2007-11-16 21:53:54
Nago, thanks for the reply.

I got the impression that it wasn't really a format-specific problem, just that a particular compression thread would have finished encoding the flac in time (as it does this before doing the mp3) before the previous track's thread closed and presumably deleted the wav which had ?been given the same name as the next thread's temporary wav?

When you say that only one batch file is used, do you mean that REACT takes the wav written by EAC and renames/moves it before processing it to whatever formats?

In any case, it may be that either your first suggestion or your second would work! How do I go about setting the internal temp names to per-track? Not a big coding expert but don't mind playing around with the cfg files if that's what's needed...
Title: REACT 2 Released
Post by: SamHain86 on 2007-11-16 22:00:35
UPDATE: It was all nicely working until I dropped the original REACT2.exe into my REACT_2.0.ssb16h, which was where all my current files were stored. The original EXE and configurations are in the REACT2 directory. Now nothing works as intended. It started using the INIs from the original directory but running tools from the modified directory.

I uninstalled everything, sicked CCleaner on my registry, even searched for some registry values and deleted them (after exporting them, of course) and still it persists looking in both directories. What am I doing wrong?
Title: REACT 2 Released
Post by: nago on 2007-11-16 22:15:58
In any case, it may be that either your first suggestion or your second would work! How do I go about setting the internal temp names to per-track? Not a big coding expert but don't mind playing around with the cfg files if that's what's needed...


I'm playing with it right now, if you give me a day or so I'll see if I can't have a patch based off of ssb16k banged out for you.

Edit: I've replicated what you were talking about, I think. I ripped a 5 track CD using burst mode and 2 compressor windows. the FLAC all came out fine (1-5) but the MP3 copies had duplicate tracks: two copies of song 2 and 3, and a copy of song 5, all labeled wrong.. though the filenames appeared correct.

I was able to fix this simply by changing the name of the batchfile that is written to include the tracknumber, REACT by default deletes the batchfile before it starts each track to get a clean slate each time, so this can mess up parallel stuff.

(Edit: See post below (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=50273&view=findpost&p=530359) for fix)
Title: REACT 2 Released
Post by: Akkurat on 2007-11-17 02:54:38
I was able to fix this simply by changing the name of the batchfile that is written to include the tracknumber, REACT by default deletes the batchfile before it starts each track to get a clean slate each time, so this can mess up parallel stuff.

Here's the modded EXE, based strictly on ssb16k: React2.0ssb16k+n1 (http://www.megaupload.com/?d=8OXAE6M0)

to Synthetic-Soul: I only changed one line where;
Code: [Select]
$g_batfile = $g_logfile & ".bat"

to
Code: [Select]
$g_batfile = $g_logfile & "[" & $g_track & "].bat"

Great stuff! If Synthetic Soul decides to implement this in his mod, I can offer my solution to one rare problem:
- There is a possibility to "fudge" up the post-processing in track-mode ripping if "simultaneous external compressor thread(s)" -option is selected to use more than 1! WHY you ask? Well, if the last track is much shorter than the previous, the post-processing could start before all tracks are compressed.

Solution:
Put the following code after the IF NOT $track$==%LastTrackNum% GOTO end_post_process line in REACT-track.cfg.
Code: [Select]
REM ** Ensure that all other compression threads are closed before starting post-processing
:CheckForMultipleBatFiles
SET BatFilesCount=0
SETLOCAL ENABLEDELAYEDEXPANSION
FOR %%f IN (*.bat) DO SET /A BatFilesCount=!BatFilesCount!+1
SETLOCAL DISABLEDELAYEDEXPANSION
IF NOT %BatFilesCount%==1 GOTO Pause

AND put the following to the end of the same file
Code: [Select]
GOTO :EOF

REM Pause for 10000 milliseconds and return to :CheckForMultipleBatFiles
:Pause
@ECHO Waiting for all the other compression threads to finish...
PING 1.1.1.1 -n 1 -w 10000 >NUL
GOTO CheckForMultipleBatFiles

I did "dry" tests and it worked perfectly. Should work in REACT.. but it DOESN'T WORK currently, not until the change nago made is implemented.
Title: REACT 2 Released
Post by: Akkurat on 2007-11-17 03:31:41
NB: You may want to take a look at 2.0.ssb16k (http://wiki.hydrogenaudio.org/index.php?title=REACT:Mods#Download). I have actually, I believe, improved the code that deals with creating and renaming the cuesheets.  REACT will now ensure that the main window is active before sending the key presses or menu commands, and (less importantly) I have changed the function that looks to move the cuesheets to wait for up to five seconds or the closure of the "Analyzing" dialogue.
The albumart.exe works now, thanks... BUT, I'm sorry to bring you bad news, the escape fixes you did for ssb16j version are reverted back to the buggy behaviour like in the ssb16i version (I guess that you already knew this). I don't understand why you said that "2.0.ssb16j was a disaster!" in changelog. It was almost perfect for me, it only had the albumart.exe bug. But I have to say that you probably know muchmuch better than me. I hope you can fix the problem.. again.

I'm putting here a comparison of the versions:
Code: [Select]
ssb16k & ssb16i
(variable values taken from dos window, removed dir paths)

@albumfile@.[mg].cue = Kiss Of Life (CDS)&%    '  äåö.[mg].cue
FILENAME            = Kiss Of Life (CDS)&%        äåö.[mg].cue

@cover@  = Kiss Of Life (CDS)&%    '  äåö.jpg
FILENAME = Kiss Of Life (CDS)&%        äåö.jpg

@eaclog@ = Supergrass&%    '  äåö - Kiss Of Life (CDS)&%    '  äåö.log
FILENAME = Supergrass&%        äåö - Kiss Of Life (CDS)&%        äåö.log

FILENAME = Supergrass&%    '  äåö - Kiss Of Life (CDS)&%    '  äåö.bat
Doesn't make a difference what filename this has...?

ssb16j

@albumfile@.[mg].cue = Kiss Of Life (CDS)&%        äåö.[mg].cue
FILENAME            = Kiss Of Life (CDS)&%        äåö.[mg].cue

@cover@  = Kiss Of Life (CDS)&%        äåö.jpg
FILENAME = Kiss Of Life (CDS)&%        äåö.jpg (Would be this if albumart.exe would run properly)

@eaclog@ = Supergrass&%        äåö - Kiss Of Life (CDS)&%        äåö.log
FILENAME = Supergrass&%        äåö - Kiss Of Life (CDS)&%        äåö.log

FILENAME = Supergrass&%        äåö - Kiss Of Life (CDS)&%        äåö.bat
Doesn't make a difference what filename this has...?
As you can see the variables are wrong again and all copy & delete commands fail.. +all other problems when I try to access cuefiles.
Title: REACT 2 Released
Post by: Akkurat on 2007-11-17 03:46:58
And before I put my weary head to pillow I "must" report a new problem (I'm afraid to say *gasp* bug ).

"RunCoverDownloader" setting doesn't work properly in track rips.
Here's my test notes (CoverDownloaderXUI=1 set and using AlbumArtDownloaderXUI-0.10.1. Tested with 2.0.ssb16k.)
Code: [Select]
TRACK MODE:
    RunCoverDownloader=1 ... waits (OK)
    RunCoverDownloader=2 ... waits / doesn't wait (NOT OK!) I'm puzzled, sometimes waits, sometimes not, tried many different methods to reproduce the bug (start EAC, run image rip first then track, close EAC, start it, run track rip, then image, and then track again.. etc.) but it just works randomly. Don't know what can be done to it.. or should?
    RunCoverDownloader=3 ... waits (NOT OK!)
    RunCoverDownloader=4 ... doesn't wait (OK)

IMAGE MODE:
    RunCoverDownloader=1 ... doesn't wait (OK)
    RunCoverDownloader=2 ... waits (OK)
    RunCoverDownloader=3 ... waits (OK)
    RunCoverDownloader=4 ... doesn't wait (OK)

FROM http://wiki.hydrogenaudio.org/index.php?ti...ettings_Section (http://wiki.hydrogenaudio.org/index.php?title=REACT#Settings_Section)
   RunCoverDownloader    If set to 1, run the albumart.exe application. Simply double click the cover you want (select close after save in settings in albumart). In Copy Tracks mode, albumart will wait until it is closed before starting copying. You may set RunCoverDownloader=2 to make it wait in both modes, 3 to wait only in Image Copy mode, or 4 to never wait.

Bye, gotta go, I got a date with sandman..
Title: REACT 2 Released
Post by: nago on 2007-11-17 04:34:36
Phew. a lot to digest.

Your first post: This is an interesting concept for how to do this, but this wouldn't work properly with debug mode, since debug doesn't delete the batch files. It'd sit around and wait forever...

Maybe we can check to see if [a file] exists (like working.tmp) at the beginning of the batch file and create it if it isn't. at the end of our regular processing, we can delete this .tmp file ONLY if it was created by the very same batch file; e.g,

and please excuse my bad syntax, but you'll get the jist of it.

Code: [Select]
(at the very start)
if not exist working[@track@].tmp (
  echo "we're busy!" > working[@track@].tmp
)

(end of regular processing, just after tracks processing)
del working[@track@].tmp


(at beginning of post-processing, after if tracks==totaltracks)
:checktmp
  if exist working[*].tmp goto allProcsClear
  PING 1.1.1.1 -n 1 -w 10000 >NUL
  goto checktmp
)
:allProcsClear

(post processing)


..something like that. give me a bit to play with it, I'll make an updated cfg to go along with my updated exe. You can see if it works for you, MarkE/Akkurat.



Second post: I think he reverted the changes so that you could use environment variables in the .ini files, maybe it was a mistake, but maybe not. For now, let's accept that illegal characters are broken and we'll attack the issue later. There's a lot of information for SS to sift through right now and I think he's earned himself a weekend off, don't you?


Third post: I'm not sure I understand what "bug" you're talking about here? If I'm reading it right, sometimes the art downloader may not wait for you to pick an image, and track extraction will start anyway? is that right?
Title: REACT 2 Released
Post by: nago on 2007-11-17 07:50:38
Okay. I've made a quick fix for MarkE's error (no support for multiple processes at all) as well as a fix for Akkurat's multiple processes "Surprise Feature", wherein if the last track finishes before another track, post-processing gets messed up.

The end result is that now you should be able to run two or more processes safely. I do not know how well iTunesEnc will handle this, but any of the general command line tools should probably work OK.

The fixes are located in a new .cfg and .exe based strictly off of the ssb16k version, with a list of all edits included within. You can get ssb16k+n2 (http://student.ccbcmd.edu/~jhuston1/etc/react20ssb16k+n2.zip) here.

Synthetic Soul: I included the modified sourcefile in that zip as well as a list of all changes if you're interested. I hopefully made it easy enough to follow. It's very minor stuff. I'm just trying to give you a break for once
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-11-17 08:53:11
Wow, this thread has gone super-crazy!

There's too much for me to address right now, and I would like to drop REACT for at least a few hours, but I couldn't leave the apostrophe thing hanging, as it's been driving me crazy!

I'm sorry to bring you bad news, the escape fixes you did for ssb16j version are reverted back to the buggy behaviour like in the ssb16i version (I guess that you already knew this).
I've finally figured out why I was getting so confused.  There's two aspects to it:So, although the initial name generation was fine, the processing code is receiving the value with double quotes substituted with an apostrophe, and therefore leaving it (as an apostrophe is a valid character).  EAC was dealing with a double quote, and therefore replacing it.

The problem I have is this:  if the processing instance receives the artist and album name with double quotes already converted to apostrophes how does it know which apostrophes to convert to spaces?

2.0.ssb16j will replace any apostrophe with a space, whether it began as an apostrophe or a double quote.  That's just as wrong as 2.0.ssb16k, which leaves all apostrophes be.

I am currently thinking of a few options:
"RunCoverDownloader" setting doesn't work properly in track rips.
Fixed.  Will be in 2.0.ssb16l.

@SamHain86 : I'm no sure that I understand your problem, but [a] REACT will always read the INI in the same directory as the EXE (IIRC) and the tools directory is set in the INI... maybe you need to change that.  Dunno, I am feeling a little REACT-shell-shocked at the moment...

I'll leave nago with the dual processor thing for now I think - that's too big a fish for me to fry this weekend.  Best of luck.
Title: REACT 2 Released
Post by: SamHain86 on 2007-11-17 09:25:00
@ Synthetic Soul -
-You were right: simple problem, simple solution. I must have dropped an old LNK into my working directory to my old REACT, since I saw it making WavPack tracks... but then the coverdownloader didn't work... I haven't the foggiest idea what was happening with my head last night. I am going to sit back with some tea.
Title: REACT 2 Released
Post by: MarkE on 2007-11-17 10:57:27
@nago: thank you so much, this fix works perfectly for me! I set EAC to open 2 simultaneous external compressor threads then tried a CD; ripped to mp3 and flac, perfectly named and tagged, RPG analysed and all in 10 minutes flat!   

Task manager showed periods of 100% CPU usage when 2 compressor threads were open, so this seems to be getting the most out of a dual core processor. 

There is just one thing I can't figure out, although this is a completely different problem and was happening even before I brought up this issue; despite setting my mp3's to undergo RPG analysis in my .ini file, this information doesn't seem to make it onto the tag (as viewed in MediaMonkey). Here's a copy of the .ini and .cfg files I'm using:

.ini:
Code: [Select]
[Settings]
Version=2.0
ImageExt=wav
ImageNaming=$artist$ - [$year$] $album$
ImageHotKey={F10}
TracksHotKey={F4}
TracksHotVal=+{F5}
VA=Various Artists
CreateAllCuesheets=0
RunCoverDownloader=1
CoverDownloader=C:\Program Files\REACT2\coverdownloader\albumart.exe
EAC=C:\Program Files\Exact Audio Copy\EAC.exe
Tools=C:\Program Files\REACT2\tools
MinimizeCompressionWindow=1
ProcessPriority=5
Sla_Bks_Col_Qst_Bar_Quo_Ast_Lt_Gt=-|-|-||!|'|#|[|]

[UserTrackFormats]
Flac=1
Wavpack=0
LameMP3=1
NeroAac=0
iTunesAac=0
OggEnc2=0

[UserOutputNames]
OutRoot=D:\Music
ImageDir_Flac=@OutRoot@\FLAC-images\$cdartist$
ImageDir_Wavpack=@OutRoot@\WV-images\$cdartist$
ImageDir_MP3=@OutRoot@\MP3-images\$cdartist$
TrackDir_Flac=@OutRoot@\FLAC\$cdartist$\$album$
TrackDir_Wavpack=@OutRoot@\WV\$cdartist$\[$year$] $album$
TrackDir_MP3=@OutRoot@\MP3\$cdartist$\$album$
TrackDir_AAC=@OutRoot@\AAC\$cdartist$\[$year$] $album$
TrackDir_OGG=@OutRoot@\OGG\$cdartist$\[$year$] $album$
TrackName_SA=$track$ - $title$
TrackName_VA=$track$ - $artist$ - $title$
TrackName_SA_acdir=$n - $~t
TrackName_VA_acdir=$n - $~t [$~a]

[UserSettings]
Debug=0
Comment=Created with EAC/REACT2, @curdate@
EmbedCover=1
ReplayGain=1
ApplyAlbumGain=0
AdjustAlbumGain_dB=+3.0
AddCuesheetAG=0
UseWaveGainAG=0
Opt_Flac=-8 -V --replay-gain
Opt_Wavpack=-hmy
Opt_LameMP3=-V0 --vbr-new --replaygain --nohist
Opt_NeroAac=-lc -q 0.21
Opt_iTunesAac=-d -s 2000
Opt_OggEnc2=-q 3.0
Ver_Flac=1.1.3
Ver_Wavpack=4.40
Ver_LameMP3=3.97
Ver_NeroAac=1.0.0.2
Ver_OggEnc2=2.83 Lancer aoTuV b5


[DefaultMetaData]
discnumber=1
totaldiscs=1
discname=


And my .cfg;
Code: [Select]
@ECHO OFF
CHCP 1252 | PROMPT
TITLE @track@/@numtracks@ - "@album@"

REM Copyright © Tycho, 2006
REM
REM ** Create compressed audio tracks from ripped .wav tracks.
REM **
REM ** You may consider using image mode (F10)
REM ** as it supports creating tracks via acdir.exe,
REM ** and post-processing will always work (see below).
REM **
REM ** Flac requires flac.exe/metaflac.exe (v1.1.3)
REM ** NeroAac requires NeroAacEnc.exe/NeroAacTag.exe/AacGain.exe.
REM ** OggEnc2 requires OggEnc2.exe/VorbisGain.exe.
REM **
REM ** I prefer applying album gain 92dB to get a reasonable
REM ** volume for my DAP. The RG tags are still relative
REM ** to 89dB SPL, i.e. album gain will be about -3.0dB.


REM ============== Begin Main Script ==================


IF @Debug@==1 ECHO ON
REM ** Workaround for multi-processing, added by nago.
echo > processing[@track@].tmp
REM ** Create Disc-related tags if we have a set

REM If a disc name has been provided
IF "@discname@" EQU "" GOTO end_discname
SET discName=discname
SET discName=@%discname%@
IF "@discname@" EQU "%discName%" GOTO end_discname

REM Set tagging switches
SET Disc_Flac=-T "discname=@discname@"
SET Disc_Wavpack=-w "discname=@discname@"
REM SET Disc_MP3=--frame TSST:"@discname@"
SET Disc_MP3=--frame "TXXX[setsubtitle]:@discname@"
SET Disc_OggEnc2=-c "discname=@discname@"
SET Disc_Tak=-t "discname=@discname@"

REM Add disc name to folder path
SET trackDir=%trackDir%\$discname$

GOTO :end_discnumber

:end_discname

REM Ensure that we have numeric values
SET /A discNumber = @discnumber@ + 0
SET /A totalDiscs = @totaldiscs@ + 0

REM IF a valid disc number and total number of discs has been provided
IF %totalDiscs% LEQ 1 GOTO :end_discnumber
IF %discNumber% LEQ 0 GOTO :end_discnumber

REM Set tagging switches
SET Disc_Flac=-T "discnumber=@discnumber@" -T "totaldiscs=@totaldiscs@"
SET Disc_Wavpack=-w "discnumber=@discnumber@" -w "totaldiscs=@totaldiscs@"
SET Disc_MP3=--frame TPOS:"@discnumber@/@totaldiscs@"
SET Disc_NeroAac=--disk "@discnumber@/@totaldiscs@"
SET Disc_OggEnc2=-c "discnumber=@discnumber@" -c "totaldiscs=@totaldiscs@"
SET Disc_Tak=-t "discnumber=@discnumber@" -t "totaldiscs=@totaldiscs@"

REM Add disc number to folder path
SET trackDir=%trackDir%\Disc @discnumber@

:end_discnumber


SET TrackDir_Flac="@TrackDir_Flac@%trackDir%"
SET TrackDir_Wavpack="@TrackDir_Wavpack@%trackDir%"
SET TrackDir_MP3="@TrackDir_MP3@%trackDir%"
SET TrackDir_AAC="@TrackDir_AAC@%trackDir%"
SET TrackDir_OGG="@TrackDir_OGG@%trackDir%"
SET TrackDir_Tak="@TrackDir_Tak@%trackDir%"


SET TrackName=@trackname@

SET have_cover=0
SET embed_cover=0

IF EXIST "@cover@" (
SET have_cover=1
SET embed_cover=@EmbedCover@
)




REM ---- Track ----


IF NOT @Flac@==1 GOTO end_flac_tracks
IF NOT EXIST %TrackDir_Flac% MKDIR %TrackDir_Flac%
PUSHD %TrackDir_Flac%
IF @various@==1 SET VA_tag=-T "album artist=@VA@"
IF %embed_cover%==1 SET Cover_tag=--picture="|image/jpeg|||@cover@"
ECHO ON
@tools@\flac.exe @Opt_Flac@ %Cover_tag% %VA_tag% %Disc_Flac% -T artist="@artist@" -T album="@album@" -T tracknumber="@track@/@numtracks@" -T title="@title@" -T date="@year@" -T genre="@genre@" -T comment="@comment@" -T encoded-by="%USERNAME%" -T encoding="Flac @Ver_Flac@ @Opt_Flac@" "@source@" -o "%TrackName%.flac"
@ECHO OFF
IF %have_cover%==1 IF NOT EXIST folder.jpg COPY "@cover@" folder.jpg
POPD
:end_flac_tracks


IF NOT @Wavpack@==1 GOTO end_wavpack_tracks
IF NOT EXIST %TrackDir_Wavpack% MKDIR %TrackDir_Wavpack%
PUSHD %TrackDir_Wavpack%
IF @various@==1 SET VA_tag=-w "album artist=@VA@"
ECHO ON
@tools@\wavpack.exe @Opt_Wavpack@ %VA_tag% %Disc_Wavpack% -w artist="@artist@" -w album="@album@" -w track="@track@/@numtracks@" -w title="@title@" -w year="@year@" -w genre="@genre@" -w comment="@comment@" -w encodedby="%USERNAME%" -w encodersettings="Wavpack @Ver_Wavpack@ @Opt_Wavpack@" "@source@" "%TrackName%.wv"
@ECHO OFF
IF %have_cover%==1 IF NOT EXIST folder.jpg COPY "@cover@" folder.jpg
TITLE @track@/@numtracks@ - "@album@"
POPD
:end_wavpack_tracks


IF NOT @Tak@==1 GOTO end_tak_tracks
IF NOT EXIST %TrackDir_Tak% MKDIR %TrackDir_Tak%
PUSHD %TrackDir_Tak%
IF @various@==1 SET VA_tag=-t "album artist=@VA@"
ECHO ON
@tools@\takc.exe -e -overwrite @Opt_Tak@ "@source@" "%TrackName%.tak"
@tools@\tag.exe %VA_tag% %Disc_Tak% -t artist="@artist@" -t album="@album@" -t track="@track@/@numtracks@" -t title="@title@" -t year="@year@" -t genre="@genre@" -t comment="@comment@" -t encodedby="%USERNAME%" -t encodersettings="TAK @Ver_Tak@ @Opt_Tak@" "%TrackName%.tak"
@ECHO OFF
IF %have_cover%==1 IF NOT EXIST folder.jpg COPY "@cover@" folder.jpg
TITLE @track@/@numtracks@ - "@album@"
POPD
:end_tak_tracks


IF NOT @LameMP3@==1 GOTO end_lame_tracks
IF NOT EXIST %TrackDir_MP3% MKDIR %TrackDir_MP3%
PUSHD %TrackDir_MP3%
IF @various@==1 SET VA_tag=--user-text "[album artist]@VA@" --frame "TPE2:@VA@"
IF %embed_cover%==1 SET Cover_tag=--pict "{3}@cover@"
ECHO ON
@tools@\lame.exe @Opt_LameMP3@ "@source@" "%TrackName%.mp3"
@tools@\metamp3.exe %Cover_tag% %VA_tag% %Disc_MP3% --artist "@artist@" --album "@album@" --track @track@/@numtracks@ --title "@title@" --year "@year@" --genre "@genre@" --comment "@comment@" --frame TENC:"%USERNAME%" --frame TSSE:"LAME @Ver_LameMP3@ @Opt_LameMP3@" "%TrackName%.mp3"
@ECHO OFF
IF %have_cover%==1 IF NOT EXIST folder.jpg COPY "@cover@" folder.jpg
POPD
:end_lame_tracks


IF NOT @iTunesAac@==1 GOTO end_itunes_aac_tracks
IF NOT EXIST %TrackDir_AAC% MKDIR %TrackDir_AAC%
PUSHD %TrackDir_AAC%
IF %embed_cover%==1 SET Cover_tag=-r "@cover@"
ECHO ON
@tools@\iTunesEncode.exe @Opt_iTunesAac@ -e "AAC Encoder" %Cover_tag% -x @various@ -a "@artist@" -l "@album@" -n "@track@" -m "@numtracks@" -t "@title@" -y "@year@" -g "@genre@" -c "@comment@" -i "@source@" -o "%TrackName%.m4a"
@ECHO OFF
IF %have_cover%==1 IF NOT EXIST folder.jpg COPY "@cover@" folder.jpg
POPD
GOTO end_nero_aac_tracks
:end_itunes_aac_tracks

IF NOT @NeroAac@==1 GOTO end_nero_aac_tracks
IF NOT EXIST %TrackDir_AAC% MKDIR %TrackDir_AAC%
PUSHD %TrackDir_AAC%
IF @various@==1 SET VA_tag=--albumArtist "@VA@" --compilation true
IF %embed_cover%==1 SET Cover_tag=--artwork "@cover@"
ECHO ON
@tools@\neroAacEnc.exe @Opt_NeroAac@ -if "@source@" -of "%TrackName%.m4a"
@tools@\AtomicParsley.exe "%TrackName%.m4a" -o REACT_tmp.m4a %Cover_tag% %VA_tag% %Disc_NeroAac% --artist "@artist@" --album "@album@" --tracknum "@track@/@numtracks@" --title "@title@" --year "@year@" --genre "@genre@" --comment "@comment@" --encodingTool "neroAacEnc @Ver_NeroAac@ @Opt_NeroAac@"
@ECHO OFF
MOVE /Y REACT_tmp.m4a "%TrackName%.m4a"
IF %have_cover%==1 IF NOT EXIST folder.jpg COPY "@cover@" folder.jpg
POPD
:end_nero_aac_tracks


IF NOT @OggEnc2@==1 GOTO end_oggenc_tracks
IF NOT EXIST %TrackDir_OGG% MKDIR %TrackDir_OGG%
PUSHD %TrackDir_OGG%
IF @various@==1 SET VA_tag=-c "album artist=@VA@"
ECHO ON
@tools@\oggenc2.exe @Opt_OggEnc2@ %VA_tag% %Disc_OggEnc2% -c artist="@artist@" -c album="@album@" -c tracknumber="@track@/@numtracks@" -c title="@title@" -c date="@year@" -c genre="@genre@" -c comment="@comment@" -c encoded-by="%USERNAME%" -c encoding="OggEnc @Ver_OggEnc2@ @Opt_OggEnc2@" "@source@" -o "%TrackName%.ogg"
@ECHO OFF
IF %have_cover%==1 IF NOT EXIST folder.jpg COPY "@cover@" folder.jpg
POPD
:end_oggenc_tracks


REM ** Delete the source .wav
DEL "@source@"
REM ** More multiprocessing workaround --nago
DEL "processing[@track@].tmp"

REM ---- Post-processing ----


rem ** Scan and compute ReplayGain and add cover picture for supported formats.
rem ** NB: The following will only work if at least the last track is selected,
rem ** and it is a regular audio track.

IF NOT @track@==@numtracks@ GOTO end_post_process
REM ** More multiprocessing. Last edit. --nago
:checktmp
if not exist processing[*].tmp goto allProcsClear
  echo Waiting for all other processes to clear... If program hangs here and there are no other tracks being encoded, delete all processing[#].tmp files in your @source@ directory.
  PING 1.1.1.1 -n 1 -w 10000 >NUL
goto checktmp
:allProcsClear

SET add_rg=@ReplayGain@
SET aac_enc=@NeroAac@
IF @iTunesAac@==1 SET aac_enc=1

IF NOT @ReplayGain@==1 GOTO end_RG
SET RG_MetaFlac=--add-replay-gain
SET RG_MetaMP3=--replay-gain
:end_RG

IF NOT @ApplyAlbumGain@==1 GOTO end_apply_AG
SET RG_MetaMP3=--apply-gain album@AdjustAlbumGain_dB@
SET RG_AacGain=/a /o /c /d @AdjustAlbumGain_dB@
SET add_rg=1
:end_apply_AG


REM ** Audio Formats:

IF @Flac@==1 (
PUSHD %TrackDir_Flac%
IF %add_rg%==1 @tools@\Glob.exe -v -c @tools@\metaflac.exe %RG_MetaFlac% *.flac
REM COPY /Y "@eaclog@" "EAClog.txt"
POPD
)

IF @Wavpack@==1 (
PUSHD %TrackDir_Wavpack%
IF %add_rg%==1 @tools@\wvgain.exe -a *.wv
REM COPY /Y "@eaclog@" "EAClog.txt"
POPD
)

IF @LameMP3@==1 (
PUSHD %TrackDir_MP3%
IF %add_rg%==1 @tools@\metamp3.exe %RG_MetaMP3% *.mp3
REM COPY /Y "@eaclog@" "EAClog.txt"
POPD
)

IF %aac_enc%==1 (
PUSHD %TrackDir_AAC%
IF %add_rg%==1 @tools@\aacgain.exe %RG_AacGain% *.m4a > "gainlog.txt"
REM COPY /Y "@eaclog@" "EAClog.txt"
POPD
)

IF @OggEnc2@==1 (
PUSHD %TrackDir_OGG%
IF %add_rg%==1 @tools@\vorbisgain.exe -a *.ogg
REM COPY /Y "@eaclog@" "EAClog.txt"
POPD
)


REM ** Cleanup

DEL "@eaclog@"
DEL "@albumfile@.[*].cue"
DEL "@cover@"

:end_post_process


REM ================ End Main Script ===================


IF @Debug@==1 (
PAUSE
EXIT
)

REM ** Delete this .bat file:
DEL %0
Any bright ideas? I'm probably just missing something totally basic. Thanks guys.
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-11-17 13:13:11
I am currently thinking of a few options:
  • Record the true value from the wrapper instance (grabbed directly from the main dialogue) in the INI to read later.  This may have issues when considering the compression queue or dual processors.
  • Trawl the working directory for any ".log" file - if there's only one assume it is ours.  If there's more than one use an algorithm to detirmine which is most likely ours.  Yuck.
  • Maybe the processing instance can re-grab the value from the EAC dialogue... unsure.  Yuck II.
  • I'm sure  had another one, but it's gone...
I think I remember #4, and it's the likely candidate at the moment.

Currently, due to the change in log file naming EAC introduced in 0.99 the code checks for both expected formats in a loop, and exits when one is found.  Using a couple of loops I could check each permutation of the filename with apostrophes replaced or not replaced.  If a match is found we have a winner.  Alternatively, and preferably, I would hope that I should be able to use a regular expression to match the filename, replacing ' with [' ], e.g.:

Code: [Select]
Synthetic 'Saddo' Soul

... to:

Code: [Select]
  Synthetic [ ']Saddo[ '] Soul


I'll let you know how I get on.
Title: REACT 2 Released
Post by: Akkurat on 2007-11-17 17:08:48
I am currently thinking of a few options:
  • Record the true value from the wrapper instance (grabbed directly from the main dialogue) in the INI to read later.  This may have issues when considering the compression queue or dual processors.
  • Trawl the working directory for any ".log" file - if there's only one assume it is ours.  If there's more than one use an algorithm to detirmine which is most likely ours.  Yuck.
  • Maybe the processing instance can re-grab the value from the EAC dialogue... unsure.  Yuck II.
  • I'm sure  had another one, but it's gone...
I think I remember #4, and it's the likely candidate at the moment.

Currently, due to the change in log file naming EAC introduced in 0.99 the code checks for both expected formats in a loop, and exits when one is found.  Using a couple of loops I could check each permutation of the filename with apostrophes replaced or not replaced.  If a match is found we have a winner.  Alternatively, and preferably, I would hope that I should be able to use a regular expression to match the filename, replacing ' with [' ], e.g.:

Code: [Select]
Synthetic 'Saddo' Soul

... to:

Code: [Select]
  Synthetic [ ']Saddo[ '] Soul


I'll let you know how I get on.

Bubblegum solution to 2.0.ssb16k.au3 file:

   LINE #1025 : $str = fStringReplaceForDOS($str, "@albumfile@", StringReplace($g_albumfile, "'", " "))
   LINE #1027 : $str = fStringReplaceForDOS($str, "@cover@", StringReplace($g_cover, "'", " "))
   LINE #1028 : $str = fStringReplaceForDOS($str, "@eaclog@", StringReplace($g_eaclog, "'", " "))
   
   Would that suffice? Only changes these variables in bat-file.
Title: REACT 2 Released
Post by: Akkurat on 2007-11-17 17:43:04
Your first post: This is an interesting concept for how to do this, but this wouldn't work properly with debug mode, since debug doesn't delete the batch files. It'd sit around and wait forever...

You're absolutely right. What can I say? *doh*

Okay. I've made a quick fix for MarkE's error (no support for multiple processes at all) as well as a fix for Akkurat's multiple processes "Surprise Feature", wherein if the last track finishes before another track, post-processing gets messed up.

The end result is that now you should be able to run two or more processes safely. I do not know how well iTunesEnc will handle this, but any of the general command line tools should probably work OK.

The fixes are located in a new .cfg and .exe based strictly off of the ssb16k version, with a list of all edits included within. You can get ssb16k+n2 here.

Brilliant!!! Works like a charm. Tested with "Elbow - Leaders Of The Free World" cd. In my opinion, this mod should be included in Synthetic Soul's mod.. absolutely. Maybe it's time to also update the cfg-files?

One really minor change suggestion: @source@ variable shows the path & FILENAME. Use "@sourcedir@" instead. And I also added blank lines before & after the message so it would stand out more.
Code: [Select]
REM ** Compression threads workaround. Ensures that all compression threads are closed before starting post-processing.
:checkTmp
IF NOT EXIST processing[*].tmp GOTO allProcsClear
    ECHO.
    ECHO Waiting for all other processes to clear... If program hangs here and there are no other tracks being encoded, delete all processing[#].tmp files in your "@sourcedir@" directory.
    ECHO.
    REM ** Pause for 10000 milliseconds
    PING 1.1.1.1 -n 1 -w 10000 >NUL
    GOTO checkTmp
:allProcsClear


I think that REACT should be moved to sourceforge or similar. It's a pain to follow many different suggestions, bugs, etc. by reading this long forum topic. Also it's not ideal with scattered wiki pages for main REACT, mods, different articles with additional guides and who knows what else. Just my 2c.

OT: Sorry Synthetic Soul if I lured you back to this topic. Not my intention at all. Let's say that I have a remote control here that controls your computer and now I'm going to push the off-switch.. -click- 
Title: REACT 2 Released
Post by: Akkurat on 2007-11-17 18:30:27
Aaarghhh! I'm sure that I'm going to get hanged from doing the following:

Possible *ahem* problem in REACT 2.0.ssb16k.au3.
Code: [Select]
Line #928: If $hasCue Or $g_track = $g_numtracks Then'

Again, it's the DATA track in cd problem; EAC reports wrong last track number thru command line options. The $g_numtracks variable is read from the command line options ($g_numtracks = Int($CmdLine[9])). So, the line above works only if the first condition is met. If I'm reading it right.. strange to see comparisons with only one "=" char.

Possible solution:

Make a temp cue file also in track mode and read the REAL last AUDIO track number like in my solution: FINDSTR /R "TRACK.[0-9][0-9].AUDIO" "@albumfile@.[mg].cue". Delete temp cue file. Assign the new value to $g_numtracks_fn which is the $numtracks$ in bat-file. Strip leading zeros from the new value and assign the value to $g_numtracks which is the @numtracks@ in bat-file.

OT: And Synthetic Soul, if you're reading this.. I didn't push the On-button yet in my "your-pc-remote-controller" ™.
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-11-17 19:03:24
LINE #1025 : $str = fStringReplaceForDOS($str, "@albumfile@", StringReplace($g_albumfile, "'", " "))
   LINE #1027 : $str = fStringReplaceForDOS($str, "@cover@", StringReplace($g_cover, "'", " "))
   LINE #1028 : $str = fStringReplaceForDOS($str, "@eaclog@", StringReplace($g_eaclog, "'", " "))
   
   Would that suffice? Only changes these variables in bat-file.
No.  That's the point: with such code you are blanket-replacing all apostrophes with a space (as per 2.0.ssb16j).  That's OK if the apostrophe began life as a double quote, but what if it really is an apostrophe and therefore should stay as such?

There is no simple answer, we must make a few checks to see what actually exists.

Edit: if you're still confused about the problem, try testing (which you appear to enjoy) both j and k with artist/album names with both an apostrophe and a double quote.  This is what you find:

Code: [Select]
Artist: ab'de"g
Album:  ab'de"g

EAC    ab'de g - ab'de g
b16j   ab de g - ab de g
b16k   ab'de'g - ab'de'g
Title: REACT 2 Released
Post by: Akkurat on 2007-11-17 20:39:44
LINE #1025 : $str = fStringReplaceForDOS($str, "@albumfile@", StringReplace($g_albumfile, "'", " "))
   LINE #1027 : $str = fStringReplaceForDOS($str, "@cover@", StringReplace($g_cover, "'", " "))
   LINE #1028 : $str = fStringReplaceForDOS($str, "@eaclog@", StringReplace($g_eaclog, "'", " "))
   
   Would that suffice? Only changes these variables in bat-file.
No.  That's the point: with such code you are blanket-replacing all apostrophes with a space (as per 2.0.ssb16j).  That's OK if the apostrophe began life as a double quote, but what if it really is an apostrophe and therefore should stay as such?

There is no simple answer, we must make a few checks to see what actually exists.

Edit: if you're still confused about the problem, try testing (which you appear to enjoy) both j and k with artist/album names with both an apostrophe and a double quote.  This is what you find:

Code: [Select]
Artist: ab'de"g
Album:  ab'de"g

EAC    ab'de g - ab'de g
b16j   ab de g - ab de g
b16k   ab'de'g - ab'de'g


Yes, I do get it finally.. my test values had no apostrophes at all, just double quotes. That's why my perception to this issue was flawed. This is pretty confusing problem like you said earlier.

Did you test with those values yourself? I stumbled into another problem with your test set. With those values 2.0.ssb16j runs first normally the gap detection, then EAC/REACT creates this file "ab'de g.cue" (very strange) and then everything stops! Also the REACT info text vanishes from the EAC window title. When I close EAC, REACT doesn't close itself.

Same thing when album=ab'de"g & artist=abde"g. BUT everything works with album=abde"g & artist=ab'de"g.

BUT this doesn't happen with 2.0.ssbb16k. It works fine.

(I restarted EAC/REACT between tests. And all tests were made with track mode)

This observation is of course obsolete since the 2.0.ssb16j changes are not implemented in the future. Still it leaves me somewhat baffled.. maybe you should take a look what caused it.. just in case?
Title: REACT 2 Released
Post by: Akkurat on 2007-11-18 15:51:23
I am currently thinking of a few options:
  • Record the true value from the wrapper instance (grabbed directly from the main dialogue) in the INI to read later.  This may have issues when considering the compression queue or dual processors.
  • Trawl the working directory for any ".log" file - if there's only one assume it is ours.  If there's more than one use an algorithm to detirmine which is most likely ours.  Yuck.
  • Maybe the processing instance can re-grab the value from the EAC dialogue... unsure.  Yuck II.
  • I'm sure  had another one, but it's gone...
I think I remember #4, and it's the likely candidate at the moment.

Currently, due to the change in log file naming EAC introduced in 0.99 the code checks for both expected formats in a loop, and exits when one is found.  Using a couple of loops I could check each permutation of the filename with apostrophes replaced or not replaced.  If a match is found we have a winner.  Alternatively, and preferably, I would hope that I should be able to use a regular expression to match the filename, replacing ' with [' ], e.g.:

Code: [Select]
Synthetic 'Saddo' Soul

... to:

Code: [Select]
  Synthetic [ ']Saddo[ '] Soul


I'll let you know how I get on.

Bubblegum solution #2 - A New Hope:

Use EACs menu: Database -> Export CD Information To -> Text File...

It should be "really easy" to read that file and get all proper values for album, artist and tracknames. The only true problem is to detect the (example) "CD: ab'de"g - ab'de"g" line in the file. How do we know where the "-" breaker for the artist & album really is if there's more than one "-" char in that line. Solution: we certainly know the EAC escaped values, so, compare the lengths of both and "explode" (PHP func., don't know the proper one in autoit) that line into proper artist & album variables. Tadaaaa. It's not elegant solution but I think that it should work. Plus, this way we could use proper tracknames (with double quotes) in tagging (implies that the double quotes should be escaped). This though won't solve the "DATA track in CD numtracks variable" problem, you can't tell the difference if the last track is or is not a data track.

I'm in no hurry to solve this, just trying to help.

OT: About me enjoying to test; actually I don't. It's just a hurdle when I try to reach my goal, which is in this case to get the REACT work like I want it to work. I just take a program and use it, if it doesn't work the way it is supposed, I might drop the program or I take the long and time consuming road to report problems. I can honestly say that I will find a bug in 99% of programs I try, and I usually find them in 15 minutes or less. Without bug seeking that is. And I'm not boasting.. mostly it's a drag.
Title: REACT 2 Released
Post by: gsa999 on 2007-11-19 08:24:31
It is possible to setup a profile for REACT in EAC, and then I can just switch between REACT and my other profiles using the dropdown at the bottom of the EAC screen.

Currently I have an EAC icon and a REACT2 icon on my desktop. If I want to revert back to EAC without REACT I have to load the EAC icon and then (even though its already loaded) load say an MP3 or FLAC profile in order to clear REACT2 settings.

Of course when I want to go back to REACT2 I have to come out of this and load the REACT2 icon. Hit CtrlF2 to reset things. It would be easier to just have a single EAC icon and switch between profiles as needed
Title: REACT 2 Released
Post by: nago on 2007-11-19 09:30:46
Of course when I want to go back to REACT2 I have to come out of this and load the REACT2 icon. Hit CtrlF2 to reset things. It would be easier to just have a single EAC icon and switch between profiles as needed


I'm not entirely sure why you need to switch back to the plain EAC if you don't want to use REACT, just launch it with react and use it as normal. You shouldn't need to use the ctrl+f2 every time, just hit ctrl+f2 and then save all options as the "react profile", and then fill in your own settings and save it as the 'regular' profile.

1) If there are functions you wish to access that REACT hotkeys over, just use the functions from the dropdown menus.
2) OR, you can reassign the hotkeys that react overwrites in the .ini file, or edit them in the sourcefile included, recompile with autoit3 if needed.
3) Or you can "pause" the REACT script by clicking the EAC icon in the toolbar, this will stop react from interfering with anything at all as far as I'm aware-- this is probably the easiest option.

So you can just launch EAC+React, then if you want to switch to a "regular" eac profile, just click pause and load the profile, do what you need to, switch the profile back, unpause, etc. It's still not a remarkably brilliant solution, but it beats having to close and reload the program a lot...
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-11-19 12:59:05
Did you test with those values yourself? I stumbled into another problem with your test set. With those values 2.0.ssb16j runs first normally the gap detection, then EAC/REACT creates this file "ab'de g.cue" (very strange) and then everything stops! Also the REACT info text vanishes from the EAC window title. When I close EAC, REACT doesn't close itself.

Same thing when album=ab'de"g & artist=abde"g. BUT everything works with album=abde"g & artist=ab'de"g.
Remember, EAC uses the album name to name the cuesheets that REACT then tries to indentify and move.  This is all linked to the double quote/apostrophe issue.

I believe I have worked around the issue now, you will find 20.0ssb16l (http://wiki.hydrogenaudio.org/index.php?title=REACT:Mods#Download) on the mods wiki page.  The log file should be identified in all (known!) situations now.  You will note that the cuesheets and cover art will replace double quotes with an apostrophe rather than a space.  This was to make things easy for the processing instance which cannot rely on a cuesheet or image to detirmine EAC's format, unlike the the log file, which we know will exist.  This is not an issue, as users will no doubt be renaming these files anyway. As long as REACT is consisent, and can always identify these files, everything is just fine.

Bubblegum solution #2 - A New Hope:

Use EACs menu: Database -> Export CD Information To -> Text File...
Yes, this information could potentially be useful.  I have previously toyed with the DB Text File option: the export format can be set by REACT making it easy to extract useful values like the artist, album, and disc CRC (which could be useful for the compression queue - see posts RE: b17).

I have been thinking recently (again) about the prospect of forcing a cuesheet to be generated, irrespective of the CreateAllCuesheets value, when a user rips to tracks.  I wonder now whether forcing a cuesheet, and/or the DB Text File would be prudent.  These files could contain all the information that is currently not satisfactorily retrieved from EAC.

That said, I am thinking more about rewriting, than hacking about with the existing source any further.  Unfortunately I just don't think I can find the time.  I'm losing interest in hacking the source further though, especially considering that I rip to images and REACT will perform absolutely fine in 99.5% of situations.  Resolving those other 0.05% of issues seems to call for a re-think of the way that REACT interacts with EAC, and I'd feel happier working from the ground up than hacking the source any further.

I can see why tycho often spoke of dropping track-ripping from REACT.  At one point, IIRC, he was very close to creating a cut down version of  REACT that only worked with image ripping.

OT:  About me enjoying to test; actually I don't. It's just a hurdle when I  try to reach my goal, which is in this case to get the REACT work like  I want it to work. I just take a program and use it, if it doesn't work  the way it is supposed, I might drop the program or I take the long and  time consuming road to report problems. I can honestly say that I will  find a bug in 99% of programs I try, and I usually find them in 15  minutes or less. Without bug seeking that is. And I'm not boasting..  mostly it's a drag.
I assume that you must have had some problem while ripping normally that I have not seen, and then decided to test fully.  None of the reports that you have made to me have come from normal CD ripping.  You have been testing illegal filename characters, checking the source code, and ripping in both track and image mode - with all values of RunCoverDownloader set!  That's not normal.

As far as I can think, your reports have enabled me to resolve the log file naming bug (I hope), the album art command line bug, and the RunCoverDownloader settings bug.  Whatever you're doing, it's been useful.
Title: REACT 2 Released
Post by: Akkurat on 2007-11-19 13:55:01
I'll post this first and then I'm going to test the new version and I'll answer your last post Synthetic Soul (almost used "SS" abbr., you may not like that ). (btw. what "see posts RE: b17" means? b17?)

I bumped on to something peculiar when I was creating my "data track backup to \data subfolder" feature to REACT. Here's my notes:

Now I'm getting little frustrated myself, I'm seriously thinking about ditching REACT.. but I can't, already used so much time for this. The new "PROBLEM" is that I noticed that EAC/REACT sometimes creates wrong cuefiles! Yes! Jippikaijei*********. I'm so happy now.  And of course I can't reproduce this properly, it behaves randomly.. again.  Sometimes I see that M, MC & MG cues are exatly the same. Sometimes MG is same as the S cue, sometimes all are different. Sometimes some cuefile(s) is/are missing. Sometimes S cue file has only 2 lines (REM DISCNUMBER 1 ... REM TOTALDISCS 1), etc. Sometimes I do think that my head is going to explode. As you can see, there are multiple variations and they appear randomly.

Tested with same CD w/ data track in track mode with 2.0.ssb16k. At least, to my understanding, S and MG cues should be different from M and MC cues (should there be always a difference between M and MC cues?) everytime if there's a data track on CD. If I manually create the cuefiles from EAC menu, I get different S, MG and M/MC (both same, no special gaps/indexes(?) and that's why they're same?) cuefiles. I really don't understand what's going on. Any tips how to test this more?
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-11-19 14:13:32
(btw. what "see posts RE: b17" means? b17?)
It means: if you want to know more about the subject, read the posts in this thread discussing 2.0ssb17.

I bumped on to something peculiar when I was creating my "data track backup to \data subfolder" feature to REACT. Here's my notes:

Now I'm getting little frustrated myself, I'm seriously thinking about ditching REACT.. but I can't, already used so much time for this. The new "PROBLEM" is that I noticed that EAC/REACT sometimes creates wrong cuefiles! Yes! Jippikaijei*********. I'm so happy now. wink.gif And of course I can't reproduce this properly, it behaves randomly.. again. sad.gif Sometimes I see that M, MC & MG cues are exatly the same. Sometimes MG is same as the S cue, sometimes all are different. Sometimes some cuefile(s) is/are missing. Sometimes S cue file has only 2 lines (REM DISCNUMBER 1 ... REM TOTALDISCS 1), etc. Sometimes I do think that my head is going to explode. As you can see, there are multiple variations and they appear randomly.

Tested with same CD w/ data track in track mode with 2.0.ssb16k. At least, to my understanding, S and MG cues should be different from M and MC cues (should there be always a difference between M and MC cues?) everytime if there's a data track on CD. If I manually create the cuefiles from EAC menu, I get different S, MG and M/MC (both same, no special gaps/indexes(?) and that's why they're same?) cuefiles. I really don't understand what's going on. Any tips how to test this more?
I can see how this might happen (for you).  EAC creates all of the four cuesheets as "<album>.cue" and REACT renames them.  Presumably a cuesheet is not getting renamed, or created, so REACT is renaming the wrong cuesheet, expecting it to be a different cuesheet than it actually is.  I can't tell you how this is happening, or whether b16l will resolve it, but I can see how it could happen.  And if it's going to happen, it seems that it is going to happen to you.

I think you are right regarding the M and MC cuesheets being the same on occassion.
Title: REACT 2 Released
Post by: Akkurat on 2007-11-19 15:28:25
I bumped on to something peculiar when I was creating my "data track backup to \data subfolder" feature to REACT. Here's my notes:

Now I'm getting little frustrated myself, I'm seriously thinking about ditching REACT.. but I can't, already used so much time for this. The new "PROBLEM" is that I noticed that EAC/REACT sometimes creates wrong cuefiles! Yes! Jippikaijei*********. I'm so happy now. wink.gif And of course I can't reproduce this properly, it behaves randomly.. again. sad.gif Sometimes I see that M, MC & MG cues are exatly the same. Sometimes MG is same as the S cue, sometimes all are different. Sometimes some cuefile(s) is/are missing. Sometimes S cue file has only 2 lines (REM DISCNUMBER 1 ... REM TOTALDISCS 1), etc. Sometimes I do think that my head is going to explode. As you can see, there are multiple variations and they appear randomly.

Tested with same CD w/ data track in track mode with 2.0.ssb16k. At least, to my understanding, S and MG cues should be different from M and MC cues (should there be always a difference between M and MC cues?) everytime if there's a data track on CD. If I manually create the cuefiles from EAC menu, I get different S, MG and M/MC (both same, no special gaps/indexes(?) and that's why they're same?) cuefiles. I really don't understand what's going on. Any tips how to test this more?
I can see how this might happen (for you).  EAC creates all of the four cuesheets as "<album>.cue" and REACT renames them.  Presumably a cuesheet is not getting renamed, or created, so REACT is renaming the wrong cuesheet, expecting it to be a different cuesheet than it actually is.  I can't tell you how this is happening, or whether b16l will resolve it, but I can see how it could happen.  And if it's going to happen, it seems that it is going to happen to you.

LOL! LOLAIAFOTC (...And I Almost Fell Off The Chair).  Funny stuff. Rather perceptive of you, it certainly happens to me if it's going to happen at all.. I don't know whether to cry or laugh.

But, dear Watson, the worrying part is that I used "abdegg" (w/o quotes) in album name. So the new version should not correct this.. it might but I think it's fair to say that most probably it wont.
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-11-19 15:34:34
But, dear Watson, the worrying part is that I used "abdegg" (w/o quotes) in album name. So the new version should not correct this.. it might but I think it's fair to say that most probably it wont.
I hadn't actually presumed that this was the double quote issue rearing its head again.

I just think that something is interrupting the normal process, causing your issue.  Somehow the process is getting confused, or out of synch.

As I previously asked nago: do you set REACT going and then leave the PC alone, or do you start switching windows, etc.?  Given REACT's requirement to interact with EAC via key strokes and menu commands it is always best to just leave it be - certainly until the CD has started ripping.

As you can imagine, I have never noticed this issue myself.  I did a test when you posted and all cuesheets were as expected.  And again, this is the first report.
Title: REACT 2 Released
Post by: Akkurat on 2007-11-19 15:46:48
But, dear Watson, the worrying part is that I used "abdegg" (w/o quotes) in album name. So the new version should not correct this.. it might but I think it's fair to say that most probably it wont.
I hadn't actually presumed that this was the double quote issue rearing its head again.

I just think that something is interrupting the normal process, causing your issue.  Somehow the process is getting confused, or out of synch.

That's what I'm wondering too, but I can't pinpoint the true culprit.

As I previously asked nago: do you set REACT going and then leave the PC alone, or do you start switching windows, etc.?  Given REACT's requirement to interact with EAC via key strokes and menu commands it is always best to just leave it be - certainly until the CD has started ripping.

Yes, I thought of this, I have read every post in this thread. I just press F4 and let it do the gap analyzing and cuesheet creation. I always wait until the actual ripping window starts.

As you can imagine, I have never noticed this issue myself.  I did a test when you posted and all cuesheets were as expected.  And again, this is the first report.

I know, I have read all the posts as I said. This problem is hard because sometimes the proper cuesheets are created. I usually don't want to report problems if I can't reproduce them everytime with same settings/steps.
Title: REACT 2 Released
Post by: nago on 2007-11-19 20:39:38
And for those who want multiprocess support, I've applied my changes to ssb16l for react20ssb16kl+n2 (http://student.ccbcmd.edu/~jhuston1/etc/react20ssb16l+n2.7z) .. full list of edits (there aren't very many) included for those who have modified their cfgs and au3 files in other ways already.

Synthetic Soul: Sorry it's been such a hassle for you lately, but I thought I'd chip in my two cents again and let you know that your support of tracks extraction mode has been fantastic and I'm very glad you haven't dropped it yet. If you do decide to do a ground-up recode of REACT, I'd be more than willing to help you test it. Please let me know if there is anything I can do for you as repayment for this last week. Please.

--N
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-11-20 07:36:20
Synthetic Soul: Sorry it's been such a hassle for you lately, but I thought I'd chip in my two cents again and let you know that your support of tracks extraction mode has been fantastic and I'm very glad you haven't dropped it yet. If you do decide to do a ground-up recode of REACT, I'd be more than willing to help you test it. Please let me know if there is anything I can do for you as repayment for this last week. Please.
It's only been a problem as it's come at a time when I have various other things on my mind.  Bug-fixing REACT is a love/hate thing with me.  As you pointed out, I should really just give myself more time to tackle things, than feel that I need to do them immediately.  It's a dichotomy: I really enjoy the challenge of problem-solving, but I don't really have the free time to spend the time that I need to, so I feel pressured and frustrated.

I'm not sure that I will ever find time to rewrite REACT unfortunately.

Good work with the dual processor changes.  At this time I see no need to incorporate them into my mod.  As you have upgraded to the b16l code users can simply use your EXE.  As I say, I am losing interest in stretching REACT 2 any further.  Maybe that will change in the future when I feel less busy.
Title: REACT 2 Released
Post by: nago on 2007-11-20 09:31:32
I'm not sure that I will ever find time to rewrite REACT unfortunately.


Ah, just trying to offer repayment for driving you nuts. If you ever need a guinea pig just give me a ring. =) I'll be looking into autoit code and seeing if I can't patch up a few things on my own, I'll post some changes to the wiki if you'd like, though I doubt I have the capacity to do any serious bugfixes at the moment.

Cheers!
Title: REACT 2 Released
Post by: Ivan Helguera on 2007-11-21 22:51:18
Hello everyone,
I just reinstalled my XPs and my EAC/REACT system, and have trouble running the metadata Alt-F5dialogue. I have the 16l version from SynthS's site, linked from HA wiki:
http://www.synthetic-soul.co.uk/temp/REACT_2.0.ssb16l.zip (http://www.synthetic-soul.co.uk/temp/REACT_2.0.ssb16l.zip)
When I press Alt-F5, the screen blinks for a while, and that's it.
My intuition: I missed something evident.


EDIT: A year and a day have passed, and I figured what the problem was.
It turned out it has nothing to do with REACT/EAC. It's rather the ATI control panel that hijacks Alt-F5 for "switch the monitors" command. As soon as I switched it to alt-f7 the React mod works as it should.
Title: REACT 2 Released
Post by: nago on 2007-11-25 07:35:14
I haven't run into this myself.. Does this happen with other releases, or just the l?
When you reinstalled, did you clear the previous react installation? maybe some conflicting files?
Title: REACT 2 Released
Post by: dakoet on 2007-11-25 13:56:02
I'm trying to save my flac files to a folder on a network (or, actually, a shared network folder under Parallels). My .ini file reads as follows:

[UserOutputNames]
ImageDir_Flac=@Z:\Music@\Flac\$cdartist$\$album$ ($year$)

I'm getting a error however. I assume it has something to do with the "@" sign. The full network path is

Z:\Music\Flac (the path I see in windows explorer)

or

\\.PSF\.Home\Music\Flac (the path I see if I click on my "parallels shared folder" shortcut on my desktop.
Title: REACT 2 Released
Post by: SamHain86 on 2007-11-25 16:24:24
@dakoet-
You only use @...@ when you are using a variable name. Your INI lines should read:
Code: [Select]
[UserOutputNames]
ImageDir_Flac=Z:\Music\Flac\$cdartist$\$album$ ($year$)


An example of when you use @...@:
Code: [Select]
[UserOutputNames]
RootFolder=G:\MEDIA\CDDA_ARCHIVE
OutRoot=@RootFolder@\$genre$\$cdartist$\$album$ [$year$]
OutRoot_sndtrk=@RootFolder@\Soundtrack\$album$ [$year$, $cdartist$]

I only use @...@ to call the variable RootFolder.

Off Topic: Is "call" the right term?
Title: REACT 2 Released
Post by: dakoet on 2007-11-25 16:49:00
@dakoet-
You only use @...@ when you are using a variable name. Your INI lines should read:
Code: [Select]
[UserOutputNames]
ImageDir_Flac=Z:\Music\Flac\$cdartist$\$album$ ($year$)


Thanks! That did the trick 
Title: REACT 2 Released
Post by: SamHain86 on 2007-11-25 16:53:18
@Dakoet-

Just another tip: you ought to use [] instead of () in your directory hierarchy. I think there is a discussion and it was explained that () is treated as a part of code instead as a text variable... Not too sure what was actually up, but I use [] and haven't had any problems related to that.


Sorry, please ignore this. I couldn't find the posts related to what I was describing.
Title: REACT 2 Released
Post by: nago on 2007-11-26 20:48:48
Hello! It's time for more REACT questions! Answer Riddles, Win fabulous prizes!

1) Why does the ACDIR track split section of images.cfg have its own ini settings? ($n $~t [$~a]) -- My take is that these are used internally by ACDIR and not replaced by REACT. Do they offer some significant benefit over using something like $track$ - $title$ [$artist$]?

2) Does TAK not support ReplayGain? Is there a reason TAK RG is absent from the tracks.cfg in ssb16l?

3) What does the DebugMode setting in the .ini do? Why's it separate from the regular 'Debug' setting?
Title: REACT 2 Released
Post by: shinyspoon on 2007-11-26 21:59:45
Hi,

Thanks SS for all you work on this REACT mod.

Possible mismatch between REACT_2.0.ssb16l, metamp3v0.91 and Latest beta: metamp3v092b5 if using additional meta tag DISCNAME with DISCNUMBER and TOTALDISCS:
[Current]
discnumber=4
totaldiscs=6
discname=CD4 name test

Using REACT_2.0.ssb16l with metamp3v0.91 No MP3 tags are written:
error: --frame: bad argument: TXXX[setsubtitle]:CD4

If DISCNAME is not used, but only TOTALDISCS and DISCNAME are specified - MP3 tags written O.K.

Using REACT_2.0.ssb16l with metamp3v092b5 WITH album art get:
An unrecognized option: --pict
Using REACT_2.0.ssb16l with metamp3v092b5 WITHOUT any album art get:
An unrecognized option: --user-text

As documented, the metamp3v092b5 command line options have changed, and are not backward compatible.

Possible tested workaround using metamp3v0.91 is to change the "SET Disc_MP3=--frame "TXXX[setsubtitle]:@discname@" to SET Disc_MP3=--frame "TIT3:@discname@" in REACT-track.cfg

Regards,
Pete
Title: REACT 2 Released
Post by: Martin H on 2007-11-27 01:03:57
Hi shinyspoon

I would myself stick to using the newest metamp3 beta and then change the following in the track-cfg :
Code: [Select]
IF NOT @LameMP3@==1 GOTO end_lame_tracks
[...]  
IF @various@==1 SET VA_tag=--user-text "[album artist]@VA@" --frame "TPE2:@VA@"

Into :
Code: [Select]
IF NOT @LameMP3@==1 GOTO end_lame_tracks
[...]
IF @various@==1 SET VA_tag=--frame "TXXX[album artist]:@VA@"

The above is best for foobar2000. If you e.g. use winamp or wmp, then instead use :
Code: [Select]
IF NOT @LameMP3@==1 GOTO end_lame_tracks
[...]
IF @various@==1 SET VA_tag=--frame "TPE2:@VA@"


Of course you could also leave both of them in, but i just don't like that myself, but just in case, then here's the syntax for that :
Code: [Select]
IF NOT @LameMP3@==1 GOTO end_lame_tracks
[...]
IF @various@==1 SET VA_tag=--frame "TXXX[album artist]:@VA@" --frame "TPE2:@VA@"


Then also change the following line from :
Code: [Select]
IF %embed_cover%==1 SET Cover_tag=--pict "{3}@cover@"

Into :
Code: [Select]
IF %embed_cover%==1 SET Cover_tag=--frame "APIC{3}:@cover@"
Title: REACT 2 Released
Post by: Akkurat on 2007-11-28 03:21:26
Sorry for the late response, I got so frustrated myself that I had to take a long break.

"RunCoverDownloader" setting works now perfectly.

Log filename problem in track mode still exist, cover & cuefiles are working fine now.
Related to problem I reported a while ago(?); wrong numtracks when CD with DATA track (If $hasCue Or $g_track = $g_numtracks Then) in line #925.
Code: [Select]
Album & Artist = te'stin"g
- Track mode: logfile = te'stin g - te'stin g.log ... Batch var = te'stin'g - te'stin'g.log
- Image mode: logfile = te'stin'g - { 2004 } te'stin'g.log ... Batch var = te'stin'g - { 2004 } te'stin'g.log
(Tested with CD which had a DATA track ... stripped folder paths)

Tested A LOT the cuefile problem I had and I can't trust the cuefile generation at all; the problem is most probably a combination of cd-drive which has problems to read certain "difficult" CDs / EAC gap detection / REACT way of creating cuefiles (timing(?) &/ not stopping when some cuefiles are not created).
- Fixes/mods which I found that lowered problematic cases:
 1. Stop extraction when cuefile is not found and give warning message.
 2. Use "WinMenuSelectItem($g_eacTitle, $g_eacText, "&Action", "&Detect Gaps")" (also wait "Analyzing" window close) before calling "ControlSend()" functions to create different cuefiles.
- Here's my test notes (if somebody is interested) in codebox to minimize the post size:
Code: [Select]
- Timing issue? Analyzing window takes its time (sometimes fast, sometimes slow) REACT doesn't wait properly but instead tries constantly to "access" cuesheets??? Sometimes REACT hits correctly but sometimes not???? Too fast cuefiles creation and then move and next cuefile creation... and so on.. maybe needs little pauses?

- So, if the gap analyzing has been done, it seems that everything works fine. It's just the first rip which is problematic (sometimes!) when EAC/REACT is started. Any following rips seems to produce proper cuesheets (not closing EAC), EVEN if the first rip produced bad cuefiles. Tested with EAC "Gap Detection->Detection Accuracy" setting set to "Secure" (extracts the index several times) or "Inaccurate", no difference. Lots of "it seems". Pretty vague.

- One possible factor: cd-drive which has problems to read certain difficult CDs?! This one particular CD I'm testing gives sometimes "Detection mode not possible with this drive" error messages, and almost every time the only solution is to eject & insert it again and then try again. Sometimes some cuefiles are not created and there's NO error messages from EAC?!

- Hmm, when I start EAC/REACT and choose "Detect Gaps" manually from the menu AND after analyzing has stopped, I press F4; it seems that cuefiles are created properly everytime. Also using these steps, the gap column values in EAC window change from "Unknown" to numerical values. They don't change if I just start EAC/REACT and press F4. Maybe here's a clue how to nail this "twilight zone" phenomenon?

- All current problems were tested with A-gap setting, it works only after the first rip (which fails everytime). NOW trying B-setting: DOESN'T WORK AT ALL. What about the last one? C-setting: SEEMS TO WORK OK!? EVEN WITH ORIGINAL k-version. UPDATE ON C-setting: doesn't work; almost everytime the first cuefile (S) is NOT created but instead the second cuefile (MG) contains S-cuefile data.. M & MC are fine.

- OK, now it gets even more stranger; just witnessed cuefiles with additional pregaps & index 00's after over 200 tests with consistent cuefile contents! And this with the same CD I'm using in testing. Time to quit and give up.

- I made a difficult decision: I'm going to wait that EAC gets updated with char conversion & other requested features/fixes and use my own pre-processing batch file (or "real" program made with AutoIt or Visual Basic) for covers and other small things. I've wasted so much time and nerves testing, solving problems, reading & modifying source & cfg files that it's hard to walk away now, but I got to. Thanks a million to everyone who helped me. For those who rock (and you lot just rock), I salute you!  I'm going to watch this thread for a while if you have any questions for me. Otherwise, I'm done here. May you all have a happy and long future ahead with REACT and everything else. Peace Love & Understanding. Bye.
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-11-28 07:14:45
Log filename problem in track mode still exist, cover & cuefiles are working fine now.
...
Code: [Select]
Album & Artist = te'stin"g
- Track mode: logfile = te'stin g - te'stin g.log ... Batch var = te'stin'g - te'stin'g.log
- Image mode: logfile = te'stin'g - { 2004 } te'stin'g.log ... Batch var = te'stin'g - { 2004 } te'stin'g.log
What exactly is the 'problem' here?

EAC will use different log naming schemes for track and image rips (as previously stated).

I explained when I posted 2.0.b16l that the log file may have a different name to the batch file, cuesheets and cover art, if, and only if, the artist or album contains a double quote.

This is not a bug, issue, or any sort of problem: @eaclog@ will always refer to the log, @cover@ will always refer to the cover art, and @albumfile@ will always be the root name of the cuesheets.  If you want to rename these files using REACT's character substitution do it in the config file.

Tested A LOT the cuefile problem I had and I can't trust the cuefile generation at all; the problem is most probably a combination of cd-drive which has problems to read certain "difficult" CDs / EAC gap detection / REACT way of creating cuefiles (timing(?) &/ not stopping when some cuefiles are not created).
- Fixes/mods which I found that lowered problematic cases:
1. Stop extraction when cuefile is not found and give warning message.
2. Use "WinMenuSelectItem($g_eacTitle, $g_eacText, "&Action", "&Detect Gaps")" (also wait "Analyzing" window close) before calling "ControlSend()" functions to create different cuefiles.
...
- So, if the gap analyzing has been done, it seems that everything works fine. It's just the first rip which is problematic (sometimes!) when EAC/REACT is started.
I don't trust the menu and key interactions with EAC; there appears to be too much chance of things not happening, with no way of knowing the result.  Unfortunately, if users want REACT to create cuesheets in track mode, there is no other option.

The current code is supposed to wait until the "Analyzing" dialogue closes. If it doesn't for you then I'm flumoxed.

If you know that there is this issue with your drive then I can only suggest that you manually detect gaps before ripping.

I made a difficult decision: I'm going to wait that EAC gets updated with char conversion & other requested features/fixes and use my own pre-processing batch file (or "real" program made with AutoIt or Visual Basic) for covers and other small things. I've wasted so much time and nerves testing, solving problems, reading & modifying source & cfg files that it's hard to walk away now, but I got to.
Best of luck with it.  Please keep this forum updated.
Title: REACT 2 Released
Post by: shinyspoon on 2007-11-28 11:57:05
[quote name='Martin H' date='Nov 27 2007, 01:03' post='532181']

Thanks Martin,

I followed your suggestions (chose the code to leave both of them) with the newest metamp3  and it's now working fine.

Appreciate your time and efforts.

Regards,
Pete
Title: REACT 2 Released
Post by: Akkurat on 2007-11-28 13:14:48
Log filename problem in track mode still exist, cover & cuefiles are working fine now.
...
Code: [Select]
Album & Artist = te'stin"g
- Track mode: logfile = te'stin g - te'stin g.log ... Batch var = te'stin'g - te'stin'g.log
- Image mode: logfile = te'stin'g - { 2004 } te'stin'g.log ... Batch var = te'stin'g - { 2004 } te'stin'g.log
What exactly is the 'problem' here?

EAC will use different log naming schemes for track and image rips (as previously stated).

I explained when I posted 2.0.b16l that the log file may have a different name to the batch file, cuesheets and cover art, if, and only if, the artist or album contains a double quote.

This is not a bug, issue, or any sort of problem: @eaclog@ will always refer to the log, @cover@ will always refer to the cover art, and @albumfile@ will always be the root name of the cuesheets.  If you want to rename these files using REACT's character substitution do it in the config file.

I don't quite get it. You say it's fixed and now you say that it will not be fixed? Or is this a mix up? I'm not talking about renaming! The batch file copy and delete EAC logfile commands fail currently. I thought that we were talking about this after you explained that the user is up to his own when it comes to renaming the coverfile, cuefiles & logfile.
Code: [Select]
COPY /Y "@eaclog@" "EAClog.txt"
=
COPY /Y "D:\Music\RIPPED\EAC\te'stin'g - te'stin'g.log" "EAClog.txt"
The system cannot find the file specified.
...
DEL "@eaclog@"
=
DEL "D:\Music\RIPPED\EAC\te'stin'g - te'stin'g.log"
Could Not Find D:\Music\RIPPED\EAC\te'stin'g - te'stin'g.log

(filename = te'stin g - te'stin g.log)
Now you see? Or am I missing something?

Tested A LOT the cuefile problem I had and I can't trust the cuefile generation at all; the problem is most probably a combination of cd-drive which has problems to read certain "difficult" CDs / EAC gap detection / REACT way of creating cuefiles (timing(?) &/ not stopping when some cuefiles are not created).
- Fixes/mods which I found that lowered problematic cases:
1. Stop extraction when cuefile is not found and give warning message.
2. Use "WinMenuSelectItem($g_eacTitle, $g_eacText, "&Action", "&Detect Gaps")" (also wait "Analyzing" window close) before calling "ControlSend()" functions to create different cuefiles.
...
- So, if the gap analyzing has been done, it seems that everything works fine. It's just the first rip which is problematic (sometimes!) when EAC/REACT is started.
I don't trust the menu and key interactions with EAC; there appears to be too much chance of things not happening, with no way of knowing the result.  Unfortunately, if users want REACT to create cuesheets in track mode, there is no other option.

The current code is supposed to wait until the "Analyzing" dialogue closes. If it doesn't for you then I'm flumoxed.

Yes it waits of course IF that window appears.. sometimes that window never comes up, EAC just does something for a while and then it shows error message.. actually most of the time, it doesn't show the error message and some cuefiles are not created or are created wrongly. It's too random to get hold of what's the real problem. I know, I added lots of debug points to code. And tried different methods changing the code, no avail.. like I said, it's too random and I can't see the EAC code, so it's useless to go on with this. All I'm saying that I found methods to make it fail less. And generally, in my opinion, it's stupid not to stop the process and give error message if for some reason one of the cuefile generation fails. I just don't see that the
Code: [Select]
fDebugPrint("Unable to move '" & $src & "'. File does not exist")
line is enough.. give error message, del all cuefiles (if exists) and stop the process.. that's my suggestion. Currently the poor user don't have a clue if something goes wrong. It's hard to detect if you're not sharp because all cuefiles are created EVERY time, even if cuefile generation fails. Weird? No, the "culprit" is REACT code that appends meta data from INI (fLoadAndResaveCuesheet() function). It creates missing cuefiles and fills them with additional meta data from INI.

And like you said, there's no other option to create the cuesheets currently. Were basically stuck and only thing that would change that is that EAC changes. I came to REACT when I wanted to automate tasks when I rip music. The reason not to use the EAC/REACT combination is that I can't rely on it to do all properly everytime. But hey, don't get me wrong, REACT is pushing the envelope right now and it's doing great job with the building blocks EAC gives it.
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-11-28 13:51:56
I don't quite get it. You say it's fixed and now you say that it will not be fixed? Or is this a mix up? I'm not talking about renaming! The batch file copy and delete EAC logfile commands fail currently.
...
Now you see? Or am I missing something?
OK, I think I have worked out what the issue is here.

You are testing with a disc with a data track.  Because of the "EAC tells REACT the wrong number of tracks" issue the log file name issue is not resolved.

The only way I could resolve the log file naming issue - as you've probably seen from the code - was to wait until the log file has been written and then look for "te[ ']stin[ ']g - te[ ']stin[ ']g.log" (i.e.: any apostrophe can be either an apostrophe or a space) in the working directory.

REACT detirmines whether the log file has been written by... checking the current track number against the total number of tracks.

Ah...

I really did not want to get into fixing the track number issue.  It is going to be yet another hack that requires REACT to tell (via menu command or keystroke) EAC to create a cuesheet.  As previously stated, I have had enough of hacking the code to try to resolve some minor issues, and would rather look at reworking.  Adding this fix will mean the potential of creating new and exciting bugs in the existing code, solely to resolve an issue with a small percentage of discs (that contain data tracks).

To clarify: the issue you are seeing will only happen if you have an artist or album with a double quote in it and a disc with a data track!  You sure do know how to pick 'em!

Oh, I don't know...

This is a dilema I have had before (2.0.b17 to name one): do I fix an issue that may occur in one disc in a hundred (or a few thousand for the log file issue) and jeopardise the way REACT runs for all the other discs?
Title: REACT 2 Released
Post by: Akkurat on 2007-11-28 15:09:08
OK, I think I have worked out what the issue is here.

You are testing with a disc with a data track.  Because of the "EAC tells REACT the wrong number of tracks" issue the log file name issue is not resolved.

The only way I could resolve the log file naming issue - as you've probably seen from the code - was to wait until the log file has been written and then look for "te[ ']stin[ ']g - te[ ']stin[ ']g.log" (i.e.: any apostrophe can be either an apostrophe or a space) in the working directory.

REACT detirmines whether the log file has been written by... checking the current track number against the total number of tracks.

Forget all that, why can't we use the Global $gui_album, $gui_artist variables to our advantage? They contain the true values taken from EAC window. Do StringReplace($gui_artist, '"', ' ') to both of them, concatenate vars to the format eaclog file is (artist - album.log) and assign that to the eaclog var which goes to batch file use. Actually this is the same solution I suggested a while ago. Sorry for re-opening this but my head again thinks that this could solve the problem without solving the numtracks problem.

EDIT: Actually I'm not quite sure (haven't checked) that the Global $gui_album and $gui_artist variables contains true values all the way thru the code. The variables maybe changed in the source after they've been read initially. Bad design, create new FINAL varibles and use them if $gui_album and $gui_artist are not suited for this task.

EDIT2: After doing StringReplace($gui_artist, '"', ' '), I guess that the vars should be escaped normally with fSubstIllegalChars() function...?

I really did not want to get into fixing the track number issue.  It is going to be yet another hack that requires REACT to tell (via menu command or keystroke) EAC to create a cuesheet.  As previously stated, I have had enough of hacking the code to try to resolve some minor issues, and would rather look at reworking.  Adding this fix will mean the potential of creating new and exciting bugs in the existing code, solely to resolve an issue with a small percentage of discs (that contain data tracks).

To clarify: the issue you are seeing will only happen if you have an artist or album with a double quote in it and a disc with a data track!  You sure do know how to pick 'em!

This is a dilema I have had before (2.0.b17 to name one): do I fix an issue that may occur in one disc in a hundred (or a few thousand for the log file issue) and jeopardise the way REACT runs for all the other discs?

I sure do know how to pick 'em!  Yes. That's why consider myself an expert on testing, still not boasting.  I'm currently choosing a firewall.. guess how hard it's to find a proper one when I find horrible bugs in all firewalls I've tested? For normal programs I could accept little bugs here and there but not in critical apps like firewall and such. Like I said earlier, my "gift" in testing is both a blessing and a curse at the same time.

I see and understand your points.. I had similar thoughts about refactoring REACT (and bug fixing) but what I studied the code, I realized that it would be futile because the real "problem" lies with EAC itself.

As I see it, refactoring doesn't change anything. You don't have any other choice to fix this problem but to create a cuesheet and read how many real audio tracks there are. You can't get the proper "numtracks" value anywhere else. Believe me, I tried to work it out. Only solution is that EAC changes its behaviour. OR, refactoring could solve this only if you do all the encoding and other stuff AFTER EAC has finished ripping all tracks (you simply read all wav-files to get the total number of all tracks). But I guess that's out of the question because it grows the total time used to rip one cd (no parallel extraction & encoding). (Actually it's not refactoring because it changes the "outer" part of the program.)

So I suggest that you, and all others reading this and concerned, should write to the EAC wishlist post (http://www.digital-inn.de/exact-audio-copy-english/34718-wishlist-new-functions-eac.html) and express your feelings strongly to fix the "EAC reports the wrong number of total tracks when CD has DATA track". Also it wouldn't hurt to vote that the already voted "User defined character replacement tables" should get higher priority! I'm going to register there and vote as soon as possible. I think that you, Synthetic Soul, could get more attention if you briefly describe who you are and that you're actually responsible for current REACT development.
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-11-28 15:50:32
EDIT: Actually I'm not quite sure (haven't checked) that the Global $gui_album and $gui_artist variables contains true values all the way thru the code. The variables maybe changed in the source after they've been read initially. Bad design, create new FINAL varibles and use them if $gui_album and $gui_artist are not suited for this task.
The processing instance of REACT has no knowledge of $gui_album and $gui_artist.  I don't think that it could extract the values from the EAC main dialogue, because at the time it runs EAC should be focussing the ripping dialogue instead.

As I see it, refactoring doesn't change anything. You don't have any other choice to fix this problem but to create a cuesheet and read how many real audio tracks there are.
Yes, I know that I have to create a cuesheet to get the total tracks (I am currently testing 2.0.ssb16m which does just that).  However, if the code was built around that fact that this was going to happen then it may be a whole lot tider, and easier to maintain.

As we have previously dicussed, a full reworking may choose to create a cuesheet and a DB text file, to record important information that can be used by the processing instance.  If this was known from the start perhaps it would rely less on filenames, parameters and such, and more on solely the data contained within those files...
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-11-28 16:10:23
2.0.ssb16m (http://www.synthetic-soul.co.uk/temp/REACT_2.0.ssb16m.zip) attempts to resolve the following issues:
Title: REACT 2 Released
Post by: Akkurat on 2007-11-28 16:15:03
The processing instance of REACT has no knowledge of $gui_album and $gui_artist.  I don't think that it could extract the values from the EAC main dialogue, because at the time it runs EAC should be focussing the ripping dialogue instead.

Ok. It seems that I'm not familiar enough with AutoIt.. usually when I declare a global var in my code (be it any language you like, PHP, Java, VB, etc.), I do expect that I can use it everywhere in that sourcecode.. I guess AutoIt is different somehow. Sorry. No way of passing vars to "processing instance of REACT"?

However, if the code was built around that fact that this was going to happen then it may be a whole lot tider, and easier to maintain.

As we have previously dicussed, a full reworking may choose to create a cuesheet and a DB text file, to record important information that can be used by the processing instance.  If this was known from the start perhaps it would rely less on filenames, parameters and such, and more on solely the data contained within those files...

I agree completely. The code is little convoluted looking now with our problems. Initially it probably was a good idea to build it like it's now. That's normal in software engineering. You've two choices: stab the code and fix bugs with bubblegum OR refactor. Simple.  Any amount of planning is not going to solve all future problems.
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-11-28 16:18:50
Ok. It seems that I'm not familiar enough with AutoIt.. usually when I declare a global var in my code (be it any language you like, PHP, Java, VB, etc.), I do expect that I can use it everywhere in that sourcecode.. I guess AutoIt is different somehow. Sorry. No way of passing vars to "processing instance of REACT"?
The EAC wrapping instance and the processing instance are two totally separate instances of the same executable.
Title: REACT 2 Released
Post by: Martin H on 2007-11-28 23:47:40
Appreciate your time and efforts.

You are most welcome, mate

Btw, i forgot to say previously that if you rather wanted to stick with metamp3 v0.91 instead of the beta, then just say the word if you don't know how the command-line syntax should be changed
Title: REACT 2 Released
Post by: Fameless on 2007-11-29 00:45:01
Hello SS. After using dbpoweramp, I decided to give React another try. I unzipped everything into my EAC folder, Opened React, hit F2 to configure it with EAC, made my changes to the config file...But when I hit F4 to do it's thing, a dialog box quickly flashes stating that React cannot find a configuration file. I can't read the entire thing because it closes quickly. Halp?
Title: REACT 2 Released
Post by: Martin H on 2007-11-29 01:44:07
Download the original REACT version and extract it.
Download Synthetic Soul's modded .exe and .cfg's and overwrite the original files with them.
Edit the ini to reflect what you want done.
Start REACT.exe and let it configure EAC.
Insert CD and press F10(image_cfg) or F4(track_cfg).
Title: REACT 2 Released
Post by: rohangc on 2007-11-29 04:34:36
This thread is growing so fast! Seriously, there is a lot of info here that can go into the wiki. I will try and spend some time doing this, but I don't promise anything. 
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-11-29 12:21:20
As we have previously dicussed, a full reworking may choose to create a cuesheet and a DB text file, to record important information that can be used by the processing instance.  If this was known from the start perhaps it would rely less on filenames, parameters and such, and more on solely the data contained within those files...
I agree completely. The code is little convoluted looking now with our problems. Initially it probably was a good idea to build it like it's now. That's normal in software engineering. You've two choices: stab the code and fix bugs with bubblegum OR refactor. Simple.  Any amount of planning is not going to solve all future problems.
No, but REACT will currently cope with 99.5% of situations, so a rewrite to resolve the final few issues should result in a model that can (better) cope with any new issues, which should be few or none.

The EAC wrapping instance and the processing instance are two totally separate instances of the same executable.
I dug up another post of mine (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=50273&view=findpost&p=508050) in this thread which explains further.
Title: REACT 2 Released
Post by: leonlikestrees on 2007-11-29 22:04:17
I'm having some weird problems. REACT was working fine for me, I'm not aware of having changed anything, but now it no longer copies the output files at the end of processing. They are all created correctly, but just end up hanging around in the EAC working directory.

I put it in debug mode, and have had a look at both the config and the generated script, but can't see where this copy is even supposed to happen!

Not sure if this has anything to do with it, but I'm running on Vista, and my final destination directory is on a network drive, but yes, I can access it just fine.

Any ideas? I had a search through this thread, but couldn't find anything relevent. Of course, that doesn't mean that it isn't there!!!
Title: REACT 2 Released
Post by: nago on 2007-11-29 23:08:59
The "copy" is supposed to happen during the processing itself. The output directory is specified in (for example) %trackdir_Flac%, so when it passes the command to the flac executable, the flac executable is actually responsible for putting the output file in the correct place.

If everything is being placed in the working directory, perhaps your @outroot@ variable has been modified to what the working directory is?

Try looking at the UserOutputNames section of your ini file.
Title: REACT 2 Released
Post by: Akkurat on 2007-11-30 01:52:00
The EAC wrapping instance and the processing instance are two totally separate instances of the same executable.
I dug up another post of mine (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=50273&view=findpost&p=508050) in this thread which explains further.
Aahh, of course! Boy, do I feel stupid now.. looking back at my suggestions.. *doh*. 

But to compensate lost dignity: I tested the new version and found couple of things to correct.. and I did. Here it is: EDIT: codebox fudged up rest of my post, so I emailed it to you.

And after this, I should say hello to all of you again because I'm back with REACT! I'm glad I did test the new version because it made me realize some things and now I can explain the "twilight zone" problems I had with cuefiles/gap detection. To keep it short, all can be explained with this: timing! (REACT did things too fast and EAC is/was sometimes slow in its operations.) I can trust cuefile generation again.. and I can get back using REACT. Yes! 

One thing still is not "perfect":
Code: [Select]
2007-11-30 01:56:08  Creating cuesheets
2007-11-30 01:56:09  Moving 'D:\Music\RIPPED\EAC\te'stin g.CUE' to 'D:\Music\RIPPED\EAC\te'stin'g.[s].cue'
2007-11-30 01:56:23  Unable to move 'D:\Music\RIPPED\EAC\te'stin g.CUE'. File does not exist
2007-11-30 01:56:41  Retrying...
2007-11-30 01:56:41  Creating cuesheets
2007-11-30 01:56:42  Moving 'D:\Music\RIPPED\EAC\te'stin g.CUE' to 'D:\Music\RIPPED\EAC\te'stin'g.[s].cue'
2007-11-30 01:56:43  Moving 'D:\Music\RIPPED\EAC\te'stin g.CUE' to 'D:\Music\RIPPED\EAC\te'stin'g.[mg].cue'
2007-11-30 01:56:43  Moving 'D:\Music\RIPPED\EAC\te'stin g.CUE' to 'D:\Music\RIPPED\EAC\te'stin'g.[m].cue'
2007-11-30 01:56:43  Moving 'D:\Music\RIPPED\EAC\te'stin g.CUE' to 'D:\Music\RIPPED\EAC\te'stin'g.[mc].cue'
2007-11-30 01:56:44  Moving 'D:\Music\RIPPED\EAC\te'stin g.CUE' to 'D:\Music\RIPPED\EAC\te'stin'g.[mg].cue'
2007-11-30 01:56:44  Moving 'D:\Music\RIPPED\EAC\te'stin g.CUE' to 'D:\Music\RIPPED\EAC\te'stin'g.[m].cue'
2007-11-30 01:56:45  Moving 'D:\Music\RIPPED\EAC\te'stin g.CUE' to 'D:\Music\RIPPED\EAC\te'stin'g.[mc].cue'
2007-11-30 01:56:45  Copy Tracks Beginning...
As you can see from the debug log, retrying in the "create all cuesheets" is not perfect because it runs too many cuefile generations... but in my opinion it's not going to create problems because it just overwrites present correct cuefiles. Also it takes so little time to execute that it's not a time waster. I'd leave that like it's now.. bubblegum.  Just bringing this to your attention if you didn't know.

And once again; Synthetic Soul, please consider amending the Nago mod to your mod. It does no harm to users who don't want to change the cfg file. I think Nago wouldn't mind (?)... or at least that's the impression I got. I think that all would agree that: less mods = good.
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-11-30 07:27:07
As you can see from the debug log, retrying in the "create all cuesheets" is not perfect because it runs too many cuefile generations... but in my opinion it's not going to create problems because it just overwrites present correct cuefiles. Also it takes so little time to execute that it's not a time waster. I'd leave that like it's now.. bubblegum.  Just bringing this to your attention if you didn't know.
I wrote the code.  Restarting the process is far safer than trying to move one cuesheet again, as you don't even know if the cuesheet (if it finally exists) is the one you are after, it may be the next in sequence.  As you say, speed is not a major issue, and if you've got to this point (and most  users shouldn't) then it's better to be safe than sorry.

I will try to find time to diff my source and yours, but it might be nice if you just bullet pointed the changes you have made and why here.
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-11-30 09:07:53
And once again; Synthetic Soul, please consider amending the Nago mod to your mod. It does no harm to users who don't want to change the cfg file. I think Nago wouldn't mind (?)... or at least that's the impression I got. I think that all would agree that: less mods = good.
The alternative, of course, is that I cease to release any new fixes and either you or nago take on the mantle; you have both shown an enthusiam to delve into the REACT code - one which sadly has all but drained from me.

I didn't really mean to release another version after 2.0.ssb16l, and I'm still a little confused as to why I did.

All you need to do is PM Jan S to get a wiki account, and then you can update the mod page just as I have done.  I will stop releasing new versions, and the successor can deal with any new bugs, issues, or misunderstandings that users have.
Title: REACT 2 Released
Post by: Akkurat on 2007-11-30 09:36:54
And once again; Synthetic Soul, please consider amending the Nago mod to your mod. It does no harm to users who don't want to change the cfg file. I think Nago wouldn't mind (?)... or at least that's the impression I got. I think that all would agree that: less mods = good.
The alternative, of course, is that I cease to release any new fixes and either you or nago take on the mantle; you have both shown an enthusiam to delve into the REACT code - one which sadly has all but drained from me.

I didn't really mean to release another version after 2.0.ssb16l, and I'm still a little confused as to why I did.

All you need to do is PM Jan S to get a wiki account, and then you can update the mod page just as I have done.  I will stop releasing new versions, and the successor can deal with any new bugs, issues, or misunderstandings that users have.

Old habits die hard.

Ok, I see, I already wondered why you didn't update the mod page.. hmm.. I got to think about your suggestion. Initial feeling is that I'd like to participate but not be the only enchilada handling all. I guess I don't have the time to do that either. Multiple "Big Helmets"?

Nago, what do you think? What's your take on this?

But if I decided to accept the honor, I would seriously think about moving REACT development to dedicated website or sourceforge. Now this thread and all wikis & who knows what are too cumbersome to handle. A proper forum is needed for faqs, help, bugs, wishlist, development, etc. Also I would like to think about the separate cfg-files situation; do we update those too & should we amend some of the additional functionalities found in Category:REACT guide. What do you think about these Nago?

I was currently writing the changelog you requested but I guess you don't really need it if you think you're done here...? I don't want to waste the time to write detailed changes if you don't need it.

EDIT: Actually we could stay here if we could get a dedicated forum with subforums like foobar2000 (http://www.hydrogenaudio.org/forums/index.php?showforum=28) has.
Title: REACT 2 Released
Post by: SamHain86 on 2007-11-30 10:00:36
Quote
I'm having some weird problems. REACT was working fine for me, I'm not aware of having changed anything, but now it no longer copies the output files at the end of processing. They are all created correctly, but just end up hanging around in the EAC working directory.

I put it in debug mode, and have had a look at both the config and the generated script, but can't see where this copy is even supposed to happen!

Not sure if this has anything to do with it, but I'm running on Vista, and my final destination directory is on a network drive, but yes, I can access it just fine.

Any ideas? I had a search through this thread, but couldn't find anything relevent. Of course, that doesn't mean that it isn't there!!!

Quote
The "copy" is supposed to happen during the processing itself. The output directory is specified in (for example) %trackdir_Flac%, so when it passes the command to the flac executable, the flac executable is actually responsible for putting the output file in the correct place.

If everything is being placed in the working directory, perhaps your @outroot@ variable has been modified to what the working directory is?

Try looking at the UserOutputNames section of your ini file.

@ Leonlikestrees:
Are you using track or image mode? Check to make sure you have it creating your output directory, that it is changing the working directory to there (PUSHD ...), and that you have left all the MOVE commands in your REACT image CFG.
Code: [Select]
MOVE /Y "@image@" %dest%
MOVE /Y "@cuesheet@" %dest%
MOVE /Y "@eaclog@" %dest%
...


@ Nago:
If Leon' is using image mode then it creates the image in the same directory as whatever temp directory he is ripping to (also where he ought to save his album art). Once the image process is over then it moves all contents to the image directory.

@ Akkurat:
I second your motion to have a subforum for REACT. You suggested to me also that this should have it's own site through sourceforge... probably also a good idea considering how many people are working in this and have their own versions of the code.
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-11-30 10:14:17
But if I decided to accept the honor, I would seriously think about moving REACT development to dedicated website or sourceforge. Now this thread and all wikis & who knows what are too cumbersome to handle. A proper forum is needed for faqs, help, bugs, wishlist, development, etc. Also I would like to think about the separate cfg-files situation; do we update those too & should we amend some of the additional functionalities found in Category:REACT guide. What do you think about these Nago?
...
EDIT: Actually we could stay here if we could get a dedicated forum with subforums like foobar2000 (http://www.hydrogenaudio.org/forums/index.php?showforum=28) has.
LMAO. There's no way you are going to get a separate forum (with subforums) for REACT!  Have you compared the number of posts per day to this thread to the number of posts in the foobar forums?

Before you start taking the REACT development away from Hydrogen Audio and this thread I think you need to consider that REACT is actually tycho's application first and foremost, and has gotten to this point with the help of the Hydrogen Audio community.

If you're trying to scare me back into development then you are going the right way.
Title: REACT 2 Released
Post by: Akkurat on 2007-11-30 10:48:10
But if I decided to accept the honor, I would seriously think about moving REACT development to dedicated website or sourceforge. Now this thread and all wikis & who knows what are too cumbersome to handle. A proper forum is needed for faqs, help, bugs, wishlist, development, etc. Also I would like to think about the separate cfg-files situation; do we update those too & should we amend some of the additional functionalities found in Category:REACT guide. What do you think about these Nago?
...
EDIT: Actually we could stay here if we could get a dedicated forum with subforums like foobar2000 (http://www.hydrogenaudio.org/forums/index.php?showforum=28) has.
LMAO. There's no way you are going to get a separate forum (with subforums) for REACT!  Have you compared the number of posts per day to this thread to the number of posts in the foobar forums?

Before you start taking the REACT development away from Hydrogen Audio and this thread I think you need to consider that REACT is actually tycho's application first and foremost, and has gotten to this point with the help of the Hydrogen Audio community.

If you're trying to scare me back into development then you are going the right way.

I'm not trying to scare you back.  No no.. not at all. But I guess more is merrier.

Okey, reading from your LMAO response, I guess the dedicated forum is out of the question. But I don't understand why the post count should matter? Although isn't 36 pages or 896 replies (and counting) enough for one thread?? I say it's more than enough.

And yes, I had Tycho in my mind. All my comments were initial ponderings what to do to make helping & development easier for users and developers. I've read the Tychos disclaimer and I do know how to fork it and acknowledge his input if it's a good idea to move to elsewhere. And the HA community, yes I acknowledge it too but I think that they also would benefit from actions to make REACT support more easier to use and so on... just initial thoughts.. to get input from users, like you did. Thanks.
Title: REACT 2 Released
Post by: Akkurat on 2007-11-30 11:14:59
I'm having some weird problems. REACT was working fine for me, I'm not aware of having changed anything, but now it no longer copies the output files at the end of processing. They are all created correctly, but just end up hanging around in the EAC working directory.

I put it in debug mode, and have had a look at both the config and the generated script, but can't see where this copy is even supposed to happen!

Not sure if this has anything to do with it, but I'm running on Vista, and my final destination directory is on a network drive, but yes, I can access it just fine.

Any ideas? I had a search through this thread, but couldn't find anything relevent. Of course, that doesn't mean that it isn't there!!!

1. Which version are you using? Original REACT or Synthetic Souls mod?
2. Have you updated REACT since it was working fine? And if yes, can you remember which was the previous version you used?
3. Have you changed the cfg-files? If yes, post the contents of the track.cfg or image.cfg (select the one which you're using) file here using CODEBOX tags.
4. Have you changed the ini-file? If yes, post the contents of this file here using CODEBOX tags.
5. Using track or image mode?
6. What output files aren't copied?
7. What's the artist & album names you're ripping?
8. Does this problem happen with all cd's or with just one cd?

Let's start with these.
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-11-30 11:29:19
But I don't understand why the post count should matter? Although isn't 36 pages or 896 replies (and counting) enough for one thread?? I say it's more than enough.
There is a difference between using more than one thread, and suggesting a dedicated forum with subforums.

I think a "REACT  Wishlist" thread makes sense.  A "REACT development" thread makes sense, if more than one person is developing.  FAQs, guides and help are far better suited to a wiki.  We have one of those, and I'm the only one who has written any supplimentary guides thus far (IIRC).
Title: REACT 2 Released
Post by: Akkurat on 2007-11-30 12:12:29
But I don't understand why the post count should matter? Although isn't 36 pages or 896 replies (and counting) enough for one thread?? I say it's more than enough.
There is a difference between using more than one thread, and suggesting a dedicated forum with subforums.

I think a "REACT  Wishlist" thread makes sense.  A "REACT development" thread makes sense, if more than one person is developing.  FAQs, guides and help are far better suited to a wiki.  We have one of those, and I'm the only one who has written any supplimentary guides thus far (IIRC).

Sounds fine, except I think that for support/helping with problems there should be a place where users could create new topics per one problem/user. That way problems would be easier to handle.. to helpers and helpees & help searchers (if people write good topic descriptions).

What if you take control of the forum, wikis and such and rest of us (me, Nago, ?) would take care of other aspects of REACT.. mainly development and main support? Or do you want to ditch all responsibilities?
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-11-30 12:24:16
HA is all the forum I need for now, thank you.
Title: REACT 2 Released
Post by: Akkurat on 2007-11-30 12:30:53
HA is all the forum I need for now, thank you.

I meant that in this HA forum.

EDIT: maybe we all should take a little break and think about the role we would like to take in the future.
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-11-30 13:30:21
What if you take control of the forum, wikis and such and rest of us (me, Nago, ?) would take care of other aspects of REACT.. mainly development and main support? Or do you want to ditch all responsibilities?
I meant that in this HA forum.
I don't wish to 'take control' of anything.  I post to this thread, as I do to many others, to help our members.  This thread and the wiki are community property, and should remain so.  Anyone can post to this thread, and proven members can write in the wiki.  That's the way it should be.  The benefit of both a forum and a wiki is (supposed to be) that multiple people can contribute.  It would be wrong for me to claim responsibility for this thread or the wiki artticles, and I wouldn't want to.

EDIT: maybe we all should take a little break and think about the role we would like to take in the future.
This all does seem to be getting a little confused.

I wonder whether a short-term resolve would be for me to add your amends (which look fine to me) and nago's amends to b16m and release it as b16n.  Depending what is decided , this could then be my final release.  This would give everyone some time to take stock.
Title: REACT 2 Released
Post by: nago on 2007-11-30 20:50:21
to SyntheticSoul, Akkurat: my take on developing react any further is that I am "working on it" and am working on something at the moment. I'm still familiarizing myself with AU3 and I'm trying to work out all the kinks, I have yet to look over the changes in 16m, I have a little project I'm working on first.

Still, the project belongs to Tycho. I am still not clear what his current position on React is; if he intends to develop it any further, or if he is done for now.

Would I like to maintain react (or a mod)? to a point, yes. I'm very interested in the project and I'd like to see all the kinks hammered out, though I'm not a very experienced coder (I manage to get by alright, but at a much slower pace than SS) and at this point I don't feel confident just jumping in and taking over what Synthetic Soul has done. I'd feel a lot better assisting SyntheticSoul, though he's made it very abundantly clear that he's through with this for now.

Synthetic Soul has announced a great difficulty in taking over a project that was written by someone else in a different mindset, imagine how difficult it must be to take over THAT project and have to deal with two trains of thought that aren't yours?

I think the best solution would be to patch up 2.0+ssb16m as best as we can, but then focus on a ground-up rewrite of a new version if we wish to add any significant features, though this should probably be handled by tycho if HE'S interested.

I don't know. Why don't we just chill out for a while? It's time for the holiday season. Get some eggnog... Have a blast.... =)
Title: REACT 2 Released
Post by: Martin H on 2007-11-30 23:36:48
I really do not hope that Synthetic Soul decides to leave REACT development for good, as it would be a terrible waste for all the REACT users, to loose such a great asset  I myself would much rather preffer to have nago and Akkurat just make there own mods if they wan't to and just add them to there own section of the REACT mods wiki page. This way, then Synthetic Soul could focus on the things that he finds important/interresting and then others could take REACT into whatever direction they feel is best in their mindset.

@Synthetic Soul

If you decide to quit, then i just wanted to say thank you so much for all your great work on keeping REACT up-to-date in Tycho's absence, and i personally really hope that you will reconsider, but just please know that if you do decide to quit, then you will surely be missed
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-12-01 09:31:16
Hello! It's time for more REACT questions! Answer Riddles, Win fabulous prizes!
Completely missed this post.

1) Why does the ACDIR track split section of images.cfg have its own ini settings? ($n $~t [$~a]) -- My take is that these are used internally by ACDIR and not replaced by REACT. Do they offer some significant benefit over using something like $track$ - $title$ [$artist$]?
Good question.  As you say ACDIR does use its own token system, but I can't think of any reason why you couldn't just use REACT tokens, which would give you the added benefit of using REACT's illegal character substitution.  Remember that you would have to use $q@artist@$q in place of $#a.

However, remember this would only work for album-level values.  ACDIR is parsing a whole album, and therefore $~t will refer to the title of the track currently being processed.  With this is mind, you cannot escape using ACDIR tokens for track-level values.

2) Does TAK not support ReplayGain? Is there a reason TAK RG is absent from the tracks.cfg in ssb16l?
You can write RG tags to TAK, but TAK does not have its own gain calculator, unlike FLAC and WavPack - or metamp3 for the MP3 files.

3) What does the DebugMode setting in the .ini do? Why's it separate from the regular 'Debug' setting?
I added DebugMode, and it's really a dev setting, to see what the REACT application is doing in certain situations, rather than the config.  It's only really useful for bug reporting REACT, rather than debugging your config.  Setting DebugMode to 1 will result in various text being written to a file called debuggng.txt in the REACT directory.  It will not affect the batch file like Debug.

Still, the project belongs to Tycho. I am still not clear what his current position on React is; if he intends to develop it any further, or if he is done for now.
Me either, and I'm very concerned about cutting him even further out of the loop.  I rather fell into the role of REACT maintainer, after adding the Additional Meta Data dialogue, and then further with EAC 0.99 and the new log file naming.  I have always been concerned about my position, and certainly never intended to be seen as the sole developer.

I'd feel a lot better assisting SyntheticSoul, though he's made it very abundantly clear that he's through with this for now.
I'm certainly uncomfortable hacking REACT any further to resolve some minor issues that don't appear to affect the majority of REACT users.

Synthetic Soul has announced a great difficulty in taking over a project that was written by someone else in a different mindset, imagine how difficult it must be to take over THAT project and have to deal with two trains of thought that aren't yours?
I have never meant to say that.  What I have said is that some of the unresolved (or recently resolved) issues would be easier if the core REACT methodology was different.  I think tycho's methodology has proved very successful thus far, and I've always found the code to be well thought out.  On the other hand, some of the fixes I've made - certainly more recently - are probably not very pretty.

I don't know. Why don't we just chill out for a while? It's time for the holiday season. Get some eggnog... Have a blast.... =)
Indeed.  Hopefully we will be better occupied over the festive season. 

If you decide to quit, then i just wanted to say thank you so much for all your great work on keeping REACT up-to-date in Tycho's absence, and i personally really hope that you will reconsider, but just please know that if you do decide to quit, then you will surely be missed
Thanks for the kind words Martin. 

The crux of the biscuit is that I have no real interest in progressing REACT 2.  IMHO it works fine as it is, 99.5% of the time.  I have actively fixed bugs like the log file naming, as these are issues that would affect all users.

Whatever the outcome I will certainly still play an active role in this thread, just as I try to be active in other threads on HA that interest me.  So, if you are more worried about my support being dropped then please don't worry.  With regard to my discussions with Akkurat: what I am not prepared to do is stand up and say that I will be "forum and wiki God" and will control all support.  I will support where I can, when I choose, just as you have done, and many, many others.  I realise that I have been one of the most active in this thread, but we should not forget - or dissuade - the valuable input of others, like yourself.
Title: REACT 2 Released
Post by: Akkurat on 2007-12-01 14:01:40
What if you take control of the forum, wikis and such and rest of us (me, Nago, ?) would take care of other aspects of REACT.. mainly development and main support? Or do you want to ditch all responsibilities?
I meant that in this HA forum.
I don't wish to 'take control' of anything.  I post to this thread, as I do to many others, to help our members.  This thread and the wiki are community property, and should remain so.  Anyone can post to this thread, and proven members can write in the wiki.  That's the way it should be.  The benefit of both a forum and a wiki is (supposed to be) that multiple people can contribute.  It would be wrong for me to claim responsibility for this thread or the wiki artticles, and I wouldn't want to.

First I must apologize for my bad choice of words, I had 3 hours of sleep behind me. But your response was uncalled-for as I see it as a indirect attack towards me. There's clearly tension between us, which I don't understand at all. I didn't come here to fight, but I've got to mention that you must have understood what I meant and you shouldn't speak that we're on the same line and "..take on the mantle" & "successor can deal.." at the same time. I'm done with this subject. No harm intended.

I wonder whether a short-term resolve would be for me to add your amends (which look fine to me) and nago's amends to b16m and release it as b16n.  Depending what is decided , this could then be my final release.  This would give everyone some time to take stock.

Fine by me.

I think the best solution would be to patch up 2.0+ssb16m as best as we can, but then focus on a ground-up rewrite of a new version if we wish to add any significant features

Sounds good. Initially I had thoughts to add some additional features without rewrite but I ditched that idea. Currently I'm thinking of building a GUI settings based react "imitation" with no ini/cfg user editing possibilities. But it's still on the thinking state.

Still, the project belongs to Tycho. I am still not clear what his current position on React is; if he intends to develop it any further, or if he is done for now.
Me either, and I'm very concerned about cutting him even further out of the loop.  I rather fell into the role of REACT maintainer, after adding the Additional Meta Data dialogue, and then further with EAC 0.99 and the new log file naming.  I have always been concerned about my position, and certainly never intended to be seen as the sole developer.

I really don't understand why you're so cautious. If I remember correctly, his last post to this thread is from 1 year ago.. anyways, he's been away for very long time. Which although doesn't mean anything; everyone is free to fork his original REACT as long as you follow his restrictions of "any purpose permission". Do what you want, acknowledge his input and stop the unnecessary bowing to the king.. I bet that Tycho also would like to see REACT/mods grow, if not, he should have restricted the code. I'm not trying to be rude or anything (although some of you may think that I'm rude without even trying ), this is just how I see the situation.
Title: REACT 2 Released
Post by: nago on 2007-12-01 18:16:49
Completely missed this post.

Thanks for the answers.

Me either, and I'm very concerned about cutting him even further out of the loop.

Couldn't have said it better myself. I don't want to offend, as he's done a fantastic job. I don't mind tinkering with your code, since I've at least talked to you. I've never even 'met' tycho... It seems rude to try to maintain a project of someone you've never met!

However, if he were to give us his blessing, I'd feel a lot better monkeying around with his code.

I have never meant to say that.  What I have said is that some of the unresolved (or recently resolved) issues would be easier if the core REACT methodology was different.  I think tycho's methodology has proved very successful thus far, and I've always found the code to be well thought out.  On the other hand, some of the fixes I've made - certainly more recently - are probably not very pretty.

I didn't mean to insult tycho's coding, It's just a matter of fact that it's hard to adapt to someone else's style, especially if you're not particularly experienced. It can't have been easy for you, and I doubt it'd be easier for anyone else to inherit this at this point. All I meant was that for efficiency's sake, it would just likely be easier to start over. As Tycho's program stands, however, it works 99.9% of the time for the features it advertises, so certainly no complaints against Tycho.

Indeed.  Hopefully we will be better occupied over the festive season.

Cheers!



The crux of the biscuit is that I have no real interest in progressing REACT 2.  IMHO it works fine as it is, 99.5% of the time.  I have actively fixed bugs like the log file naming, as these are issues that would affect all users.

This is where I think I fit in. I'm very interested in developing the tracks mode much, much further. I know that you and Tycho don't have much interest in it, so that's why I figure I could help out. I've been modifying my version to accommodate a track ripper quite a bit more, and I've just been polishing and bug testing mostly. If you're interested, I'll post what I've done under the mods section of the wiki; except I did already try but it said it was locked. Who do I need to contact about that, again?




Akkurat: You mentioned you made some fixes since 22b16m? What changes did you make, and what do they fix? could I see the source?
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-12-01 22:12:39
First I must apologize for my bad choice of words, I had 3 hours of sleep behind me. But your response was uncalled-for as I see it as a indirect attack towards me. There's clearly tension between us, which I don't understand at all. I didn't come here to fight, but I've got to mention that you must have understood what I meant and you shouldn't speak that we're on the same line and "..take on the mantle" & "successor can deal.." at the same time. I'm done with this subject. No harm intended.
I feel that I have to respond to this... but I really do not know what to say.  I can't see how my post was an attack of any sort.  I don't really understand the bit about "the same line".

I really don't understand why you're so cautious. If I remember correctly, his last post to this thread is from 1 year ago.. anyways, he's been away for very long time. Which although doesn't mean anything; everyone is free to fork his original REACT as long as you follow his restrictions of "any purpose permission". Do what you want, acknowledge his input and stop the unnecessary bowing to the king.. I bet that Tycho also would like to see REACT/mods grow, if not, he should have restricted the code. I'm not trying to be rude or anything (although some of you may think that I'm rude without even trying smile.gif), this is just how I see the situation.
I do see what you're saying, in part, but I also think that it is only right to acknowledge the creator of a piece of software.  It's easy to disect software and suggest improvements; it's not so easy to conceptualise and create something fresh.  Given that tycho is the brains behind REACT I would not like to see him excluded in any way.

I didn't mean to insult tycho's coding, It's just a matter of fact that it's hard to adapt to someone else's style, especially if you're not particularly experienced. It can't have been easy for you, and I doubt it'd be easier for anyone else to inherit this at this point.
No, I do know that, I just wanted to clarify that I have never meant to complain about the state of the REACT code.

This is where I think I fit in. I'm very interested in developing the tracks mode much, much further. I know that you and Tycho don't have much interest in it, so that's why I figure I could help out. I've been modifying my version to accommodate a track ripper quite a bit more, and I've just been polishing and bug testing mostly. If you're interested, I'll post what I've done under the mods section of the wiki
I am very intrigued to hear what plans there are for expanding REACT in general.  If you have some ideas and have implemented some updates already I'd be very interested to hear.

If you're interested, I'll post what I've done under the mods section of the wiki; except I did already try but it said it was locked. Who do I need to contact about that, again?
The wiki was open to all members, but a little while back was locked down due to continued  vandalism.  Just PM Jan S. (http://www.hydrogenaudio.org/forums/index.php?showuser=21) and ask him for access.

Akkurat: You mentioned you made some fixes since 22b16m? What changes did you make, and what do they fix? could I see the source?
Akkurat made some nice improvements to the CreateAllCuesheets code.  I would post 2.0.ssb16n but I seem to be locked out of my website.
Title: REACT 2 Released
Post by: nago on 2007-12-02 03:42:58
I am very intrigued to hear what plans there are for expanding REACT in general.  If you have some ideas and have implemented some updates already I'd be very interested to hear.

It'll be a present for Christmas.  It's not all THAT much yet, but it takes me a while to learn the ropes of a new scripting language. I'm finding that AU3 is needlessly picky about conditional statement syntax...  I'm hammering out quite a few things yet, but when I feel it's ready for a testing phase, I'll be sure to at least let this thread know about it.
Akkurat made some nice improvements to the CreateAllCuesheets code. I would post 2.0.ssb16n but I seem to be locked out of my website.

I'm eager with shiny eyes.
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-12-03 17:29:16
EDIT: Actually I'm not quite sure (haven't checked) that the Global $gui_album and $gui_artist variables contains true values all the way thru the code. The variables maybe changed in the source after they've been read initially. Bad design, create new FINAL varibles and use them if $gui_album and $gui_artist are not suited for this task.
The processing instance of REACT has no knowledge of $gui_album and $gui_artist.  I don't think that it could extract the values from the EAC main dialogue, because at the time it runs EAC should be focussing the ripping dialogue instead.
I have just realised that this is definately not a good option.  The processing instance cannot rely on the information displayed in the GUI, as it may not reflect the disc currently being processed.

This is definately true if the Compression Queue is being used.

I actually realised this today, while documenting what I feel to be "interesting" information that needs to be considered when updating REACT 2, or writing a replacement.  It could really been seen as a merging of some of the crucial points that have been discussed in the thread (and possibly the REACT 1 thread).  I haven't worked out the best way to post this information, in case anyone finds it of use, but I certainly intend to.
Title: REACT 2 Released
Post by: singaiya on 2007-12-05 06:15:46
Just trying out REACT 2, and I've run into these problems:

Any tips appreciated, especially the AAC tagging issue. I have NeroAacTag.exe in the tools directory, but don't have a clue how to configure REACT to use it instead of Atomic Parsley.
Title: REACT 2 Released
Post by: nago on 2007-12-05 07:12:40
1) Just tried it out, I don't get any such message. Did you leave "Debug" mode on? Because that's what it does.

2) I believe this is because in image mode, it is assumed that you want to keep the image, otherwise you'd rip to tracks mode, no? I could be mistaken, but I think this is a "Feature" and not a bug.

3) Huh. I just tried with the latest Nero AAC codec and I see this too. Maybe the flags have changed since Tycho coded for NeroAac? I'll look into it...
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-12-05 09:22:14
Just trying out REACT 2, and I've run into these problems:
  • When in track mode (F4), why does the Nero encoder need the user to "press any key to continue" after each track is encoded?
  • If I use F10 and then split the tracks, the tak image is not deleted.
  • In either mode, Nero AAC tracks don't get tagged.
Any tips appreciated, especially the AAC tagging issue. I have NeroAacTag.exe in the tools directory, but don't have a clue how to configure REACT to use it instead of Atomic Parsley.
2. nago hit this one on the head really.  Why use TAK in image mode and then not want the image?  If you want to use image mode but not keep the image (which I know has some benefits) use set ImageExt=wav in your INI

3. Check this post (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=50273&view=findpost&p=522348).  If that doesn't help try searching this thread for neroaactag (search box, bottom left of thread page) or setting Debug=1 and posting here what command you are using.
Title: REACT 2 Released
Post by: nago on 2007-12-05 19:54:40
3. Check this post (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=50273&view=findpost&p=522348).  If that doesn't help try searching this thread for neroaactag (search box, bottom left of thread page) or setting Debug=1 and posting here what command you are using.


This solution works very well. Make sure to copy the entire block of code over the existing Nero AAC block to get VA and embedded cover support.

One thing it is missing is support for Synthetic Soul's additional metadata, though.
...Which leads me to a question of my own. Looking over the metadata code in tracks.cfg, how does it add the additional user-added stuff to the track? Or is it just there simply for users to be able to add that sort of thing?
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-12-05 20:11:47
Looking over the metadata code in tracks.cfg, how does it add the additional user-added stuff to the track? Or is it just there simply for users to be able to add that sort of thing?
Yes, it's up to the user to amend the config accordingly.  The dialogue is merely an easy way for the user to deal with additional tokens in their config.  The user must edit their config to deal with any new tokens they choose to add.
Title: REACT 2 Released
Post by: Dave_K on 2007-12-05 22:30:21
I've just installed REACT, but it seems to have stopped my installation of EAC from accessing freedb. It was working perfectly minutes earlier, and I can still access freedb in other applications. It isn't a firewall issue and I've tried different servers without any success. Even reinstalling EAC hasn't fixed it. Any ideas?

Also, I'm very confused about how to create a single album image using this tool. I can see how to create individual tracks in different formats, but what if I want all the tracks to be stored as a single file?

I've been looking for a way of quickly backing up my CDs to FLAC images with embedded cue sheets so I'd really like to get this utility working.

Thanks.
Title: REACT 2 Released
Post by: nago on 2007-12-06 00:40:54
I've just installed REACT, but it seems to have stopped my installation of EAC from accessing freedb. It was working perfectly minutes earlier, and I can still access freedb in other applications. It isn't a firewall issue and I've tried different servers without any success. Even reinstalling EAC hasn't fixed it. Any ideas?

Also, I'm very confused about how to create a single album image using this tool. I can see how to create individual tracks in different formats, but what if I want all the tracks to be stored as a single file?

I've been looking for a way of quickly backing up my CDs to FLAC images with embedded cue sheets so I'd really like to get this utility working.

Thanks.


1) You need to enter your email to be able to use freedb, look under the File menu and click "Freedb configuration" (F12). If it isn't an issue with your email, you might need to switch the server you're using, click the "get active servers" button and pick a new one.

2) In the .ini file, set the "image extension" (ImgExt) to "flac" instead of "wav", and use F10 to invoke the images ripping process instead of using F4 to invoke the tracks ripping instance.
Also, make sure you start EAC by clicking the react exe every time you start it up, otherwise the hotkeys wont work.

Hope this settles it for you.
Title: REACT 2 Released
Post by: Dave_K on 2007-12-06 00:56:24
1) You need to enter your email to be able to use freedb, look under the File menu and click "Freedb configuration" (F12). If it isn't an issue with your email, you might need to switch the server you're using, click the "get active servers" button and pick a new one.


My working email address is still entered so I don't think that's the problem. I tried clicking "Get active freedb server list", but it comes up with "Error - Can't connect host". The same error message as when I try to get CD information.

2) In the .ini file, set the "image extension" (ImgExt) to "flac" instead of "wav", and use F10 to invoke the images ripping process instead of using F4 to invoke the tracks ripping instance.
Also, make sure you start EAC by clicking the react exe every time you start it up, otherwise the hotkeys wont work.


That was the first thing I tried but it doesn't seem to work. It creates the directory structure for the flac image, and places the cue sheet there, but doesn't open the encoder window at all. If I set it to create individual flac files then that works fine, so it isn't a problem with the flac encoder. I am starting EAC using REACT.exe and am using F10 to start the process. I was wondering if anything needed to be changed in the REACT-image.cfg before flac image ripping would work?
Title: REACT 2 Released
Post by: nago on 2007-12-06 01:38:38
In that case, I don't know why FreeDB would have stopped working, react doesn't modify anything to do with FreeDB apart from enabling the setting that fetches stuff from FreeDB manually...
Try starting eac without react and see if freedb works again. If not, try reinstalling EAC. not the most graceful solution, but I can't think of anything else.

For flac images... This should work by default. If the encoder window isn't opening (I assume it's just finishing so quickly that you don't catch it), the commands are probably getting passed incorrectly to ACDIR somehow, and it's erroring out.

Set "Debug=1" in your ini file, this will keep the encoder window open in case of an error, and will leave the .bat files behind after processing is done so you can go in and see what went wrong.
The encoding window should stay open for you to look at; if you see an error in there, can you let me know what it is?
Title: REACT 2 Released
Post by: singaiya on 2007-12-06 04:05:30
nago & Synthetic Soul, thank you for the help.

1. Indeed I did have debug=1 for some reason.
2. SS: I was ripping to tracks using F10 simply because in the readme.html it says in the examples for tracks to use F10, or alternately to use F4 with some shortcomings. Then when I found your wiki page on setting up Tak, I blindly copied the ImageExt=tak instructions without realizing that it meant it would leave the image. It makes sense, it's just that I followed the wiki instructions to the letter instead of thinking
3. Thanks for the link. Last night I searched the thread for "nero tagging" instead of neroaactag and didn't find that post. I've copied the code and am just waiting for freedb to come back online to try the next disc out.

Thanks again!
Title: REACT 2 Released
Post by: nago on 2007-12-06 04:21:26
Quote
I've copied the code and am just waiting for freedb to come back online to try the next disc out.


Dave_K: This is probably your FreeDB problem, then...
Title: REACT 2 Released
Post by: bilbo on 2007-12-06 05:07:53
Someone on the EAC forum mentioned that freedb has changed their address to:

http://freedb2.org:80/~cddb/cddb.cgi (http://freedb2.org:80/~cddb/cddb.cgi)

This now workes for me.
Title: REACT 2 Released
Post by: Dave_K on 2007-12-06 13:28:39
In that case, I don't know why FreeDB would have stopped working, react doesn't modify anything to do with FreeDB apart from enabling the setting that fetches stuff from FreeDB manually...
Try starting eac without react and see if freedb works again. If not, try reinstalling EAC. not the most graceful solution, but I can't think of anything else.

From the sound of it the occurence of the freedb problem is just a coincidence, not something related to the installation of REACT. I'll read the EAC forum and hopefully work out how to get it connecting to freedb again. Still, it's funny how Foobar's tagging still seems to work when it's a freedb problem, maybe Foobar updates automatically.

For flac images... This should work by default. If the encoder window isn't opening (I assume it's just finishing so quickly that you don't catch it), the commands are probably getting passed incorrectly to ACDIR somehow, and it's erroring out.

Set "Debug=1" in your ini file, this will keep the encoder window open in case of an error, and will leave the .bat files behind after processing is done so you can go in and see what went wrong.
The encoding window should stay open for you to look at; if you see an error in there, can you let me know what it is?

I think this is the relevant section of the encoder output:

Code: [Select]
D:\Rips>C:\PROGRA~1\REACT2\tools\flac.exe -5 -f --replay-gain -T "artist=Rema R 
ema" -T album="Wheel in the Roses" -T totaltracks="4" -T date="1980" -T genre=""
 -T comment="Created with EAC/REACT2, 2007-12-06" -T encoding="Flac 1.1.3 -5 -f"
 --tag-from-file="cuesheet=D:\Rips\Rema Rema - [1980] Wheel in the Roses.cue" --
tag-from-file="eaclog=D:\Rips\Wheel in the Roses.log" "D:\Rips\Rtmp660-!.wav" -o
 "D:\Rips\Rema Rema - [1980] Wheel in the Roses.flac"
ERROR: (--tag-from-file) can't open file for tag value
Type "flac" for a usage summary or "flac --help" for all options


D:\Rips>MOVE /Y "D:\Rips\Rema Rema - [1980] Wheel in the Roses.flac" "C:\Users\Dave\Music\EAC\images\Rema Rema"
The system cannot find the file specified.


D:\Rips>MOVE /Y "D:\Rips\Rema Rema - [1980] Wheel in the Roses.cue" "C:\Users\Dave\Music\EAC\images\Rema Rema"
  1 file(s) moved.

The problem seems to be that it can't add tags from the cue sheet, but I can't work out why. As you can see, the cue sheet is being created in the correct location, and with the correct file name. It's the one file that's moved into the directory created for the files by REACT. Any idea what's going wrong?
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-12-06 13:41:38
It's not the cuesheet, it's the log file.

I'm trying to work out why REACT is looking for "D:\Rips\Wheel in the Roses.log".  Are you using EAC 0.99?

Edit: Doh!  The correct question would have been: are you using my mod.  To which your answer must be: no.

The original REACT cannot cope with EAC 0.99 log file naming.  Please download my mod (http://wiki.hydrogenaudio.org/index.php?title=REACT:Mods#Synthetic_Soul.27s_Mod) and replace the original REACT.exe.
Title: REACT 2 Released
Post by: nago on 2007-12-06 22:56:15
Maybe we should make a new News Item for ssb16n and update the wiki links accordingly so that people don't assume 2.0 is the latest, It's the same mistake I made, too.

On the react wiki thread, we could probably say,
"Download react 2.0 from [here (react 2.0 download thread)], but an updated version exists [here (react mod wiki page)]."
"Support for both 2.0 and 2.0ssb16n is available [here (New support thread)]"

and link to the same thread from the react mod wiki page? I'll leave the decision up to you though, Synthetic Soul. I'll still frequent the thread and help out


Also, I've noticed you've posted b16n... thank you!  I look forward to tearing it apart testing it for you
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-12-07 07:31:38
It's a good point; it's happening too frequently now.

I have edited the download post (http://www.hydrogenaudio.org/forums/index.php?showtopic=50259) with some nice red text.

That should do it, but possibly we may need a wiki page or post (in that thread?) that explains the reasoning.
Title: REACT 2 Released
Post by: nago on 2007-12-08 19:59:16
Hello! Afraid it's time for my weekly REACT questions. I should probably start paying rent for this thread, since I'm in here so much..

I've recently been trying to fully replace AtomicParsley with NeroAacTag and in so doing I have started replacing the disc switches for the MetaData additions.

1) There are some illegal characters that can mess up the DiscName parts, at this line:
Code: [Select]
SET trackDir=%trackDir%\$discname$

I've gotten it to mess up quite a bit with Carets (^), where it appends the next line onto the command and does some funny things. I think things either need to be quoted (like "@discname@") or the $$ vars should replace the caret as well.

2) Is there a reason that you cannot have both Discname and Discnumber in your modified .cfg?

3) I assume that this part of the code:
Code: [Select]
IF "@discname@" EQU "" GOTO end_discname
SET discName=discname
SET discName=@%discname%@
IF "@discname@" EQU "%discName%" GOTO end_discname

Checks to see if (A) @discname@ is null or (B) @discname@ isn't getting substituted at all and is still literally "@discname@". Correct?
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-12-09 20:32:04
Title: REACT 2 Released
Post by: nago on 2007-12-10 00:19:31
Hmm.. I can se how that would be a problem, the caret is an escape character in DOS.  I suppose it could be treated as an illegal character by REACT.  I'm not sure about quoting it though, as it needs to appended to a filename IIRC.  That said, DOS may be happy doing things like "C:\Folder with a space\"filename.mp3.  Don't know.


Since you know your way around the replacement schemes of REACT better than anyone (possibly perhaps due to Akkurat and My constant pestering...) Could you draw up an example of the easiest way to do this? I don't want to dive in and make an incision and break something else...

Do we have to replace the Caret or is there a way to escape it? I don't know a whole lot about DOS, I feel a little bit lost working with it.
Title: REACT 2 Released
Post by: Dave_K on 2007-12-10 22:43:09
Thanks for your help with this utility. I've now got it ripping CDs just how I wanted.

The only thing that's still confusing me is the way it embeds album art into a FLAC image.

This works fine when using REACT to do the task, the album art shows up in Foobar and it's something I'd like with all my rips. Unfortunately around half of the albums I've tried don't have covers available on the sites searched by Cover Art Downloader, I'd like to add album covers manually when that's the case.

What I can't work out is how to manually replicate the embedding done by REACT using other software. I can see this section of the REACT-image.cfg:

IF %embed_cover%==1 SET Cover_tag=--picture="|image/jpeg|||@cover@"

Yet looking at the tags of a REACT ripped image with successfully embedded album art, it doesn't seem to have that Cover_tag.

The furthest I've got with this is creating a Cover_tag in Foobar and pasting that information into it. That doesn't seem to embed the art, it only displays it when the JPEG is in the same directory. What do I need to do?

Is there any way to have Cover Art Downloader search a local directory? That way I could always download the cover art first...
Title: REACT 2 Released
Post by: nago on 2007-12-10 23:23:55
Edit: To look for local album art, create a "CoverDownloaderLocalPath" in the Settings section of your .ini file, and set this to the path of your existing album art... For instance, you can set it to something like C:\Music\$album$\$artist$\folder.jpg and it'll use that picture if it finds it, but it will open the coverdownloader if it can't. One thing to note is that if you specify a directory here, it could mess stuff up a bit, so specify the exact filename to look for.

Now, this is just my take and I might be wrong. I'm sure Neil will correct me if I'm misleading you


As for your question about manually embedding art, I don't think you'll be able to do it from Foobar. The "Cover_Tag" you are trying to set is actually the name of a variable, and the content you are setting this tag with is actually command line options.
So to manually add some cover art, run something like the following command in a prompt: (win+r "cmd")
"C:\Program Files\React\Tools\Flac.exe" --picture="|image/jpeg|||PUTTHEFILENAMEOFTHEJPGHERE" "Flac-Filename-goes-here"
Title: REACT 2 Released
Post by: Dave_K on 2007-12-11 00:14:53
Edit: To look for local album art, create a "CoverDownloaderLocalPath" in the Settings section of your .ini file, and set this to the path of your existing album art... For instance, you can set it to something like C:\Music\$album$\$artist$\folder.jpg and it'll use that picture if it finds it, but it will open the coverdownloader if it can't. One thing to note is that if you specify a directory here, it could mess stuff up a bit, so specify the exact filename to look for.


Thanks, that worked fine. A bit of a pain that it can't display everything in the directory, but still better than having to embed them afterwards.
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-12-11 07:33:34
Edit: To look for local album art, create a "CoverDownloaderLocalPath" in the Settings section of your .ini file, and set this to the path of your existing album art... For instance, you can set it to something like C:\Music\$album$\$artist$\folder.jpg and it'll use that picture if it finds it, but it will open the coverdownloader if it can't. One thing to note is that if you specify a directory here, it could mess stuff up a bit, so specify the exact filename to look for.
Thanks, that worked fine. A bit of a pain that it can't display everything in the directory, but still better than having to embed them afterwards.
Try using:

Code: [Select]
CoverDownloaderLocalPath=C:\Music\**\*.jpg

... instead.  Take a look at this post (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=50273&view=findpost&p=518172) for more info.  Ensure that you are using Album Art XUI (http://sourceforge.net/projects/album-art/), and have all relevant variables (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=50273&view=findpost&p=517705) set correctly.

Edit: Actually, in addition to that info, note that you will need to set CoverDownloaderXUI=1 to use XUI's /localImagesPath
Title: REACT 2 Released
Post by: nago on 2007-12-13 02:18:23
Edit: Post outdated, see post below instead!
Title: REACT 2 Released
Post by: Akkurat on 2007-12-13 03:06:42
I am sorry to say that I am still having problems with cuesheet generation with REACT.
...
Key point that this demonstration does address:
1) This demo will NEVER mistake one cuesheet for another. At the worst, it skips ones it cannot locate after a delay.

Problems still with ssb16n? The current n-version will not mistake cuesheets for another! + it asks user to try again/stop/ignore if something went wrong.

(This is my quick response.. I was just going to bed (it's 5 o'clock in the morning).. I'll check your post again tomorrow when I've (hopefully) rested brain and eyes.)
Title: REACT 2 Released
Post by: nago on 2007-12-13 03:12:50
Yeah, Akkurat. Sometimes the keysends fail and it has to retry several times, because while it might not mistake the final cuesheets for one another, sometimes it does generate extra cuesheets, or generally act weird... I am guessing it has to do with EAC writing to the .cue files directly and sometimes when the AU3 script runs across them, they are still being written to, so my demo here tries to wait until the files are released.

I didn't mean to insult your fixes! Get some sleep!
Title: REACT 2 Released
Post by: nago on 2007-12-13 04:05:38
I am sorry to say that I am still having problems with cuesheet generation with REACT.

In an effort to understand why this continually fails, I've drafted up a demonstration that works pretty well with a few notable exceptions. Here's the code:

Code: [Select]
Global $g_eacTitle = "Exact Audio Copy"
Global $g_eacText = "CD Artist"
Global $g_cueMenu = StringSplit("&Action|Create CUE &Sheet|Multiple WAV Files With Gaps...  (Noncompliant)", "|")
global $CueRetryWait = 10;Frequency in MS to check for Cuesheet or to attempt moving it again
global $CueRetryAttempts = 500;Total times to perform above waiting period, so resultant waiting time is 500*10=5000ms (5 seconds)
global $Cuesheet = "C:\Program Files\Exact Audio Copy\TMP\Indestructible Object.cue"

FileDelete("debug.txt")
fMakeCuesheet("Key","!m","(M)")
fMakeCuesheet("Key","!o","(MC)")
fMakeCuesheet("Key","!s","(S)")
fMakeCuesheet("Menu",$g_cueMenu,"(MG)")

Func fMakeCuesheet($action,$keypress,$suffix)
    FileDelete($cuesheet);Delete any cuesheet that matches the filename we're expecting to prevent renaming an existing cuesheet that may not be what we requested
    if $action = "Key" Then ControlSend($g_eacTitle,$g_eacText, "", $keypress);Send the keypress
    if $action = "Menu" Then WinMenuSelectItem($g_eacTitle,$g_eacText, $keypress[1], $keypress[2], $keypress[3]);Or the MenuSelection
    local $r = 0
    While WinExists("Analyzing","Detecting Track Indices")
        sleep(10)
        $r = $r + 1
    WEnd
    FileWrite("debug.txt",$suffix & "Waited for Index Analysis to Finish... (" & $r & ") repetitions, " & $r * 10 & "ms" & @CRLF)
    local $r = 0
    While WinExists("Analyzing","Detecting Pre-Track Gaps")
        sleep(1000)
        $r = $r + 1
    WEnd
    FileWrite("debug.txt",$suffix & "Waited for Gap Analysis to Finish... (" & $r & ") repetitions, " & $r * 1000 & "ms" & @CRLF)
    local $s = 0;Set the number of attempts to 0
    While Not FileExists($cuesheet);If the file isn't found...
        sleep($CueRetryWait);Sleep for a certain number of milliseconds. In my demo, this is 10ms.
        $s = $s + 1;Increment the number of attempts for looking for the cuesheet.
        if $s = $CueRetryAttempts Then ExitLoop;If the number of retry attempts has reached the maximum amount, give up on this cuesheet.
    WEnd
    FileWrite("debug.txt",$suffix & "Waited for cuefile to exist... (" & $s & ") repetitions, " & $CueRetryWait * $s & "ms" & @CRLF);Write to debug how long we've waited for file to appear.
    If FileExists($cuesheet) Then;If the file does indeed exist...
        local $s = 1
        While FileMove($cuesheet,"C:\Program Files\Exact Audio Copy\TMP\" & $suffix & ".cue",1) = 0;While MoveCuesheet Fails ... (In this case, the renamed file is simply ONLY the suffix, but it's sufficient for this demo)
            sleep($CueRetryWait);Sleep for a certain number of milliseconds again. In my demo, this is 10ms.
            $s = $s + 1;Increment the number of attempts for moving the cuesheet.
            if $s = $CueRetryAttempts Then ExitLoop;If the number of retry attempts has reached the maximum amount, give up on moving this cuesheet.
        WEnd
        FileWrite("debug.txt",$suffix & "Waited to move cuefile... Took (" & $s & ") attempts, " & $CueRetryWait * $s & "ms" & @CRLF);Write to debug how long we've waited for file to appear.
    ;FileWrite("debug.txt",$suffix & "Moving Cuesheet... took " & $s & " attempts." & @CRLF);Write to debug to let it know which condition fired.
    Else;If File didn't exist, most likely because the first loop timed out waiting for it to show up
        FileWrite("Debug.txt",$suffix & "Loop has ended, but file didn't exist... Presumably, ControlSend() failed." & @CRLF);Write to debug to let it know which condition fired.
    EndIf
EndFunc


What happens in the above code:

1) Declare Globals, Delete stagnant debug.txt (if any)
2) Call fMakeCuesheet function for the Multiple w/ Leftout Gaps cuesheet.
3) Delete stagnant cuefile if any
4) Send our Key Press.
5) Wait for Analyzing window to subside (Different loops used for Index detection and Gap detection, so we can stall differently for each.) Waits until Analyzing window goes away.
6) Stall until the cuesheet exists. At this point, since the Analyzing window has subsided, it usually exists at this point, but doesn't always. Waits a maximum of 5 seconds before giving up.
7) Stall until the cuesheet is MOVABLE. Sometimes moving fails the first time, so we loop until we are sure to be able to move it. Waits a maximum of 5 seconds before giving up.
8) Repeat steps 3-7 for remaining 3 cuesheets.


Some sample outputs from the debug.txt, which I feel are very telling about the different stages at which Cuesheet extraction has failed in the past:

Example debug.txt for a CD that has had gaps pre-detected:
Quote
(M)Waited for Index Analysis to Finish... (0) repetitions, 0ms
(M)Waited for Gap Analysis to Finish... (0) repetitions, 0ms
(M)Waited for cuefile to exist... (9) repetitions, 90ms
(M)Waited to move cuefile... Took (2) attempts, 20ms
(MC)Waited for Index Analysis to Finish... (1) repetitions, 10ms
(MC)Waited for Gap Analysis to Finish... (0) repetitions, 0ms
(MC)Waited for cuefile to exist... (0) repetitions, 0ms
(MC)Waited to move cuefile... Took (1) attempts, 10ms
(S)Waited for Index Analysis to Finish... (0) repetitions, 0ms
(S)Waited for Gap Analysis to Finish... (0) repetitions, 0ms
(S)Waited for cuefile to exist... (5) repetitions, 50ms
(S)Waited to move cuefile... Took (2) attempts, 20ms
(MG)Waited for Index Analysis to Finish... (0) repetitions, 0ms
(MG)Waited for Gap Analysis to Finish... (0) repetitions, 0ms
(MG)Waited for cuefile to exist... (9) repetitions, 90ms
(MG)Waited to move cuefile... Took (1) attempts, 10ms

Things to notice:
1) Sometimes the script required waiting for the "Index Analysis" window to go away (this is the window you see flicker sometimes when you go to extract cuesheets.) You can see this for the (MC) loop.
2) Sometimes the script required waiting to be able to move the cuesheet, you can see this on the (S) loop.
3) Usually the script needs to wait various periods of time for the cuefile to actually exist. (seen on M, S, and MG loops)

Example debug.txt for a CD that requires Gap Analysis:
Quote
(M)Waited for Index Analysis to Finish... (0) repetitions, 0ms
(M)Waited for Gap Analysis to Finish... (14) repetitions, 14000ms
(M)Waited for cuefile to exist... (0) repetitions, 0ms
(M)Waited to move cuefile... Took (1) attempts, 10ms
(MC)Waited for Index Analysis to Finish... (0) repetitions, 0ms
(MC)Waited for Gap Analysis to Finish... (0) repetitions, 0ms
(MC)Waited for cuefile to exist... (2) repetitions, 20ms
(MC)Waited to move cuefile... Took (1) attempts, 10ms
(S)Waited for Index Analysis to Finish... (1) repetitions, 10ms
(S)Waited for Gap Analysis to Finish... (0) repetitions, 0ms
(S)Waited for cuefile to exist... (1) repetitions, 10ms
(S)Waited to move cuefile... Took (2) attempts, 20ms
(MG)Waited for Index Analysis to Finish... (0) repetitions, 0ms
(MG)Waited for Gap Analysis to Finish... (0) repetitions, 0ms
(MG)Waited for cuefile to exist... (2) repetitions, 20ms
(MG)Waited to move cuefile... Took (2) attempts, 20ms

Things to notice:
1) Waits a long period of time only on the first Gap Analysis wait period for (M) loop (14s)
2) Never waits at Gap Analysis for any amount of time ever again.



Remaining Issues this Demonstration does not solve:
1) ControlSend() will fail if the EAC window is minimized, but NOT if the window is merely inactive.


Key Points:
1) It never mistakes cuefiles for the wrong type.
2) Won't fail because it works too fast. (e.g, doesn't get ahead of itself.)
3) Will finish quickly (with loops between 10, 100 and 1000ms) for different checks, potentially finishes even faster than the current CueSheet loop and without repercussion.
4) Good debug output!
Title: REACT 2 Released
Post by: dd_wizard on 2007-12-13 08:57:42
Hello all, I love REACT, but I'm having a small problem with meta data.  I'm using EAC v0.99pb3 and REACT v2.0.ssb16n, which are the latest for both I believe. I've tweaked my REACT.ini as follows:

[Settings]
...
Test=@testandcopy@
...
...
[UserSettings]
...
Opt_LameMP3=@lameoptions@
...
...
[DefaultMetaData]
...
extractmethod=Secure
testandcopy=0
lameoptions=-V1 --vbr-new --noreplaygain

extractmethod works correctly, both .cfg files put it into TSSE along with the lame settings by . Changing it between Secure, and Burst Test and Copy with Alt-F5 puts the correct string into TSSE.  This lets me keep track of the extraction method for tracks in case I find artifacts.  I'm still uncertain which is the best method. This meta data isn't accessed in REACT.ini, but the both .cfg files find it.

lameoptions  works correctly.  I can use Alt-F5 to change lameoptions to -V5 --vbr-new --noreplaygain, and the new settings are passed to lame.  I checked the bitrate and encoder setting values in the .mp3 file with Mp3tag, and everything is as expected.  The file was encoded with -V5 instead of -V1. This meta data is accessed only in REACT.ini, and the assignment to Opt_LameMP3 is working correctly.

When I change testandcopy to 1 however, EAC just does a copy without a test pass.  I tried setting the default value of testandcopy to 1, but that didn't help. If I change Test=@testandcopy@ to Test=1 in the REACT.ini file and save it, EAC does a test and copy.

What in the world am I doing wrong?

EDIT: I know extractmethod is a kludge, but I haven't found a way for REACT to know whether Burst or Secure is selected in EAC.  It would be very useful if there was a way to pass that information to REACT.

Thanks,
dd_wizard
Title: REACT 2 Released
Post by: nago on 2007-12-13 09:02:40
What in the world am I doing wrong?


the MetaData is replaced only after the Command Line encoder has been called (after extraction has finished), whereas the "Test" value is required before extraction even begins. I believe the same goes for all User* sections as well. "Test" is at the top for a reason, unfortunately; These settings are read by REACT prior to extraction.


Edit: If you want to know about Secure mode, take a look at HKCU\Software\AWSoftware\EAC\Drive Options\ and under Drive Options will rest a folder with your drive's name in it, and under that there is the key "Extraction Mode". This is the one you want. Burst is 00, Fast is 01..

Secure (+AS -Cache -C2) is 03.
Secure (-AS +Cache -C2) is 04.
Secure (+AS +Cache -C2) is 05.
Secure (+AS -Cache +C2) is 06.
Secure (+AS +Cache +C2) is 07.

You can read these values from the CFG file by using REG QUERY "HKCU\Software\AWSoftware\EAC\Drive Options\Optiarc DVD RW AD-7530A EX32" /v "ExtractionMode"

..filling in for your Drive in where needed, though how to convert this result into a usable variable all from within a .cfg I do not know.

Sorry for getting your hopes up, unless you're some sort of DOS wizard!
Title: REACT 2 Released
Post by: dd_wizard on 2007-12-13 09:50:42
Edit: If you want to know about Secure mode, take a look at HKCU\Software\AWSoftware\EAC\Drive Options\ and under Drive Options will rest a folder with your drive's name in it, and under that there is the key "Extraction Mode". This is the one you want. Burst is 00, Fast is 01..

Secure (+AS -Cache -C2) is 03.
Secure (-AS +Cache -C2) is 04.
Secure (+AS +Cache -C2) is 05.
Secure (+AS -Cache +C2) is 06.
Secure (+AS +Cache +C2) is 07.

Sorry for getting your hopes up, unless you're some sort of DOS wizard!


Is DOS unix?  LOL  That is interesting and worth looking at, so I probably will.  I notice that a few variables are available in the [Settings] section, surrounded by $ instead of @.  Are those described in this thread?  Don't tell me where, I just don't want to wade through every post if it's a fruitless venture.

EDIT: Haha .  I was just going to edit my post to suggest HKCU instead of my user hive.  That's definitely a better idea than the first one.

Thanks,
dd_wizard
Title: REACT 2 Released
Post by: nago on 2007-12-13 10:00:18
I notice that a few variables are available in the [Settings] section, surrounded by $ instead of @.


Variables surrounded by $ are "file-safe" versions. They replace illegal characters. I don't know if they work for all the variables, but I do know they work for all the key ones-- Artist, Album, Title, etc. The wiki only mentions it briefly at the beginning of the article. Look at the HA Wiki for a full list of user-available tokens.

As for UNIX, no, no. I'm just referencing the Registry, where EAC keeps all its settings. You can easily read the registry with "REG QUERY" in the .cfg script, but I don't know how to store the results of that query as a variable so you can convert your findings into a usable tag: I'll be honest, it'd be a lot easier to edit the .au3 sourcefile for react and recompile; using AutoIt's RegRead() function, but if that doesn't sound like a jolly good time to you, I would certainly advise against messing with the AU3 code  Don't be an idiot like me

Edit: Yeah, it's late. I forgot about HKCU until I realized how ugly my Registry was... kept wondering why I never noticed it being that ugly. Realised I had pointed you to a static user key . I'll be going to sleep now
Title: REACT 2 Released
Post by: dd_wizard on 2007-12-13 18:40:14
the MetaData is replaced only after the Command Line encoder has been called (after extraction has finished), whereas the "Test" value is required before extraction even begins. I believe the same goes for all User* sections as well. "Test" is at the top for a reason, unfortunately; These settings are read by REACT prior to extraction.

Since variables in the [Settitngs] section are replaced when F4 or F10 are pressed, i.e. before extraction begins, is there any chance a future release of REACT will replace MetaData in the same way?

Edit: If you want to know about Secure mode, take a look at HKCU\Software\AWSoftware\EAC\Drive Options\ and under Drive Options will rest a folder with your drive's name in it, and under that there is the key "Extraction Mode". This is the one you want. Burst is 00, Fast is 01...

Since it is possible to queue multiple encoding tasks, the registry could reflect the current extraction method rather than the extraction method EAC used for a queued encoding task.  Wouldn't it be safer to parse the appropriate log file for "Read Mode :"?

Thanks,
dd_wizard
Title: REACT 2 Released
Post by: nago on 2007-12-13 19:56:45
1) Variables in the [Settings] section aren't replaced, unless you use them in the .cfg. REACT, when it is time to run a compression thread, (e.g, when it is called via command line by EAC) will take the .cfg files and replace the tokens contained within with the "current data" and then rename it as a .bat file, and run it.

So the variables in the .ini only get replaced when they are read in that .cfg script. Because [Settings] are read by REACT directly, they are not replaced, and I doubt this functionality would be implemented any time soon.

For instance, say you press F10 to start tracks mode... REACT issues an IniRead() command of sorts to obtain the value of Test= to see if it should test or not. The variable replacing part only occurs for the .cfg, so direct hits to the .ini don't see anything replaced.

Honestly, why not just use the standard test value?


2) I guess you have a point, but how often are you going to change the extraction method while you're still compressing things? But if you can parse the logfile, godspeed... that does sound a lot easier than murking with the registry, but I just always think of the hard way first
Title: REACT 2 Released
Post by: dd_wizard on 2007-12-13 20:19:36
Honestly, why not just use the standard test value?


Elegance?    If I can define all my extraction and encoding settings with MetaData, there's no need to edit the .ini file.  Looks like that's not an option for now.  And thinking about how an ini file is read by the app, replacing tokens would require some special coding.  With all the other enhancements/fixes going on, this would be a really low priority.

Thanks for  the answers,
dd_wizard
Title: REACT 2 Released
Post by: Akkurat on 2007-12-14 03:07:56
Dear nago, you didn't insult me or my fixes, nonono.  Instead you lured me back to REACT... I was taking a vacation from it because I was frustrated.. back on the "stress train" I s'pose, thanks. 

Remaining Issues this Demonstration does not solve:
1) ControlSend() will fail if the EAC window is minimized, but NOT if the window is merely inactive.
This is something we can't fix.

Key Points:
1) It never mistakes cuefiles for the wrong type.
2) Won't fail because it works too fast. (e.g, doesn't get ahead of itself.)
3) Will finish quickly (with loops between 10, 100 and 1000ms) for different checks, potentially finishes even faster than the current CueSheet loop and without repercussion.
4) Good debug output!
I looked at your code and debug logs and I thought to test a bit... ended up with the following after many hours:
Code: [Select]
- Added your suggestion of "Indices Detection 'Analyzing' window" pause.
- Added your suggestion of "cuefile locked" pause.
    - Plus fixed/added enhancement to it: retry/abort option to user if file locked over 5 secs.
      (I guess REACT shouldn't continue if the file can't be moved (renamed)...?)
- Modified the pauses in the cuesheet generation.
- Modified the "Missing Cuesheet" dialog to only show Retry and Cancel buttons. (Ignore removed because it's foolish to ignore missing cuesheet! Especially if infocuesheet is missing in track mode.)
- Fixed a _very_ rare (if ever) occurring problem with locked cuefile.. anyways, it's covered. :)
- Fixed a problem in the fMoveCuesheet() function when there's a left behind cuesheet.
- + minor changes (debug messages, cuefile deletions, etc.)
PM me and give me your email so I can send you the code. I'd love to hear if these fixes work for you.

Here's my debug log:
Code: [Select]
2007-12-14 03:37:18  Creating a cuesheet to glean information
2007-12-14 03:37:20  Waiting for the Gap Detection 'Analyzing' window to disappear
2007-12-14 03:37:21  Waiting for the Gap Detection 'Analyzing' window to disappear
2007-12-14 03:37:22  Waiting for the Gap Detection 'Analyzing' window to disappear
2007-12-14 03:37:23  Waiting for the Gap Detection 'Analyzing' window to disappear
2007-12-14 03:37:24  Waiting for the Gap Detection 'Analyzing' window to disappear
2007-12-14 03:37:25  Waiting for the Gap Detection 'Analyzing' window to disappear
2007-12-14 03:37:27  Waiting for the Gap Detection 'Analyzing' window to disappear
2007-12-14 03:37:28  Waiting for the Gap Detection 'Analyzing' window to disappear
2007-12-14 03:37:30  Waiting for the Gap Detection 'Analyzing' window to disappear
2007-12-14 03:37:31  Waiting for the Gap Detection 'Analyzing' window to disappear
2007-12-14 03:37:32  Cuesheet 'D:\Music\RIPPED\EAC\te'stin g.CUE' moved to 'D:\Music\RIPPED\EAC\REACT.cue'
2007-12-14 03:37:32  Creating cuesheets
2007-12-14 03:37:32  Cuesheet 'D:\Music\RIPPED\EAC\te'stin g.CUE' moved to 'D:\Music\RIPPED\EAC\te'stin'g.[s].cue'
2007-12-14 03:37:33  Waiting for the Indices Detection 'Analyzing' window to disappear
2007-12-14 03:37:33  Cuesheet 'D:\Music\RIPPED\EAC\te'stin g.CUE' moved to 'D:\Music\RIPPED\EAC\te'stin'g.[mg].cue'
2007-12-14 03:37:33  Waiting for the Indices Detection 'Analyzing' window to disappear
2007-12-14 03:37:33  Cuesheet 'D:\Music\RIPPED\EAC\te'stin g.CUE' moved to 'D:\Music\RIPPED\EAC\te'stin'g.[m].cue'
2007-12-14 03:37:34  Cuesheet 'D:\Music\RIPPED\EAC\te'stin g.CUE' moved to 'D:\Music\RIPPED\EAC\te'stin'g.[mc].cue'
2007-12-14 03:37:34  Copy Tracks Beginning...

2007-12-14 03:37:34  - END -

2007-12-14 03:37:45  Creating a cuesheet to glean information
2007-12-14 03:37:45  Waiting for the Indices Detection 'Analyzing' window to disappear
2007-12-14 03:37:46  Cuesheet 'D:\Music\RIPPED\EAC\te'stin g.CUE' moved to 'D:\Music\RIPPED\EAC\REACT.cue'
2007-12-14 03:37:46  Creating cuesheets
2007-12-14 03:37:46  Cuesheet 'D:\Music\RIPPED\EAC\te'stin g.CUE' moved to 'D:\Music\RIPPED\EAC\te'stin'g.[s].cue'
2007-12-14 03:37:46  Waiting for the Indices Detection 'Analyzing' window to disappear
2007-12-14 03:37:46  Cuesheet 'D:\Music\RIPPED\EAC\te'stin g.CUE' moved to 'D:\Music\RIPPED\EAC\te'stin'g.[mg].cue'
2007-12-14 03:37:47  Waiting for the Indices Detection 'Analyzing' window to disappear
2007-12-14 03:37:47  Cuesheet 'D:\Music\RIPPED\EAC\te'stin g.CUE' moved to 'D:\Music\RIPPED\EAC\te'stin'g.[m].cue'
2007-12-14 03:37:47  Waiting for the Indices Detection 'Analyzing' window to disappear
2007-12-14 03:37:47  Cuesheet 'D:\Music\RIPPED\EAC\te'stin g.CUE' moved to 'D:\Music\RIPPED\EAC\te'stin'g.[mc].cue'
2007-12-14 03:37:47  Copy Tracks Beginning...
As you can see the first rip (no gaps detected yet) takes only 2-3 seconds after gaps have been detected to start the actual ripping. The 2nd rip (gaps known) takes only 2 seconds to start the actual rip. Too slow? Are we building a rocket here?  On the other hand, it's completely fine to trim the procedure if you're planning your fixes to completely new REACT mod.


Have you asked Jan S. for access to wiki? I'll contact him tomorrow.


I still would like to ask somebody if the new REACT forum could be started.. I just don't know who to ask.. Jan S.? It's really hard to communicate/develop/help others here in this one forum thread. Actually this is what is alienating me from REACT development.


And oh yes, almost forgot (hmm, why's that? Look above for explanation.), I'll look at the caret-escaping thing when I've more time. Ok?


And one thing more before I forget it: It would be nice to add the new (better looking) EAC icon to new REACT version.. if/when that happens.


@ Synthetic Soul:
About the last "clash" we had (I said that I was done with this subject.. not); I think we've very hard time understanding each other. That's normal, it happens between some people. I do apologize that I accused you of "attacking" me.
Title: REACT 2 Released
Post by: nago on 2007-12-14 04:15:03
I did get in touch with Jan S for wiki access, but I'm waiting to roll together a few things before I bother editing the wiki. When my edits are complete (or complete enough) I'll post them to this thread first and a few of my friends, do some bug testing, and then I'll post it to the wiki as a beta.

Slow and steady wins the race!
Title: REACT 2 Released
Post by: m_l on 2007-12-14 05:07:18
I would like to Thank everyone for putting in the effort to making REACT such great program. The Wiki helped a lot configuring REACT. I'm now able to rip to flac and mp3 simultaneously.  I'm going to keep an eye thread for updates and the such, would like to help but I'm newb ATM 


Thank You!!!
Title: REACT 2 Released
Post by: dd_wizard on 2007-12-14 08:08:46
1) Variables in the [Settings] section aren't replaced, unless you use them in the .cfg. REACT, when it is time to run a compression thread, (e.g, when it is called via command line by EAC) will take the .cfg files and replace the tokens contained within with the "current data" and then rename it as a .bat file, and run it.

Actually, variables in the [Settings] section are never replaced.  If you reference @Test@ or @EAC@ in the .cfg, you get back @Test@ or @EAC@. So I had to use MetaData to  pass the value of Test to the .cfg files.  The following does what I wanted to do, but would be cleaner if @Test@ was available:
Code: [Select]
REM ============== Begin Gene's Mods ==================

REM Test is only performed for non-zero numbers in @Test@
set /A TestPerformed = @testandcopy@ + 0
set ExtractMethod=Copy
IF %TestPerformed% NEQ 0 set ExtractMethod=Test and %ExtractMethod%

REM Prepend EAC's read mode, grep would be a LOT more robust
REM There is one space between the : and Burst, and 15 between the : and Secure
find "Read mode : Burst" "@eaclog@" > NUL
IF NOT errorlevel 1 set ExtractMethod=Burst %ExtractMethod%
find "Read mode               : Secure" "@eaclog@" > NUL
IF NOT errorlevel 1 set ExtractMethod=Secure %ExtractMethod%

REM Add Verified by database to comment if it's set
set CommentField=@Comment@
IF "@verifiedby@" NEQ "" set CommentField=%CommentField%, verified by @verifiedby@
set CommentField=%CommentField%. @curdate@

REM =============== End Gene's Mods ===================

ExtractMethod goes into TSSE as $qEAC %ExtractMethod%; LAME ...$q. Replace LAME ... with the appropriate encoder info in aac, ogg, etc.

1. Is there any particular reason why the variables in the [Settings] section aren't tokenized?  This slowed me down quite a bit while I figured out what was going on.

I put the mod in the Image section of image.cfg right after the wait for @eaclog@ is satisfied.  I added a wait loop to track.cfg in the Track section ahead of my mod.  While testing things, I noticed that REACT.cue gets generated when F4 is pressed to encode in track mode.  I added a little code to clean it up and blew away all the files in my music directory, not many and none important.  LOL

In track mode, @cuesheet@ is empty, so del "@cuesheet@" becomes del "".  Apparantly del "" is the same as del * in unix.      I guess I'll find the appropriate path variable in the image.cfg and fix the cleanup code I put into track.cfg.

2. If REACT-track.cfg doesn't even know the path to REACT.cue, why is it created when F4 is pressed?

EDIT: That's what I get for testing track mode ripping on one track.  @eaclog@ isn't created until the last track is ripped, so checking for the rip mode in the log file works great in image mode but forces all the tracks to queue up in track mode.  Back to the drawing board.

Thanks,
dd_wizard
Title: REACT 2 Released
Post by: nago on 2007-12-14 08:37:12
1) I didn't know they weren't tokenized, thanks for correcting me. They are likely not tokenized because Tycho had no need to use any of those settings in the .cfg file. Sorry if you're pining to use them...

2) The REACT.CUE you're seeing is a file that synthetic soul's mod adds to "glean information from", it's not actually @cuesheet@, it's just a supplemental file that react uses to find data. It should clean it up on its own, I think. @cuesheet@ resolves to nothing in tracks mode because by default, no cuesheet is produced (in a usable form) to be copied to the track directories, whereas in image mode, a cuesheet is certainly required to make any use of the image.

3) If you want to copy a cuesheet to your track directories, you can always enable CreateAllCuesheets and then use $album$[m|mc|mg|s].cue to keep track of it.
Title: REACT 2 Released
Post by: dd_wizard on 2007-12-14 08:52:46
1) I didn't know they weren't tokenized, thanks for correcting me. They are likely not tokenized because Tycho had no need to use any of those settings in the .cfg file. Sorry if you're pining to use them...

I am definitely pining for them...

2) The REACT.CUE you're seeing is a file that synthetic soul's mod adds to "glean information from", it's not actually @cuesheet@, it's just a supplemental file that react uses to find data. It should clean it up on its own, I think. @cuesheet@ resolves to nothing in tracks mode because by default, no cuesheet is produced (in a usable form) to be copied to the track directories, whereas in image mode, a cuesheet is certainly required to make any use of the image.

Hmm, I don't think it's ever cleaned up in track mode.  I'll try a full track set rip again to be sure, but I think I've been deleting it manually in track mode. The last track does the replay gain stuff, but I don't believe it cleans up REACT.cue.  My track.cfg has some debug code in it that slows it down, so I think I'll get some sleep and check tomorrow.  It is cleaned up in image mode, though.

Thanks nago,
dd_wizard
Title: REACT 2 Released
Post by: Dave_K on 2007-12-14 11:37:18
Album Art XUI is great, thanks for the help setting it up. After switching to that I've only found a couple of albums were I've had to access local album art. All the extra sites that can be successfully accessed by its up to date scripts, particularly Rate Your Music, have made it much less necessary. Have you considered bundling XUI with REACT and making it the default?

I've noticed a minor problem with file naming now that I'm actually getting down to ripping my collection:

Sometimes the album date isn't being added to image filenames. I have "ImageNaming=$artist$ - ($year$) - $album$" in my REACT.ini and most of the time it works, but intermittently it's missed out. In all cases the date is correctly added to "REM DATE" in the cue sheet, and it's correctly displayed when the files are open in Foobar. In fact that's why I didn't notice that it was happening for a while, I just rescanned the media library in Foobar to refresh the Album List, then checked the tags/cue sheet there.

I can't work out why this is handled correctly with some yet not with others. For example I ripped several albums by the same artist, all with the date entered correctly in EAC, and without closing REACT/EAC or changing any settings between rips, yet one of the rips lacks a date in the filename.

Of course it's not a major issue since I use Foobar to organise and play the files and they're displayed correctly there. Correcting it completely is just a matter of changing the file names and updating the external cue sheet. Still, I'm curious whether this is a known problem or a weird issue with my configuration?
Title: REACT 2 Released
Post by: Akkurat on 2007-12-14 14:19:20
I did get in touch with Jan S for wiki access, but I'm waiting to roll together a few things before I bother editing the wiki. When my edits are complete (or complete enough) I'll post them to this thread first and a few of my friends, do some bug testing, and then I'll post it to the wiki as a beta.
Are you going to update the Synthetic Soul's Mod with your new edits in http://wiki.hydrogenaudio.org/index.php?title=REACT:Mods (http://wiki.hydrogenaudio.org/index.php?title=REACT:Mods) page or are you planning to release a completely new mod?

1) I didn't know they weren't tokenized, thanks for correcting me. They are likely not tokenized because Tycho had no need to use any of those settings in the .cfg file. Sorry if you're pining to use them...
I am definitely pining for them...
Album Art XUI is great,... Have you considered bundling XUI with REACT and making it the default?
I'm following Synthetic Soul on this; current Synthetic Soul's Mod will only be modified if there's a bug/"problem" in there. A wishlist for completely new mod would be a good idea, let's see if we get a better forum for REACT and it's mods (I've taken first steps to do this).

2) The REACT.CUE you're seeing is a file that synthetic soul's mod adds to "glean information from", ... It should clean it up on its own, I think.
Hmm, I don't think it's ever cleaned up in track mode.  I'll try a full track set rip again to be sure, but I think I've been deleting it manually in track mode. The last track does the replay gain stuff, but I don't believe it cleans up REACT.cue.  My track.cfg has some debug code in it that slows it down, so I think I'll get some sleep and check tomorrow.  It is cleaned up in image mode, though.
REACT.CUE file is created in latest mod because it's the only way to defeat EAC's "last track number wrong when CD has a data track" bug. Currently creating the cuefile fixes at least two problems; EACLog move doesn't work in certain situations AND post-processing doesn't work if there's a data track in CD. As you can see, it was necessary to implement this change.

The REACT.CUE file in track mode ripping is deleted before the last bat file is created. So you have to rip all tracks or only the last track. Remember this: REACT/Synthetic Soul's Mod is created to only work properly when you're ripping an image or all tracks in track mode!

I've noticed a minor problem with file naming now that I'm actually getting down to ripping my collection:

Sometimes the album date isn't being added to image filenames. I have "ImageNaming=$artist$ - ($year$) - $album$" in my REACT.ini and most of the time it works, but intermittently it's missed out.

I'm curious whether this is a known problem or a weird issue with my configuration?
I don't know about this problem. And I don't even use image mode.. but let's see if I can help out.

Kind of hard to think where the problem is without more information.

- What is the filename when the year is not added to it?

- Can you produce this problem everytime with just one CD?
   1. Put DebugMode=1 and Debug=1 in INI file under [UserSettings]
   2. Rip it many times & save all rips ... + copy debugging.txt file from REACT folder to rip folder EVERYTIME you do one rip.
   3. When year is not added to filename:
      3.1 Compare bat file (I recommend WinMerge) from good rip to the bat file of bad rip
      3.2 Compare "good" and "bad" debugging logs

That's it. A good start I think.

EDIT:
The "REM DATE" in the cue sheet is added by EAC.. so that's why it's correct everytime.

EDIT2: I think I've found the culprit: REACT tries to read the year from EAC window and it fails sometimes. (the same problems could arise with album, artist, year, genre & freedb values read from the EAC window)

Dave_K, do you have AutoIt installed? I could try to fix this and send you the modified .au3 file for you to test. (PM me your email) Or I could build (haven't done this yet) new test version if you don't have AutoIt.
Title: REACT 2 Released
Post by: Dave_K on 2007-12-14 17:10:23
I'm following Synthetic Soul on this; current Synthetic Soul's Mod will only be modified if there's a bug/"problem" in there. A wishlist for completely new mod would be a good idea, let's see if we get a better forum for REACT and it's mods (I've taken first steps to do this).


Understood. Although maybe it would be a good idea to make it clear how much better Album Art XUI is on the wiki page. I was unclear what the advantages were until I tried it; whether it was just an improved UI, rather than offering access to many more cover art sources. If I'd stuck with the default I'd have wasted a lot of time manually downloading art unnecessarily.

I don't know about this problem. And I don't even use image mode.. but let's see if I can help out.

Kind of hard to think where the problem is without more information.

- What is the filename when the year is not added to it?


Simply "$artist$ - $album$" rather than "$artist$ - ($year$) - $album$". For example "The Fall - Dragnet" rather than "The Fall - (1979) - Dragnet"

- Can you produce this problem everytime with just one CD?


It doesn't seem to depend on the particular CD. I can rerip the same CD imediately after it failed to add the date and it'll create the filename correctly.

1. Put DebugMode=1 and Debug=1 in INI file under [UserSettings]
   2. Rip it many times & save all rips ... + copy debugging.txt file from REACT folder to rip folder EVERYTIME you do one rip.
   3. When year is not added to filename:
      3.1 Compare bat file (I recommend WinMerge) from good rip to the bat file of bad rip
      3.2 Compare "good" and "bad" debugging logs


I've compared the bat files and debugging logs, but apart from things like temporary file naming in the bat file, and the file name itself, there doesn't seem to be a difference.

I think I've found the culprit: REACT tries to read the year from EAC window and it fails sometimes. (the same problems could arise with album, artist, year, genre & freedb values read from the EAC window)


I haven't seen it miss the artist/album from the filename...

Dave_K, do you have AutoIt installed? I could try to fix this and send you the modified .au3 file for you to test. (PM me your email) Or I could build (haven't done this yet) new test version if you don't have AutoIt.


I haven't used AutoIt, but I could download a copy and have a play with it easily enough.

I've sent you my email address.
Title: REACT 2 Released
Post by: Akkurat on 2007-12-14 17:54:34
Simply "$artist$ - $album$" rather than "$artist$ - ($year$) - $album$". For example "The Fall - Dragnet" rather than "The Fall - (1979) - Dragnet"

Ok. This changes things a lot, forget my previous thoughts of what might be the culprit. I thought that you have bad filenames like: "The Fall - () - Dragnet". The problem is most likely that the iniread fails and defaults to "$artist$ - $album$". I'll have to look into this... might take a while.. I'll send you email when I'm ready. But if this is the case... and the iniread can't be trusted in REACT... let's not think about it now.

I haven't used AutoIt, but I could download a copy and have a play with it easily enough.

Not required, but if you like to do that, be my guest. Anyways, I'll build you a test version.
Title: REACT 2 Released
Post by: leonlikestrees on 2007-12-14 22:39:26
I'm having some weird problems. REACT was working fine for me, I'm not aware of having changed anything, but now it no longer copies the output files at the end of processing. They are all created correctly, but just end up hanging around in the EAC working directory.

I put it in debug mode, and have had a look at both the config and the generated script, but can't see where this copy is even supposed to happen!

Not sure if this has anything to do with it, but I'm running on Vista, and my final destination directory is on a network drive, but yes, I can access it just fine.

Any ideas? I had a search through this thread, but couldn't find anything relevent. Of course, that doesn't mean that it isn't there!!!


Thanks for the help on this issue. Believe it or not, I've not had time to look at it since the 29th (the joys of fatherhood  ), but I've since solved the issue.

I turned on debug, looked at the output, looked at the cfg and ini files and tried to figure out what the problem was, and I saw this:

Code: [Select]
D:\Users\Leon\Music>PUSHD "Z:\Music\FLAC\Nirvana\[1991] Smells Like Teen Spirit (Single)"
The system cannot find the drive specified.


I opened another command prompt, and I could change to z:, I could mkdir's on it and everything. As a bit of a stab I looked at REACT, and saw I had it set to run as an adminstrator. I can't remember why I did that now (29/11 was a while ago now, and I'd already had the problems for a while), but when I unchecked that box, it started working again. I guess this is some aspect of Vista 'security'?

Anyway, it works now, but I wanted to post this solution so when the next person searches for this, they can find the answer!
Title: REACT 2 Released
Post by: dd_wizard on 2007-12-16 03:49:57

1) I didn't know they weren't tokenized, thanks for correcting me. They are likely not tokenized because Tycho had no need to use any of those settings in the .cfg file. Sorry if you're pining to use them...

I am definitely pining for them...

I discovered that at least VA in the [Settings] section is tokenized, it's needed to set up TPE2 for compilation discs. I added various to MetaData instead of putting it in the [UserSettings] section.  @various@ is needed in the .cfg files to set up TPE2 for compilation discs, so it's being defined somewhere but I can't find it being defined in the .ini or .cfg files.

1. Where is @various@ initialized? It's 0 when the .cfg files access it. More importantly, where should it be set to 1?

2. Since VA is tokenized, any chance of tokenizing Test? 

EDIT: From perusing REACT.au3, it looks like all I need to do is set VA="Various Artists -" or "Various -" without the quotes to make a compilation disc.  Is that the intended behavior?

Thanks,
dd_wizard
Title: REACT 2 Released
Post by: Akkurat on 2007-12-16 04:37:08
I discovered that at least VA in the [Settings] section is tokenized, it's needed to set up TPE2 for compilation discs. I added various to MetaData instead of putting it in the [UserSettings] section.  @various@ is needed in the .cfg files to set up TPE2 for compilation discs, so it's being defined somewhere but I can't find it being defined in the .ini or .cfg files.

1. Where is @various@ initialized? It's 0 when the .cfg files access it. More importantly, where should it be set to 1?

2. Since VA is tokenized, any chance of tokenizing Test? 

1. It's set by REACT. You don't need to set it. You just check the "Various Artists" checkbox in EAC window and REACT does the rest. I don't understand why you want to set it? Just use the @various@ variable wherever you want to.

2. If you ask me, no. I'll not add any new features.. just bugfixes.

Download AutoIt and mess with the REACT source code if you're so eager to implement this, and other(?), features. Build your own mod with kitchen sink.  Knowing Visual Basic helps but the code is fairly difficult, so you have to be ready to use some time to understand it. Good luck.

Seriously speaking, I don't understand why you want to do this. Shouldn't you be interested in the end result, not the fact that how elegantly you could achieve your goal (which I guess is ripping your cd's with REACT)?

EDIT:
EDIT: From perusing REACT.au3, it looks like all I need to do is set VA="Various Artists -" or "Various -" without the quotes to make a compilation disc. Is that the intended behavior?

Almost correct. Use "VA=Various Artists" or "VA=Various" without the quotes.
Title: REACT 2 Released
Post by: dd_wizard on 2007-12-16 04:48:48
Ah, REACT knows about the EAC check box, so @various@ reflects the settings in EAC.  Thanks! I've been a C/C++ programmer for years, so I may play around with AutoIt. It looks interesting.

dd_wizard
Title: REACT 2 Released
Post by: Akkurat on 2007-12-16 05:04:35
Ah, REACT knows about the EAC check box, so @various@ reflects the settings in EAC.  Thanks! I've been a C/C++ programmer for years, so I may play around with AutoIt. It looks interesting.

Have you seen this REACT wiki page (http://wiki.hydrogenaudio.org/index.php?title=REACT)? It would have given you the answer to this thing (the "Editing the CFG files (advanced)" section at the end).
Title: REACT 2 Released
Post by: dd_wizard on 2007-12-16 05:22:14

Ah, REACT knows about the EAC check box, so @various@ reflects the settings in EAC.  Thanks! I've been a C/C++ programmer for years, so I may play around with AutoIt. It looks interesting.

Have you seen this REACT wiki page (http://wiki.hydrogenaudio.org/index.php?title=REACT)? It would have given you the answer to this thing (the "Editing the CFG files (advanced)" section at the end).


Several times, I guess I missed that.  Sorry for wasting bandwidth.

dd_wizard
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-12-16 08:06:31
EDIT: From perusing REACT.au3, it looks like all I need to do is set VA="Various Artists -" or "Various -" without the quotes to make a compilation disc. Is that the intended behavior?
Almost correct. Use "VA=Various Artists" or "VA=Various" without the quotes.
I think that this has probably been resolved, but the above looks confusing for others.  To clarify: REACT will set @various@ to 1 if the CD Artist begins "Various" - essentially linked to the Various Artists checkbox.  The VA variable in the REACT ini detirmines the value that is used for the Album Artist tag when @various@ is set.  This will also detirmine folder naming.  Setting the VA variable does not make REACT treat the disc as a VA disc.

</anal mode>
Title: REACT 2 Released
Post by: Realityfreak on 2007-12-16 12:30:46
Hi there

Just recently started to use EAC/REACT to extract my musiclibrary and I must say, it is a really neat tool... I just have one question concerning the image mode: Is it possible to encode 2 images at the same go (i.e. *.wv and *.mp3) without having to rip the same CD a second time to achieve this? I usually wouldn't need this for my regular albums (single track), but I prefer a image-mp3 for my (re)mixed albums.

Regards and thanks for your reply.

-R
Title: REACT 2 Released
Post by: Akkurat on 2007-12-16 14:30:57
Is it possible to encode 2 images at the same go (i.e. *.wv and *.mp3) without having to rip the same CD a second time to achieve this?

Yes it it's, but you have to modify the REACT-image.cfg file contents by hand.

The easiest way would be to comment out (REM) following lines:

IF NOT @ImageExt@==wv GOTO end_wavpack_image

IF NOT @ImageExt@==mp3 GOTO end_lame_image

But remember that after doing this, the INI ImageExt= setting doesn't work properly until you uncomment above lines.
Title: REACT 2 Released
Post by: dd_wizard on 2007-12-19 04:28:22
Just a heads up. AutoIt v3.2.10.0 requires #include <Misc.au3> to find _SendMessage() in "REACT Additonal Meta Data.au3". Without the extra include, the syntax checker generates an undefined function error.

I love the pseudo array processing of Meta Data by REACT 2. EAC is very weak when it comes to adding both Title and Artist tags to tracks from compilation type CDs.  It's a breeze with Meta Data. If you speak diff, here are the changes to move Test into the [DefaultMetaData] section of REACT.ini.  It's a convenient way to turn Test and Copy on and off, and make it available to the .cfg scripts. Any brave souls who understand diff output and don't mind maintaining their own branch are welcome to use them.

Code: [Select]
diff /program files/react2/src/REACT 2.0.ssb16n.au3 react2/src/REACT 2.0.ssb16n.au3
268d267
<         "Test=0" & @crlf & _
325a325,326
>         
>     fCreateMetaDataDefaults()
713c714
<     If Int(IniRead($g_iniFile, "Settings", "Test", 0)) Or $g_tracksHotVal = '+{F6}' Then
---
>     If Int(IniRead($g_metaIniFile, "Current", "Test", 0)) Or $g_tracksHotVal = '+{F6}' Then
752c753
<     If Int(IniRead($g_iniFile, "Settings", "Test", 0)) Then
---
>     If Int(IniRead($g_metaIniFile, "Current", "Test", 0)) Then


diff /program files/react2/src/REACT Additonal Meta Data.au3 react2/src/REACT Additonal Meta Data.au3
282,286c282,286
<     Dim $arrDefault[4][2]
<     $arrDefault[0][0] = 3
<     $arrDefault[1][0] = "discnumber"
<     $arrDefault[1][1] = "1"
<     $arrDefault[2][0] = "totaldiscs"
---
>     Dim $arrDefault[5][2]
>     $arrDefault[0][0] = 4
>     $arrDefault[1][0] = "Test"
>     $arrDefault[1][1] = "0"
>     $arrDefault[2][0] = "discnumber"
288,289c288,291
<     $arrDefault[3][0] = "discname"
<     $arrDefault[3][1] = ""
---
>     $arrDefault[3][0] = "totaldiscs"
>     $arrDefault[3][1] = "1"
>     $arrDefault[4][0] = "discname"
>     $arrDefault[4][1] = ""


The changes for getting read mode out of the registry were straight forward. I only have one drive though, so they aren't general enough to post. Oh, it sucks to run your own version of REACT and forget to change the EAC external encoder path! You get a really strange feeling when your main loop code executes perfectly, but you're encode code never executes.  LOL

Thanks for an awesome add on to EAC,
dd_wizard
Title: REACT 2 Released
Post by: dd_wizard on 2007-12-19 23:51:58
Maybe a bug.  If the user changes a key value in the [DefaultMetaData] section of REACT.ini, the values aren't changed in the default meta data array. So when a new disc is inserted, the default values loaded when REACT was started are used instead of the new values in REACT.ini.

Suggested fix: Add a call to  fReadMetaDataDefaults() in fShowIni().

EDIT: It's probably a good idea to add fCreateMetaDataDefaults() to fWriteIni() as well.

dd_wizard
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-12-20 09:08:12
That is so not a bug.

REACT sensibly caches the values so that repeated reads of the INI are not required.  The values in the INI are supposed to be the standard default values; you amend those values for a specific disc using the Additional Meta Data (AMD) dialogue.  If you want to change the defaults do it while REACT is closed.

There was brief discussion about an option, or options, in the AMD dialogue to decide whether the values were reset when a new disc was inserted (e.g. a "Don't reset on disc change" checkbox).  Perhaps this could be considered for a future version.

Repeat after me: a working feature that does not work as one expects is not a bug; it is simply a difference of opinion.
Title: REACT 2 Released
Post by: nago on 2007-12-20 09:48:37
I'm not sure if I've changed something in source that is giving me this error, but I seem to be having issues with the discname metadata and MP3 tagging. I could have sworn this was working for me before, but maybe I made a change I can't think of now that is affecting this...

Error is: error: --frame: bad argument: TXXX[setsubtitle]:Teeheehee


(Where Teeheehee was the discname I was testing with.)
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-12-20 09:52:10
Are you using metamp3 0.91 or 0.92b5?

I think you may need 0.92 (http://www.hydrogenaudio.org/forums/index.php?showtopic=49751).

That should probably be documented.
Title: REACT 2 Released
Post by: nago on 2007-12-20 09:55:22
Are you using metamp3 0.91 or 0.92b5?

I think you may need 0.92 (http://www.hydrogenaudio.org/forums/index.php?showtopic=49751).

That should probably be documented.



Hrm... I didn't think I had updated metamp3. Or, I guess that's the problem? I've got "0.91 by tycho". I was afraid to update the tool because I thought it was tycho's custom build and didn't want to break things.

Soooo. 0.92b5, eh

Edit: Good call, as always  Sooo, what happened to that notes file of interesting points you were talking about? I'd like to give it a good read
Edit: Not out of the woods yet! It's tagging as "SetSubtitle" now, instead of "DiscName" .. Is this the right tag?
Title: REACT 2 Released
Post by: Stone Free on 2007-12-22 14:10:02
Can someone tell me what the advantages, of the alternate software that is being used with REACT are?
Title: REACT 2 Released
Post by: nago on 2007-12-22 17:07:53
Can someone tell me what the advantages, of the alternate software that is being used with REACT are?


Can you clarify what you mean? What alternate software?
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-12-22 18:59:15
Edit: Not out of the woods yet! It's tagging as "SetSubtitle" now, instead of "DiscName" .. Is this the right tag?
Can't remember the ins and outs, but yes, I believe that is the correct tag for ID3v2.  I may have misinterpreted the docs.

Actually, after a little checking, I think this refers to the proper name in ID3v2.4 - this musicbrainz page (http://wiki.musicbrainz.org/TaggerScript#head-91058029a929f5333ecbc1e0b86efe67e3c95bf8) seems to bear me out. If metamp3 could write ID3v2.4 it would use TSST rather than a TXXX frame called "SetSubTitle".
Title: REACT 2 Released
Post by: nago on 2007-12-22 20:54:14
Edit: Not out of the woods yet! It's tagging as "SetSubtitle" now, instead of "DiscName" .. Is this the right tag?
Can't remember the ins and outs, but yes, I believe that is the correct tag for ID3v2.  I may have misinterpreted the docs.

Actually, after a little checking, I think this refers to the proper name in ID3v2.4 - this musicbrainz page (http://wiki.musicbrainz.org/TaggerScript#head-91058029a929f5333ecbc1e0b86efe67e3c95bf8) seems to bear me out. If metamp3 could write ID3v2.4 it would use TSST rather than a TXXX frame called "SetSubTitle".


I'll trust you and leave it as-is for now. Boy, I sure wish all of the major formats would get together and agree on a common tagging standard. It would sure make things like this a whole lot easier


Edit(s) (As I seem to be incapable of writing everything I need to at once): I have a new question, Synthetic Soul! I tried adding a user-configurable setting for the "Encoded-By" setting, by adding a value "Name=" in the UserSettings section, with the value defaultly set to %UserName%. I tried calling this from the .cfg, but found that the Percentages were escaped (%%UserName%%), I thought that after j we were no longer escaping things like that from the .ini?

2) It seems as though only the UserSettings section is getting replaced with the fStringReplaceForDOS() command. Is there any reason why UserSettings is treated differently? It seems like an easy enough 'fix' to revert it to a regular string replace, but I don't want to accidentally circumvent something you've taken your time to fix, so I need to ask your help again. Sorry :C

3) One more edit. I hope this is the last-- when I upgraded metamp3 to the latest beta, it broke support for VA in react, so I changed that --user-text line to this instead-- I probably wouldn't write home about this one except for the fact that the disc/set stuff seemed to need the latest beta, so this might be 'mismatched', where the current cfg might not fully work with either version as-is.
Code: [Select]
--frame "TXXX[album artist]:@VA@" --frame "TPE2:@VA@"

I've also noticed that I don't actually see an "Encoded-by" field from within foobar using the TENC frame, though using metamp3 --info shows the TENC frame is certainly present. --Foobar's fault, or is there an extra mile we can go to "fix" this?
Title: REACT 2 Released
Post by: sdgenxr on 2007-12-27 18:16:40
Quick question

I just started using Synthetic Soul's mod for REACT and can not seem to figure out how to modify the the TPE2 frame to enter the album artist.  I have edited the .cfg files but still can not get the expected outcome.

Code: [Select]
IF NOT @ImageExt@==mp3 GOTO end_lame_image
    SET dest="@ImageDir_MP3@%imageDir%"
    IF NOT EXIST %dest% MKDIR %dest%
    IF %embed_cover%==1 SET Cover_tag=--pict "{3}@cover@"
    @tools@\lame.exe @Opt_LameMP3@ %ApplyAG_Lame% "@source@" "@image@"
    @tools@\metamp3.exe %Cover_tag% %VA_tag% %Disc_MP3% --artist "@artist@" --album "@album@" --track @track@/@numtracks@ --title "@title@" --year "@year@" --genre "@genre@" --comment "@comment@" --frame TENC:"LAME @Ver_LameMP3@" --frame TPE2:""@artist@" --frame TSSE:"LAME @Ver_LameMP3@" "%TrackName%.mp3"
    IF @ApplyAlbumGain@==1 @tools@\metamp3.exe %ApplyAG_MetaMP3% "@image@"
    MOVE /Y "@image@" %dest%
    MOVE /Y "@cuesheet@" %dest%
    IF %have_cover%==1 COPY /Y "@cover@" %dest%\"@basename@.jpg"
:end_lame_image


Any ideas on what I am doing wrong?
Thanks
Title: REACT 2 Released
Post by: Synthetic Soul on 2007-12-27 19:24:05
Code: [Select]
--frame TPE2:""@artist@"

... has mismatched quotes.  Use:

Code: [Select]
--frame TPE2:"@artist@"

Presumably this will do as you wish.  You should consider the following code at the top of the CFG though:

Code: [Select]
IF @various@==0 (
    SET ArtistField=artist
    SET MP3Artist=--artist "@artist@"
) else (
    SET ArtistField=album artist
    SET MP3Artist=--user-text "[album artist]@VA@" --frame "TPE2:@VA@"
)

On a VA disc you will end up with two TPE2 switches.  I'm not that up on ID3v2 frames, but as you can see the default REACT config only uses TPE2 for VA discs.
Title: REACT 2 Released
Post by: sdgenxr on 2007-12-27 19:34:12
Code: [Select]
--frame TPE2:""@artist@"

... has mismatched quotes.  Use:

Code: [Select]
--frame TPE2:"@artist@"

Presumably this will do as you wish.  You should consider the following code at the top of the CFG though:


oops, I missed a simple fix.  Thanks

Quote
Code: [Select]
IF @various@==0 (
    SET ArtistField=artist
    SET MP3Artist=--artist "@artist@"
) else (
    SET ArtistField=album artist
    SET MP3Artist=--user-text "[album artist]@VA@" --frame "TPE2:@VA@"
)

On a VA disc you will end up with two TPE2 switches.  I'm not that up on ID3v2 frames, but as you can see the default REACT config only uses TPE2 for VA discs.


I'm not to concerned with this as I do not use VA for albums, but I will keep it in mind if I change the method to my madness.

Thanks again!
Title: REACT 2 Released
Post by: dd_wizard on 2007-12-28 18:02:14
3) One more edit. I hope this is the last-- when I upgraded metamp3 to the latest beta, it broke support for VA in react, so I changed that --user-text line to this instead-- I probably wouldn't write home about this one except for the fact that the disc/set stuff seemed to need the latest beta, so this might be 'mismatched', where the current cfg might not fully work with either version as-is.
Code: [Select]
--frame "TXXX[album artist]:@VA@" --frame "TPE2:@VA@"

I've also noticed that I don't actually see an "Encoded-by" field from within foobar using the TENC frame, though using metamp3 --info shows the TENC frame is certainly present. --Foobar's fault, or is there an extra mile we can go to "fix" this?

Running metamp3 --help or --version from the command line in the unmodified REACT2\tools directory shows v0.91 is included with REACT2. I've used  the discnumber MetaData several times with this configuration and it works fine.

Mp3Tag shows the TENC frame is present, along with TSSE which has the software/encoder settings. I'm thinking foobar may not show TENC, even though it's present.

I'm not sure why UserSettings would need to be escaped. Perhaps Synthetic Soul has an idea on that one.

EDIT: According to the readme file, --user-text and --user-url aren't supported in metamp3 v0.92. Your patch or something similar is needed to update metamp3 to v0.92 in REACT.

dd_wizard
Title: REACT 2 Released
Post by: m_l on 2008-01-06 01:20:39
Hello.

I really like React , I have a question.  When I rip to flac and mp3 the track number on the flac file shows as 1/10 not 01 like on the mp3 files when playing the file. The file name shows 01 for both flac and mp3. Is there a way I change it so the flac shows the track number like the mp3 when playing without doing manually?

TIA
Title: REACT 2 Released
Post by: nago on 2008-01-06 05:31:50
Hello.

I really like React , I have a question.  When I rip to flac and mp3 the track number on the flac file shows as 1/10 not 01 like on the mp3 files when playing the file. The file name shows 01 for both flac and mp3. Is there a way I change it so the flac shows the track number like the mp3 when playing without doing manually?

TIA


If you open up the .cfg file, you can change the line where it sets -t TrackNumber="@Track@/@NumTracks@" to just ="@track@". If you want to add a 'TotalTracks' field, you can add -t TotalTracks="@NumTracks@".
Title: REACT 2 Released
Post by: m_l on 2008-01-06 06:38:50

Hello.

I really like React , I have a question.  When I rip to flac and mp3 the track number on the flac file shows as 1/10 not 01 like on the mp3 files when playing the file. The file name shows 01 for both flac and mp3. Is there a way I change it so the flac shows the track number like the mp3 when playing without doing manually?

TIA


If you open up the .cfg file, you can change the line where it sets -t TrackNumber="@Track@/@NumTracks@" to just ="@track@". If you want to add a 'TotalTracks' field, you can add -t TotalTracks="@NumTracks@".



nago,

That worked  it now shows just like the mp3 files when playing and with the total tracks also.

Thank You

One other thing, I manually move the cuesheets and the log to both the flac and mp3 folder of the album just ripped. The cover moves over but not the rest can this be fixed as well?

TIA
Title: REACT 2 Released
Post by: nago on 2008-01-06 07:21:32
nago,

That worked  it now shows just like the mp3 files when playing and with the total tracks also.

Thank You

One other thing, I manually move the cuesheets and the log to both the flac and mp3 folder of the album just ripped. The cover moves over but not the rest can this be fixed as well?

TIA




You can copy the log by uncommenting the COPY /Y [etc] line in the post-processing section (ctrl +f for "REM COPY") -- delete the REM comment. This occurs once per each format.

As for the cuesheet, you can do COPY /Y $ALBUM$.[mg].cue , or [m] [mc] etc.. just copy the log copy line and tailor it for logfiles if you so please.
Title: REACT 2 Released
Post by: m_l on 2008-01-06 11:08:17
Quote
You can copy the log by uncommenting the COPY /Y [etc] line in the post-processing section (ctrl +f for "REM COPY") -- delete the REM comment. This occurs once per each format.

As for the cuesheet, you can do COPY /Y $ALBUM$.[mg].cue , or [m] [mc] etc.. just copy the log copy line and tailor it for logfiles if you so please.



nago,

This works for the log only and only if I rip the whole album to tracks. If select only a single or a few tracks it fails only, the cover moves over.

Thank You
Title: REACT 2 Released
Post by: lipidicman on 2008-01-07 12:20:29
Just dropped in to say I have finally moved over to using synthetic soul's mod on my main machine.  I have been far too busy to alter my ripping settings, although I have been playing around with it on the laptop.  I like to know everthing works.  With the holidays and a move to the new EAC and accuraterip in the logfile I felt it was time.  I feel a little bad for the delay as I hassled him a little to develop it.

Everything is working perfectly (so far).  So I guess my point here is to thank Synthetic Soul and everyone else who has helped with their input.

I now need to decide how to tag singles and live albums so foobar can separate them out if I wish.  I am using a tag called TYPE, so I set TYPE=single or TYPE=live.  It works, but any better advice on the tagging? (the REACT code is fine)

Edit.  I guess I could just use the Album Subtitle and simply enter 'Single'.  This will be easy to filter in foobar.

I am also starting on a guide which covers EAC, REACT, SS's mod and foobar.  Initially for my own use and maybe I will release it.  I am using it to practise LaTeX and my technical writing
Title: REACT 2 Released
Post by: ESP85 on 2008-01-10 14:07:23
Hey guys.  I want to upgrade the FLAC my REACT2 setup uses.

The FLAC I'm using now is 1.1.4 and I want to upgrade it to 1.2.1 but there are two FLAC files in my tools folder: flac.exe and libFLAC.dll

Do I only need to replace the flac.exe file with the updated 1.2.1 version?

What is the libFLAC.dll used for?
Title: REACT 2 Released
Post by: Synthetic Soul on 2008-01-10 14:22:21
libFLAC.dll is used by ACDIR to split FLAC files (which REACT does not need).

You are fine to just update FLAC.EXE.
Title: REACT 2 Released
Post by: drbeachboy on 2008-01-10 19:28:13
libFLAC.dll is used by ACDIR to split FLAC files (which REACT does not need).

You are fine to just update FLAC.EXE.
Just a reminder too, that ACDIR will not work at all if you update to a newer libFLAC.dll. It will only work with the version that accompanies the package.
Title: REACT 2 Released
Post by: nago on 2008-01-11 00:39:47
oh, does ACDIR really not play nicely with libflac 1.2.1? I had replaced it and never noticed a problem, but I guess I don't use images mode much...
Title: REACT 2 Released
Post by: m_l on 2008-01-11 06:46:43
Maybe this might help someone else out.

After going over most of this thread I finally figured out how to copy over the cue files and Thanks to nago my eaclog file also. 

I added this to the track section in the track.cfg, for all the relevant formats I'm using:
Code: [Select]
IF EXIST "@albumfile@.[*].cue" COPY /Y "@albumfile@.[*].cue"
 
The above will copy all the cuesheets.




And this to the audio format section in the track.cfg for all the relevant formats I'm using:
Code: [Select]
COPY /Y "@eaclog@" "EAClog.txt"

The above will copy the EAClog.


Or


In the audio format section in the track.cfg for all the relevant formats:
Code: [Select]
COPY /Y "@albumfile@.[mg].cue" "$cdartist$ - $album$[mg].cue"

The above will copy the [mg].cue only.





In the audio format section in the track.cfg for all the relevant formats:
Code: [Select]
COPY /Y "@eaclog@" "$cdartist$ - $album$.log"

The above will copy the eaclog but with the artist name and album instead of just EAClog.



I prefer the latter


This thread has been very helpful in setting up REACT.

I would like to Thank everybody who has posted their code to help noobs like me 
Title: REACT 2 Released
Post by: dewey1973 on 2008-01-11 18:51:30
Where does REACT trigger AlbumArtDownloader?  I want to change the command line parameters to sort the search results by size but I cannot find the code in the cfg file.
Title: REACT 2 Released
Post by: Synthetic Soul on 2008-01-11 20:02:44
Unfortunately REACT executes AlbumArt.exe using a command line that it creates.  You would need to amend and re-compile the source code.

It would be quite easy to allow users to add additional parameters, via an INI variable, to the command executed.
Title: REACT 2 Released
Post by: Akkurat on 2008-01-12 10:42:59
I have updated the REACT:Creating A Playlist (http://wiki.hydrogenaudio.org/index.php?title=REACT:Creating_A_Playlist) Wiki page.

I added a workaround for a bug/problem with tag.exe: %-chars disappearing from the playlist filename when using tag.exe. It's a rare problem.. but anyways, it's covered now.
Title: REACT 2 Released
Post by: sdgenxr on 2008-01-12 19:11:29
I recently updated REACT to Synthetic Soul’s Mod and am having difficulty getting the “Album Artist” field tagged.  If I recall correctly on my last install, I modified the image.cfg with the TPE2 frame to the artist.  For some reason I cannot figure out what I’m doing wrong this time as I do not have my previous .cfg file to compare.

Here is what my image.cfg looks like:
Code: [Select]
IF NOT @ImageExt@==mp3 GOTO end_lame_image
    SET dest="@ImageDir_MP3@%imageDir%"
    IF NOT EXIST %dest% MKDIR %dest%
    IF %embed_cover%==1 SET Cover_tag=--pict "{3}@cover@"
    @tools@\lame.exe @Opt_LameMP3@ %ApplyAG_Lame% "@source@" "@image@"
    @tools@\metamp3.exe %Cover_tag% %VA_tag% %Disc_MP3% --artist "@artist@" --album "@album@" --track @track@/@numtracks@ --title "@title@" --year "@year@" --genre "@genre@" --comment "@comment@" --frame TENC:"LAME @Ver_LameMP3@" --frame TPE2:"@artist@" --frame TSSE:"LAME @Ver_LameMP3@" "%TrackName%.mp3"
    IF @ApplyAlbumGain@==1 @tools@\metamp3.exe %ApplyAG_MetaMP3% "@image@"
    MOVE /Y "@image@" %dest%
    MOVE /Y "@cuesheet@" %dest%
    IF %have_cover%==1 COPY /Y "@cover@" %dest%\"@basename@.jpg"
:end_lame_image


And this is what I get in return when pressing F10:
Code: [Select]
TITLE 01/10 mp3 "Some Other Country" & C:\MP3FIL~1\EAC\tools\lame.exe -V 2 --vbr
-new --noreplaygain  - "01 - Quiet Life.mp3" & C:\MP3FIL~1\EAC\tools\metamp3.exe
--pict "{3}D:\Ripping\Some Other Country.jpg"   --artist "Swayzak" --album "Som
e Other Country" --title "Quiet Life" --track 01/10 --year "2007" --genre "Elect
ronic" --comment "Created with EAC/REACT2, 2008-01-12" --frame TENC:"LAME 3.97 -
V 2 --vbr-new --noreplaygain" --frame TSSE:"LAME 3.97 -V 2 --vbr-new --noreplayg
ain" "01 - Quiet Life.mp3"
LAME 3.97 32bits (http://www.mp3dev.org/)
CPU features: MMX (ASM used), SSE (ASM used), SSE2
Using polyphase lowpass filter, transition band: 18671 Hz - 19205 Hz
Encoding <stdin> to 01 - Quiet Life.mp3
Encoding as 44.1 kHz VBR(q=2) j-stereo MPEG-1 Layer III (ca. 7.3x) qval=3


What am I missing here?

On a side note, I’m trying to fully understand the power of Synthetic Soul’s REACT mod, but cannot seem to figure out what kind of lines to place in it, where, and what those results would be.  Can someone point me towards a post that has some description of what it can accomplish?

Thanks for all the hard work everyone here has done!
Title: REACT 2 Released
Post by: drbeachboy on 2008-01-12 21:48:41
Quote
--frame TPE2:"@artist@"


You might try "--frame TPE2:"@cdartist@"" as I believe that is what is used for Album Artist.
Title: REACT 2 Released
Post by: sdgenxr on 2008-01-12 22:33:27
You might try "--frame TPE2:"@cdartist@"" as I believe that is what is used for Album Artist.

No luck with that one.

One thing I did notice is that "--frame TPE2" does not even show up in the command as being executed.  Has something changed with how tags are set?
Code: [Select]
--frame TENC:"LAME @Ver_LameMP3@" --frame TPE2:"@artist@" --frame TSSE:"LAME @Ver_LameMP3@"

Code: [Select]
--frame TENC:"LAME 3.97 -V 2 --vbr-new --noreplaygain" --frame TSSE:"LAME 3.97 -V 2 --vbr-new --noreplaygain"
Title: REACT 2 Released
Post by: Synthetic Soul on 2008-01-13 07:08:30
You appear to be listing the code from the MP3 image processing, but looking at the MP3 track processing.  I.e.: you have amended the MP3 image code, but appear to actually be interested in the MP3 track code of REACT-image.cfg.

Look further down the config for this code:

Code: [Select]
IF NOT @LameMP3@==1 GOTO end_lame_tracks
  SET dest="@TrackDir_MP3@"
  IF NOT EXIST %dest% MKDIR %dest%
  PUSHD %dest%
    IF @various@==1 SET VA_tag=--user-text $q[album artist]@VA@$q --frame $qTPE2:@VA@$q
    IF %embed_cover%==1 SET Cover_tag=--pict $#x
    @tools@\acdir.exe --overwrite --output "%TrackName%.mp3" --extra-opt "{3}@cover@" --pipe "TITLE $n/$N mp3 $#T & @tools@\lame.exe @Opt_LameMP3@ %ApplyAG_Lame% - $#o & @tools@\metamp3.exe %Cover_tag% %VA_tag% --artist $#a --album $#T --title $#t --track $n/$N --year $q@year@$q --genre $q@genre@$q --comment $q@comment@$q --frame TENC:$q%USERNAME%$q --frame TSSE:$qLAME @Ver_LameMP3@ @Opt_LameMP3@$q $#o" "@sourcecuesheet@"
    IF %add_rg%==1 @tools@\metamp3.exe %RG_MetaMP3% *.mp3
    IF @ApplyAlbumGain@==1 @tools@\metamp3.exe %ApplyAG_MetaMP3% *.mp3
    REM COPY /Y "@eaclog@" "EAClog.txt"
    IF %have_cover%==1 COPY /Y "@cover@" "folder.jpg"
  POPD
:end_lame_tracks
Title: REACT 2 Released
Post by: Synthetic Soul on 2008-01-13 07:23:59
On a side note, I'm trying to fully understand the power of Synthetic Soul's REACT mod, but cannot seem to figure out what kind of lines to place in it, where, and what those results would be.  Can someone point me towards a post that has some description of what it can accomplish?
A good place to start would be the REACT:Mods wiki page (http://wiki.hydrogenaudio.org/index.php?title=REACT:Mods) where you downloaded the mod.  The description covers the original purpose of the mod, while the changelog covers all other changes that have been made to the original.

Aside from fixing a few bugs with some characters in album, artist, or file names, and adding some functionality that a few people wanted, it has two major benefits:In fact,the Key Points (http://wiki.hydrogenaudio.org/index.php?title=REACT:Mods#Key_Points) section of the wiki page may have been the most sensible place to point you.  Meh.
Title: REACT 2 Released
Post by: sdgenxr on 2008-01-14 23:15:16
You appear to be listing the code from the MP3 image processing, but looking at the MP3 track processing.  I.e.: you have amended the MP3 image code, but appear to actually be interested in the MP3 track code of REACT-image.cfg.

That was it.  Thanks Synthetic Soul

Now I just need to spend some time learning your mod and take advantage of the added benefits.
Title: REACT 2 Released
Post by: feelgood on 2008-01-14 23:18:02
Hi everybody!

Just found that the latest Avast! Home scanner reports a trojan/virus in SS-modified react.exe file: Win32:Trojan-gen {UPX}. (http://www.synthetic-soul.co.uk/temp/REACT_2.0.ssb16n.zip)
A false positive? Avast! doesn't report anything malicious in the original react.exe file.

BTW, the SSb16n mod works beautifully. I would like to thank Mr. Synthetic Soul, Tycho and all you people there with brains!!!

First I rip the CD with EAC to a wav-image and then re-rip the wav file with React/Daemon-Tools to get a FLAC image-file and AAC track-files in two consecutive sessions (F4 and F10). This procedure is the fastest and most convinient to my knowledge. I tried to modify the ini and cfg-files to leave the temporary wav file, the cue file and the log file from a CD->FLAC-image conversion session intact, but it went too complicated. If somebody knows how to do that, I would be very happy to get the information.
Title: REACT 2 Released
Post by: Akkurat on 2008-01-14 23:51:16
Just found that the latest Avast! Home scanner reports a trojan/virus in SS-modified react.exe file: Win32:Trojan-gen {UPX}. (http://www.synthetic-soul.co.uk/temp/REACT_2.0.ssb16n.zip)
A false positive? Avast! doesn't report anything malicious in the original react.exe file.

False positive. Here's the scan result by virusscan.jotti.org:

File:    REACT.exe
Status:    POSSIBLY INFECTED/MALWARE (Note: this file was only classified as malware by scanners known to generate more false positives than the average scanner. Do not consider these results definately accurate. Also, because of this, results of this scan will not be recorded in the database.)
MD5:    4db906bddccb0cd925306e252f746864
Packers detected:    PE_PATCH.UPX, UPX
Bit9 reports:    File not found

Scanner results
Scan taken on 14 Jan 2008 23:37:27 (GMT)
A-Squared    Found nothing
AntiVir    Found nothing
ArcaVir    Found nothing
Avast    Found Win32:Trojan-gen {UPX}
AVG Antivirus    Found nothing
BitDefender    Found nothing
ClamAV    Found nothing
CPsecure    Found nothing
Dr.Web    Found nothing
F-Prot Antivirus    Found nothing
F-Secure Anti-Virus    Found nothing
Fortinet    Found nothing
Ikarus    Found nothing
Kaspersky Anti-Virus    Found nothing
NOD32    Found nothing
Norman Virus Control    Found nothing
Panda Antivirus    Found nothing
Rising Antivirus    Found nothing
Sophos Antivirus    Found nothing
VirusBuster    Found nothing
VBA32    Found nothing

First I rip the CD with EAC to a wav-image and then re-rip the wav file with React/Daemon-Tools to get a FLAC image-file and AAC track-files in two consecutive sessions (F4 and F10). This procedure is the fastest and most convinient to my knowledge. I tried to modify the ini and cfg-files to leave the temporary wav file, the cue file and the log file from a CD->FLAC-image conversion session intact, but it went too complicated. If somebody knows how to do that, I would be very happy to get the information.

You want only FLAC image & AAC tracks? You only need to edit the INI file:

1. Change "ImageExt=wav" to "ImageExt=flac" (without quotes)
2. Set "NeroAac=0" OR "iTunesAac=0" (I don't know which one you would like) setting to =1 (others to 0 of course)
3. Rip with F10

All this information is available in the original REACT Wiki page (http://wiki.hydrogenaudio.org/index.php?title=REACT).
Title: REACT 2 Released
Post by: m_l on 2008-01-15 00:00:37
Is there anyway to embed artwork to .ogg files in REACT? I can do it manually with AudioShell. I have searched, but cannot find a way to do it with REACT.
Title: REACT 2 Released
Post by: nago on 2008-01-15 01:00:39
I don't know of any command line tools to add album art to APE tags (TAK and WV) or to add to vorbis comments (OGG)... I'd love to know myself.


As for the virus report, if you got the .exe straight from Neil's website, I'm sure it's a false positive. If you are worried you can even compile the .exe yourself if you'd like
Title: REACT 2 Released
Post by: Synthetic Soul on 2008-01-15 10:10:31
First I rip the CD with EAC to a wav-image and then re-rip the wav file with React/Daemon-Tools to get a FLAC image-file and AAC track-files in two consecutive sessions (F4 and F10). This procedure is the fastest and most convinient to my knowledge. I tried to modify the ini and cfg-files to leave the temporary wav file, the cue file and the log file from a CD->FLAC-image conversion session intact, but it went too complicated. If somebody knows how to do that, I would be very happy to get the information.
You could quite easily do this in one stage with REACT.

Keeping the WAV image is easy. The only slightly complicated bit is ensuring that you have an accurate cuesheet for the WAVE file.  I would use SED for this: to amend the FLAC cuesheet, and save it in your WAV folder.  Here's how:

Assuming that you are using the amended CFGs, replace the section (at the beginning of the image processing code):

Code: [Select]
REM Ensure that the EAC log is available
:CheckForLog
IF NOT EXIST "@eaclog@" GOTO Pause

.. with this:

Code: [Select]
REM Ensure that the EAC log is available
:CheckForLog
IF NOT EXIST "@eaclog@" GOTO Pause


REM Store WAVE image
SET dest="@ImageDir_WAV@%imageDir%"
IF NOT EXIST %dest% MKDIR %dest%
PUSHD %dest%
    FOR %%G IN ("@image@") DO SET imageName=%%~nG
    COPY /Y "@source@" "%imageName%.wav"
    COPY /Y "@eaclog@" "%imageName%.log"
    @tools@\SED.EXE s/\.@imageext@/\.wav/ <"@cuesheet@" >"%imageName%.cue"
POPD

Then simply add a line in REACT.ini, under the [UserOutputNames] section, to set the value of ImageDir_WAV.

This additional code will create the folder that you specify with ImageDir_WAV.  It will then copy the source WAVE image to this folder, using the same naming scheme as your FLAC image ("<imageName>"). It will copy the EAC log to the folder naming it as "<imageName>.log".  Finally it will use SED to replace ".flac" with ".wav" in the cuesheet text, and save it as "<imageName>.cue".

Check this wiki article (http://wiki.hydrogenaudio.org/index.php?title=REACT:Amending_Cuesheet_File_References) to find out where to get SED and what to do with it.
Title: REACT 2 Released
Post by: nago on 2008-01-15 10:19:46
I like your SED methodology on the wiki page, but I think I had ran into a problem with a similar methodology when trying to accomplish the same effect myself...

If there is an Ampersand in the resultant %TrackName%, doesn't sed replace it with the matched string? Or does your method somehow avoid that pitfall? I wasn't able to find a method to escape the ampersand within SED, as it didn't except \Q...\E regex within the RHS.
Title: REACT 2 Released
Post by: Synthetic Soul on 2008-01-15 10:24:37
No, my method does not escape potentially problematic characters; so, you're right: it's possible that some filenames may cause a problem.

I guess with some effort we could escape characters before adding them to the SED command.  I hate doing this sort of thing in batch files though: the commands aren't really up to it.

Edit: @feelgood, BTW: the potential issue discussed does not affect the code above - only the code in the wiki article.  Fear not!
Title: REACT 2 Released
Post by: nago on 2008-01-15 10:27:16
I hate doing this sort of thing in batch files though: the commands aren't really up to it.


I've certainly noticed this.

I was pondering at one point if I shouldn't just replace the whole DOS backend with a BASH one instead...

Maybe for this summer's "I'm Bored" project?

I don't think there are any other problematic characters, though. I believe the RHS only interprits Ampersands (Matched strings), backslashes and forward slashes. The latter two which should not be in %TrackName% anyway.

Edit: Whoops! Didn't mean to start a fear campaign. Fear not indeed!
Title: REACT 2 Released
Post by: SamHain86 on 2008-01-15 12:33:19
Quote

First I rip the CD with EAC to a wav-image and then re-rip the wav file with React/Daemon-Tools to get a FLAC image-file and AAC track-files in two consecutive sessions (F4 and F10). This procedure is the fastest and most convinient to my knowledge. I tried to modify the ini and cfg-files to leave the temporary wav file, the cue file and the log file from a CD->FLAC-image conversion session intact, but it went too complicated. If somebody knows how to do that, I would be very happy to get the information.

REACT is just EAC, only with things applied over it. Why not just set your INI:
Code: [Select]
ImageExt=flac
...
NeroAac=1

And do it in one pass instead of three? It should leave the EAC LOG alone, and it wouldn't make sense to keep the WAV-image when you have the FLAC image.

Thought it took me to the last page just now... sorry for the late reply.
Title: REACT 2 Released
Post by: Akkurat on 2008-01-15 14:11:46
FEAR NOT! I'm working on the SED problem right now.. actually have been couple of days already.. it's not easy but I think I got it figured out. There's more problematic chars besides the ampersand. I've gathered all the information and now I'm testing and creating escape code. I'll get back in 1-2 days (I can't use all my time to do these things u know).

The SED tool is a bad choice (in case there's more options to choose from) for "REACT:Amending Cuesheet File References" because there's no need to use regex in the substitution. If anyone knows a good DOS command line utility to just change strings in text files, let me know. It would be much easier to use without these regex special char escapes. It's impossible to write a "definitive" escape guide (or code) to SED since there's a few "what if user decides to do.." options.

And for the cherry on the top: SED converts all modified/created files into unix-type newline files (CR/LF -> LF). Files work ok in windows but... devil in the details kind of thing. I had to get a new tool (todos.exe (http://www.thefreecountry.com/tofrodos/)) to change SED modified files back to CR/LF.
Title: REACT 2 Released
Post by: Synthetic Soul on 2008-01-15 15:43:46
GSAR:  http://gnuwin32.sourceforge.net/packages/gsar.htm (http://gnuwin32.sourceforge.net/packages/gsar.htm)

Code: [Select]
gsar, ver 1.20 -- Copyright (C) 1992-2007 Tormod Tjaberg & Hans Peter Verne

Usage: gsar [options] [infile(s)] [outfile]
Options are:
-s<string> Search string
-r[string] Replace string. Use '-r' to delete the search string from the file
-i         Ignore case difference when comparing strings
-B         just display search & replace Buffers
-f         Force overwrite of an existing output file
-o         Overwrite the existing input file
-c[n]      show textual Context of match, 'n' is number of bytes in context
-x[n]      show context as a heX dump, 'n' is number of bytes in context
-b         display Byte offsets of matches in file
-l         only List filespec and number of matches (default)
-h         suppress display of filespec when displaying context or offsets
-du        convert a DOS ASCII file to UNIX (strips carriage return)
-ud        convert a UNIX ASCII file to DOS (adds carriage return)
-F         'Filter' mode, input from stdin and eventual output to stdout
-G         display the GNU General Public Licence

Ctrl characters may be entered by using a ':' in the string followed by the
ASCII value of the character. The value is entered using ':' followed by three
decimal digits or ':x' followed by two hex numbers. To enter ':' use '::'

Neither solution discussed today require regular expressions.  GSAR would require some extra coding to create the list of commands to execute, as it can't appear to run a list of actions from a text file as per SED; however I would assume that you could simply write GSAR commands to a batch file instead, and just execute it (rather than write SED actions to a text file and pass it to SED).


As an example, the SED line above:

Code: [Select]
@tools@\SED.EXE s/\.@imageext@/\.wav/ <"@cuesheet@" >"%imageName%.cue"

.. could be amended to:

Code: [Select]
@tools@\GSAR.EXE -s.@imageext@ -r.wav "@cuesheet@" "%imageName%.cue"
Title: REACT 2 Released
Post by: Synthetic Soul on 2008-01-15 16:48:15
This would be my suggestion for the cuesheet amend code:

Use the following in the track processing section:

Code: [Select]
SET trackCueFile="$cdartist$ - $album$.cue"
IF NOT EXIST %trackCueFile% COPY "@albumfile@.[mg].cue" %trackCueFile%
ECHO @tools@\GSAR.EXE "-sFILE """@basename@.wav"""" "-rFILE """%TrackName%.wv"""" -o %trackCueFile%>>update-cuesheet.bat

E.g.:

Code: [Select]
IF NOT @Wavpack@==1 GOTO end_wavpack_tracks
    IF NOT EXIST %TrackDir_Wavpack% MKDIR %TrackDir_Wavpack%
    PUSHD %TrackDir_Wavpack%
        IF @various@==1 SET VA_tag=-w "album artist=@VA@"
        ECHO ON
        @tools@\wavpack.exe @Opt_Wavpack@ %VA_tag% -w artist="@artist@" -w album="@album@" -w track="@track@/@numtracks@" -w title="@title@" -w year="@year@" -w genre="@genre@" -w comment="@comment@" -w encodedby="%USERNAME%" -w encodersettings="Wavpack @Ver_Wavpack@ @Opt_Wavpack@" "@source@" "%TrackName%.wv"
        @ECHO OFF
        SET trackCueFile="$cdartist$ - $album$.cue"
        IF NOT EXIST %trackCueFile% COPY "@albumfile@.[mg].cue" %trackCueFile%
        ECHO @tools@\GSAR.EXE "-sFILE """@basename@.wav"""" "-rFILE """%TrackName%.wv"""" -o %trackCueFile%>>update-cuesheet.bat
        IF %have_cover%==1 IF NOT EXIST folder.jpg COPY "@cover@" folder.jpg
        TITLE @track@/@numtracks@ - "@album@"
    POPD
:end_wavpack_tracks


Use the following in the final track section:

Code: [Select]
CALL update-cuesheet.bat
DEL update-cuesheet.bat

E.g.:
Code: [Select]
IF @Wavpack@==1 (
    PUSHD %TrackDir_Wavpack%
        IF %add_rg%==1 @tools@\wvgain.exe -a *.wv
        REM COPY /Y "@eaclog@" "EAClog.txt"
        CALL update-cuesheet.bat
        DEL update-cuesheet.bat
    POPD
)


If anyone wants to test and confirm we could add it to the wiki article.
Title: REACT 2 Released
Post by: Akkurat on 2008-01-15 17:30:15
I can do it. I have already done some test code but just need to finish it later (I'm watching a hockey game currently).

I don't think you can escape quotes with "".

Here's my test (for general use):
Code: [Select]
REM ** test.txt contains one or more following line(s): this is a "piece" of: text to: test with :: this "" test text

REM ** VARS
SET text=this is a "piece" of: text to: test with :: this "" test text
SET outputText=TESTING DONE:all done "great" work :: "" thank you"

REM ** ESCAPE
SET text=%text::=::%
SET text=%text:"=:x22%

SET outputText=%outputText::=::%
SET outputText=%outputText:"=:x22%

gsar.exe "-s%text%" "-r%outputText%" "test.txt" "output.txt"

In general we need to escape two chars: the quote (") and the colon (:). The quote is escaped with hex (" -> :x22). I know that we don't need these escapes with "Amending Cuesheet File References", but I think that it would be better to include these (+text to explain them) because somebody could use GSAR to other needs.

Also I found this in the manual:
Code: [Select]
The precompiled MSDOS executable in the archive supports response files. Just put you gsar commands into a file and put a ‘@’ in front of the filename on the gsar command line. 

Example: file foobar.txt contains -ssupercalifragilisticexpialidocus:
gsar @foobar.txt poppins.txt

So if you let me, I can change the wiki page later today. ok?
Title: REACT 2 Released
Post by: Synthetic Soul on 2008-01-15 17:39:44
I don't think you can escape quotes with "".
The code I posted has been tested, and works.

I know that we don't need these escapes with "Amending Cuesheet File References", but I think that it would be better to include these (+text to explain them) because somebody could use GSAR to other needs.
I'm not sure that it should be included in that wiki article, but some tips for using GSAR elsewhere would always be useful.
Title: REACT 2 Released
Post by: feelgood on 2008-01-15 17:45:01
You could quite easily do this in one stage with REACT.
Keeping the WAV image is easy. The only slightly complicated bit is ensuring that you have an accurate cuesheet for the WAVE file.  I would use SED for this: to amend the FLAC cuesheet, and save it in your WAV folder.  Here's how:
*
*
*
Then simply add a line in REACT.ini, under the [UserOutputNames] section, to set the value of ImageDir_WAV.

This additional code will create the folder that you specify with ImageDir_WAV.  It will then copy the source WAVE image to this folder, using the same naming scheme as your FLAC image ("<imageName>"). It will copy the EAC log to the folder naming it as "<imageName>.log".  Finally it will use SED to replace ".flac" with ".wav" in the cuesheet text, and save it as "<imageName>.cue".

Check this wiki article (http://wiki.hydrogenaudio.org/index.php?title=REACT:Amending_Cuesheet_File_References) to find out where to get SED and what to do with it.

Synthetic Soul, you're the man! This worked perfectly!

Now, after ripping the CD (F10) and virtual-ripping the wav image-file (F4) I have:
1. FLAC-image and
2. iTunes AAC-tracks with all the appropriate cue and log files. I even get
3. the original WAV image-file and cuesheet to burn a backup copy of a badly scratched disc, if needed.

Thousand thanks!

SamHain86 and Akkurat:
React/iTunesEncode don't support one-pass conversion of FLAC-image and iTunes AAC-tracks. That should be added to the Wiki.

- feelgood
Title: REACT 2 Released
Post by: Akkurat on 2008-01-15 20:10:53
I don't think you can escape quotes with "".
The code I posted has been tested, and works.

We were both right (if we count out my bad expression I made in a hurry): one can't _replace_ (this is what I meant) the quote with two quotes but three quotes.. quite confusing since the colon is escaped with replacing it with two colons. I would use the hex or decimal escape solution. But in fact we don't need that in "Amending Cuesheet..." because we can shorten the substitution to:

Code: [Select]
GSAR.EXE "-s@basename@.wav" "-r%TrackName%.wv"


I know that we don't need these escapes with "Amending Cuesheet File References", but I think that it would be better to include these (+text to explain them) because somebody could use GSAR to other needs.
I'm not sure that it should be included in that wiki article, but some tips for using GSAR elsewhere would always be useful.

Any suggestions where? I think I'd put that in the "Amending Cuesheet..." wiki article since this is the only place where it's going to be used... BUT in the bottom part of the page with big header separating it from the main article. No?
Title: REACT 2 Released
Post by: Synthetic Soul on 2008-01-15 20:16:37
But in fact we don't need that in "Amending Cuesheet..." because we can shorten the substitution to:

Code: [Select]
GSAR.EXE "-s@basename@.wav" "-r%TrackName%.wv"
I believe that I had the additional text to ensure that the right part was being acted upon; however, it should be reasonably safe to cut the text down to the above.

I think I'd put that in the "Amending Cuesheet..." wiki article since this is the only place where it's going to be used... BUT in the bottom part of the page with big header separating it from the main article. No?
I totally agree.  In retrospect the article is an acceptable place, if the additional code is added as an extra section at the bottom, as supplimentary information to the actual article text.

Thanks.
Title: REACT 2 Released
Post by: nago on 2008-01-15 21:09:07
So is
Code: [Select]
GSAR.EXE "-s@basename@.wav" "-r%TrackName%.wv"

The final verdict?

If Akkurat thinks it works then I guess I'm inclined to believe, since he tests everything so meticulously
Title: REACT 2 Released
Post by: Akkurat on 2008-01-15 22:09:16
So is
Code: [Select]
GSAR.EXE "-s@basename@.wav" "-r%TrackName%.wv"

The final verdict?

If Akkurat thinks it works then I guess I'm inclined to believe, since he tests everything so meticulously

That's my trademark. Pain in the ass.  I vote yes.. would you believe?!  But seriously, is there a possibility to find more than one identical "$cdartist$ - $album$ - $track$ - $title$" text strings in cue file? No. At least the $track$ is always different. The "FILE "" string at the front makes no difference whatsoever.

The work is a little bit stopped because, can you already guess, I think I've found a bug/problem in GSAR (I emailed authors). Whatever I do, I find problems... I don't know if I should laugh or cry.  Get this; I still don't have my custom working REACT configured.. all I seem to do is bug hunt... I implemented tag.exe to my conf and found a bug/problem, fixed it, next SED amend cuesheets, major problems.. maybe I have my REACT working in the next century.

Anyone care to try following instructions with GSAR?
Code: [Select]
The precompiled MSDOS executable in the archive supports response files. Just put you gsar commands into a file and put a ‘@’ in front of the filename on the gsar command line. 

Example: file foobar.txt contains -ssupercalifragilisticexpialidocus:
gsar @foobar.txt poppins.txt

This always gives me the following error message: "gsar: command error, no search string specified".
Title: REACT 2 Released
Post by: SamHain86 on 2008-01-15 22:28:13
SamHain86 and Akkurat:
React/iTunesEncode don't support one-pass conversion of FLAC-image and iTunes AAC-tracks.
Um... I am not quite sure what you mean... Is that because iTunesEncode does not support piping?

I use my REACT2 to rip a CD to a FLAC-image [with embedded CUE-sheet] AND create MP3 and OGG Tracks in one pass. Image mode can process the WAV and CUE to create the tracks using ACDir.
Title: REACT 2 Released
Post by: Synthetic Soul on 2008-01-15 22:43:47
So is
Code: [Select]
GSAR.EXE "-s@basename@.wav" "-r%TrackName%.wv"

The final verdict?
My string will work absolutely fine (whatever Akkurat's concerns) but the above should be perfectly adequate, and I would second it for the sake of clarity.

BTW: It took me five minutes of Googling to settle on GSAR.

The work  is a little bit stopped because, can you already guess, I think I've  found a bug/problem in GSAR (I emailed authors). Whatever I do, I find  problems...
Can you share what the problem is?
Title: REACT 2 Released
Post by: nago on 2008-01-15 22:47:27
Can you share what the problem is?


I think his issue is that he cannot get it to execute a script from file.
Title: REACT 2 Released
Post by: Akkurat on 2008-01-15 23:12:06

Can you share what the problem is?
I think his issue is that he cannot get it to execute a script from file.

Correct. I'm sorry, I'm sometimes completely fu#%ing useless at communicating. It was clear to me that everybody would understand that the last request to test GSAR instructions I posted is the bug/problem I encountered. Sorry. *crawling back under my rock*

My string will work absolutely fine (whatever Akkurat's concerns) but the above should be perfectly adequate, and I would second it for the sake of clarity.

Yes it works, I just offered a replacement so that we could get away from the confusing char escape.. as you say, for the sake of clarity.
Title: REACT 2 Released
Post by: feelgood on 2008-01-15 23:42:54
SamHain86 and Akkurat:
React/iTunesEncode don't support one-pass conversion of FLAC-image and iTunes AAC-tracks.
Is that because iTunesEncode does not support piping?

I don't know for sure, but there is some discussion in this thread beginning from post #167.

- feelgood

(and I sure feel good now, thanks to this magnificent forum!)
Title: REACT 2 Released
Post by: Synthetic Soul on 2008-01-16 07:20:58
Correct. I'm sorry, I'm sometimes completely fu#%ing useless at communicating. It was clear to me that everybody would understand that the last request to test GSAR instructions I posted is the bug/problem I encountered. Sorry. *crawling back under my rock*
No, that's fine, no doubt me being dumb.

I think I was probably confused as I didn't see it as being a very useful feature, and therefore not a showstopper for GSAR.  I'm glad to hear that it's not to do with the core functionality anyway.  I think GSAR could be useful for some other actions in REACT configs.
Title: REACT 2 Released
Post by: SamHain86 on 2008-01-16 09:38:58
Is that because iTunesEncode does not support piping?
I don't know for sure, but there is some discussion in this thread beginning from post #167.
Looking at the original REACT-image.cfg, there is no itune track setup. However:Another idea for you is to use FB2K to transcode your FLAC-image configured with the iTunes AAC encoder, saving the time to mount a WAV image. Also, provided iTunes M4A allows it, it will keep all your tags, image art, and put the embedded EAC log into the M4A files you make.
Title: REACT 2 Released
Post by: nago on 2008-01-16 09:40:39
If you need to use iTunes AAC, you could just split the wav image into multiple wav files, and then encode them one-at-a-time much like the TAK processing does. No piped input required.

Though I don't fully comprehend the problem at hand, so maybe this isn't a very useful suggestion.

In my images.cfg, I added something like this:

Code: [Select]
IF NOT @iTunesAAC@==1 GOTO end_iTunes_aac_tracks
    SET dest="@TrackDir_AAC@%trackDir%"
    IF NOT EXIST %dest% MKDIR %dest%
    PUSHD %dest%
        IF @various@==1 SET VA_tag=-meta-user:$qAlbum Artist$q=$q@VA@$q
        IF %embed_cover%==1 SET Cover_tag=r $q@cover@$q
        @tools@\acdir.exe --overwrite --output "%TrackName%.wav" --extract "@sourcecuesheet@"
        @tools@\acdir.exe --exec "TITLE $n/$N aac $#T && @tools@\iTunesEncode.exe @Opt_iTunesAac@ %Disc_iTunesAAC_acdir% -e $qAAC Encoder$q %Cover_Tag% -x @various@ -a $#a -l $#T -n $n -m $N -t $#t -y $q@year@$q -g $q@genre@$q -c $q@comment@$q -i $q%TrackName%.wav$q -o $q%TrackName%.m4a$q && IF EXIST $q@tools@\NeroAacTag.exe$q @tools@\Neroaactag.exe $q%TrackName%.m4a$q %VA_tag% %Discname_iTunesAAC_acdir% -meta-user:encoded-by=$q%UserName%$q -meta-user:Encoding=$qiTunesEncode/iTunes @Ver_iTunesAac@ @Opt_iTunesAac@$q && DEL $q%TrackName%.wav$q" "@sourcecuesheet@"
        IF @ApplyAlbumGain@==1 @tools@\aacgain.exe %ApplyAG_AacGain% *.m4a > gainlog.txt
    POPD
    GOTO end_nero_aac_tracks
:end_iTunes_aac_tracks


It's late and I might have missed a few things, but I tried to hurriedly take out code that is specific to my custom configs/ini. But you should get the concept. I use NeroAacTag to add some additional tags that iTunesEncode doesn't let you add, but they're not important and get skipped if NeroAacTag isn't found. oh well.
It's been tested lightly, but not extensively. Also note that I use a lot of crazy variables not present in standard REACT, such as %log% (use @eaclog@), %cue% (use $albumfile$.[mg].cue) and some things like %have_log%, @makem3u_aac@ ... etc etc etc. But the core concept should be the same.
Title: REACT 2 Released
Post by: SamHain86 on 2008-01-16 13:43:40
Code: [Select]
IF NOT @iTunesAAC@==1 GOTO end_iTunes_aac_tracks
    SET dest="@TrackDir_AAC@%trackDir%"
    IF NOT EXIST %dest% MKDIR %dest%
    PUSHD %dest%
        IF @various@==1 SET VA_tag=-meta-user:$qAlbum Artist$q=$q@VA@$q
        IF %embed_cover%==1 SET Cover_tag=r $q@cover@$q
        @tools@\acdir.exe --overwrite --output "%TrackName%.wav" --extract "@sourcecuesheet@"
        @tools@\acdir.exe --exec "TITLE $n/$N aac $#T && @tools@\iTunesEncode.exe @Opt_iTunesAac@ %Disc_iTunesAAC_acdir% -e $qAAC Encoder$q %Cover_Tag% -x @various@ -a $#a -l $#T -n $n -m $N -t $#t -y $q@year@$q -g $q@genre@$q -c $q@comment@$q -i $q%TrackName%.wav$q -o $q%TrackName%.m4a$q && IF EXIST $q@tools@\NeroAacTag.exe$q @tools@\Neroaactag.exe $q%TrackName%.m4a$q %VA_tag% %Discname_iTunesAAC_acdir% -meta-user:encoded-by=$q%UserName%$q -meta-user:Encoding=$qiTunesEncode/iTunes @Ver_iTunesAac@ @Opt_iTunesAac@$q && DEL $q%TrackName%.wav$q" "@sourcecuesheet@"
        IF @ApplyAlbumGain@==1 @tools@\aacgain.exe %ApplyAG_AacGain% *.m4a > gainlog.txt
    POPD
    GOTO end_nero_aac_tracks
:end_iTunes_aac_tracks

Just tried this out and no dice. The WAVs were extracted however no M4As created.

I'll try this again after work.

-

I do not see how this can work. You are using ACDIR on individual files but import the same source cuesheet. Wouldn't that source CUE point towards the WAV-image?
Title: REACT 2 Released
Post by: lipidicman on 2008-01-16 14:10:27
Can I get something cleared up in my mind?  Are you using GSAR in place of SED because SED does not handle certain characters well ('&' now that it can be included in track titles for example)?
Title: REACT 2 Released
Post by: Synthetic Soul on 2008-01-16 14:19:51
Yes.

Although SED is far more flexible than GSAR, it's complexity is not required for the solutions suggested so far, including the cuesheet amending that we worked on.

As SED could potentially cause problems with a few characters it seems safer to change to GSAR, which will do the job just as well, but should not be affected (so much*) by these issues. 

I suggested SED when you first asked about editing the cuesheet, as it was the only command line F'n'R tool that I knew of.  Until yesterday, when nago highlighted that ampersands could cause an issue with SED, I was blissfully unaware.  I Googled about and came across GSAR as an alternative.  As it was another GNU tool - which I rate - I stopped searching any further; however, it is possible that there are even better options (that perhaps have some of the benefits of SED that the simplistic GSAR does not) out there.

* Akkurat is discussing the necessity to escape double quotes and colons for GSAR strings.  As neither can be used in filenames, these are not an issue for the cuesheet filename amending.

Edit: BTW,  I would suggest, when the wiki article is updated, that the SED-specific text is kept, under a "Using SED" subtitle, with the GSAR text added above that section, under a "Using GSAR" subtitle.  The opening passage of the article should then highlight that the GSAR approach is recommended.  I would like to keep the SED text for reference, and it may still be useful to some people.
Title: REACT 2 Released
Post by: Synthetic Soul on 2008-01-16 14:50:30
Edit: BTW, I would suggest, when the wiki article is  updated, that the SED-specific text is kept, under a "Using SED" subtitle, with the GSAR text added above that section, under a "Using GSAR" subtitle.  The opening passage of the article should then highlight that the GSAR approach is recommended.  I would like to keep the SED text for reference, and it may still be useful to some people.
I have made some amendments (http://wiki.hydrogenaudio.org/index.php?title=REACT:Amending_Cuesheet_File_References) myself.

But in fact we don't need that in "Amending Cuesheet..." because we can shorten the substitution to:

Code: [Select]
GSAR.EXE "-s@basename@.wav" "-r%TrackName%.wv"
I believe that I had the additional text to ensure that the right part was being acted upon; however, it should be reasonably safe to cut the text down to the above.
While updating the wiki I have realised why I may have used the full text.  If updating an MP3 cuesheet it is necessary to amend the file type from WAVE to MP3, as so:

Code: [Select]
ECHO @tools@\GSAR.EXE "-s@basename@.wav""" WAVE" "-r%TrackName%.mp3""" MP3" -o %trackCueFile%>>update-cuesheet.bat
Title: REACT 2 Released
Post by: Akkurat on 2008-01-16 15:51:58
I think I was probably confused as I didn't see it as being a very useful feature, and therefore not a showstopper for GSAR.  I'm glad to hear that it's not to do with the core functionality anyway.  I think GSAR could be useful for some other actions in REACT configs.

I'm currently discussing the problem with the author. If the thing gets resolved, should we update the amending cuesheet wiki to use that feature? IMHO it's nicer way to do things but it's obsolete since there's already a working solution.

Can I get something cleared up in my mind?  Are you using GSAR in place of SED because SED does not handle certain characters well ('&' now that it can be included in track titles for example)?
Yes.
...
As SED could potentially cause problems with a few characters it seems safer to change to GSAR, which will do the job just as well, but should not be affected (so much*) by these issues. 
...
nago highlighted that ampersands could cause an issue with SED

It's more than that ampersand character. Mainly the opening square bracket ( [ ) + other characters which have special meanings in the regex (basic/extended). The square bracket is used in ImageNaming INI variable AND also in the various artists filename scheme.

Edit: BTW,  I would suggest, when the wiki article is updated, that the SED-specific text is kept, under a "Using SED" subtitle, with the GSAR text added above that section, under a "Using GSAR" subtitle.  The opening passage of the article should then highlight that the GSAR approach is recommended.  I would like to keep the SED text for reference, and it may still be useful to some people.

I have to disagree slightly. The SED instructions should be removed since it's very risky to use it now without char escapes (or instructions how to do it). Maybe reference to SED should be left but without any code/instructions to use it AND a warning for the users who are currently using SED...?

Also I would recommend every SED user to check their cuefiles because there's a very high chance that your cuefiles are corrupted!!
Title: REACT 2 Released
Post by: Synthetic Soul on 2008-01-16 16:08:01
I'm currently discussing the problem with the author. If the thing gets resolved, should we update the amending cuesheet wiki to use that feature? IMHO it's nicer way to do things but it's obsolete since there's already a working solution.
Edit: Do I take it from your enthusiasm for this approach that you can have multiple occurences of the -s and -r switches in a file?  If not then I am still finding it difficult to see the appeal.

It's more than that ampersand character. Mainly the opening square bracket ( [ ) + other characters which have special meanings in the regex (basic/extended). The square bracket is used in ImageNaming INI variable AND also in the various artists filename scheme.
The ampersand is the only character that will cause a problem in the right side of the expression, and that was the character that nago raised to make me aware of the issue.

Your work on escaping for GSAR and SED would certainly be a useful addition to the wiki article.

I have to disagree slightly. The SED instructions should be removed since it's very risky to use it now without char escapes (or instructions how to do it). Maybe reference to SED should be left but without any code/instructions to use it AND a warning for the users who are currently using SED...?
Then I guess we'll have to agree to disagree.

Also I would recommend every SED user to check their cuefiles because there's a very high chance that your cuefiles are corrupted!!
lipidicman should be able to respond well to this: presumably he must have many cuesheets amended using the SED technique.  Perhaps he would be so good as to check a selection, or even upload a zip file with a load of  cuesheets for testing.

Edit: I'm not really sure what you mean by corrupted.  I can see that converting "/r/n" (CRLF) to "/n" (LF/newline) is a change, but any text editor worth its salt can open UNIX-style text files, and foobar has no problem with them.  That just leaves a handful of cuesheets that may be screwed due to unescaped characters on the left hand side (@basename@), or the ampersand on the right (%TrackName%).

I agree that it would be better for none of this to occur, but stating that "there's a very high chance that your cuefiles are corrupted!!" is a little melodramatic don't you think?
Title: REACT 2 Released
Post by: Synthetic Soul on 2008-01-16 17:40:00
I can see that converting "/r/n" (CRLF) to "/n" (LF/newline) is a change, but any text editor worth its salt can open UNIX-style text files, and foobar has no problem with them.
The good news of course is that GSAR has the ability to convert UNIX ASCII text files to DOS ASCII text files.

Code: [Select]
GSAR -ud -o *.cue
Title: REACT 2 Released
Post by: Akkurat on 2008-01-16 17:57:10
Edit: Do I take it from your enthusiasm for this approach that you can have multiple occurences of the -s and -r switches in a file?  If not then I am still finding it difficult to see the appeal.

Yes, just like the SED works: one txt file and one gsar command to run all... IF I'm not mistaken.

The ampersand is the only character that will cause a problem in the right side of the expression, and that was the character that nago raised to make me aware of the issue.

I don't know why you're so defensive. If you read my comment again you should see that I was talking about the whole sed command, not just the "right side". My motive was merely to pass on information to this subject which was not discussed here before. Nothing personal.

Then I guess we'll have to agree to disagree.

So if I change the wiki, you would revert it back?

Also I would recommend every SED user to check their cuefiles because there's a very high chance that your cuefiles are corrupted!!
Edit: I'm not really sure what you mean by corrupted.  I can see that converting "/r/n" (CRLF) to "/n" (LF/newline) is a change, but any text editor worth its salt can open UNIX-style text files, and foobar has no problem with them.  That just leaves a handful of cuesheets that may be screwed due to unescaped characters on the left hand side (@basename@), or the ampersand on the right (%TrackName%).

I agree that it would be better for none of this to occur, but stating that "there's a very high chance that your cuefiles are corrupted!!" is a little melodramatic don't you think?

No, I don't think so. Why do you like to play down this issue? And forget about the CRLF issue, that was not in my mind when I wrote my warning.

My (currently incomplete) collection produces:
Code: [Select]
dir /S *^&*.*    = 146
dir /S *.mp3     = 2731
146 * 100 / 2731 = ~5,35 %

Of course this doesn't count total possible corrupted cuefiles because there can be several filenames w/ ampersand in the filename per directory/album/cuefile. But still. Usually fail rates are counted in "nines": 99,99...% if that kind of thinking/measuring can be adjusted to this issue. Also these figures from my collection lacks the various artists filename scheme square brackets because when I ripped these mp3's, I was unaware of REACT.

EDIT: these figures doesn't count the other possible problems caused by unescaped regex chars in the "left side".

I can see that converting "/r/n" (CRLF) to "/n" (LF/newline) is a change, but any text editor worth its salt can open UNIX-style text files, and foobar has no problem with them.
The good news of course is that GSAR has the ability to convert UNIX ASCII text files to DOS ASCII text files.
Code: [Select]
GSAR -ud -o *.cue


Yes but it's not needed because gsar doesn't change the "newlines".
Title: REACT 2 Released
Post by: Synthetic Soul on 2008-01-16 19:27:27
Yes, just like the SED works: one txt file and one gsar command to run all... IF I'm not mistaken.
That would be good.  If that is the case I would probably be up for amending the code.

I don't know why you're so defensive. If you read my comment again you should see that I was talking about the whole sed command, not just the "right side". My motive was merely to pass on information to this subject which was not discussed here before. Nothing personal.
I know.  And I in turn was just pointing out that the reason I only mentioned the ampersand was that was the character that initially highlighted the issue to me.  I also pointed out that it is the only character that will cause an issue on the RHS.  It's all about informing the reader.  You had previously stated that you had discovered other characters in testing (post #1009 (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=50273&view=findpost&p=541681)) - it didn't need re-stating - just as I shouldn't have to re-state my reasoning.

So if I change the wiki, you would revert it back?
Who knows.  Perhaps we should let some other users give their opinion.

I see no reason to totally remove the text, if we keep the opening text that explains that GSAR is the recomended option, and hopefully expand it, with your help, to explicitly state why SED is not the preferred option.  Let the user decide which they use, with all the facts in the open.  Why not keep it?

No, I don't think so. Why do you like to play down this issue?
Hmm.  Seeing as I am the one who posted a resolve to the issue, hours within finding out about it, I hardly think that it is fair to say that I am not addressing it.  I would have said that I am the furthest person that you can accuse of that - at least I'm posting solutions.

Code: [Select]
146 * 100 / 2731 = ~5,35 %

Of course this doesn't count total possible corrupted cuefiles because there can be several filenames w/ ampersand in the filename per directory/album/cuefile. But still. Usually fail rates are counted in "nines": 99,99...% if that kind of thinking/measuring can be adjusted to this issue.
I agree that 5% is a poor fail rate; however, as you say, if the ampersand is in the artist or album title, the actual number of cuesheets affected could be a lot smaller percentage.

Yes but it's not needed because gsar doesn't change the "newlines".
However it may be useful to fix all those cuesheets corrupted by SED.
Title: REACT 2 Released
Post by: nago on 2008-01-16 21:08:08
Oh, I forgot about escaping characters on the LHS.

I believe you can use \Q@basename@\E to solve this issue just fine. Quoting the RHS in SED still remains an issue though.

Still, if you intend to keep the sed instructions on the wiki, this could make a useful amendment.
Title: REACT 2 Released
Post by: Synthetic Soul on 2008-01-16 21:17:19
A prime example of why the SED text should be kept.  None of us are SED experts, and the code can always be improved.

Thanks for the input nago.  I'll have to read up on those.

Escaping the ampersand on the right hand side shouldn't really be too much of an issue.  I think something simple like:

Code: [Select]
SET sedTrackName=%TrackName:&=\&%
ECHO s/\Q@basename@\E\.wav"/%sedTrackName%\.wv/>>sedlist.txt
Title: REACT 2 Released
Post by: nago on 2008-01-16 21:26:20
Just tried this out and no dice. The WAVs were extracted however no M4As created.

I'll try this again after work.

-

I do not see how this can work. You are using ACDIR on individual files but import the same source cuesheet. Wouldn't that source CUE point towards the WAV-image?


I forgot to mention; I use a %Disc_iTunesAAC_acdir% variable in the encoding string, which gives relevant disc information if need be. The lack of this variable being set could cause DOS to crash, and not encode the files.

Quote
SET Disc_iTunesAac_acdir=-j @discnumber@ -k @totaldiscs@


At the top where discname stuff is set.
Title: REACT 2 Released
Post by: Synthetic Soul on 2008-01-16 21:49:42
I believe you can use \Q@basename@\E to solve this issue just fine. Quoting the RHS in SED still remains an issue though.
I've tried this, with no success.  Is it possible that these is a Perl-only switches?  I seem to remember seeing that there are different versions of SED; maybe I need an alternative version?  Maybe I'm just being a dimwit.
Title: REACT 2 Released
Post by: nago on 2008-01-16 21:59:22
I believe you can use \Q@basename@\E to solve this issue just fine. Quoting the RHS in SED still remains an issue though.
I've tried this, with no success.  Is it possible that these is a Perl-only switches?  I seem to remember seeing that there are different versions of SED; maybe I need an alternative version?  Maybe I'm just being a dimwit.


Maybe I'm the dimwit? I seem to recall using it with some success, but maybe it was a fluke o_O
Or my memory has gone...
Oh well!

The only rational solution is to change my name and disappear from the internet.

Goodbye!
Title: REACT 2 Released
Post by: Akkurat on 2008-01-16 22:02:54
Oh, I forgot about escaping characters on the LHS.

I believe you can use \Q@basename@\E to solve this issue just fine. Quoting the RHS in SED still remains an issue though.

Where did you find that information? Could you post a link to it? Thanks.

EDIT: oops, I saw your last post too late... still the link would be interesting.

And if you're keen on keeping the SED in the wiki as a tool which can be used to other things, may I suggest that you take into consideration the other (maybe rare but still) "right side" can-be-a-problem-things? http://sed.sourceforge.net/sedfaq3.html#s3.1.2 (http://sed.sourceforge.net/sedfaq3.html#s3.1.2)
Title: REACT 2 Released
Post by: Synthetic Soul on 2008-01-16 22:05:44
The only rational solution is to change my name and disappear from the internet.
  You can run, but you can't hide.

Goodness: "Is it possible that these is a Perl-only switches?"?  I think we've found our dimwit.
Title: REACT 2 Released
Post by: Synthetic Soul on 2008-01-16 22:18:37
And if you're keen on keeping the SED in the wiki as a tool which can be used to other things, may I suggest that you take into consideration the other (maybe rare but still) "right side" can-be-a-problem-things? http://sed.sourceforge.net/sedfaq3.html#s3.1.2 (http://sed.sourceforge.net/sedfaq3.html#s3.1.2)
I thnk this covers it:

Code: [Select]
SET sedTrackName=%TrackName:\=\\%
SET sedTrackName=%sedTrackName:&=\&%
ECHO s/@basename@\.wav"/%sedTrackName%\.wv/>>sedlist.txt
Title: REACT 2 Released
Post by: Akkurat on 2008-01-17 00:48:21
I'm not going to answer to the other points since those again turned into a stupid time wasting fight (more or less) about who said what and why, who was right and wrong, who was fast posting solutions and who was not because more thorough testing, yadayada, blahblah, and so on. (I know that this is a rant but I needed to get this out of the system.. better this than continuing the seemingly never-ending bickering. I do apologize for participating in such a conversation again.) If there's a topic somebody would like me to answer, please ask because I'm going to fade to the background again, thanks.

Yes, just like the SED works: one txt file and one gsar command to run all... IF I'm not mistaken.
That would be good.  If that is the case I would probably be up for amending the code.

No go. This is what the author wrote: "When gsar became a win32 app the @ support went away. It was only supported using the Zortech compiler.". The following explains more why I thought that it was a bug: "I thought I had removed the @ from the text files but it seems as if this was not the case. Anyway take it from me that @ is long gone.". And why it was removed: "The @ is not really needed anymore on Win32 due to the length of the command line.". So the current solution is the best we can do with GSAR.
Title: REACT 2 Released
Post by: Synthetic Soul on 2008-01-17 10:01:06
If there's a topic somebody would like me to answer, please ask because I'm going to fade to the background again, thanks.
Will you be sharing your work with regard to escaping characters for SED?

No go. This is what the author wrote: "When gsar became a win32 app the @ support went away. It was only supported using the Zortech compiler.". The following explains more why I thought that it was a bug: "I thought I had removed the @ from the text files but it seems as if this was not the case. Anyway take it from me that @ is long gone.". And why it was removed: "The @ is not really needed anymore on Win32 due to the length of the command line.". So the current solution is the best we can do with GSAR.
That is a shame, it would have been tidier.  Thanks for the info.
Title: REACT 2 Released
Post by: Akkurat on 2008-01-17 20:32:04
Will you be sharing your work with regard to escaping characters for SED?

Unfortunately my work is incomplete and rather in a such state that I would have to clean up and make it clearer for others to read.. takes time and since I'm not going to use SED and I still would like to remove SED from the wiki, I'd like to save that time which I see useless. But you never know, now we have to concentrate on the problem with GSAR (check bottom of this post).

Here's a new point of view to the SED & GSAR (if we end up using it) wiki issue: what is the user motive to go to "Amending Cuesheet..." wiki page? What do they want? They want to amend cuesheet file references! I bet that they don't care how it's done and with what new tool.. as long as it's a working solution. Why make it even more difficult with providing options which have the SAME end situation; amended cuesheet file references? I bet that the already steep learning curve to use REACT is holding back the popularity of this program.

No go. This is what the author wrote: "When gsar became a win32 app the @ support went away. It was only supported using the Zortech compiler.". The following explains more why I thought that it was a bug: "I thought I had removed the @ from the text files but it seems as if this was not the case. Anyway take it from me that @ is long gone.". And why it was removed: "The @ is not really needed anymore on Win32 due to the length of the command line.". So the current solution is the best we can do with GSAR.
That is a shame, it would have been tidier.  Thanks for the info.

Well, it might have been the solution we NEED if we are going to use GSAR.

Houston, we have a problem.

update-cuesheet.bat:
Code: [Select]
gsar.exe "-sAAA é^%&--x'[]!äöå...WAV" "-rAAA é^%&---'[]-äöå...FLAC" -o "test.cue"

Executing (execution to us):
Code: [Select]
C:\>CALL update-cuesheet.bat

C:\>gsar.exe "-sAAA Ú^&---'[]-õ÷Õ...FLAC" -o "test.cue"

gsar: command error, the 'o' or 'f' option is meaningless in 'search' mode

When I copy&paste the code from the update-cuesheet.bat file to the command prompt and push ENTER, it works.

Two things to notice:

1. all chars between % chars are removed (+ % chars)
2. pay attention to "special" chars (é^%&--x'[]!äöå <-----> Ú^&---'[]-õ÷Õ)

The % char problem is easily avoided by escaping % with %%. But what to do with the changing chars?

I have the feeling that the dropped out @ functionality would have worked perfectly to us.

So is it a time to try out a new tool?
Title: REACT 2 Released
Post by: Synthetic Soul on 2008-01-17 20:45:11
Trust you, eh?

Hmm..  does this mean that GSAR can't handle anything more than basic ANSI?  I must admit that I get very confused about codepages etc., as I am a simple English speaker who listens to UK/US music on the whole (Air is one exception that I can think of).  It appers to me to be a codepage issue of some sort or another, but that's as far as I know.

As you say, the % issue isn't a huge problem - something I should have thought about before - but something that we can deal with.

Well, in answer to your question: I'm fine about switching to another app, as long as it is free, and does the job!  Any suggestions?
Title: REACT 2 Released
Post by: nago on 2008-01-17 20:48:49
Trust you, eh?

Hmm..  does this mean that GSAR can't handle anything more than basic ANSI?  I must admit that I get very confused about codepages etc., as I am a simple English speaker who listens to UK/US music on the whole (Air is one exception that I can think of).  It appers to me to be a codepage issue of some sort or another, but that's as far as I know.

As you say, the % issue isn't a huge problem - something I should have thought about before - but something that we can deal with.

Well, in answer to your question: I'm fine about switching to another app, as long as it is free, and does the job!  Any suggestions?


Try copying the Codepage Change command into the bat file you are calling-- the one present at the top of both images-cfg and tracks-cfg. Tycho had a reason for putting it in there, it might benefit your child process.

Just a thought!
Title: REACT 2 Released
Post by: Akkurat on 2008-01-17 22:31:45
Try copying the Codepage Change command into the bat file you are calling-- the one present at the top of both images-cfg and tracks-cfg. Tycho had a reason for putting it in there, it might benefit your child process.

Just a thought!

And what a thought it was, it worked! I'm too shit with codepages, character sets, etc. and I don't understand how this thing works but it works. It's really strange; the command which is run contains wrong chars but it still changes them to correct ones in the output file. Go figure.

BUT, again, I spoke too hastily, I don't know a way to escape % chars in batch variables. Now I remember that I have tried this many times with no luck (last I tried it with the playlist generation problem which I solved in other way (look in the Creating A Playlist (http://wiki.hydrogenaudio.org/index.php?title=REACT:Creating_A_Playlist) wiki)). In fact, with little googling, I think it's impossible.. at least with the following normal escape solution:
Code: [Select]
SET test=%test:a=ab%

Any hints to solve this? I wonder what IS the next problem after we solve this one.
Title: REACT 2 Released
Post by: Synthetic Soul on 2008-01-17 22:57:10
These problems have made me consider writing a console app (unfortunately it would .NET as I'm not up to it in C) which sole purpose is to take a string and escape it using a specified method.

A more flexible alternative, but possibly more effort for the user, may be to use a WSH script (VBScript for me), run using CSCRIPT.

Either way though, it's just confusing the solution further and further, although it would hopefully result in a complete working solution.

Edit: Hang on.  If the % is an issue for GSAR, wouldn't it be an issue for every app used in the config?  Is there not already something in place in the code that deals with this?  I'm off to bed, so can't test now.

Edit 2: Just checked the source.  Most tokens are replaced using fStringReplaceForDOS(), which escapes %.  Can someone test with REACT.  G'night.
Title: REACT 2 Released
Post by: Akkurat on 2008-01-18 01:30:20
SOLVED! It was so easy and near that I almost would like to cry how stupid we can sometimes be.

Here's the whole code with solves:
Code: [Select]
SET trackCueFile="$cdartist$ - $album$.cue"
IF NOT EXIST "%trackCueFile%" (
    COPY "@albumfile@.[mg].cue" "%trackCueFile%"
    ECHO CHCP 1252 ^| PROMPT>>update-cuesheet.bat
)
ECHO @tools@\GSAR.EXE "-s@basename@.wav" "-r%TrackName%.wv" -o %trackCueFile%>>update-cuesheet.bat

AND
Code: [Select]
"@Tools@\gsar.exe" -s%% -r%%%% -o update-cuesheet.bat
CALL update-cuesheet.bat
DEL update-cuesheet.bat
Title: REACT 2 Released
Post by: nago on 2008-01-18 01:32:28
SOLVED! It was so easy and near that I almost would like to cry how stupid we can sometimes be.

Here's the whole code with solves:
Code: [Select]
SET trackCueFile="$cdartist$ - $album$.cue"
IF NOT EXIST "%trackCueFile%" (
    COPY "@albumfile@.[mg].cue" "%trackCueFile%"
    ECHO CHCP 1252 ^| PROMPT>>update-cuesheet.bat
)
ECHO @tools@\GSAR.EXE "-s@basename@.wav" "-r%TrackName%.wv" -o %trackCueFile%>>update-cuesheet.bat

AND
Code: [Select]
"@Tools@\gsar.exe" -s%% -r%%%% -o update-cuesheet.bat
CALL update-cuesheet.bat
DEL update-cuesheet.bat


If you feel this is a 100% conclusive, no-bugs method to amending the cuesheet, would you mind putting together/editing the wiki to reflect the fix in its entirety, start to finish?

I'd be super appreciative
Title: REACT 2 Released
Post by: Akkurat on 2008-01-18 02:18:54
If you feel this is a 100% conclusive, no-bugs method to amending the cuesheet, would you mind putting together/editing the wiki to reflect the fix in its entirety, start to finish?

I'd be super appreciative

Done. Buy me a beer if we ever meet.  (EDIT: @nago, Sam Adams is perfectly fine. Thanks. (saving forum space answering here)

EDIT: So if somebody missed; I edited the REACT:Amending Cuesheet File References (http://wiki.hydrogenaudio.org/index.php?title=REACT:Amending_Cuesheet_File_References) wiki page. I also added a new header named "Using GSAR to other needs". It contains my instructions to escape certain characters when using GSAR. I tried to make it simple and understandable. Which is hard since english is not my mother tongue.. please correct it if it's rubbish.
Title: REACT 2 Released
Post by: nago on 2008-01-18 02:35:31
Done. Buy me a beer if we ever meet.

Is Sam Adams okay, or am I gonna have to spring for some fancy imported lager?
Title: REACT 2 Released
Post by: Synthetic Soul on 2008-01-18 07:49:06
SOLVED! It was so easy and near that I almost would like to cry how stupid we can sometimes be.
Excellent work Akkurat.

Now I've woken up, and have a (almost) clear head I finally realise the issue.  REACT would escape @basename@ and %TrackName% when used in the config.  But by being used in the config they "use up" their escaping, and are therefore written to "update-cuesheet.bat" unescaped.  This is always going to be a problem when creating another batch file on the fly, and should be a consideration for future.

Hopefully we can all sleep well at night again.
Title: REACT 2 Released
Post by: Synthetic Soul on 2008-01-18 10:22:58
Akkurat, et all,

I have updated the "Using GSAR to other needs" (now called "Using GSAR For Other Requirements") section in the wiki article.

Aside from the English language thing, I found it confusing that the % replacement was mixed in with the " and : replacement.  They are really two completely separate issues.  I also found the example code confusing.

If you are interested, take a look at the article (http://wiki.hydrogenaudio.org/index.php?title=REACT:Amending_Cuesheet_File_References).  You may want to use the diff viewer to compare, or, for ease, I have uploaded screen shots of the section before (http://www.synthetic-soul.co.uk/temp/AMCR-2008-01-18-03-23.gif) and after (http://www.synthetic-soul.co.uk/temp/AMCR-2008-01-18-10-03.gif) my changes.

Of course, feel free to make further changes, or revert my changes if you think they stink.
Title: REACT 2 Released
Post by: lipidicman on 2008-01-18 14:56:05
Wow, are you all quite done! 

SS came up with the SED suggestion to help me out back in March 07 I believe.  It certainly kept me happy.  You could not use ampersands then (so his own mod has caused this problem!)  Also I don't think I had square brackets in my names even for various artists.

To be honest I only used the corrected cuesheets for burning with burnnnnn (so I can get the negative numbers on my CDP, there is little other need for a cuesheet with a track extraction).  As I do not burn all my rips I have not noticed problems but I am going to have a look

It seems like you have worked quite well together to get this improved solution in the end and that all the heat was quite productive.

Everyone playing nicely together?

On a technical matter, the replacement of sedlist.txt with a batchfile is because GSAR wont take a list of commands so you make a series of GSAR commands?  I have not taken in all the technicalities of the code page and escaping details just yet
Title: REACT 2 Released
Post by: Akkurat on 2008-01-18 15:08:40
I have updated the "Using GSAR to other needs" (now called "Using GSAR For Other Requirements") section in the wiki article.

Good teamwork. I changed two characters in it. (wow, a big edit ) One was crucial; there were too many " chars in one of the escape examples.

Back to configuring REACT. Anyone care to bet that how many days will pass until I'm back here with a brain teaser?  (I would like to guess n days. (=never))

It seems like you have worked quite well together to get this improved solution in the end and that all the heat was quite productive.

Everyone playing nicely together?

Yes I think so. Good teamwork from Synthetic Soul, nago & me like I said.

On a technical matter, the replacement of sedlist.txt with a batchfile is because GSAR wont take a list of commands so you make a series of GSAR commands?  I have not taken in all the technicalities of the code page and escaping details just yet

Correct. GSAR had that functionality but it was dropped by the authors. However, it doesn't matter, we have a working solution currently.
Title: REACT 2 Released
Post by: lipidicman on 2008-01-18 15:15:49

Everyone playing nicely together?

Yes I think so. Good teamwork from Synthetic Soul, nago & me like I said.


Good because at some points it looked a bit adversarial when from I could see you were all trying to reach the same conclusion.  Another example of how wires can get crossed on internet forums!

On that note, don't misunderstand me.  Its just that I think this thread should win an award for being the most helpful and friendly thread around, without wanting to sound to cheesy about it!
Title: REACT 2 Released
Post by: Synthetic Soul on 2008-01-18 15:30:32
Good teamwork. I changed two characters in it. (wow, a big edit  ) One was crucial; there were too many " chars in one of the escape examples.
Good find!  That could have been the cause for some confused users!  Muchos gracias.
Title: REACT 2 Released
Post by: Stone Free on 2008-01-19 00:10:30
To be honest I only used the corrected cuesheets for burning with burnnnnn (so I can get the negative numbers on my CDP, there is little other need for a cuesheet with a track extraction).  As I do not burn all my rips I have not noticed problems but I am going to have a look

How does that work?

I still haven't got round to ripping one of my CDs as it has music that plays whilst the CDP negative numbers appear.  What is the best way to rip these kinds of CDs, and does the music playing come out as a separate track or part of the following or previous tracks.

Also can anyone advise me of a way to rip tracks that have multiple indexes in them such as some Rush and ELP tracks.  (I want to be able to have separate tracks for each part, and if possible have the subtrack info incorporated  i.e the track "Karn Evil 9 a) 1st Impression b) 2nd Impression c) 3rd Impression", made into 3 tracks : Karn Evil 9 - 1st Impression, Karn Evil 9 - 2nd Impression", Karn Evil 9 - 3rd Impression"

I am still ripping to FLAC and letting winamp transcode when updating my iPod.  What is the best way to produce iPod compatible AAC files, with artwork?
Title: REACT 2 Released
Post by: Akkurat on 2008-01-19 15:10:24
Here's one thing I discovered about GSAR yesterday (I was too annoyed to post it until now). It's a undocumented (shame on you authors) limitation of GSAR.

The next code is almost the same as in "amending cuesheet...":
Code: [Select]
SET EscapedSourcedir=@sourcedir@
SET EscapedSourcedir=%EscapedSourcedir::=::%

ECHO "@Tools@\gsar.exe" "-sFilename %EscapedSourcedir%\@basename@.wav" "-r%TrackName%.flac" -o "@LogName@.log">>update-log.bat

I'm trying to amend the EAC log a bit to my liking. The following shows what the command expanded and run tells us:
Code: [Select]
"C:\PROGRA~1\REACT2\tools\gsar.exe" "-sFilename D::\Music\RIPPED\EAC\Various - AnotherLateNight - Tommy Guerrero - 01 - Can't Get Up If You Can't Get Down (US Navy Port Authority Soul Band).wav" "-rVarious - AnotherLateNight - Tommy Guerrero - 01 - Can't Get Up If You Can't Get Down [US Navy Port Authority Soul Band].flac" -o "Various - AnotherLateNight - Tommy Guerrero.log"

gsar: command error, length of search or replace buffer must not exceed 128 chars

I know I could do this same with splitting the GSAR command a bit BUT it's still a could-be-a-problem to long filenames in "amending cuesheet...". Any thoughts on this?

This finding puts the GSAR author's comment about the removed @ functionality into a new light; the comment was: "The @ is not really needed anymore on Win32 due to the length of the command line.".

EDIT: forgot the GSAR error message.
Title: REACT 2 Released
Post by: valnar on 2008-01-19 16:16:16
I haven't read this thread for months until now - still trying to digest it all.  Synthetic Soul, I was the first person that asked for help in converting my cue files to replace <filename>.flac to .cue within the cue file.  You figured out the very first SED syntax.  I've been using it ever since and it works fine with hundreds of CD's so far.  I'm not sure why there has been so much discussion recently to change it to GSAR (although admittedly I probably haven't run into any "&" names).  I create FLAC images with "corrected" cue sheets (using .wav, not .flac within it) and keep a copy of the cue sheet outside the image too.

I'm still using EAC 0.95 b4 because I've had no reason to upgrade.  External FLAC support through REACT works great.  I've been using REACT + Arcue for months.

Here is the snippet of my FLAC image code:

Code: [Select]
IF NOT @ImageExt@==flac GOTO end_flac_image
    SET dest="@ImageDir_Flac@"
    IF NOT EXIST %dest% MKDIR %dest%
    IF %embed_cover%==1 SET Cover_tag=--picture="|image/jpeg|||@cover@"
    @tools@\SED.EXE s/".flac"/".wav"/g < "@cuesheet@" > "@ImageDir_Flac@\@basename@.cue"
    @tools@\flac.exe @Opt_Flac@ %RG_Flac% %Cover_tag% -T "%ArtistField%=@cdartist@" -T album="@album@" -T totaltracks="@numtracks@" -T date="@year@" -T genre="@genre@" -T comment="@comment@" -T encoding="Flac @Ver_Flac@ @Opt_Flac@" --tag-from-file="cuesheet=@ImageDir_Flac@\@basename@.cue" --tag-from-file="eaclog=@eaclog@" %ar_tag% "@source@" -o "@image@"
    MKDIR %dest%\covers
    MOVE /Y "@image@" %dest%
    IF %have_cover%==1 MOVE /Y "@cover@" %dest%\covers\"@basename@.jpg"
    PAUSE
    MOVE /Y *.jpg %dest%\covers
    IF %ar_copy%==1 COPY /Y @arlog@ %dest%
:end_flac_image



Is there an advantage to upgrading to the latest EAC beta or GSAR over my SED method?  Am I missing something I don't know about?

-Robert
Title: REACT 2 Released
Post by: Akkurat on 2008-01-19 18:39:24
... SED syntax.  I've been using it ever since and it works fine with hundreds of CD's so far.  I'm not sure why there has been so much discussion recently to change it to GSAR (although admittedly I probably haven't run into any "&" names).

Have you manually checked all your cuefiles? If one of the SED commands "fails" (no match in search&replace, or wrong replace string) because of the unescaped chars, the cuefile is just not amended for that filename.. there's no indication whatsoever that something went wrong (you can't catch anything from the fast proceeding console window).

Also I do again have to stress out that it's not just the & char that could cause problems. At least these could (my tests are incomplete) cause problems: []\&^$.|?*+(). Rarely used or not in filenames but still you have to count these in.

Is there an advantage to upgrading to the latest EAC beta or GSAR over my SED method?  Am I missing something I don't know about?

Well, I don't know about the EAC upgrade but this I can say; I wouldn't use SED (without proper escapes), and the GSAR is something we still need to think about because of the limitation I discovered yesterday (look my last post).

EDIT:
Code: [Select]
@tools@\SED.EXE s/".flac"/".wav"/g < "@cuesheet@" > "@ImageDir_Flac@\@basename@.cue"

Ok, I missed this. This line doesn't do anything to your cuefiles. I fail to see what you're trying to do here. Your SED code tries to find ".flac" strings (WITH quotes) and replace them with ".wav" string  (WITH quotes). There's no such strings in cuefiles unless you have modified them earlier.
Title: REACT 2 Released
Post by: Synthetic Soul on 2008-01-19 18:53:14
I know I could do this same with splitting the GSAR command a bit BUT it's still a could-be-a-problem to long filenames in "amending cuesheet...". Any thoughts on this?
Two:
Title: REACT 2 Released
Post by: nago on 2008-01-19 19:23:39
sadly, all of this talk has made me feel justified for the workaround I came up with months ago...

I made a small command line tool with AutoIt to do the replacement. Seriously not the most efficient fix, but judging by the fact that we still don't have a proper working fix, it seems like it certainly was the easiest.
Title: REACT 2 Released
Post by: valnar on 2008-01-19 19:29:10
Code: [Select]
@tools@\SED.EXE s/".flac"/".wav"/g < "@cuesheet@" > "@ImageDir_Flac@\@basename@.cue"

Ok, I missed this. This line doesn't do anything to your cuefiles. I fail to see what you're trying to do here. Your SED code tries to find ".flac" strings (WITH quotes) and replace them with ".wav" string  (WITH quotes). There's no such strings in cuefiles unless you have modified them earlier.


All my cue sheets are fine.  The quotes are not used in the replace parameter.  It replaces

FILE "Queen - (1991) Greatest Hits II.flac" WAVE
with
FILE "Queen - (1991) Greatest Hits II.wav" WAVE


I'll have to go back 10 pages to see what you guys are trying to do, but IIRC, REACT 2.0 was working fine for everybody until EAC 0.99 came out then discussion started happening again.  I was just hoping somebody could catch me up the latest state of REACT.  How come there is no "official" version 2.1?

-Robert
Title: REACT 2 Released
Post by: Akkurat on 2008-01-19 19:38:03
Two:
  • 128 characters is pretty limiting.
  • I can only suggest the two techniques in the wiki article REACT:Using Short Filenames (http://wiki.hydrogenaudio.org/index.php?title=REACT:Using_Short_Filenames) to solve the problem.  Using SUBST is probably the tidiest, but for your example - where the root path is actually quite short - using the DOS 8.3 path may be the only relevant solution.

It's very limiting.. and at the moment I'm not going to do any bubblegum fixes.

I sent the authors email.. I'm going to wait what they have to say about this.. hell, I'm in no hurry; I've been modifying REACT to my likings for about 2 months already (on and off). 

I made a small command line tool with AutoIt to do the replacement. Seriously not the most efficient fix, but judging by the fact that we still don't have a proper working fix, it seems like it certainly was the easiest.

Can we see it?
Title: REACT 2 Released
Post by: nago on 2008-01-19 19:54:34
Can we see it?

It's sort of embarrassing that I couldn't whip up something similar with perl or C, but... :sigh: it does seem to be working, so...
CueFix.au3 (http://student.ccbcmd.edu/~jhuston1/syrup/tools/CueFix.au3)

I replace by index number only, and I stop after the first replacement. It's a system that seems to work, though I suppose if you are doing replacements only on one track or a series of tracks that doesn't start at track #1 you could run into some issues, but you can tweak the regex within to your liking, it's fine.

Since I do the replacement in AutoIt, though, perhaps you can just bang out the replacement from straight in REACT? This was really only a 5 minute effort after I gave up with sed, so maybe someone can expand if they'd like to.
Title: REACT 2 Released
Post by: Akkurat on 2008-01-19 20:01:07
Code: [Select]
@tools@\SED.EXE s/".flac"/".wav"/g < "@cuesheet@" > "@ImageDir_Flac@\@basename@.cue"

Ok, I missed this. This line doesn't do anything to your cuefiles. I fail to see what you're trying to do here. Your SED code tries to find ".flac" strings (WITH quotes) and replace them with ".wav" string  (WITH quotes). There's no such strings in cuefiles unless you have modified them earlier.

All my cue sheets are fine.  The quotes are not used in the replace parameter.  It replaces

FILE "Queen - (1991) Greatest Hits II.flac" WAVE
with
FILE "Queen - (1991) Greatest Hits II.wav" WAVE

Well... what can I say, I'm shocked. That's not how it should work, if I'm reading the manual correctly. One more reason to NOT use SED.. at least to me it's.

I'll have to go back 10 pages to see what you guys are trying to do, but IIRC, REACT 2.0 was working fine for everybody until EAC 0.99 came out then discussion started happening again.  I was just hoping somebody could catch me up the latest state of REACT.  How come there is no "official" version 2.1?

Maybe somebody could... I'm little hesitant to bring you up to speed with my limited knowledge about this subject.. I might miss out something important.

Why no 2.1 version? Well, original REACT is Tycho's masterpiece and Synthetic Soul has only released a mod to address some bugs and fixes (+some new functionality) to problems created by EAC changing it's functionality. I think we all agree that the next "proper" version should be a complete rewrote of the REACT... and I think that we're waiting somebody to do that.
Title: REACT 2 Released
Post by: Akkurat on 2008-01-19 20:13:12
It's sort of embarrassing that I couldn't whip up something similar with perl or C, but... :sigh: it does seem to be working, so...
CueFix.au3 (http://student.ccbcmd.edu/~jhuston1/syrup/tools/CueFix.au3)

Oh, it was only to amend cuesheets.. I thought that you have made a general "search&replace" tool.

OT: I had the weirdest and strongest déjà vu I can remember; have you used the following comment somewhere else? (";SHAAAAAAAAAAAAAZZZZZZZZAAAAAAAAAAAAAAAAAAAAAAAAM! I'm really sorry if you were hoping these comments to be useful.") 
Title: REACT 2 Released
Post by: nago on 2008-01-20 02:36:14
Question. Out of the formats Flac, tak, wv, mp3, aac and ogg, the only one which needs an amended type is MP3? all five others can use 'wave' correctly?
Title: REACT 2 Released
Post by: Synthetic Soul on 2008-01-20 08:54:29
Yes.  The three (audio) options are WAVE, MP3 and AIFF.  As you can see, MP3 and AIFF are pretty specific, so WAVE covers everything else.

I have no idea what applications do, or do not, pay attention to this file type value.  It's very possible you could use WAVE for MP3 files and get away with it.  IIRC foobar is quite strict though.


RE: A F'n'R utility: it is very possible that we could just add it into the REACT EXE.  It seems a little overkill to call an app of REACT's size and purpose to do a find and replace, but it would at least be tidy/convenient.

I already adapted REACT so that it behaves differently if it only receives a cuesheet as a parameter.  We could expand that further so it will look for switches, or just make it so simple that you just give it "needle", "haystack", and "file" as three parameters.

If no-one has any reason not to use the 8.3 path we may just be OK using that with GSAR though.
Title: REACT 2 Released
Post by: Akkurat on 2008-01-20 20:21:58
If no-one has any reason not to use the 8.3 path we may just be OK using that with GSAR though.

It just occurred to me that where would we actually use that in GSAR? The limitation is: "...length of search or replace buffer must not exceed 128 chars". And of course we can't truncate the search or replace strings. Am I missing something?

As for the other points, your suggestion to embed this feature to REACT sounds good to me... but I'm still waiting for the GSAR authors to reply.. shouldn't take too long since they responded very quickly to my last query.

EDIT: Just in, a response from GSAR author. You need to recompile gsar to get longer buffer support. And a very short and easy instructions to change the code. So, what should we do?
Title: REACT 2 Released
Post by: nago on 2008-01-20 22:46:40
The perl solution I came up with can be gotten Here (http://student.ccbcmd.edu/~jhuston1/syrup/tools/cuefix.pl), it's just a measly 1KB, but will only work if you have perl installed. Akkurat tested it and said it worked pretty well, so I'll have faith in it.

Unfortunately, if you compile it' it's going to take up 1.8MB. Still, the solution does appear to work 100%, so if you're in a jam, this will work.

Syntax is:
Code: [Select]
cuefix.pl "cuesheet.cue" "@basename@" "%TrackName.flac"

or .wv .mp3 .m4a, etc etc etc.
Title: REACT 2 Released
Post by: m_l on 2008-01-21 04:25:40
How do I setup REACT to rip a flac image and aac tracks correctly, also having a copy of the eaclog in the aac folder? And adding replaying to both. I'm using nero to encode to aac, version 1.0.7.0

I did manage to move the eaclog to the flac-image, copying the eaclog would not work. This the code I used:

Code: [Select]
MOVE /Y "@eaclog@" %dest%
EDIT: This only worked a couple of times, then I would get an error:Wating for EAClog. Is there a way to copy over the log file??

I've managed through trial an error (lots of errors ) To have flac image and aac tracks. But they are not getting tagged with replaygain. Even tho I have ReplayGain=1 in the ini.  I have aacgain in the tools folder and metaflac, recent versions of both.

The aac tracks they get tagged, but the tags don't show in foobar except for the title and cover. I tried the tracks in itunes and all the tags show in itunes. How is this possible? I tried it with mp3's, they get tagged correctly with replaygain and the rest of the tags.

EDIT found the solution to part of these issues HERE. (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=50273&view=findpost&p=512554)

But now I get no cover art and still no replaygain for both formats.

TIA
Title: REACT 2 Released
Post by: Synthetic Soul on 2008-01-21 07:38:40
It just occurred to me that where would we actually use that in GSAR? The limitation is: "...length of search or replace buffer must not exceed 128 chars". And of course we can't truncate the search or replace strings. Am I missing something?
No, I am.  I initially meant to push the SUBST solution, but when I realised that your root path was so short  I deferred to the other "solution" in the article.  As you rightly say though: in this instance it is completely useless!

As  for the other points, your suggestion to embed this feature to REACT  sounds good to me... but I'm still waiting for the GSAR authors to  reply.. shouldn't take too long since they responded very quickly to my  last query.

EDIT: Just in, a response from GSAR author. You need to recompile gsar to get longer buffer support. And a very short and easy instructions to change the code. So, what should we do?
If it's easy I would probably say that we adapt GSAR.  Rewriting the functionality into REACT, when GSAR is already there and almost working, doesn't make as much sense to me.
Title: REACT 2 Released
Post by: m_l on 2008-01-21 09:33:56
But now I get no cover art and still no replaygain for both formats.

After reading through a lot of this thread, I can now have a flac image and aac tracks (using nero). The aac tracks getting tagged correctly and with cover art. Below if my is my working code:

Code: [Select]
IF NOT @NeroAac@==1 GOTO end_nero_aac_tracks
    SET dest="@TrackDir_AAC@%trackDir%"
    IF NOT EXIST %dest% MKDIR %dest%
    PUSHD %dest%
        IF @various@==1 SET VA_tag=-meta-user:$qalbum artist$q=$q@VA@$q -meta-user:compilation=true
        IF %embed_cover%==1 SET Cover_tag=--artwork $#x
        @tools@\acdir.exe --overwrite --output "%TrackName%.m4a" --extra-opt "@cover@" --pipe "TITLE $n/$N aac $#T & @tools@\neroAacEnc.exe @Opt_NeroAac@ -ignorelength -if - -of $#o & @tools@\neroAacTag.exe $#o %VA_tag% -meta:artist=$#a -meta:album=$#T -meta:track=$n -meta:totaltracks=$N -meta:title=$#t -meta:year=$q@year@$q -meta:genre=$q@genre@$q -meta:comment=$q@comment@$q & @tools@\AtomicParsley.exe $#o -o REACT_tmp.m4a %Cover_tag% --encodingTool $qneroAacEnc @Ver_NeroAac@ @Opt_NeroAac@$q & MOVE /Y REACT_tmp.m4a $#o" "@sourcecuesheet@"
        IF @ApplyAlbumGain@==1 @tools@\aacgain.exe %ApplyAG_AacGain% *.m4a > gainlog.txt
        REM COPY /Y "@eaclog@" "EAClog.txt"
        IF %have_cover%==1 COPY /Y "@cover@" "folder.jpg"
    POPD
:end_nero_aac_tracks
 
All of that code is  from drbeachboy's, I just modified a bit to get cover art working. Thank You drbeachboy

I still haven't figuered out why they are not getting tagged with replaygain. Or how I can copy over the eaclog file. Any suggestions?
Title: REACT 2 Released
Post by: nago on 2008-01-21 09:38:30
Oooh. Right. I forgot to mention that tagging issue. Glad you found beachboy's fix...


As for copying EAClog over: It should really be as simple as
Code: [Select]
if "@eaclog@" copy /y "@eaclog@" "$cdartist$ - $album$.log"
somewhere within the code section. you can do it at the end, you can put it inside the tracks section--- whatever gets ya goin

as for ReplayGain...that's not my department. I defer you to Neil's capable, loving hands.
Title: REACT 2 Released
Post by: m_l on 2008-01-21 10:03:48
Oooh. Right. I forgot to mention that tagging issue. Glad you found beachboy's fix...


As for copying EAClog over: It should really be as simple as
Code: [Select]
if "@eaclog@" copy /y "@eaclog@" "$cdartist$ - $album$.log"
somewhere within the code section. you can do it at the end, you can put it inside the tracks section--- whatever gets ya goin

as for ReplayGain...that's not my department. I defer you to Neil's capable, loving hands.



Just tried and does not work for me. This is what happens:

The ripping begins fine, I select the cover art, then I get the temp wav file. After that nothing else works I get an error: Waiting for EAC log file....


I added your line in the nero track section as the last line. Now even after I comment out that line, I get the same error message. I've being the same problem when I try to copy the log file. Too fix this now, I delete the .dat files from the eac programs folder. And if that doesn't work I have too unistall eac and delete REACT and start fresh.
Title: REACT 2 Released
Post by: nago on 2008-01-21 10:09:38
Well, if it's waiting for a log to be produced...

...I guess it hasn't created a logfile yet. Maybe it's not autosaving the log? There is an option under the F9 menu (I think in the second tab) that says to automatically create a status report after ripping. Make sure this is checked.
Title: REACT 2 Released
Post by: Synthetic Soul on 2008-01-21 10:12:20
EDIT: Just in, a response from GSAR author. You need to recompile gsar to get longer buffer support. And a very short and easy instructions to change the code. So, what should we do?
If it's easy I would probably say that we adapt GSAR.  Rewriting the functionality into REACT, when GSAR is already there and almost working, doesn't make as much sense to me.
I have recompiled using MinGW, after simply updating the constant PAT_BUFSIZ, and it all appears fine.  I'm using MAX_PATH as the new limit, as IIRC paths longer than this (260 characters) are likely to cause problems elsewhere (LAME for example) in any case.

Anyone have any better ideas?

I don't mind hosting the amended EXE, or we could upload it somewhere here (this thread, the uploads forum, or perhaps even the wiki (not sure)).

Edit: FYI, according to this KB article (http://support.microsoft.com/kb/830473) the maximum length for a command line on Windows is 8191 for XP, or 2047 for Win2K.  So, we could bump it up some if we saw the need.
Title: REACT 2 Released
Post by: m_l on 2008-01-21 10:45:26
Well, if it's waiting for a log to be produced...

...I guess it hasn't created a logfile yet. Maybe it's not autosaving the log? There is an option under the F9 menu (I think in the second tab) that says to automatically create a status report after ripping. Make sure this is checked.



Yes I had made sure it was checked off. I just deleted eac and let react alone rebooted, installed eac again like the 10th time today. Made sure it was checked off again, started a rip to test and I get the same error. The only way I have found to fix it is by deleting everything and starting fresh. I want to sort this out it's becoming a pain to delete everything. Thank You for you help!



EDIT: Ok I deleted all the .dat files from eac and deleted the line I added to copy the log file too.It's now working again. The wierd thing is that right after this final rip theres the log file in the temp folder.
Title: REACT 2 Released
Post by: m_l on 2008-01-21 10:55:36
After that one rip, the error came back 
Title: REACT 2 Released
Post by: Akkurat on 2008-01-21 11:01:51
I have recompiled using MinGW, after simply updating the constant PAT_BUFSIZ, and it all appears fine.  I'm using MAX_PATH as the new limit, as IIRC paths longer than this (260 characters) are likely to cause problems elsewhere (LAME for example) in any case.

Anyone have any better ideas?

That was it, #define PAT_BUFSIZ  128. Sorry for my late response and not including this in my first post.

Well if you ask me, make it as big as you can, it can be used in whatever situation (think out of our need for filename changing).. IF there's no caveats doing so.. I could ask the author if you can't say for sure that it doesn't matter what size it is set. Let me know, ok?

I don't mind hosting the amended EXE, or we could upload it somewhere here (this thread, the uploads forum, or perhaps even the wiki (not sure)).

I think that it doesn't matter. As long as it downloadable.
Title: REACT 2 Released
Post by: lipidicman on 2008-01-21 11:16:21
I had a look at a few cuesheets amended using SED.  I found a track with an &.  This had an incorrect filename (the amended filename was inserted in the old one where the ampersand was I believe).  I do not have an album with an & or any other problems.  Also I forgot to pick my HD up this morning so I have nothing to hand

Good luck with GSAR.  I am keeping a close eye on the thread.  I can see why you want a solution but in the meantime errors are easily corrected.
Title: REACT 2 Released
Post by: Synthetic Soul on 2008-01-21 14:09:02
Well if you ask me, make it as big as you can, it can be used in whatever situation (think out of our need for filename changing).. IF there's no caveats doing so.. I could ask the author if you can't say for sure that it doesn't matter what size it is set. Let me know, ok?
OK, for now I have updated the buffer size to 1024 (1KiB), and uploaded the source and exe (http://www.synthetic-soul.co.uk/temp/gsar-1.20.zip) to my website.

If people are happy with it we can put links into the wiki article.
Title: REACT 2 Released
Post by: m_l on 2008-01-21 21:13:11
I have a strange one:

* creating flac image and mp3 files
* flac is NOT created, MP3's ARE
* debug run shows the problem but I don't know how to fix it:

- the flac run fails because the eac log file does not exist
- yet the file DOES exist by the time I look

Sounds like a race condition of some kind?

Have others seen this?



I being trying all day still have the same problem as the person above. Except nothing gets created for me. I'm trying to get flac image and aac tracks. Does anybody know how he resolved it?

Here is a link to original post. (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=50273&view=findpost&p=475287)

Thank You
Title: REACT 2 Released
Post by: Six Degrees on 2008-01-22 04:27:10
Sorry to bother everyone here with a very basic question. I've been using REACT for about a week now and it's working brilliantly. Just curious, I am archiving my CDs in FLAC format using one large disc image (no individual tracks) and playing them back in Foobar2000 using cuesheets that are generated when the FLAC is created. Everything is fine, I was just wondering if I can stop REACT from making a separate cuesheet (do I need one if the cuesheets are embedded in the FLAC file?).

Again, I'm sure this is extremely basic, but I can't see the necessity of a separate cuesheet if I have it embedded in the FLAC itself. Am I missing something important? Thanks very much in advance!

SD
Title: REACT 2 Released
Post by: m_l on 2008-01-22 04:54:50
I managed to get REACT working on another computer with everything being the same. I have no idea why it will not run on the other PC. Oh well, anyway to add replaygain for both the flac image and aac tracks? I have aacgain and metaflac in tools folder. Do I have to make any changes to the image.cfg?
Title: REACT 2 Released
Post by: m_l on 2008-01-22 05:14:30
Sorry to bother everyone here with a very basic question. I've been using REACT for about a week now and it's working brilliantly. Just curious, I am archiving my CDs in FLAC format using one large disc image (no individual tracks) and playing them back in Foobar2000 using cuesheets that are generated when the FLAC is created. Everything is fine, I was just wondering if I can stop REACT from making a separate cuesheet (do I need one if the cuesheets are embedded in the FLAC file?).

Again, I'm sure this is extremely basic, but I can't see the necessity of a separate cuesheet if I have it embedded in the FLAC itself. Am I missing something important? Thanks very much in advance!

SD


You can use that cuesheet for burning a cd from the flac file. I use BURRRN (http://www.burrrn.net/) to accomplish that. After you have burrrn or a burning software that supports cuesheets installed, all you do is double click on the cuesheet and you are ready to make a copy from the flac files.

The cuesheet and the flac image have to be in the same folder in order to work. You can also extract the embedded cuesheet using metaflac. But it's much easier to have it there already. Another is for players that don't read the embedded cuesheet but will read the cuesheet that's in the same folder. For use with Rockbox for instance. Their might be other uses but those are that ones I know.

I would just have their in case I would need it.
Title: REACT 2 Released
Post by: Synthetic Soul on 2008-01-22 09:08:13
Everything is fine, I was just wondering if I can stop REACT from making a separate cuesheet (do I need one if the cuesheets are embedded in the FLAC file?).
You do not need the external cuesheet if you have it embedded.  To stop it being moved into your folder just remove the line:

Code: [Select]
MOVE /Y "@cuesheet@" %dest%

... in the relevant section - which begins "IF NOT @ImageExt@==flac GOTO end_flac_image" - in your config, or, more preferably, prefix the line with REM to comment it out.

Most people keep it, as it is only a few KiB, and it saves you having to extract it if you need to burn the album to disc in EAC.  Pure laziness I guess.

I managed to get REACT working on another computer with everything being the same. I have no idea why it will not run on the other PC. Oh well, anyway to add replaygain for both the flac image and aac tracks? I have aacgain and metaflac in tools folder. Do I have to make any changes to the image.cfg?
I'm not actually that up on RG et all.  As far as I can see setting ReplayGain to 1 should calculated RG for your FLAC image.  It looks like you may need ApplyAlbumGain set to 1 to run AacGain.  You may get some more info from the REACT wiki article.
Title: REACT 2 Released
Post by: m_l on 2008-01-23 08:23:59
Quote
I'm not actually that up on RG et all. As far as I can see setting ReplayGain to 1 should calculated RG for your FLAC image. It looks like you may need ApplyAlbumGain set to 1 to run AacGain. You may get some more info from the REACT wiki article.
 


I had set up just like that, read the Wiki again but see anything else about RG. No biggie I'll just use foobar.

Thank You
Title: REACT 2 Released
Post by: Akkurat on 2008-01-26 00:01:07
OK, for now I have updated the buffer size to 1024 (1KiB), and uploaded the source and exe (http://www.synthetic-soul.co.uk/temp/gsar-1.20.zip) to my website.

If people are happy with it we can put links into the wiki article.

Great job. Sorry for my late reaction. I just tested that with a 2147 char length dos command (1024 per search & replace) and it works perfectly.

The author of the GSAR emailed me to inform that he had updated GSAR to 1.21 version with 256 buffer length. He also answered the following to my query about why only 256:
"Double the amount of 128 and half the amount of PATH_MAX on my system.
gsar can use any buffer size as long as the pattern buffer is smaller than the search buffer.
The buffer size should ideally be the size of the system page size.


Anyways, your version with 1024 buffer length is fine by me.
Title: REACT 2 Released
Post by: Golfer on 2008-01-27 04:08:14
Hi, I am ripping my CD's to flac using REACT 2 modified by Synthetic Soul. using F10 and saving both image and tracks.  I am still up in the air which one I going to save in the long run.  I'm using Foobar for playback.

I save the IMAGE file as Artist - Album.flac & .cue & .log & .jpg.  The IMAGE file broke into tracks is saved as Artist\Album\Song.flac & Artist - Album.jpg & .log.  I did finally figure out how to get album art embedded into my files.

Now my question is about EAC.  I was using v0.95 and when I open Foobar and loaded my image flac I could see all of the songs.  Then I upgraded to v0.99 and  loaded my image flac I only see that one large file, not the tracks like before.  I was thinking I liked the way it was displayed using v0.95, I would like to stay with v0.99 due to added feature such as accuraterip.

I would appreciate any ideal or comments on this.
Title: REACT 2 Released
Post by: Synthetic Soul on 2008-01-27 08:51:44
Now my question is about EAC.  I was using v0.95 and when I open Foobar and loaded my image flac I could see all of the songs.  Then I upgraded to v0.99 and  loaded my image flac I only see that one large file, not the tracks like before.
It sounds like the cuesheet is not being embedded in your FLAC file.  Perhaps you can confirm or deny this?

It may be worth setting Debug=1 in your REACT.ini, and then examining the output in the console where your FLAC image is encoded.
Title: REACT 2 Released
Post by: David Currie on 2008-01-28 17:03:34
Hi,

I'm trying to use React2 with mod to create a flac image and rip to mp3. Problem is when I set "CreateAllCuesheets=1" I get multiple dialog boxes entitled "REACT: Missing Cuesheet" with the message "Unable to move cuesheet. File does not exist". The .cue file is created in the static extraction directory that I define but no other cuesheets. Any suggestions on what I'm doing wrong or how to debug further?

Thanks,
David
Title: REACT 2 Released
Post by: Synthetic Soul on 2008-01-28 17:08:10
Do you want a cuesheet for your MP3s, or are you setting CreateAllCuesheets for the FLAC image?

If you are running in image mode/pressing F10 (which you should be) you do not need to set CreateAllCuesheets to get a cuesheet for the FLAC file - it's created automatically.

If you are actually after a cuesheet for the MP3 tracks then I guess we need to investigate further.  I fail to see why you'd need one though, if you have your FLAC image and cuesheet from which you can burn CDs.
Title: REACT 2 Released
Post by: David Currie on 2008-01-28 20:39:17
I'll confess that I don't really know whether I want a cuesheet for the mp3s or not but, yes, that is what I was trying to create! I'm using EAC V0.99 prebeta 3 and REACT v2.0.ssb16n. Initially I see a cuesheet with the slightly suspicious name "album..cue" created in the extraction directory. (I say suspicious only because I have no idea what the "" means.) Then I get the error dialogs and if I let it continue then the cuesheet gets copied to the flac image directory with the name "artist - [year] album.cue". Nothing gets created for the mp3s.

Thanks,
David
Title: REACT 2 Released
Post by: Golfer on 2008-01-28 23:09:05
Now my question is about EAC.  I was using v0.95 and when I open Foobar and loaded my image flac I could see all of the songs.  Then I upgraded to v0.99 and  loaded my image flac I only see that one large file, not the tracks like before.
It sounds like the cuesheet is not being embedded in your FLAC file.  Perhaps you can confirm or deny this?

It may be worth setting Debug=1 in your REACT.ini, and then examining the output in the console where your FLAC image is encoded.


Thanks for the response Synthetic Soul.  I ran debug per your recommendation and it started working correctly now for some reason.  I did figure out that a cue was being made by using MP3tag to view the tags, here they are listed below, the first is working right in foobar second is not.  It seems that the INDEX 00 are wrong in the 2nd cuesheet.  I don't know what happened to cause this?  I didn't change anything when I ran REACT.

I also have a question about Albumart being embedded, I have no problem with it when I go on the internet.    It get download into the temp dir and REACT does it thing.  What I looking to do is use some of my pics I have on my computer,my pics are saved as "Artist - Album.jpg" but when Albumart put their pic into the temp dir they are called "Album.jpg".  Can I edit REACT to use "Artist - Album.jpg"?

Code: [Select]
FILE "Steve Miller Band - Greatest Hits 1974-78.flac" WAVE
  TRACK 01 AUDIO
    TITLE "Swingtown"
    PERFORMER "Steve Miller Band"
    INDEX 01 00:00:00
  TRACK 02 AUDIO
    TITLE "Jungle Love"
    PERFORMER "Steve Miller Band"
    INDEX 00 03:27:57
    INDEX 01 03:29:10
  TRACK 03 AUDIO
    TITLE "Take The Money And Run"
    PERFORMER "Steve Miller Band"
    INDEX 00 06:37:52
    INDEX 01 06:38:35

FILE "Steve Miller Band - Greatest Hits 1974-78.flac" WAVE
  TRACK 01 AUDIO
    TITLE "Swingtown"
    PERFORMER "Steve Miller Band"
    INDEX 01 00:00:00
  TRACK 02 AUDIO
    TITLE "Jungle Love"
    PERFORMER "Steve Miller Band"
    INDEX 00 05:19:24
    INDEX 01 03:29:10
  TRACK 03 AUDIO
    TITLE "Take The Money And Run"
    PERFORMER "Steve Miller Band"
    INDEX 00 08:29:19
    INDEX 01 06:38:35
Title: REACT 2 Released
Post by: Akkurat on 2008-01-28 23:48:26
I'll confess that I don't really know whether I want a cuesheet for the mp3s or not but, yes, that is what I was trying to create! I'm using EAC V0.99 prebeta 3 and REACT v2.0.ssb16n. Initially I see a cuesheet with the slightly suspicious name "album..cue" created in the extraction directory. (I say suspicious only because I have no idea what the "" means.) Then I get the error dialogs and if I let it continue then the cuesheet gets copied to the flac image directory with the name "artist - [year] album.cue". Nothing gets created for the mp3s.

Well this is most probably fixed in my not-yet-...-maybe-never-released mod  which is supposed to continue from where the 2.0.ssb16n mod of REACT left. If you send me your email address in PM I could send you a version to test.

Also you have to amend the REACT-image.cfg file. The additional cuefiles are not copied to the MP3 directory by default. The cuefiles in the extraction directory are deleted after REACT finishes.

Find the :end_lame_tracks text in the REACT-image.cfg file and look two lines above and you should find the following line:
Code: [Select]
IF %have_cover%==1 COPY /Y "@cover@" "folder.jpg"

Add the following line below it:
Code: [Select]
IF EXIST "@albumfile@.[*].cue" COPY /Y "@albumfile@.[*].cue" .

NOTE! Don't forget the line ending dot!

But most probably you want the [mg] cuefile so you can change the above line just to copy that file.
Title: REACT 2 Released
Post by: Synthetic Soul on 2008-01-29 07:41:52
the first is working right in foobar second is not. It seems that the INDEX 00 are wrong in the 2nd cuesheet. I don't know what happened to cause this? I didn't change anything when I ran REACT.

Code: [Select]
FILE "Steve Miller Band - Greatest Hits 1974-78.flac" WAVE
  TRACK 01 AUDIO
    TITLE "Swingtown"
    PERFORMER "Steve Miller Band"
    INDEX 01 00:00:00
  TRACK 02 AUDIO
    TITLE "Jungle Love"
    PERFORMER "Steve Miller Band"
    INDEX 00 05:19:24
    INDEX 01 03:29:10
  TRACK 03 AUDIO
    TITLE "Take The Money And Run"
    PERFORMER "Steve Miller Band"
    INDEX 00 08:29:19
    INDEX 01 06:38:35
I have never seen anything like that.  This is out of the scope of this thread.  I would create a new thread and post the cuesheet.  It is likely that it is an issue with your drive, or your EAC settings related to your drive.  Before creating a new thread it may be worth taking a look at the settings on the "Drive Options" > "Gap Detection" tab in EAC, and possibly also the "Drive" tab.

I also have a question about Albumart being embedded, I have no problem with it when I go on the internet. It get download into the temp dir and REACT does it thing. What I looking to do is use some of my pics I have on my computer,my pics are saved as "Artist - Album.jpg" but when Albumart put their pic into the temp dir they are called "Album.jpg". Can I edit REACT to use "Artist - Album.jpg"?
This is as expected.  It doesn't matter what the file is called at this point - you need to look at the config and change the name that the file is copied to.  Perhaps you should change:

Code: [Select]
IF %have_cover%==1 COPY /Y "@cover@" %dest%\"@basename@.jpg"

... to:
Code: [Select]
IF %have_cover%==1 COPY /Y "@cover@" %dest%\"$cdartist$ - $album$.jpg"
Title: REACT 2 Released
Post by: Golfer on 2008-01-30 03:44:12
the first is working right in foobar second is not. It seems that the INDEX 00 are wrong in the 2nd cuesheet. I don't know what happened to cause this? I didn't change anything when I ran REACT.
I have never seen anything like that.  This is out of the scope of this thread.  I would create a new thread and post the cuesheet.  It is likely that it is an issue with your drive, or your EAC settings related to your drive.  Before creating a new thread it may be worth taking a look at the settings on the "Drive Options" > "Gap Detection" tab in EAC, and possibly also the "Drive" tab.

I also have a question about Albumart being embedded, I have no problem with it when I go on the internet. It get download into the temp dir and REACT does it thing. What I looking to do is use some of my pics I have on my computer,my pics are saved as "Artist - Album.jpg" but when Albumart put their pic into the temp dir they are called "Album.jpg". Can I edit REACT to use "Artist - Album.jpg"?
This is as expected.  It doesn't matter what the file is called at this point - you need to look at the config and change the name that the file is copied to.  Perhaps you should change:
Code: [Select]
IF %have_cover%==1 COPY /Y "@cover@" %dest%\"@basename@.jpg"
... to:
Code: [Select]
IF %have_cover%==1 COPY /Y "@cover@" %dest%\"$cdartist$ - $album$.jpg"



When I update EAC something must have got change, it working fine now.

I still got questions about albumart embedded using REACT.  Looking at the directions for "editing the CFG file"  "@cover@  The path to the cover/album art picture file, downloaded with CoverDownloader".

When I run Albumart downloader, I must save the file as Album.jpg to the temp dir.  What I want to do is put the file in the temp dir as Artist - Album.  Seems like @cover@ can only be Album.jpg.  Is what I asking for possible?
Title: REACT 2 Released
Post by: Synthetic Soul on 2008-01-30 08:58:47
I still got questions about albumart embedded using REACT.  Looking at the directions for "editing the CFG file"  "@cover@  The path to the cover/album art picture file, downloaded with CoverDownloader".

When I run Albumart downloader, I must save the file as Album.jpg to the temp dir.  What I want to do is put the file in the temp dir as Artist - Album.  Seems like @cover@ can only be Album.jpg.  Is what I asking for possible?
Why do you need it to be called"<artist> - <album>.jpg", when you have the use of the REN, MOVE and COPY commands in your config?

The name in the temp folder is irrelevant - it's how you choose to name it when you rename, move or copy it that is important.

The example I gave above will copy the file from the temp directory, to your FLAC folder directory, and rename it "<artist> - <album>.jpg".  That's all you need really.
Title: REACT 2 Released
Post by: Golfer on 2008-01-31 00:20:27
I still got questions about albumart embedded using REACT.  Looking at the directions for "editing the CFG file"  "@cover@  The path to the cover/album art picture file, downloaded with CoverDownloader".

When I run Albumart downloader, I must save the file as Album.jpg to the temp dir.  What I want to do is put the file in the temp dir as Artist - Album.  Seems like @cover@ can only be Album.jpg.  Is what I asking for possible?
Why do you need it to be called"<artist> - <album>.jpg", when you have the use of the REN, MOVE and COPY commands in your config?

The name in the temp folder is irrelevant - it's how you choose to name it when you rename, move or copy it that is important.

The example I gave above will copy the file from the temp directory, to your FLAC folder directory, and rename it "<artist> - <album>.jpg".  That's all you need really.



Sometimes I want to use my pics I have instead of using the pics AlbumArt Downloader found.  So I was going to copy my pic to the temp dir (without renaming) and then run REACT.  I probably missing something or maybe there a different way of doing what I trying to do.  If not I guess I can rename my pic, if I must.
Title: REACT 2 Released
Post by: m_l on 2008-01-31 01:30:18

I still got questions about albumart embedded using REACT.  Looking at the directions for "editing the CFG file"  "@cover@  The path to the cover/album art picture file, downloaded with CoverDownloader".

When I run Albumart downloader, I must save the file as Album.jpg to the temp dir.  What I want to do is put the file in the temp dir as Artist - Album.  Seems like @cover@ can only be Album.jpg.  Is what I asking for possible?
Why do you need it to be called"<artist> - <album>.jpg", when you have the use of the REN, MOVE and COPY commands in your config?

The name in the temp folder is irrelevant - it's how you choose to name it when you rename, move or copy it that is important.

The example I gave above will copy the file from the temp directory, to your FLAC folder directory, and rename it "<artist> - <album>.jpg".  That's all you need really.



Sometimes I want to use my pics I have instead of using the pics AlbumArt Downloader found.  So I was going to copy my pic to the temp dir (without renaming) and then run REACT.  I probably missing something or maybe there a different way of doing what I trying to do.  If not I guess I can rename my pic, if I must.



What I do is set a path in the ini to my folder that holds the local album art.

Code: [Select]
CoverDownloaderLocalPath=D:\My Documents\My Pictures\Album Art\$artist$\**\*.jpg


The above will work if you have folder structure of artist\album name\*.jpg

or

Code: [Select]
CoverDownloaderLocalPath=D:\My Documents\My Pictures\Album Art\$artist$\*.jpg


This will look for artist\*.jpg

I  don't use the art downloader that comes with REACT tho. I use AlbumArtDownloader XUI (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=57392&view=findpost&p=515339)

When the albumart program comes up it will search the net and my local art or just select to search the local art only. 

I also specified in AlbumArt XUI in the options for Local Files the same that I added in the ini for the coverdownloaderlocalpath to make sure everything works.

This is what I do when I don't have the albumart in my local files. Once I select it from the downloader and gets placed in the Temp Dir I copy the the ablum art to my local files for future use.

Hope that hepls.

Edit: If you decide to use AlbumArt XUI this needs to be added to the ini:

Code: [Select]
CoverDownloaderXUI=1
Title: REACT 2 Released
Post by: Synthetic Soul on 2008-01-31 09:09:23
Sometimes I want to use my pics I have instead of using the pics AlbumArt Downloader found.  So I was going to copy my pic to the temp dir (without renaming) and then run REACT.  I probably missing something or maybe there a different way of doing what I trying to do.  If not I guess I can rename my pic, if I must.
Ah, I see.  Yes, that is a good reason.

Thankfully m_l has done an excellent job of explaining how that may be achieved.  It may be a bit around the houses, but IIRC you can speed things up by setting Album Art XUI to only check your local path for images.

You may find this post (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=50273&view=findpost&p=518172) (suggestions for the CoverDownloaderLocalPath variable) and this post (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=50273&view=findpost&p=517705) (explanation of the relevant INI variables) useful in addition, although I think m_l has covered all the important bits very well indeed.
Title: REACT 2 Released
Post by: Synthetic Soul on 2008-01-31 11:30:24
May I direct those interested in developing REACT to the thread "REACT: Notes for developers, or anyone writing an interim application" (http://www.hydrogenaudio.org/forums/index.php?showtopic=60910), in which I have documented some of the issues, anomalies, and important bits and pieces that I could scrape from my brain on 3rd December 2007.

Akkurat and nago: I'm sure that you can make some useful additions.  I expect that you are aware of everything that I have documented so far.

The publishing of these notes has no real significance.  I just remembered them today and thought that I should publish them here before I forgot them completely.  It's good to get them out of my brain and into the open.
Title: REACT 2 Released
Post by: nago on 2008-01-31 13:23:54
Synthetic Soul: Thank you so much for publishing that. I will absolutely make sure to read it!

I do have something in the pipes still, but there have been some bugs reported I am unable to fix for now, and with my spring semester starting, it may be a while before I hammer them out.

Oh well. life is life!
Title: REACT 2 Released
Post by: Ivan Helguera on 2008-01-31 15:24:06
Hello Everyone,
First, big thanks to evereone for work & support of this tool
Second: I once reported a problem with the "additional metadata" dialogue not working here (http://www.hydrogenaudio.org/forums/index.php?showtopic=50273&st=850&p=531218&#).
The problem was solved, see the edit in the original. It was connected with ATI hijacking the Alt-F5 as a shortcut.
Third: Apologies for asking the questions that might have been answered, but i still have problems with replaygain/wavegain configuration.
Code: [Select]
[Settings]
Version=2.0.ssb16l
ImageExt=flac
ImageNaming=$artist$ - $album$
ImageHotKey={F10}
TracksHotKey={F4}
TracksHotVal=+{F5}
VA=Various Artists
CreateAllCuesheets=0
RunCoverDownloader=1
CoverDownloader=C:\Program Files\REACT2\coverdownloader\albumart.exe
CoverDownloaderXUI=0
CoverDownloaderLocalPath=
EAC=C:\Program Files\Exact Audio Copy\EAC.exe
Tools=C:\Program Files\REACT2\tools
MinimizeCompressionWindow=0
ProcessPriority=1
Sla_Bks_Col_Qst_Bar_Quo_Ast_Lt_Gt=-|-|-||!|'|#|[|]
Test=0

[UserTrackFormats]
Flac=0
Wavpack=0
LameMP3=1
NeroAac=0
iTunesAac=0
OggEnc2=0
Tak=0

[UserOutputNames]
OutRoot=c:\media\EAC
ImageDir_Flac=@OutRoot@\FLAC-images\$cdartist$\ $album$
ImageDir_Wavpack=@OutRoot@\WV-images\$cdartist$
ImageDir_MP3=@OutRoot@\MP3-images\$cdartist$
ImageDir_Tak=@OutRoot@\TAK-images\$cdartist$
TrackDir_Flac=@OutRoot@\FLAC\$cdartist$\[$year$] $album$
TrackDir_Wavpack=@OutRoot@\WV\$cdartist$\[$year$] $album$
TrackDir_MP3=@OutRoot@\MP3\$cdartist$\$album$
TrackDir_AAC=@OutRoot@\AAC\$cdartist$\[$year$] $album$
TrackDir_OGG=@OutRoot@\OGG\$cdartist$\[$year$] $album$
TrackDir_Tak=@OutRoot@\TAK\$cdartist$\[$year$] $album$
TrackName_SA=$track$ - $title$
TrackName_VA=$track$ - $title$ [$artist$]
TrackName_SA_acdir=$n - $~t
TrackName_VA_acdir=$n - $~t [$~a]

[UserSettings]
DebugMode=0
Debug=0
Comment=Created with EAC/REACT2, @curdate@
EmbedCover=1
ReplayGain=1
ApplyAlbumGain=1
AdjustAlbumGain_dB=+3.0
AddCuesheetAG=0
UseWaveGainAG=0
Opt_Flac=-5 -f
Opt_Wavpack=-hmy
Opt_LameMP3=-V3 --vbr-new --noreplaygain --nohist
Opt_NeroAac=-lc -q 0.21
Opt_iTunesAac=-d -s 2000
Opt_OggEnc2=-q 3.0
Opt_Tak=--pN -overwrite
Ver_Flac=1.1.3
Ver_Wavpack=4.40
Ver_LameMP3=3.97
Ver_NeroAac=1.0.0.2
Ver_OggEnc2=2.83 Lancer aoTuV b5
Ver_Tak=1.0.2


[DefaultMetaData]
discnumber=1
totaldiscs=1
discname=

First thing: When I look at "edit replaygain values" of flacs in fb2k, there's no data whatsoever. And looking at the script's output, I do not see them being calculated.
Second: I'd like to have the replaygian album values applied to mp3s.
Is this correct?
Code: [Select]
ReplayGain=1
ApplyAlbumGain=1
AdjustAlbumGain_dB=+3.0
Thanks for help!
IH
Title: REACT 2 Released
Post by: dewey1973 on 2008-01-31 15:55:27
I have a few questions about REACT2 and various artist albums.  This is my naming scheme and directory settings:

VA=Various Artists
ImageNaming=$album$ [$year$]
ImageDir_Tak=@OutRoot@\TAK-images\$cdartist$\$album$ [$year$]

So when I ripped my first VA CD (Dr. Demento - 20th Anniversary Collection, don't scoff, it has five stars at allmusic.com!  ) I'd expect it to save in the folder:

C:\My Documents\My Music\EAC\TAK-images\Various Artists\Dr. Demento 20th Anniversary Collection (Disc 2) [1991]

but it doesn't.  Instead it saves in the folder:

C:\My Documents\My Music\EAC\TAK-images\The Firm\Dr. Demento 20th Anniversary Collection (Disc 2) [1991]

("The Firm" is the name of the track artists for track 2, the classic tune  "Star Trekkin'"!  )

Also, in the cue sheet, the CD artist is listed as:

PERFORMER "Various"

instead of the expected:

PERFORMER "Various Artists"

How can I fix this?

Consequently, I've never liked the various artist naming scheme because the individual tracks have their artists in the artist tag and that messes up the way the album shows up on most players if you like to listen to entire albums.  So I may ditch the whole thing.

But then my question becomes, how do I make sure the files save where I want them to with the artist tag "Various Artists."  EAC will not let me do that since if you type "Various Artists" in the artist field it checks the VA box and uses the alternate naming scheme! 

Sorry for the rant!
Title: REACT 2 Released
Post by: Golfer on 2008-02-01 14:45:49
Sometimes I want to use my pics I have instead of using the pics AlbumArt Downloader found.  So I was going to copy my pic to the temp dir (without renaming) and then run REACT.  I probably missing something or maybe there a different way of doing what I trying to do.  If not I guess I can rename my pic, if I must.
Ah, I see.  Yes, that is a good reason.

Thankfully m_l has done an excellent job of explaining how that may be achieved.  It may be a bit around the houses, but IIRC you can speed things up by setting Album Art XUI to only check your local path for images.

You may find this post (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=50273&view=findpost&p=518172) (suggestions for the CoverDownloaderLocalPath variable) and this post (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=50273&view=findpost&p=517705) (explanation of the relevant INI variables) useful in addition, although I think m_l has covered all the important bits very well indeed.

Thanks You Synthetic Soul and m_l for helping.  I had a time fiquring it all out, but I got all working  happy ripping.
Title: REACT 2 Released
Post by: Akkurat on 2008-02-02 15:08:16
When I look at "edit replaygain values" of flacs in fb2k, there's no data whatsoever. And looking at the script's output, I do not see them being calculated.

Hmm.. I don't use foobar2000 but you could check the values from the file with metaflac.exe:
Code: [Select]
metaflac.exe --list "[filename].flac"

If the RG values are there, we can blame foobar2000 or FLAC encoder.

Second: I'd like to have the replaygian album values applied to mp3s.
Is this correct?
Code: [Select]
ReplayGain=1
ApplyAlbumGain=1
AdjustAlbumGain_dB=+3.0

As far as I know, yes. (I don't use applied RG values)
Title: REACT 2 Released
Post by: Akkurat on 2008-02-02 16:04:59
This is my naming scheme and directory settings:

VA=Various Artists
ImageNaming=$album$ [$year$]
ImageDir_Tak=@OutRoot@\TAK-images\$cdartist$\$album$ [$year$]

So when I ripped my first VA CD (Dr. Demento - 20th Anniversary Collection, I'd expect it to save in the folder:

C:\My Documents\My Music\EAC\TAK-images\Various Artists\Dr. Demento 20th Anniversary Collection (Disc 2) [1991]

but it doesn't.  Instead it saves in the folder:

C:\My Documents\My Music\EAC\TAK-images\The Firm\Dr. Demento 20th Anniversary Collection (Disc 2) [1991]

("The Firm" is the name of the track artists for track 2, the classic tune  "Star Trekkin'"!  )

I'm lost with this.. did you have the "Various Artists" checked in EAC? My setup works just fine and I don't find any problems in your settings you've listed here. Maybe you should try ripping with original cfg's and ini file...? I'm sorry I can't think of anything else at the moment.

EDIT3: What text the artist field in EAC window has when you uncheck the "VA" checkbox?

Also, in the cue sheet, the CD artist is listed as:

PERFORMER "Various"

instead of the expected:

PERFORMER "Various Artists"

How can I fix this?

This I can confirm. It's EACs doings. Is this really important? This could be changed with GSAR tool if you like.. although if it's really important I think I could fix this in my upcoming mod (w/ other fixes). Please all who know about the significance of this, comment. Thanks.

Just remembered this from REACT: Notes for developers, or anyone writing an interim application (http://www.hydrogenaudio.org/forums/index.php?showtopic=60910):
Quote
Various Artist Discs

EAC will treat any freedb entry with an artist name that begins with "Various" as a VA album, and check the "Various Artists" checkbox accordingly.

However, it will continue to use the full artist name from the freedb entry, whether it be "Various Artists", "Various", "Variously" or "Various Badgers".

Therefore, to determine whether a disc is VA you should not rely on the artist name being "Various Artists", or "Various" (which is what freedb suggest submitting users should use). These values will work 99% of the time, but not all the time.

NB: If the user unchecks the checkbox and re-checks it this is seen as a change to the DB and EAC will set the artist value to "Various".

Actually this is kind of hairy situation.. I just tried unchecking the "VA" in EAC and entered various artists string to the CD artist field. Started ripping and the EAC "VA" was checked again and CD artist field showed (greyed out) Various, BUT now the cuefile has this line: PERFORMER "various artists".

So, even if EAC shows (greyed out) Various, the cuefile PERFORMER line is filled with the "original" string.. or if getting the info from freedb as Synthetic Soul stated: "it will continue to use the full artist name from the freedb entry, whether it be "Various Artists", "Various", "Variously" or "Various Badgers".

Real question is that does it really matter that ONE line in cuefile is maybe not as it was configured in REACT.ini? Does this affect burning image/tracks from cuefile? Or something else? I know that I'm the kind of who finds devil in details but I'm ready to let this go if it doesn't cause problems.

EDIT1: Maybe it causes problems with image cuefiles played in foobar2000 (artist read & displayed from the cuefile and not from tags)??

EDIT2: It affects the log file also: the 5th line [artist] / [album].. but this is really trivial.

Consequently, I've never liked the various artist naming scheme because the individual tracks have their artists in the artist tag and that messes up the way the album shows up on most players if you like to listen to entire albums.  So I may ditch the whole thing.

But then my question becomes, how do I make sure the files save where I want them to with the artist tag "Various Artists."  EAC will not let me do that since if you type "Various Artists" in the artist field it checks the VA box and uses the alternate naming scheme!

REACT tags various albums with extra tag "album artist=@VA@" so that various albums are not messed up in players. I'm using Winamp and it's working great. I expect that foobar2000 supports this as well as other "major" players...?

EDIT4: Little correction: in image ripping there's no extra tag (artist tag is subsituted with album artist tag). Anyways, it's working.
Title: REACT 2 Released
Post by: nago on 2008-02-02 16:15:58
Akkurat, you might want to know I've run into VA issues as well.

Currently, I have a tester helping me who when he checks the "VA" checkbox,
EAC passed %D (Normally cdartist) as "va" to react.

Instead of "Various", etc. It was "va"! Why? I have no idea! Maybe you can shed some light on it for me.


My tester said that if he unchecked the various box and rechecked it, EAC would send %D as "Various" correctly.
Title: REACT 2 Released
Post by: ChuckW on 2008-02-02 16:43:21
Ive been using EAC for years, and just started using iTunesEncode to create ALC files for my iPod and iTunes. I wanted to also create MP3s and just came across REACT.  After several hours of poking around, I've see a lot of discussion of using FLAC and using iTunesEncoder to create AAC files, but I have not found a discussion on creating Apple Lossless files.  Am I just missing it or is ALC not supported?

Thanks
Title: REACT 2 Released
Post by: Akkurat on 2008-02-02 17:05:11
Akkurat, you might want to know I've run into VA issues as well.

Currently, I have a tester helping me who when he checks the "VA" checkbox,
EAC passed %D (Normally cdartist) as "va" to react.

Instead of "Various", etc. It was "va"! Why? I have no idea! Maybe you can shed some light on it for me.

My tester said that if he unchecked the various box and rechecked it, EAC would send %D as "Various" correctly.

This is something you should ask from the EAC author. How the EAC gui functions with this "VA" checkbox and "artist" field is so stupid. Try inputting strings "v", "va", "var", "vari", "vario", "variou", etc. to artist field and try to check the "VA" checkbox... it's a nightmare how it "works". Pure evil design. Sometimes the checkbox can't be checked (if the artist field string consist of even the first letter from "various artists" string (w/o quotes of course). Insert "vare" (w/o quotes) into artist field and the checkbox can be checked.. BUT if you then rip the cd, the cuefile & logfile is written with "vare"... and sometimes not! (jesus christ what a mess) Sometimes when clicking the checkbox your inputted string to artist field is reverted back to some earlier version that EAC "accepted"... I don't know.. stupid stupid stupid.

So, at the moment if you want to make sure that the one line in cuefile and irrelevant line in the log is created like you want (this situation ONLY if the freedb consist an artist string that REACT detects as "VA", which is the case in 99% of the time as Synthetic Soul stated), you should uncheck the "VA" checkbox and insert whatever you want into the artist field and checking the "VA" checkbox... BUT if inserting "Various" or "Various Artists" (w/o quotes) EAC wont allow you to check the checkbox... just rip and EAC puts the checkbox checked. I don't know.. very strange.. I haven't tested this thoroughly.. maybe I wont.. I'm so full of other past and present problems with REACT that I have a very hard time to jump into this.. it could be counted to be more as an EAC problem than an REACT problem and fixing this in REACT could be hard.. or even impossible.

EDIT: my new avatar clearly shows how I feel about this subject.

EDIT2: "EAC passed %D (Normally cdartist)"??? Source code states that: "4  %d  temporary destination filename". Also cdartist? The source again: "5  %a  @artist@". Not cdartist! I can't see cdartist passed from EAC. Am I missing something?
Title: REACT 2 Released
Post by: nago on 2008-02-02 17:58:05
sorry, made a mistake. you know what I mean, though.

Instead of "Various" where CDartist would be, EAC was passing literally the word "va".
Title: REACT 2 Released
Post by: Akkurat on 2008-02-02 18:12:30
sorry, made a mistake. you know what I mean, though.

Instead of "Various" where CDartist would be, EAC was passing literally the word "va".

Oh, ok, you meant just the first part of the %d. My first advice would be to uncheck the "VA" checkbox and see what the artist field contains after it isn't greyd out. What I understand currently, the greyed Various doesn't proof anything.

EDIT: Side note, can somebody help ChuckW? I don't know about ALC, AAC, etc.
Title: REACT 2 Released
Post by: Akkurat on 2008-02-02 20:18:40
Exact Audio Copy 0.99 prebeta 4 has been released. Here's a detailed changelog from EAC forum:
Code: [Select]
- The installer lets the user choose which components (e.g. FLAC or CDRDAO) he wants to install
- Replacement with newer Accurate Rip DLL, FLAC Executable and the WMA Encoder Script
- Added two more languages to the installer
- Fixed the AccurateRip log info, where something is exactly 10
- Fixed a crash on detecting gaps for silence on mixed mode CDs
- Fixed the wrong export of the flag %F of the entire database to DB Text
- Probably something else

I tested it and it seems to work just fine with current REACT.. which is expected as the changes were quite small.

Also AlbumArtDownloaderXUI-0.12 has been released if somebody is interested.

I found a bug/problem with AlbumArtDownloaderXUI (old versions too); the GUI freezes when trying to find a cover image to "Led Zeppelin - II" album. The "II" is the culprit. Changing that to "I", "III" or "IIII" AlbumArtDownloaderXUI works just fine. I'm going to inform the authors... I just wanted to let you know this in case you have the seemingly not so popular Zeppelin album. Maybe the the second album is so good that the program gets confused and goes tripping.
Title: REACT 2 Released
Post by: ChuckW on 2008-02-02 21:26:10
[quote name='Akkurat' date='Feb 2 2008, 10:12' post='545178']
[quote name='nago' post='545177' date='Feb 2 2008, 19:58']
EDIT: Side note, can somebody help ChuckW? I don't know about ALC, AAC, etc.
[/quote]

Thanks!
Title: REACT 2 Released
Post by: nago on 2008-02-02 21:42:08

EDIT: Side note, can somebody help ChuckW? I don't know about ALC, AAC, etc.

Thanks!



Oh, sorry ChuckW. This thread is a big mess and I frequently miss posts.

I am not sure if iTunesEncode.exe has the ability to support ALAC...

According to the iTunesEncode program:

Quote
-e EncoderName  Lets you specify the encoder iTunes will use.
                  Choose from "AAC Encoder", "WAV Encoder",
                  "MP3 Encoder", "AIFF Encoder",
                  or "Lossless Encoder".
                  (Default is "AAC Encoder".)


So try changing the -e "AAC Encoder" portion of the command line in tracks.cfg or images.cfg to -e "Lossless Encoder".

You should also probably change the references to .m4a to .alac (is it alac?)
Title: REACT 2 Released
Post by: m_l on 2008-02-02 23:21:27
Exact Audio Copy 0.99 prebeta 4 has been released. Here's a detailed changelog from EAC forum:
Code: [Select]
- The installer lets the user choose which components (e.g. FLAC or CDRDAO) he wants to install
- Replacement with newer Accurate Rip DLL, FLAC Executable and the WMA Encoder Script
- Added two more languages to the installer
- Fixed the AccurateRip log info, where something is exactly 10
- Fixed a crash on detecting gaps for silence on mixed mode CDs
- Fixed the wrong export of the flag %F of the entire database to DB Text
- Probably something else

I tested it and it seems to work just fine with current REACT.. which is expected as the changes were quite small.

Also AlbumArtDownloaderXUI-0.12 has been released if somebody is interested.

I found a bug/problem with AlbumArtDownloaderXUI (old versions too); the GUI freezes when trying to find a cover image to "Led Zeppelin - II" album. The "II" is the culprit. Changing that to "I", "III" or "IIII" AlbumArtDownloaderXUI works just fine. I'm going to inform the authors... I just wanted to let you know this in case you have the seemingly not so popular Zeppelin album. Maybe the the second album is so good that the program gets confused and goes tripping.



Thank You for the news:)

For those that want to try it:AlbumArtDownloaderXUI-0.12 (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=57392&view=findpost&p=544082)

I'm not sure if the new EAC comes with the latest AccurateRip. You can get the latest here: AccurateRip (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=59468&view=findpost&p=533796)

I have being using the new EAC 0.99 prebeta 4  since it came out with no problems. Just tried the new AlbumArtXUI
Title: REACT 2 Released
Post by: nago on 2008-02-02 23:29:40
I haven't actually switched to the new XUI version yet (for REACT) since it has such a slow startup time. I wonder if that's improved with the new release?

also, the new accuraterip version... Isn't AR 'built in' to EAC now? do we even have the option of replacing or upgrading this component ourselves?
Title: REACT 2 Released
Post by: m_l on 2008-02-02 23:37:29
I haven't actually switched to the new XUI version yet (for REACT) since it has such a slow startup time. I wonder if that's improved with the new release?


I have only used once so far seems a little faster.

Quote
also, the new accuraterip version... Isn't AR 'built in' to EAC now? do we even have the option of replacing or upgrading this component ourselves?


All I did is replace the AccurateRip.dll that's in the EAC folder and it's working fine
Title: REACT 2 Released
Post by: Akkurat on 2008-02-03 00:51:24
I haven't actually switched to the new XUI version yet (for REACT) since it has such a slow startup time. I wonder if that's improved with the new release?

I have only used once so far seems a little faster.

In my pc it's really slow to start and it uses over 300Mb of memory when only using my own image directory with under 50 images as a source. I tested a directory with only 1 picture and the damn program takes about 50Mb of RAM. It's horrible but I hope it gets better. Knowing that it's build with .NET technology.. and requires .NET Framework 3.5, it's never going to happen.

About the bug I mentioned, it only happens when using II.%extension% string in path switch & the path contains at least one subdir & the localImagesPath directory contains either .png or .bmp file!!    Talk about special situation when a bug occurs.

Quote
also, the new accuraterip version... Isn't AR 'built in' to EAC now? do we even have the option of replacing or upgrading this component ourselves?

All I did is replace the AccurateRip.dll that's in the EAC folder and it's working fine

NO NEED! It's the same version. Just compare file sizes and file versions... it's the same. EAC author just publishes IMHO crap changelogs.. some authors do that, others don't... I like the style of others.
Title: REACT 2 Released
Post by: m_l on 2008-02-03 01:25:52
NO NEED! It's the same version. Just compare file sizes and file versions... it's the same. EAC author just publishes IMHO crap changelogs.. some authors do that, others don't... I like the style of others.

They looked the same, but changed it to be on the safe side.

In my pc it's really slow to start and it uses over 300Mb of memory when only using my own image directory with under 50 images as a source. I tested a directory with only 1 picture and the damn program takes about 50Mb of RAM. It's horrible but I hope it gets better. Knowing that it's build with .NET technology.. and requires .NET Framework 3.5, it's never going to happen. sad.gif

About the bug I mentioned, it only happens when using II.%extension% string in path switch & the path contains at least one subdir & the localImagesPath directory contains either .png or .bmp file!! rolleyes.gif Talk about special situation when a bug occurs.

It does use up a lot of resources



For me the only issue I have is that doesn't close correctly sometimes after I save the album art. The window closes, but the program still shows up in the task manager. So on the next rip it doesn't start up, this is annoying. I have to keep an eye  too make it opens after I hit F10. Or check before I start a new rip, but I forget sometimes  When doesn't open right away, that's a sign that I need to check the task manager. End the process manually and open it manually. It doesn't have often thankfully.

Has anybody else had this issue?

BTW it happened with newest version
Title: REACT 2 Released
Post by: Stone Free on 2008-02-04 00:24:41
I am currently visting my parents house and trying to see if their drives will read the hidden track at the begging of my QOTSA - Songs For The Deaf.  Whatever I do I cannot rip tracks or images properly.

The first problem is it keeps showing me EAC dialogs asking me where I want to save the .cue file and suggesting the root rather than the rip location setup by outroot etc.  It also wants to save the artwork in the root, and also it sometimes asks for a folder "Save Wafeform" and in the edit box it says external compressor.  Finally it keeps saying it cannot find the cue file.  If I try the filespec show in the .cfg files in a DOS box "@albumfile@.
Title: REACT 2 Released
Post by: nago on 2008-02-04 00:33:32
I am currently visting my parents house and trying to see if their drives will read the hidden track at the begging of my QOTSA - Songs For The Deaf.  Whatever I do I cannot rip tracks or images properly.

The first problem is it keeps showing me EAC dialogs asking me where I want to save the .cue file and suggesting the root rather than the rip location setup by outroot etc.  It also wants to save the artwork in the root, and also it sometimes asks for a folder "Save Wafeform" and in the edit box it says external compressor.  Finally it keeps saying it cannot find the cue file.  If I try the filespec show in the .cfg files in a DOS box "@albumfile@.
  • .cue" DOS cannot find it, so trying dir "c:\Songs For The Deaf.
  • .cue" or even "c:\Songs For The Deaf.*.cue" does not find it despite it being there as "c:\Songs For The Deaf.cue".  If I do a normal dir command with the exact name it of course can see it fine.

    This is the first time this PC has had EAC and React2 on it.  I installed React2 and configured it before overwritting with the ssb16o mod.

    I have never had to interact with react once f4 or f10 have been selected.


Do your parents use Vista?

This may be a combination of issues with Vista, React and EAC. For now, try running EAC as admin.
Title: REACT 2 Released
Post by: Stone Free on 2008-02-04 00:38:14
Quote
Do your parents use Vista?

This may be a combination of issues with Vista, React and EAC. For now, try running EAC as admin.

No its XP Home
Title: REACT 2 Released
Post by: nago on 2008-02-04 00:46:44
Quote

Do your parents use Vista?

This may be a combination of issues with Vista, React and EAC. For now, try running EAC as admin.

No its XP Home


Well there goes my theory.

Unfortunately, you seem to have run into one of the bigger persisting bugs that I just don't seem to be able to fix. In the meantime, try pressing ctrl+f2 to re-set REACT settings, and try again. Try pressing F9 and going to the directories tab and make sure that "use this directory: ..." is chosen and is set to a real directory that is writeable to you as a user.

Beyond this, I am not sure what causes this error, though I suspect it might be something to do with EAC. In theory, REACT forces EAC to save a cuesheet to a certain directory, but for some reason, sometimes EAC asks anyway-- I haven't found out yet if this is due to a failure on REACT's part to change the proper settings, or if this is an EAC bug that we need to work with.

Akkurat or Synthetic Soul may have additional information for you. Until then: Sorry! The super bowl is on. Have some greasy american food and kick off the sunday shoes.
Title: REACT 2 Released
Post by: ChuckW on 2008-02-04 03:58:20


EDIT: Side note, can somebody help ChuckW? I don't know about ALC, AAC, etc.

Thanks!



Oh, sorry ChuckW. This thread is a big mess and I frequently miss posts.

I am not sure if iTunesEncode.exe has the ability to support ALAC...

According to the iTunesEncode program:

Quote
-e EncoderName  Lets you specify the encoder iTunes will use.
                  Choose from "AAC Encoder", "WAV Encoder",
                  "MP3 Encoder", "AIFF Encoder",
                  or "Lossless Encoder".
                  (Default is "AAC Encoder".)


So try changing the -e "AAC Encoder" portion of the command line in tracks.cfg or images.cfg to -e "Lossless Encoder".

You should also probably change the references to .m4a to .alac (is it alac?)



Thanks Nago, a little bit of playing and I think I have it mostly working.  Appreciate your help.
Title: REACT 2 Released
Post by: Stone Free on 2008-02-04 14:37:26
Well there goes my theory.

Unfortunately, you seem to have run into one of the bigger persisting bugs that I just don't seem to be able to fix. In the meantime, try pressing ctrl+f2 to re-set REACT settings, and try again. Try pressing F9 and going to the directories tab and make sure that "use this directory: ..." is chosen and is set to a real directory that is writeable to you as a user.

Beyond this, I am not sure what causes this error, though I suspect it might be something to do with EAC. In theory, REACT forces EAC to save a cuesheet to a certain directory, but for some reason, sometimes EAC asks anyway-- I haven't found out yet if this is due to a failure on REACT's part to change the proper settings, or if this is an EAC bug that we need to work with.

Managed to fix the asking aspect by going to the directories tab and make sure that "use this directory:", remembered that yesterday from earlier in the thread, but I still have the cue sheet deletion failure.

There is also another problem, one of the flac stages cannot find the file as it is looking in the wrong directory.  It seems to be looking at the directory I put in the "use this directory" section, wheras I can see the file inside the flac-images folder relative to that location, strangely the aac tracks still get generated

Code: [Select]
C:\PROGRA~1\CDEX_1~1\REACT2\tools\flac.exe -5 -f    -T "artist=Queens Of The Stone Age" -T album="Songs For The Deaf" -T totaltracks="16" -T date="2002" -T genre="Psychedelic Rock" -T comment="Created with EAC/REACT2, 2008-02-04" -T encoded-by="William" -T encoding="Flac 1.1.3 -5 -f" --tag-from-file="cuesheet=C:\Documents and Settings\Andrew\My Documents\My Music\Peter's Rips\Queens Of The Stone Age - [2002]Songs For The Deaf.cue" --tag-from-file="eaclog=C:\Documents and Settings\Andrew\My Documents\My Music\Peter's Rips\Queens Of The Stone Age - [2002] Songs For The Deaf.log" "C:\Documents and Settings\Andrew\My Documents\My Music\Peter's Rips\Qtmp54266.wav" -o "C:\Documents and Settings\Andrew\My Documents\My Music\Peter's Rips\Queens Of The Stone Age - [2002] Songs For The Deaf.flac"


Unfortunately I live in the UK and so there is no greasy american food to be found.  Have a great Super Bowl!
Title: REACT 2 Released
Post by: Stone Free on 2008-02-04 15:13:39
Hacked the .cfg files yesterday and seem to be getting nearer to propper extraction, so have managed to get a flac image with cue sheet.  Well the drive that had accurate ability was the DVD drive, but that failed to read the hidden track which had just silence, but the CDRW which did not have accurate ability has extracted sound.

Is anyone any good at modifying cue sheets to get at the hidden tracks because my attemp does not produce the right result.

Original Cue Sheet
============
Code: [Select]
REM DISCNUMBER 1
REM TOTALDISCS 1
REM GENRE "Psychedelic Rock"
REM DATE 2002
REM DISCID F20F6510
REM COMMENT "ExactAudioCopy v0.99pb4"
CATALOG 0000694934352
PERFORMER "Queens Of The Stone Age"
TITLE "Songs For The Deaf"
FILE "Queens Of The Stone Age - [2002] Songs For The Deaf.flac" WAVE
  TRACK 01 AUDIO
    TITLE "You Think I Ain't Worth A Dollar, But I Feel Like A Millionaire"
    PERFORMER "Queens Of The Stone Age"
    ISRC USIR10211295
    INDEX 00 00:00:00
    INDEX 01 01:32:61
  TRACK 02 AUDIO
    TITLE "No One Knows"
    PERFORMER "Queens Of The Stone Age"
    ISRC USIR10211291
    INDEX 01 04:45:23
  TRACK 03 AUDIO
    TITLE "First It Giveth"
    PERFORMER "Queens Of The Stone Age"
    ISRC USIR10211285
    INDEX 01 09:24:04
  TRACK 04 AUDIO
    TITLE "A Song For The Dead"
    PERFORMER "Queens Of The Stone Age"
    ISRC USIR10211293
    INDEX 01 12:42:33
  TRACK 05 AUDIO
    TITLE "The Sky Is Fallin'"
    PERFORMER "Queens Of The Stone Age"
    ISRC USIR10211296
    INDEX 01 18:34:67
  TRACK 06 AUDIO
    TITLE "Six Shooter"
    PERFORMER "Queens Of The Stone Age"
    ISRC USIR10211292
    INDEX 01 24:50:50
  TRACK 07 AUDIO
    TITLE "Hangin' Tree"
    PERFORMER "Queens Of The Stone Age"
    ISRC USIR10211288
    INDEX 01 26:10:07
  TRACK 08 AUDIO
    TITLE "Go With The Flow"
    PERFORMER "Queens Of The Stone Age"
    ISRC USIR10211290
    INDEX 01 29:16:26
  TRACK 09 AUDIO
    TITLE "Gonna Leave You"
    PERFORMER "Queens Of The Stone Age"
    ISRC USIR10211287
    INDEX 01 32:23:37
  TRACK 10 AUDIO
    TITLE "Do It Again"
    PERFORMER "Queens Of The Stone Age"
    ISRC USIR10211284
    INDEX 01 35:13:52
  TRACK 11 AUDIO
    TITLE "God Is In The Radio"
    PERFORMER "Queens Of The Stone Age"
    ISRC USIR10211286
    INDEX 00 39:17:72
    INDEX 01 39:18:43
  TRACK 12 AUDIO
    TITLE "Another Love Song"
    PERFORMER "Queens Of The Stone Age"
    ISRC USIR10211283
    INDEX 01 45:23:36
  TRACK 13 AUDIO
    TITLE "A Song For The Deaf"
    PERFORMER "Queens Of The Stone Age"
    ISRC USIR10211294
    INDEX 01 48:39:50
  TRACK 14 AUDIO
    TITLE "Mosquito Song"
    PERFORMER "Queens Of The Stone Age"
    ISRC USIR10211289
    INDEX 00 54:52:12
    INDEX 01 55:22:11
  TRACK 15 AUDIO
    TITLE "The Lost Art Of Keeping A Secret"
    PERFORMER "Queens Of The Stone Age"
    ISRC USIR10211358
    INDEX 01 61:00:07
  TRACK 16 AUDIO
    TITLE "Everybody's Gonna Be Happy"
    PERFORMER "Queens Of The Stone Age"
    ISRC USIR10211380
    INDEX 00 64:37:34
    INDEX 01 64:38:07

My stab at it
Code: [Select]
REM DISCNUMBER 1
REM TOTALDISCS 1
REM GENRE "Psychedelic Rock"
REM DATE 2002
REM DISCID F20F6510
REM COMMENT "ExactAudioCopy v0.99pb4"
CATALOG 0000694934352
PERFORMER "Queens Of The Stone Age"
TITLE "Songs For The Deaf"
FILE "Queens Of The Stone Age - [2002] Songs For The Deaf.flac" WAVE
  TRACK 01 AUDIO
    TITLE "PreHidden Track"
    PERFORMER "Queens Of The Stone Age"
    INDEX 01 00:00:00
  TRACK 02 AUDIO
    TITLE "You Think I Ain't Worth A Dollar, But I Feel Like A Millionaire"
    PERFORMER "Queens Of The Stone Age"
    ISRC USIR10211295
    INDEX 00 00:00:00
    INDEX 01 01:32:61
  TRACK 03 AUDIO
    TITLE "No One Knows"
    PERFORMER "Queens Of The Stone Age"
    ISRC USIR10211291
    INDEX 01 04:45:23
  TRACK 04 AUDIO
    TITLE "First It Giveth"
    PERFORMER "Queens Of The Stone Age"
    ISRC USIR10211285
    INDEX 01 09:24:04
  TRACK 05 AUDIO
    TITLE "A Song For The Dead"
    PERFORMER "Queens Of The Stone Age"
    ISRC USIR10211293
    INDEX 01 12:42:33
  TRACK 06 AUDIO
    TITLE "The Sky Is Fallin'"
    PERFORMER "Queens Of The Stone Age"
    ISRC USIR10211296
    INDEX 01 18:34:67
  TRACK 07 AUDIO
    TITLE "Six Shooter"
    PERFORMER "Queens Of The Stone Age"
    ISRC USIR10211292
    INDEX 01 24:50:50
  TRACK 08 AUDIO
    TITLE "Hangin' Tree"
    PERFORMER "Queens Of The Stone Age"
    ISRC USIR10211288
    INDEX 01 26:10:07
  TRACK 09 AUDIO
    TITLE "Go With The Flow"
    PERFORMER "Queens Of The Stone Age"
    ISRC USIR10211290
    INDEX 01 29:16:26
  TRACK 10 AUDIO
    TITLE "Gonna Leave You"
    PERFORMER "Queens Of The Stone Age"
    ISRC USIR10211287
    INDEX 01 32:23:37
  TRACK 11 AUDIO
    TITLE "Do It Again"
    PERFORMER "Queens Of The Stone Age"
    ISRC USIR10211284
    INDEX 01 35:13:52
  TRACK 12 AUDIO
    TITLE "God Is In The Radio"
    PERFORMER "Queens Of The Stone Age"
    ISRC USIR10211286
    INDEX 00 39:17:72
  TRACK 13 AUDIO
    TITLE "Hidden Track 1"
    PERFORMER "Queens Of The Stone Age"
    INDEX 01 39:18:43
  TRACK 13 AUDIO
    TITLE "Another Love Song"
    PERFORMER "Queens Of The Stone Age"
    ISRC USIR10211283
    INDEX 01 45:23:36
  TRACK 14 AUDIO
    TITLE "A Song For The Deaf"
    PERFORMER "Queens Of The Stone Age"
    ISRC USIR10211294
    INDEX 01 48:39:50
  TRACK 15 AUDIO
    TITLE "Mosquito Song"
    PERFORMER "Queens Of The Stone Age"
    ISRC USIR10211289
    INDEX 00 54:52:12
  TRACK 16 AUDIO
    TITLE "Hidden Track 2"
    PERFORMER "Queens Of The Stone Age"
    INDEX 01 55:22:11
  TRACK 18 AUDIO
    TITLE "The Lost Art Of Keeping A Secret"
    PERFORMER "Queens Of The Stone Age"
    ISRC USIR10211358
    INDEX 01 61:00:07
  TRACK 19 AUDIO
    TITLE "Everybody's Gonna Be Happy"
    PERFORMER "Queens Of The Stone Age"
    ISRC USIR10211380
    INDEX 00 64:37:34
  TRACK 20 AUDIO
    TITLE "Hidden Track 3 (Last)"
    PERFORMER "Queens Of The Stone Age"
    INDEX 01 64:38:07
Title: REACT 2 Released
Post by: Synthetic Soul on 2008-02-04 15:23:19
Remove the line:

Code: [Select]
INDEX 00 00:00:00

Edit: and leave the rest alone - except for bumping up the track numbers.  INDEX 00 entries are fine elsewhere in the cuesheet - leave them as INDEX 00 indices and don't make unnecessary extra tracks.  You should have a cuesheet with 17 tracks, not 20.
(and please use CODEBOX)
Title: REACT 2 Released
Post by: Stone Free on 2008-02-04 18:52:04
Remove the line:

Code: [Select]
INDEX 00 00:00:00

Edit: and leave the rest alone - except for bumping up the track numbers.  INDEX 00 entries are fine elsewhere in the cuesheet - leave them as INDEX 00 indices and don't make unnecessary extra tracks.  You should have a cuesheet with 17 tracks, not 20.
(and please use CODEBOX)

I am a little bit confused, why are there other tracks with two sets of indicies?  On Wikipedia it says:
Quote
"A Song for the Deaf" (Homme, Lanegan, Oliveri) – 6:42
Contains an incomplete version of "Feel Good Hit of the Summer", that features all of the lyrics replaced with rhythmic laughing, toward the end of the track, after about 30 seconds of silence.
"Mosquito Song" (Homme, Oliveri) – 5:37
Mentioned on the track listing, but labelled as a hidden track. The first 30 seconds of this track are silent

So there should be another hidden track other than the one in the lead in.
Title: REACT 2 Released
Post by: ChuckW on 2008-02-05 16:42:41
I have a ton of .wav files organized by structured directories that I'd like to process.  Does anyone have a good example of a batch script to start at a top level directory and work down to the wav files to generate the tags? 

Thanks

Chuck
Title: REACT 2 Released
Post by: Akkurat on 2008-02-06 15:41:55
I have a ton of .wav files organized by structured directories that I'd like to process.  Does anyone have a good example of a batch script to start at a top level directory and work down to the wav files to generate the tags?

I'm really lost.. what do you want to do? And is this somehow related to REACT? The previous cuefile conversation was Off Topic, so let's not start a new OT discussion. Thanks... and sorry for bitching.
Title: REACT 2 Released
Post by: ChuckW on 2008-02-10 18:36:48
I have a ton of .wav files organized by structured directories that I'd like to process.  Does anyone have a good example of a batch script to start at a top level directory and work down to the wav files to generate the tags?

I'm really lost.. what do you want to do? And is this somehow related to REACT? The previous cuefile conversation was Off Topic, so let's not start a new OT discussion. Thanks... and sorry for bitching.


Sorry for the confusion. (Also, sorry for the delay--I've been out of town). 
Let me give some more details. I had a hard drive meltdown and lost a lot of files.  In some cases I only have MP3s, in which case I have to go back to the original CD to get anything lossless.  I also have EAC generated wav files that I'd like to use to create lossless and MP3 files.  I see that you can use REACT in a command line fashion, so the idea would be to read the directory structure to determine genre, artist, and album, and use the file name to determine track#, total tracks, and name.  Pass that info to REACT and have it create the MP3 and ALC files.  I haven't done batch programming in too many years, but I'm pretty sure there's a not too difficult way of recursing directories, setting up the info and passing it off to react. 

I thought I read somewhere (but now, can't find) that someone had done something like this.  If not, I'll either brute force it or learn a scripting language...
Title: REACT 2 Released
Post by: ChuckW on 2008-02-12 03:01:54
I can't seem to find definitions for the REACT command line parameters that EAC provides.  This is my best guess so far. 

REACT %o %s %d "%a" "%g" "%t" "%n" "%x" "%y" "%m" "%e" "%f" "%b" %r

%o    - 

%s   -  wav file name

%d     -  output file name

"%a"     -  CD or Track Artist

"%g"     -  Album

"%t"     -  Track Title

"%n"     -  Track Number

"%x"     - 

"%y"     -  Release Year

"%m"     -  Genre

"%e"     - 

"%f"     -  FreedbID

"%b"     -  Freedb Genre

%r    -  Artwork file name

Thought this would be in a wiki or  ?? ? but haven't been able to find
Title: REACT 2 Released
Post by: Synthetic Soul on 2008-02-12 09:12:28
Quote
Code: [Select]
    %s        Source filename
    %d        Destination filename
    %h...%h   Text "..." only when "High quality" selected
    %l...%l   Text "..." only when "Low quality" selected
    %c...%c   Text "..." only when "CRC checksum" selected
    %r        Bitrate ("32".."320")
    %a        CD artist
    %g        CD title
    %t        Track title
    %y        Year
    %n        Track number
    %m        MP3 music genre
    %o        Original filename (without temporary renaming)
    %e        Comment (as selected in EAC)

%x is the total number of tracks, although this includes data tracks if any are present. %b is the CRC.
Title: REACT 2 Released
Post by: terhardp on 2008-02-12 09:16:47
First of all, a big thanks to all of you who are working on this excellent tool.

Can someone please explain to me how to set the latest mod of REACT to embed EAC cue sheet and log file? What I want is a single FLAC image file per CD with cue sheet and log embedded into it, but I really don't know how to set this.

P.S. I tried searching the forums, but I couldn't find a straight answer to this.
Title: REACT 2 Released
Post by: SamHain86 on 2008-02-12 09:24:29
@ Chuck:
It might just be easier to have Foobar2000 go through, convert your WAVs, and then have it tag based on directory structure. I don't know how FB2K behaves when you tell it to guess tags from filename [directory structure] on a bunch of WAV files.


@ terhardp:
First of all, a big thanks to all of you who are working on this excellent tool.

Can someone please explain to me how to set the latest mod of REACT to embed EAC cue sheet and log file? What I want is a single FLAC image file per CD with cue sheet and log embedded into it, but I really don't know how to set this.

P.S. I tried searching the forums, but I couldn't find a straight answer to this.
It automatically embeds the CUE and log when using image mode.

If you look in the REACT-Image.CFG, you will find this code
Code: [Select]
@tools@\flac.exe @Opt_Flac@ %RG_Flac% %Cover_tag% -T "%ArtistField%=@cdartist@" -T album="@album@" -T totaltracks="@numtracks@" -T date="@year@" -T genre="@genre@" -T comment="@comment@" -T encoding="Flac @Ver_Flac@ @Opt_Flac@" --tag-from-file="cuesheet=@cuesheet@" --tag-from-file="eaclog=@eaclog@" "@source@" -o "@image@"
you see @eaclog@ and @cuesheet@, they are automatically embedded.
Title: REACT 2 Released
Post by: terhardp on 2008-02-12 09:37:35
@ SamHain86:

Thank you again for your help! My apologies - I didn't realize that .cue and .log are embedded automatically when ripping to CD image. When I tried to rip my first CD using EAC/REACT, it created an image file + cue sheet, but I didn't tried it in foobar, so I thought that cue and log wasn't embeded.
Title: REACT 2 Released
Post by: ChuckW on 2008-02-12 12:47:34
Synthetic Soul:  I finally found that listing some time after my post--thanks for verifying.

SamHain86: I'm not at all familiar with foobar, so I'd probably end up fumbling with that endlessly.

I did a recursive directory listing and have been using tools that I am familiar with--MS Word and Excel--to generate a file with the various tags for each wav.  My plan is to next generate a bat file with one REACT command line call per wav, something like:

REACT "01 - The Package.wav"  "F:\MUSIC - WAV\Rock\A Perfect Circle\01 - The Package.wav" "Temp" "A Perfect Circle" "Thirteenth Step" "The Package" "1" "12" "0" "Rock"




A few more questions:
1) why aren't the file names in quotes in the EAC call of REACT? I would assume any spaces screw things up
2) How does REACT know not to repeatedly call AlbumArt.exe for successive tracks in the same album?
3) Should Year be 0 or blank if I don't know the year?
4) I assume I can ignore the last three or four parameters (e f b and r) since I don't use them?
Title: REACT 2 Released
Post by: Synthetic Soul on 2008-02-12 13:24:01
Title: REACT 2 Released
Post by: Akkurat on 2008-02-12 13:32:06
2) How does REACT know not to repeatedly call AlbumArt.exe for successive tracks in the same album?

What you're thinking is not going to happen. AlbumArt.exe can't be started if you're using the "REACT command line call".

How many albums do you have in wav's? If there's not so many, I suggest that you rip them again with REACT.. me personally I wouldn't try to do what you're trying. Anyways, can you be sure that the wav files are ok since your hd "melted down"? Also you can't have the EAC log & cuefile(s) with this method you're trying.. if you care about those.
Title: REACT 2 Released
Post by: Akkurat on 2008-02-17 02:24:58
I have added a WIKI guide REACT:Backup DATA Track (http://wiki.hydrogenaudio.org/index.php?title=REACT:Backup_DATA_Track) for, surprise surprise, backing up DATA tracks. I hope it's understandable guide.

Also I managed finally to customize my REACT. Yes! I have ripped about 40 cd's so far and it's working like a charm.. and FAST. Still I check every rip.. I must be paranoid.    I guess that it's the result of a long bughunt. THANK YOU all who have helped.
Title: REACT 2 Released
Post by: SamHain86 on 2008-02-17 03:09:58
I have added a WIKI guide REACT:Backup DATA Track (http://wiki.hydrogenaudio.org/index.php?title=REACT:Backup_DATA_Track) for, surprise surprise, backing up DATA tracks. I hope it's understandable guide.

Also I managed finally to customize my REACT. Yes! I have ripped about 40 cd's so far and it's working like a charm.. and FAST. Still I check every rip.. I must be paranoid.    I guess that it's the result of a long bughunt. THANK YOU all who have helped.

So when can we expect the movie to come out?

By movie I mean the super deluxe bug free version of v2. And yes, I dream of when REACT3 comes out or comes integrated with EAC.
Title: REACT 2 Released
Post by: Akkurat on 2008-02-19 16:36:45
So when can we expect the movie to come out?

By movie I mean the super deluxe bug free version of v2. And yes, I dream of when REACT3 comes out or comes integrated with EAC.

REACT: a new MOD rising. An epic tale of human endurance, perseverance and heartbreaking love story with thrilling action across the planet as we know it.. today. Starring Akkurat, Synthetic Soul, nago, SamHain86 and rest of the brave HA posse. Hold your breath.. it's coming.. soon.. to download sites near you.

EDIT: Delayed... I've some problems with my PSU and/or CD drive. Sorry.
Title: REACT 2 Released
Post by: gsa999 on 2008-02-28 19:50:49
I am using replaygain (set to 1 in the ini file) with eac/react. Is it possible to get the album and track RG info added to the cue sheet that is created as well as embedded in the flac image.

Thx
Title: REACT 2 Released
Post by: nago on 2008-02-28 19:57:42
I am using replaygain (set to 1 in the ini file) with eac/react. Is it possible to get the album and track RG info added to the cue sheet that is created as well as embedded in the flac image.

Thx


AddCuesheetAG     Add Album gain/Album peak values to the cuesheet as REM lines. This implies that WaveGain is ran.

http://wiki.hydrogenaudio.org/index.php?ti...ettings_Section (http://wiki.hydrogenaudio.org/index.php?title=REACT#UserSettings_Section)
Title: REACT 2 Released
Post by: gsa999 on 2008-02-29 08:12:28
AddCuesheetAG Add Album gain/Album peak values to the cuesheet as REM lines. This implies that WaveGain is ran.
http://wiki.hydrogenaudio.org/index.php?ti...ettings_Section (http://wiki.hydrogenaudio.org/index.php?title=REACT#UserSettings_Section)
Thanks
I am slightly confused about the difference between Replaygain=1 and UseWaveGain=1. Do they conflict - ie do I have to turn off Replaygain=1. If I do will UseWaveGain give me the same result as RG?

Since I currently have Replaygain=1 set, I assume EAC is calculating the RG values somehow. Does UseWaveGain=1 bypass this and some other application calculates the RG values?

Sorry for the questions, but I am just trying to understand how these RG tags are being calculated

Thx
Title: REACT 2 Released
Post by: kami on 2008-03-01 04:16:13
Hi everyone

Been using REACT for a long time now and am very happy with it until now. I hadn't used it in several months and when I ran it today I got error on some files but not others. Somehow when the Temporary file name is getting fed to flac for processing the weird characters in the filename are being dropped so FLAC cant find this temporary wav file. (See red highlighted filenames below from DEBUG output )
The file that is actually on the hard drive waiting to be processed is named with the funny characters (  !(>)  for example )  but some how FLAC goes looking for L:\Ripped\Dtmp0-55.wav  Notice that the ! has been stripped out thus FLAC cannot find the file

I have not updated EAC or anything in the REACT folder tree.

Anyone have an idea what may be causing this?
I will give you more information from DEBUG Scripts etc if necessary to solve this


Pertinent DEBUG output below:

L:\Ripped\FLAC\Dave Matthews Band\Dave Matthews Band - 1999 - Listener Supported CD2>E:\PUBLIS~1\AutoFlac\REACT\tools\flac.exe -8 -f  -T artist="Dave Matthews Band" -T a
lbum="Listener Supported CD2" -T tracknumber="3/10" -T title="Two Step" -T date="1999" -T genre="Rock" -T comment="" -T encoded-by="That Guy There ... In Canada Eh" -T en
coding="Flac 1.2.0 -8 -f" "L:\Ripped\Dtmp0-!55.wav" -o "Dave Matthews Band - 1999 - Listener Supported CD2 - 03 - Two Step.flac"

flac 1.2.0, Copyright © 2000,2001,2002,2003,2004,2005,2006,2007  Josh Coalson
flac comes with ABSOLUTELY NO WARRANTY.  This is free software, and you are
welcome to redistribute it under certain conditions.  Type `flac' for details.

ERROR: can't open input file L:\Ripped\Dtmp0-55.wav: No such file or directory
Could Not Find L:\Ripped\Dtmp0-55.wav
Press any key to continue . . .


Thanks for all the great work u folks
Title: REACT 2 Released
Post by: Akkurat on 2008-03-02 16:26:10
Anyone have an idea what may be causing this?

"L:\Ripped\Dtmp0-!55.wav"

ERROR: can't open input file L:\Ripped\Dtmp0-55.wav: No such file or directory
Could Not Find L:\Ripped\Dtmp0-55.wav

To me this is clearly a problem with FLAC, not REACT. Have you tried with the latest FLAC 1.2.1b?

EDIT: Is the L: drive a network drive? Have you tried to change the target drive to normal local drive?
Title: REACT 2 Released
Post by: kami on 2008-03-04 15:00:28
Anyone have an idea what may be causing this?

"L:\Ripped\Dtmp0-!55.wav"

ERROR: can't open input file L:\Ripped\Dtmp0-55.wav: No such file or directory
Could Not Find L:\Ripped\Dtmp0-55.wav

To me this is clearly a problem with FLAC, not REACT. Have you tried with the latest FLAC 1.2.1b?



Hi Akkhurst and any others who could chime in here ... Please!?

I have tried Flac 1.2.1b and various others. The killer problem that is confounding me is the fact that this has worked for me since Flac 1.1.2.

Synthetic Soul ? Are you out there? Maybe you can shed some light on this for me? What determines whether the TEMPORARY file generated contains funny characters in the filename? (Sometimes the odd characters are not generated and it is always the same TEMPORARY filename for each file processed no matter how many times the script is run)  On the files where the odd characters are not present all works according to plan.

More to the point why could this suddenly cause me problems after having worked so well for so long. Would there be something I could do to force the TEMPORARY generated file to not contain those characters perhaps?

Sorry to keep hammering at this but I had such a perfect setup going ...

Thanks again folks
Title: REACT 2 Released
Post by: m_l on 2008-03-04 16:12:56
EDIT: Is the L: drive a network drive? Have you tried to change the target drive to normal local drive?


Try the above. If it's a network drive try mapping the drive.
Title: REACT 2 Released
Post by: Synthetic Soul on 2008-03-04 17:26:18
The temporary file is named by EAC; REACT has no control over it.

Here's what confuses me about your report:  Your FLAC command line, which (presumably) uses @source@, reportedly contains the exclamation mark; however the call to DEL the source file, which results in the line "Could Not Find L:\Ripped\Dtmp0-55.wav"  - which also uses @source@ - does not.

Have you doctored the debug text posted?  We need to know whether @source@ contains the exclamation or not.  It must be one or the other surely?  If you haven't doctored it then there is something extremely weird going on.  Maybe a codepage issue?

I'd like to see the batch file that is run I think.  When debugging I copy the temporary batch file so that I can see the code being run at my leisure.
Title: REACT 2 Released
Post by: Akkurat on 2008-03-05 19:31:07
Anyone have an idea what may be causing this?

"L:\Ripped\Dtmp0-!55.wav"

ERROR: can't open input file L:\Ripped\Dtmp0-55.wav: No such file or directory
Could Not Find L:\Ripped\Dtmp0-55.wav

To me this is clearly a problem with FLAC, not REACT. Have you tried with the latest FLAC 1.2.1b?

EDIT: Is the L: drive a network drive? Have you tried to change the target drive to normal local drive?

@kami: Please answer here in public forum, not PM's. Thanks. For everybody else: this is not the case here, the drive in question is a local drive.

Next shot in the dark until you post your config files: Are you by any chance using "SETLOCAL ENABLEDELAYEDEXPANSION" in your cfg file? But this is far fetched if your configs are not changed after you had a perfectly working setup. Although we don't know if your previous rips didn't produce temp files with ! chars..

I just ripped a cd which produced a temp file with ! char and everything went smooth as a baby's bum.
Title: REACT 2 Released
Post by: Synthetic Soul on 2008-03-05 20:24:03
I just ripped a cd which produced a temp file with ! char and everything went smooth as a baby's bum.
I just checked my debugging.txt file and every temp file listed in there has an exclamation mark in it.  As far as I remember mine normally do.  My filenames seem to follow the format: "<first letter of artist>tmp<5 random chars using 0-9/!/->".

Not that this helps really...

The discrepancy with @source@ is a weird one.
Title: REACT 2 Released
Post by: kami on 2008-03-05 23:19:37
I just ripped a cd which produced a temp file with ! char and everything went smooth as a baby's bum.
I just checked my debugging.txt file and every temp file listed in there has an exclamation mark in it.  As far as I remember mine normally do.  My filenames seem to follow the format: "<first letter of artist>tmp<5 random chars using 0-9/!/->".

Not that this helps really...

The discrepancy with @source@ is a weird one.


Hi folks ... got busy for last coupla days. Anyhow here are my React.ini  and  React-track.cfg.

I have heavily modified the .cfg  but like I said it was working until one day a week ago after not using it for several months. In the config I make calls to several outside programs. One is a very handy tool I bought years ago for search and replace I use it to modify some text in the .cue files

The other is Par to create PARs for archival purposes

My code attempts are probably amateurish but did acheive the results I was after and never generated any type of error until now.
All of the ripping action is taking place on local drives NOT network. This is all on Windows XP Service Pack 2 plus some, but not all updates since Service Pack 2 came out.

Codepage suggestion you made sorta kinda seems to make sense. I did not set that variable you asked about in an earlier post (SETLOCAL ENABLEDELAYEDEXPANSION)

Here is the .ini

Code: [Select]
[Settings]
Version=2.0
ImageExt=wav
ImageNaming=$artist$ - $year$ - $album$
ImageHotKey={F10}
TracksHotKey={F4}
TracksHotVal=+{F6}
VA=Various Artists
CreateAllCuesheets=0
RunCoverDownloader=1
CoverDownloader=E:\Publishing\AutoFlac\REACT\coverdownloader\albumart.exe
EAC=E:\Publishing\AutoFlac\Exact Audio\EAC.EXE
Tools=E:\Publishing\AutoFlac\REACT\tools
MinimizeCompressionWindow=0
ProcessPriority=1
Sla_Bks_Col_Qst_Bar_Quo_Ast_Lt_Gt=-|-|-||!|'|#|[|]

[UserTrackFormats]
Flac=1
Wavpack=0
LameMP3=0
NeroAac=0
iTunesAac=0
OggEnc2=0

[UserOutputNames]
PlaybackRoot=F:\Lossless
TrackDir_Playback=@PlaybackRoot@\$cdartist$\$cdartist$ - $year$ - $album$
OutRoot=L:\Ripped
ImageDir_Flac=@OutRoot@\FLAC-images\$cdartist$
ImageDir_Wavpack=@OutRoot@\WV-images\$cdartist$
ImageDir_MP3=@OutRoot@\MP3-images\$cdartist$
TrackDir_Flac=@OutRoot@\FLAC\$cdartist$\$cdartist$ - $year$ - $album$
TrackDir_Wavpack=@OutRoot@\WV\$cdartist$\$cdartist$ - $year$ - $album$
TrackDir_MP3=@OutRoot@\MP3\$cdartist$\$cdartist$ - $year$ - $album$
TrackDir_AAC=@OutRoot@\AAC\$cdartist$\$cdartist$ - $year$ - $album$
TrackDir_OGG=@OutRoot@\OGG\$cdartist$\$cdartist$ - $year$ - $album$
TrackName_SA=$cdartist$ - $year$ - $album$ - $track$ - $title$
TrackName_VA=$album$ - $track$ - $artist$ - $title$
TrackName_SA_acdir=$A - $r - $T - $n - $~t
TrackName_VA_acdir=$~a - $~n - $~T - $~t
CueSheet=@OutRoot@\$album$.cue


[UserSettings]
Debug=1
Comment=
EmbedCover=0
ReplayGain=1
ApplyAlbumGain=1
AdjustAlbumGain_dB=+3.0
AddCuesheetAG=1
UseWaveGainAG=1

Opt_Flac=-8 -f
Opt_Wavpack=-hmy
Opt_LameMP3=-V4 --vbr-new --noreplaygain --nohist
Opt_NeroAac=-lc -q 0.21
Opt_iTunesAac=-d -s 2000
Opt_OggEnc2=-q 3.0
Ver_Flac=1.2.0
Ver_Wavpack=4.40
Ver_LameMP3=3.97
Ver_NeroAac=1.0.0.2
Ver_OggEnc2=2.83 Lancer aoTuV b5
USERNAME=That Guy There ... In Canada Eh
CUE_use_FLAC=1
InfoDocsDir=L:\
InfoDocs=InfoDocs.zip
createinfodocs=0
createlocalcopies=1


and here is the .cfg


Code: [Select]
@ECHO OFF
CHCP 1252
TITLE @track@/@numtracks@ - "@album@"

REM Copyright © Tycho, 2006
REM
REM ** Create compressed audio tracks from ripped .wav tracks.
REM **
REM ** You may consider using image mode (F10)
REM ** as it supports creating tracks via acdir.exe,
REM ** and post-processing will always work (see below).
REM **
REM ** Flac requires flac.exe/metaflac.exe (v1.1.3)
REM ** NeroAac requires NeroAacEnc.exe/NeroAacTag.exe/AacGain.exe.
REM ** OggEnc2 requires OggEnc2.exe/VorbisGain.exe.
REM **
REM ** I prefer applying album gain 92dB to get a reasonable
REM ** volume for my DAP. The RG tags are still relative
REM ** to 89dB SPL, i.e. album gain will be about -3.0dB.



IF @Debug@==1 ECHO ON

SET TrackDir_Flac="@TrackDir_Flac@"
SET TrackDir_Playback="@TrackDir_Playback@"


IF @various@==0 SET TrackName=@TrackName_SA@


IF @various@==1 GOTO various_artist_script





REM ============== Begin Single Artist Script ==================



SET have_cover=0
SET embed_cover=0

IF EXIST "@cover@" (
SET have_cover=1
SET embed_cover=@EmbedCover@
)







REM ---- Track ----


IF NOT @Flac@==1 GOTO single_end_flac_tracks
IF NOT EXIST %TrackDir_Flac% MKDIR %TrackDir_Flac%
PUSHD %TrackDir_Flac%
IF @various@==1 SET VA_tag=-T "album artist=@VA@"
IF %embed_cover%==1 SET Cover_tag=--picture="|image/jpeg|||@cover@"
ECHO ON
@tools@\flac.exe @Opt_Flac@ %Cover_tag% %VA_tag% -T artist="@artist@" -T album="@album@" -T tracknumber="@track@/@numtracks@" -T title="@title@" -T date="@year@" -T genre="@genre@" -T comment="@comment@" -T encoded-by="@USERNAME@" -T encoding="Flac @Ver_Flac@ @Opt_Flac@" "@source@" -o "%TrackName%.flac"
@ECHO OFF


POPD

:single_end_flac_tracks


REM ** Delete the source .wav

DEL "@source@"


REM ---- Post-processing ----


rem ** Scan and compute ReplayGain and add cover picture for supported formats.
rem ** NB: The following will only work if at least the last track is selected,
rem ** and it is a regular audio track.

IF NOT @track@==@numtracks@ GOTO single_end_post_process

SET add_rg=@ReplayGain@
SET aac_enc=@NeroAac@
IF @iTunesAac@==1 SET aac_enc=1

IF NOT @ReplayGain@==1 GOTO single_end_RG
SET RG_MetaMP3=--replay-gain
SET RG_MetaFlac=--add-replay-gain
:single_end_RG

IF NOT @ApplyAlbumGain@==1 GOTO single_end_apply_AG
SET RG_MetaMP3=--apply-gain album@AdjustAlbumGain_dB@
SET RG_AacGain=/a /o /c /d @AdjustAlbumGain_dB@
SET add_rg=1

:single_end_apply_AG





REM ** Audio Formats:




IF @Flac@==1 (
PUSHD %TrackDir_Flac%
IF %add_rg%==1 @tools@\Glob.exe -v -c @tools@\metaflac.exe %RG_MetaFlac% "*.flac"
REM COPY /Y "@eaclog@" "@artist@ - @year@ - @album@".log
POPD
)



:single_end_post_process








REM --- :single_CheckForEACwavfiles

IF NOT @track@==@numtracks@ GOTO single_Continue ELSE GOTO single_FinishEncoding



:single_FinishEncoding




PUSHD %TrackDir_Flac%




REM  ---  Grab the EAC Logfile copy to Album directory and rename it
 

  COPY /Y @Outroot@\*.log "@artist@ - @year@ - @album@".log






REM  ---  Insert a zipped informational Document to the tracks Directory if createinfodocs=1 in .ini file


IF NOT @createinfodocs@==1 GOTO single_skip_infodocs



REM  ---  IF NOT EXIST %TrackDir_Flac%\@InfoDocs@ COPY /Y @InfoDocsDir@\@InfoDocs@ "@artist@ - @year@ - @album@ - @InfoDocs@"



:single_skip_infodocs





REM ---  Copy Album Cover to Album Directory and rename it

IF %have_cover%==1 COPY /y "@cover@" "@artist@ - @year@ - @album@".jpg





REM ---  Copy m3u playlist to Album Directory and rename it

REM ---  COPY /Y "@Outroot@\*.m3u" "@artist@ - @year@ - @album@".m3u






REM ---  Duplicate Cue File to Album Directory and use 2nd one to hold paths to the .flac files NOT the now missing .WAV files from EAC's extraction process
REM ---  if set in INI file to do so (using external search and replacer)


COPY /Y "@CueSheet@" "@artist@ - @year@ - @album@.cue"

POPD


IF NOT @CUE_use_FLAC@==1 GOTO single_end_CUE_use_FLAC


COPY /Y "@CueSheet@" "@TrackDir_Flac@\@artist@ - @year@ - @album@ - FLAC.cue"


"E:\Program Files\Search Replace\SR32.EXE" /p"@TrackDir_Flac@\*FLAC.cue" /s.wav /r.flac /q

:single_end_CUE_use_FLAC





REM ---  Fix paths in m3u file and change cue sheets to point to .flac instead of wave
REM ---  The following playlist path fix is REM because I generate after using external program.

REM ---  "E:\Program Files\Search Replace\SR32.EXE" /p"@TrackDir_Flac@\*.m3u" /s.eac /r.flac /q






REM  ---  Copy flacs jpg and logfile to Users normal Playback directory if createlocalcopies=1 in .ini file



IF NOT @createlocalcopies@==1 GOTO single_create_pars


IF NOT EXIST %TrackDir_Playback% MKDIR %TrackDir_Playback%


COPY /Y "@TrackDir_Flac@\*.flac" "@TrackDir_Playback@\*.flac"
COPY /Y "@TrackDir_Flac@\*.jpg" "@TrackDir_Playback@\*.jpg"
COPY /Y "@TrackDir_Flac@\*.log" "@TrackDir_Playback@\*.log"



:single_create_pars





REM  ---  Create PAR recovery files for all the .flac files


par2 create -s307200 -r10 "@TrackDir_Flac@\@artist@ - @year@ - @album@".par2 "@TrackDir_Flac@"\*.flac


REM  ---  Cleanup the working Directory


del /Q @Outroot@\*.*
REM  ---  del /Q @Outroot@\*.jpg
REM  ---  del /Q @Outroot@\*.cue
REM  ---  del /Q @Outroot@"\*.m3u
REM  ---  del /Q @Outroot@"\*.log
RMDIR /S/Q @Outroot@\Temp



:single_Continue





IF @Debug@==1 (
PAUSE
EXIT
)




REM ** Delete this .bat file:
DEL %0




REM  ---  This loop will pause the creation of the PAR files in case EAC extraction falls behind.
REM  ---  PARS get created when the last wav file has been processed from the @Outroot@ directory


:single_Pause


REM  ---  ECHO Waiting for EAC to catch up ...
REM  ---  PING 1.1.1.1 -n 1 -w 10000 >NUL



REM  ---  GOTO single_sourcecheck







REM ================ End Single Artist Script ===================









REM ============== Begin Various Artist Script ==================


:various_artist_script


IF @various@==1 SET TrackName=@TrackName_VA@






SET have_cover=0
SET embed_cover=0

IF EXIST "@cover@" (
SET have_cover=1
SET embed_cover=@EmbedCover@
)



ECHO Waiting for file to be written ...
PING 1.1.1.1 -n 1 -w 10000 >NUL



REM ---- Track ----


IF NOT @Flac@==1 GOTO various_end_flac_tracks
IF NOT EXIST %TrackDir_Flac% MKDIR %TrackDir_Flac%
PUSHD %TrackDir_Flac%
IF @various@==1 SET VA_tag=-T "album artist=@VA@"
IF %embed_cover%==1 SET Cover_tag=--picture="|image/jpeg|||@cover@"
ECHO ON
@tools@\flac.exe @Opt_Flac@ %Cover_tag% %VA_tag% -T artist="@artist@" -T album="@album@" -T tracknumber="@track@/@numtracks@" -T title="@title@" -T date="@year@" -T genre="@genre@" -T comment="@comment@" -T encoded-by="@USERNAME@" -T encoding="Flac @Ver_Flac@ @Opt_Flac@" "@source@" -o "%TrackName%".flac







POPD
@ECHO OFF


:various_end_flac_tracks


REM ** Delete the source .wav

DEL "@source@"


REM ---- Post-processing ----


rem ** Scan and compute ReplayGain and add cover picture for supported formats.
rem ** NB: The following will only work if at least the last track is selected,
rem ** and it is a regular audio track.

IF NOT @track@==@numtracks@ GOTO various_end_post_process

SET add_rg=@ReplayGain@
SET aac_enc=@NeroAac@
IF @iTunesAac@==1 SET aac_enc=1

IF NOT @ReplayGain@==1 GOTO various_end_RG
SET RG_MetaMP3=--replay-gain
SET RG_MetaFlac=--add-replay-gain
:various_end_RG

IF NOT @ApplyAlbumGain@==1 GOTO various_end_apply_AG
SET RG_MetaMP3=--apply-gain album@AdjustAlbumGain_dB@
SET RG_AacGain=/a /o /c /d @AdjustAlbumGain_dB@
SET add_rg=1

:various_end_apply_AG





REM ** Audio Formats:




IF @Flac@==1 (
PUSHD %TrackDir_Flac%
IF %add_rg%==1 @tools@\Glob.exe -v -c @tools@\metaflac.exe %RG_MetaFlac% "*.flac"
REM COPY /Y "@eaclog@" "@artist@ - @year@ - @album@".log
POPD
)



:various_end_post_process








REM ---  :various_CheckForEACwavfiles

IF NOT @track@==@numtracks@ GOTO various_Continue ELSE GOTO various_FinishEncoding



:various_FinishEncoding




PUSHD %TrackDir_Flac%




REM  ---  Grab the EAC Logfile copy to Album directory and rename it
 

  COPY /Y @Outroot@\*.log "@artist@ - @year@ - @album@".log






REM  ---  Insert a zipped informational Document to the tracks Directory if createinfodocs=1 in .ini file


IF NOT @createinfodocs@==1 GOTO various_skip_infodocs



IF NOT EXIST %TrackDir_Flac%\@InfoDocs@ COPY /Y @InfoDocsDir@\@InfoDocs@ "@artist@ - @year@ - @album@ - @InfoDocs@"



:various_skip_infodocs





REM ---  Copy Album Cover to Album Directory and rename it

IF %have_cover%==1 COPY /y "@cover@" "@artist@ - @year@ - @album@".jpg



REM ---  Copy m3u playlist to Album Directory and rename it

REM ---  COPY /Y "@Outroot@\*.m3u" "@artist@ - @year@ - @album@".m3u






REM ---  Duplicate Cue File to Album Directory and use 2nd one to hold paths to the .flac files NOT the now missing .WAV files from EAC's extraction process
REM ---  if set in INI file to do so (using external search and replacer)



COPY /Y "@CueSheet@" "@artist@ - @year@ - @album@.cue"

POPD


IF NOT @CUE_use_FLAC@==1 GOTO various_end_CUE_use_FLAC



COPY /Y "@CueSheet@" "@TrackDir_Flac@\@artist@ - @year@ - @album@ - FLAC.cue"


"E:\Program Files\Search Replace\SR32.EXE" /p"@TrackDir_Flac@\*FLAC.cue" /s.wav /r.flac /q




:various_end_CUE_use_FLAC



REM ---  Fix paths in m3u file and change cue sheets to point to .flac instead of wave
REM ---  The following playlist path fix is REM because I generate after using external program.

REM ---  "E:\Program Files\Search Replace\SR32.EXE" /p"@TrackDir_Flac@\*.m3u" /s.eac /r.flac /q



REM  ---  Copy flacs jpg and logfile to Users normal Playback directory if createlocalcopies=1 in .ini file



IF NOT @createlocalcopies@==1 GOTO various_create_pars




IF NOT EXIST %TrackDir_Playback% MKDIR %TrackDir_Playback%


COPY /Y "@TrackDir_Flac@\*.flac" "@TrackDir_Playback@\*.flac"
COPY /Y "@TrackDir_Flac@\*.jpg" "@TrackDir_Playback@\*.jpg"
COPY /Y "@TrackDir_Flac@\*.log" "@TrackDir_Playback@\*.log"



:various_create_pars





REM  ---  Create PAR recovery files for all the .flac files


par2 create -s307200 -r10 "@TrackDir_Flac@\@artist@ - @year@ - @album@".par2 "@TrackDir_Flac@"\*.flac


REM  ---  Cleanup the working Directory


del /Q @Outroot@\*.*
REM  ---  del /Q @Outroot@\*.jpg
REM  ---  del /Q @Outroot@\*.cue
REM  ---  del /Q @Outroot@"\*.m3u
REM  ---  del /Q @Outroot@"\*.log
RMDIR /S/Q @Outroot@\Temp



:various_Continue





IF @Debug@==1 (
PAUSE
EXIT
)




REM ** Delete this .bat file:
DEL %0




REM  ---  This loop will pause the creation of the PAR files in case EAC extraction falls behind.
REM  ---  PARS get created when the last wav file has been processed from the @Outroot@ directory


:various_Pause


REM  ---  ECHO Waiting for EAC to catch up ...
REM  ---  PING 1.1.1.1 -n 1 -w 10000 >NUL



REM  ---  GOTO various_sourcecheck







REM ================ End various Artist Script ===================


Thanks again for all of your efforts. Hope you may get a little laugh at all the wacky code I threw in there. :-)

Kami
Title: REACT 2 Released
Post by: Akkurat on 2008-03-06 16:42:51
My code attempts are probably amateurish but did acheive the results I was after and never generated any type of error until now.
No matter in what shape the code is as long as it's working. Preferences & opinions are like assholes, everyone's got one (at least)... and I know that I'm a big asshole.. *doh* no, I meant to say that I got my own preferences as to what code should look like.. moving on.. here's my notes/questions:

1. Which version are you using? Tycho's original REACT? Synthetic Soul mod (version)?
2. Can you test ripping with the original Tycho/Synthetic Soul cfg file?
3. Can you test your own cfg in another computer?
4. Try changing this command: "CHCP 1252" to "CHCP 1252 | PROMPT" (far fetched but IIRC somebody solved some problem with this)
5. Other problematic lines I found (some are REM lines but still.. + all these lines are found twice in your setup):
Code: [Select]
REM COPY /Y "@eaclog@" "@artist@ - @year@ - @album@".log
COPY /Y @Outroot@\*.log "@artist@ - @year@ - @album@".log
REM  ---  IF NOT EXIST %TrackDir_Flac%\@InfoDocs@ COPY /Y @InfoDocsDir@\@InfoDocs@ "@artist@ - @year@ - @album@ - @InfoDocs@"
IF %have_cover%==1 COPY /y "@cover@" "@artist@ - @year@ - @album@".jpg
REM ---          COPY /Y "@Outroot@\*.m3u" "@artist@ - @year@ - @album@".m3u
COPY /Y "@CueSheet@" "@artist@ - @year@ - @album@.cue"
COPY /Y "@CueSheet@" "@TrackDir_Flac@\@artist@ - @year@ - @album@ - FLAC.cue"
par2 create -s307200 -r10 "@TrackDir_Flac@\@artist@ - @year@ - @album@".par2 "@TrackDir_Flac@"\*.flac
What's problematic? I would use $artist$ - $year$ - $album$ tokens to be safe. (the year token is not really a problem but anyways, it doesn't hurt either)
(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))

Otherwise your cfg seems ok (a bit messy, sorry, but ok). I can't see what's causing your tempfile ! problem. In light of this evidence I've to say that it's not REACT.

EDIT: I'm really puzzled by this problem. Would you like to try this out: make a new test.bat file and put the following into it:
Code: [Select]
ECHO ON

ECHO test > test!file!!name.txt
PAUSE
DEL test!file!!name.txt
PAUSE

CHCP 1252

ECHO test > test!file!!name222.txt
PAUSE
DEL test!file!!name222.txt
PAUSE
Then run it and watch what happens. Does the created files have !-char in them, do they get deleted.. and so on.
Title: REACT 2 Released
Post by: kami on 2008-03-07 14:03:37
here's my notes/questions:
1. Which version are you using? Tycho's original REACT? Synthetic Soul mod (version)?
Using Tycos Version with EAC V 0.95 Beta 4 (But ... I did install the latest EAC and tried Synthetic Souls Mod .... Same result so I've restored everything to exactly the way it was)
2. Can you test ripping with the original Tycho/Synthetic Soul cfg file?
I tried going back to the original config that came with the download (no modifications). I still set the same directories etc. in the ini file
Code: [Select]
TracksHotVal=+{F6}
VA=Various Artists
CreateAllCuesheets=0
RunCoverDownloader=1
CoverDownloader=E:\Publishing\AutoFlac\REACT\coverdownloader\albumart.exe
EAC=E:\Publishing\AutoFlac\Exact Audio\EAC.EXE
Tools=E:\Publishing\AutoFlac\REACT\tools
MinimizeCompressionWindow=0
ProcessPriority=1
Sla_Bks_Col_Qst_Bar_Quo_Ast_Lt_Gt=-|-|-||!|'|#|[|]

[UserTrackFormats]
Flac=1
Wavpack=0
LameMP3=0
NeroAac=0
iTunesAac=0
OggEnc2=0

[UserOutputNames]
PlaybackRoot=F:\Lossless
TrackDir_Playback=@PlaybackRoot@\$cdartist$\$cdartist$ - $year$ - $album$
OutRoot=L:\Ripped
ImageDir_Flac=@OutRoot@\FLAC-images\$cdartist$
ImageDir_Wavpack=@OutRoot@\WV-images\$cdartist$
ImageDir_MP3=@OutRoot@\MP3-images\$cdartist$
TrackDir_Flac=@OutRoot@\FLAC\$cdartist$\$cdartist$ - $year$ - $album$
TrackDir_Wavpack=@OutRoot@\WV\$cdartist$\$cdartist$ - $year$ - $album$
TrackDir_MP3=@OutRoot@\MP3\$cdartist$\$cdartist$ - $year$ - $album$
TrackDir_AAC=@OutRoot@\AAC\$cdartist$\$cdartist$ - $year$ - $album$
TrackDir_OGG=@OutRoot@\OGG\$cdartist$\$cdartist$ - $year$ - $album$
TrackName_SA=$cdartist$ - $year$ - $album$ - $track$ - $title$
TrackName_VA=$album$ - $track$ - $artist$ - $title$
TrackName_SA_acdir=$A - $r - $T - $n - $~t
TrackName_VA_acdir=$~a - $~n - $~T - $~t
CueSheet=@OutRoot@\$album$.cue


[UserSettings]
Debug=1
Comment=
EmbedCover=0
ReplayGain=1
ApplyAlbumGain=1
AdjustAlbumGain_dB=+3.0
AddCuesheetAG=1
UseWaveGainAG=1

Opt_Flac=-8 -f
Opt_Wavpack=-hmy
Opt_LameMP3=-V4 --vbr-new --noreplaygain --nohist
Opt_NeroAac=-lc -q 0.21
Opt_iTunesAac=-d -s 2000
Opt_OggEnc2=-q 3.0
Ver_Flac=1.2.0
Ver_Wavpack=4.40
Ver_LameMP3=3.97
Ver_NeroAac=1.0.0.2
Ver_OggEnc2=2.83 Lancer aoTuV b5
USERNAME=
CUE_use_FLAC=0
InfoDocsDir=L:\
InfoDocs=InfoDocs.zip
createinfodocs=0
createlocalcopies=0

but still got bad result as shown here ...

L:\Ripped\FLAC\Aerosmith\Aerosmith - 1994 - Big Ones>E:\PUBLIS~1\AutoFlac\REACT\tools\flac.exe -8 -f  -T artist="Aerosmith" -T album="Big Ones" -T tracknumber="2/15" -T
title="Love In An Elevator" -T date="1994" -T genre="Rock" -T comment="" -T encoded-by="lloyd" -T encoding="Flac 1.2.0 -8 -f" "L:\Ripped\Atmp0-!55.wav" -o "Aerosmith - 19
94 - Big Ones - 02 - Love In An Elevator.flac"

flac 1.2.0, Copyright © 2000,2001,2002,2003,2004,2005,2006,2007  Josh Coalson
flac comes with ABSOLUTELY NO WARRANTY.  This is free software, and you are
welcome to redistribute it under certain conditions.  Type `flac' for details.

ERROR: can't open input file L:\Ripped\Atmp0-55.wav: No such file or directory
Could Not Find L:\Ripped\Atmp0-55.wav
Press any key to continue . . .

3. Can you test your own cfg in another computer?
Well ... wouldn't ya know it .... tried on my wifes old clunker of a machine  AMD processor not Intel like mine Same XP Pro SP2 etc.  and BANG !  Worked fine. Thats with all of my script mods intact the only things I changed were the directory paths. I also turned of the generation of par files and creation of a archive copy of the files. Upon this success I went back to my machine and turned that stuff off re-ran but still got same ! error.
DAMN !!!
4. Try changing this command: "CHCP 1252" to "CHCP 1252 | PROMPT" (far fetched but IIRC somebody solved some problem with this)
Didn't try this yet ... early day tomorrow and now its bedtime. (I will re-run with this in next coupla days)
EDIT: I'm really puzzled by this problem. Would you like to try this out: make a new test.bat file and put the following into it:
Code: [Select]
ECHO ON

ECHO test > test!file!!name.txt
PAUSE
DEL test!file!!name.txt
PAUSE

CHCP 1252

ECHO test > test!file!!name222.txt
PAUSE
DEL test!file!!name222.txt
PAUSE
Then run it and watch what happens. Does the created files have !-char in them, do they get deleted.. and so on.
Tried this .bat test and it created and deleted the files BUT and I repeat ... BUT  The files were created without the ! in the filename. They were however also successfully searched for and deleted by the script even though the ! had been somehow stripped out of the name

Is this all just some freakass joke by Billy Boy Gates? Some update to XP that my Wife doesn't have that is messing with file naming etc?
SHEESH ... I dunno. Feel really dumb .... So close to working, yet so far.

In a streak of brilliant genius I realized that I had added some "environment variables" to Windows itself, pointing to my REACT directories etc. so some other scripts I run could easily find things .... I removed them and tried REACT again thinking YEAH ... this'll fix it.

NO GO

Well ... Thanks again folks I hope you don't get tired of hearing from me quite yet. I have a coupla more ideas but am busy on/off for next few days. I'll try to take some time tomorrow to do a little more on this.

I have to assume I am the only one to EVER have such a weird thing goin' on ??
Title: REACT 2 Released
Post by: Akkurat on 2008-03-07 14:50:00
3. Can you test your own cfg in another computer?

Well ... wouldn't ya know it .... tried on my wifes old clunker of a machine  AMD processor not Intel like mine Same XP Pro SP2 etc.  and BANG !  Worked fine.

I knew it. It's definitely not REACT.

4. Try changing this command: "CHCP 1252" to "CHCP 1252 | PROMPT" (far fetched but IIRC somebody solved some problem with this)

Didn't try this yet ... early day tomorrow and now its bedtime. (I will re-run with this in next coupla days)

You can try but I bet that it doesn't change anything.

Tried this .bat test and it created and deleted the files BUT and I repeat ... BUT  The files were created without the ! in the filename. They were however also successfully searched for and deleted by the script even though the ! had been somehow stripped out of the name

Just as I expected. Back to my earlier hunch about "SETLOCAL ENABLEDELAYEDEXPANSION". Try this test.bat:
Code: [Select]
ECHO ON
SETLOCAL DISABLEDELAYEDEXPANSION

ECHO test > test!file!!name.txt
PAUSE
DEL test!file!!name.txt
PAUSE

I'm willing to bet my slippers that this works.  I suggest that you take a closer look in your "environment variables". PROMPT is a good starting point (type SET in dos prompt).
Title: REACT 2 Released
Post by: Synthetic Soul on 2008-03-07 14:56:42
It looks like Akkurat hit the nail on the head previously.

I can only assume that EnableDelayedExpansion has been set.  I know that you can set it by calling CMD with /v; perhaps there is a way to set this by default?

Try adding:

Code: [Select]
SETLOCAL DisableDelayedExpansion

... to the top of your config.

You should try adding it to the top of that batch file as your initial test.

Edit: Oops, too slow!
Title: REACT 2 Released
Post by: Akkurat on 2008-03-07 15:10:05
@kami:

I can only assume that EnableDelayedExpansion has been set.  I know that you can set it by calling CMD with /v; perhaps there is a way to set this by default?

Check this: goto Control Panel -> System -> Advanced (tab) -> Environment Variables. Find the "ComSpec" system variable and see if that has a "%SystemRoot%\system32\cmd.exe" value WITH /v switch.

Try adding:

Code: [Select]
SETLOCAL DisableDelayedExpansion

... to the top of your config.

You should try adding it to the top of that batch file as your initial test.

Yes absolutely.. but only to test it! You really should find a way to set this behaviour off by default since this could affect many other things.
Title: REACT 2 Released
Post by: Synthetic Soul on 2008-03-07 15:18:02
Yes absolutely.. but only to test it! You really should find a way to set this behaviour off by default since this could affect many other things.
... as may removing it!
Title: REACT 2 Released
Post by: kami on 2008-03-07 19:50:10
I can only assume that EnableDelayedExpansion has been set.  I know that you can set it by calling CMD with /v; perhaps there is a way to set this by default?

Check this: goto Control Panel -> System -> Advanced (tab) -> Environment Variables. Find the "ComSpec" system variable and see if that has a "%SystemRoot%\system32\cmd.exe" value WITH /v switch.

The COMSPEC was set as normal without the /v switch nowhere else in there did I see anything related.
Any thoughts on this? Can this be set in the Windows Registry? I did install Perl for Windows recently. Any chance that may have set something somewhere?
Try adding:

Code: [Select]
SETLOCAL DisableDelayedExpansion

... to the top of your config.

You should try adding it to the top of that batch file as your initial test.

Yes absolutely.. but only to test it! You really should find a way to set this behaviour off by default since this could affect many other things.

BANG ! Adding
Code: [Select]
SETLOCAL DisableDelayedExpansion
to the top of my .cfg worked like a charm
Well well ... Sure is nice of you to take YOUR time to solve MY problem. I just ripped a couple of CD's 1 Single artist and 1 various Artist. Ripped like a charm as it always used to.
I would by you a drink or somesuch but you are there and I am here. so what are the alternatives? Is there a Paypal way; or similar, for me to send a small (I'm not rich) pittance to both of you as a token of appreciation?

Thank you again from Vancouver Canada
Title: REACT 2 Released
Post by: Akkurat on 2008-03-08 00:29:47
The COMSPEC was set as normal without the /v switch nowhere else in there did I see anything related.
Any thoughts on this? Can this be set in the Windows Registry? I did install Perl for Windows recently. Any chance that may have set something somewhere?

I don't know. This is where my knowledge ends.. and I didn't find anything googling quickly. Sorry. I hope you find a better forum to resolve this... or install your OS again.

BANG ! Adding SETLOCAL DisableDelayedExpansion to the top of my .cfg worked like a charm
Well well ... Sure is nice of you to take YOUR time to solve MY problem. I just ripped a couple of CD's 1 Single artist and 1 various Artist. Ripped like a charm as it always used to.
I would by you a drink or somesuch but you are there and I am here. so what are the alternatives? Is there a Paypal way; or similar, for me to send a small (I'm not rich) pittance to both of you as a token of appreciation?

Thank you again from Vancouver Canada

Great that we found the problem. Thank you is enough for me.. thanks.  It's nice to feel & see that my presence on this wonderful earth is sometimes filled with altruistic intentions. I find new strength to continue my journey to save the earth & humankind (quite a difficult feat).  We can afford to be more altruistic than nature's other animals.. and we should use that advantage more often.. AND direct that to nature itself.
Title: REACT 2 Released
Post by: nago on 2008-04-03 02:53:40
My beloved fellow REACT users: Has the album art retriever stopped working for you? It seems the amazon scripts enabled by default have been turning up 503 errors lately. Is there a remedy? I'd rather not update to the latest cover downloader, since it takes up so much ram and has such a long startup time...
Title: REACT 2 Released
Post by: m_l on 2008-04-03 18:12:24
My beloved fellow REACT users: Has the album art retriever stopped working for you? It seems the amazon scripts enabled by default have been turning up 503 errors lately. Is there a remedy? I'd rather not update to the latest cover downloader, since it takes up so much ram and has such a long startup time...


I have no problems with V12 or 15. Version 15 starts quicker for me.
Title: REACT 2 Released
Post by: tycho on 2008-04-03 23:47:00
Personally I still use version 0.5, which (only) requires .NET 2.0. I've packaged this with updated boo scripts that all works well, including amazon. I've also included a wrapper : AlbumArtX.exe which calls AlbumArt.exe v0.5, but it accepts command line switches /artist, /album, /path, /ar, /al, /p, and switches with -. It also accepts command line: AlbumArtX.exe <artist> <album> <path>. Set the AlbumArt path in REACT to point to <path>\AlbumArtX.exe, and it should work.

Edit: I've reuploaded the package, and renamed the original AlbumArt.exe to AlbumArt_05.exe, and the wrapper is now called AlbumArt.exe, so it will work as a drop-in replacement.

Get it here (http://home.broadpark.no/~tylovset/files/AlbumArtDownloader05se.exe).
Title: REACT 2 Released
Post by: nago on 2008-04-04 01:42:09
Personally I still use version 0.5, which (only) requires .NET 2.0. I've packaged this with updated boo scripts that all works well, including amazon. I've also included a wrapper : AlbumArtX.exe which calls AlbumArt.exe v0.5, but it accepts command line switches /artist, /album, /path, /ar, /al, /p, and switches with -. It also accepts command line: AlbumArtX.exe <artist> <album> <path>.

Set the AlbumArt path in REACT to point to <path>\AlbumArtX.exe, and it should work.

Get it here (http://home.broadpark.no/~tylovset/files/AlbumArtDownloader05se.exe).


Very excellent tycho, thanks. I'll make good use of it
Is this on the wiki anywhere? It seems like a glove-fit for react users for which the slower startup times of XUI are unacceptable.
Title: REACT 2 Released
Post by: tycho on 2008-04-04 09:47:45
Very excellent tycho, thanks. I'll make good use of it
Is this on the wiki anywhere? It seems like a glove-fit for react users for which the slower startup times of XUI are unacceptable.

You're welcome. I have uploaded a small modification to make it a little simpler. See the edit in my previous post. It's not on the wiki yet.
Title: REACT 2 Released
Post by: nago on 2008-04-25 21:47:57
Got another question (been awhile!);

I had been using "$album$.[MG].cue" to reference cuesheets, but I realize this is not always accurate as the $album$ token will do character replacements according to react preferences and not necessarily match 1:1 with EAC's replacements.

Which variable would be best to use in this instance?

does EAC, for cuefiles (created automatically) replace all illegal characters with spaces, or does it use the conversion table it uses for tracknames?

I see a few functions in the code that may help, but I am not sure if there is an existing token that may already do precisely what I need. I'm getting a little caught up between $album, $gui_albumfile, $gui_albumfile2, etc.


EDIT: I think I am asking if there is already a token which basically equals fSubstIllegalCharsWithSpaces(StringReplace($gui_album, '"', "'")) or if I have to add such a token myself.
Title: REACT 2 Released
Post by: Akkurat on 2008-04-25 21:55:09
I had been using "$album$.[MG].cue" to reference cuesheets, but I realize this is not always accurate as the $album$ token will do character replacements according to react preferences and not necessarily match 1:1 with EAC's replacements.

Which variable would be best to use in this instance?

Copy from REACT (http://wiki.hydrogenaudio.org/index.php?title=REACT):
"@albumfile@    The base path to the cuesheet files without extension, created when CreateAllCuesheets=1 in the INI file. E.g, "@albumfile@.[mg].cue" is the multiple wav files cuesheet with gaps."

does EAC, for cuefiles (created automatically) replace all illegal characters with spaces, or does it use the conversion table it uses for tracknames?

I see a few functions in the code that may help, but I am not sure if there is an existing token that may already do precisely what I need. I'm getting a little caught up between $album, $gui_albumfile, $gui_albumfile2, etc.

From fGUISetVars():
Code: [Select]
; The format that EAC uses
$gui_albumfile = $g_directory & $album
; The format that the processing instance will use
$gui_albumfile2 = $g_directory & fSubstIllegalCharsWithSpaces(StringReplace($gui_album, '"', "'"))"
Title: REACT 2 Released
Post by: nago on 2008-04-25 22:14:18
Yeah, I think I overcomplicated something somewhere. It's a bit of a friday and I think a tall glass of liquid stupidity is in order.

I renamed the cuesheets in my version of the cuesheets extraction code using $gui_albumfile2 ... I should probably just use a simpler version instead. seems as though @albumfile@ is for directory + $g_albumfile.

I just needed something without directory-- but I can just change the cuesheet renaming code to rename to straight up fSubstIllegalChars($g_album, 1)  (equivalent of $album$) and then using $album$ to find the cuesheet should work just fine....

Anyway: How's your modwork going, Akkurat?
Title: REACT 2 Released
Post by: Synthetic Soul on 2008-04-26 08:21:56
Editing the code seems pointless to me, and just confuses support issues further.

Use the config to name the cuesheet how you want!

If you are going to mess with the code, be aware that "$gui_albumfile" (or $g_albumfile as it is called in the proecssing instance) is used in both REACT instances.  Akkurat has quoted the code from the wrapper instance, but it is also set in the processing instance, and this is the value that populates @albumfile@:

Code: [Select]
$g_albumfile = $g_sourcedir & "\" & fSubstIllegalCharsWithSpaces($g_album)
...
$str = fStringReplaceForDOS($str, "@albumfile@", $g_albumfile)

Of course, the hope is that both will refer to the same string value.  Perhaps this is another aspect that will fall down if the artist name contains a double quote ("), as (off the top of my head) I would think $g_album would have an apostrophe where $album would have a double quote.
Title: REACT 2 Released
Post by: Akkurat on 2008-04-26 22:31:44
Anyway: How's your modwork going, Akkurat?

Well.. rather stagnated situation. I'll update the Data Track Backup Wiki guide first. Then I'm going to have to wait until I get my new Corsair PSU to heal my wounded PC (boy, I really hope that this will fix it, fingers crossed). Then, back to fixing the cuesheet generation AGAIN, it currently has two new situations where the generation fails. It seems that all I do is fix the cuesheet thingy over and over again (by the way, I just had a confirmation that at least one other user than me had problems with ssb16p cuesheets; no error messages, cusheets wrongly created.. quite hard to catch if you're not so vigilant.. so it's highly recommended to upgrade to my mod if you're saving cuesheets.. when I get it out to public that is). Lastly a small change to the code and bang, it should be finally out. That's my plan.

And how's your "kitchen sink" coming?

I think that we have some unfinished email correspondence.. I'll have to go thru the old mail one day and see what the hell we were on about.

And thanks Synthetic Soul for the additional details I forgot because I was in a bit of a hurry.
Title: REACT 2 Released
Post by: Synthetic Soul on 2008-04-27 09:40:31
Then, back to fixing the cuesheet generation AGAIN, it currently has two new situations where the generation fails. It seems that all I do is fix the cuesheet thingy over and over again (by the way, I just had a confirmation that at least one other user than me had problems with ssb16p cuesheets; no error messages, cusheets wrongly created.. quite hard to catch if you're not so vigilant..
Any idea what these are?  As someone who has found it difficult for REACT to not create the cuesheets - apart from when the main window is unfocused, which I believe was resolved (whatever that means with the cuesheet generation code!) - I'm interested to hear how these issues are occurring.  I don't understand how it can be so problematic.

.. so it's highly recommended to upgrade to my mod if you're saving cuesheets.. when I get it out to public that is
 

And thanks Synthetic Soul for the additional details I forgot because I was in a bit of a hurry.
No worries. I'm not sure that it is relevant now, but it may be worth bearing in mind if nago is adapting what @albumfile@ refers to, or doing something similar.
Title: REACT 2 Released
Post by: Akkurat on 2008-04-27 13:46:06
Any idea what these are?  As someone who has found it difficult for REACT to not create the cuesheets - apart from when the main window is unfocused, which I believe was resolved (whatever that means with the cuesheet generation code!) - I'm interested to hear how these issues are occurring.  I don't understand how it can be so problematic.

Ok. As you know, the main problem is that the code relies on what windows are showing during the whole cuesheet generation phase, if there's a window which is not detected in the code, all goes haywire. The ssb16p version, which gave me lots of problems, fails to recognize one quickly flying by window and many times you end up with wrong cuesheet contents and/or missing cuesheets.. sometimes with no error messages at all! That's bad. Because it's VERY hard to detect these if you don't open up all cuefiles manually.. and even then it could be hard; sometimes the M, MC & MG cues can be the same (if I remember right.. at least some of these can be the same in some situations), sometimes not.

I have fixed this in my mod (akku.b01 version, not public yet, some people have this).

And now to the new two problems where the cuefiles generation fails:

1. "Retrieve UPC/ISRC code in CUE sheet generation" option checked in EAC (this came up in the thread (EAC React2 Creates All Cue Sheets, Only Need 1) where greynol swept the floor with me by his knowledge in track gaps / cuesheets.  I'm still trying to "decipher" what you were on about.. I'll do that some day.. when the red blush from my cheeks vanishes)

2. EAC "standard directory not set to: use this directory". A destination confirmation window comes up to foil the cuesheet generation.
Title: REACT 2 Released
Post by: Synthetic Soul on 2008-04-27 22:32:16
Thanks for the info Akkurat.

2. EAC "standard directory not set to: use this directory". A destination confirmation window comes up to foil the cuesheet generation.
Yes, I wonder whether this should be set as part of the REACT set-up really - the value of @OutRoot@ could be used, or just the user's "My Music" folder, or something...
Title: REACT 2 Released
Post by: removablebrain on 2008-05-05 05:50:42
Hello,

I have a small issue I am unable to resolve. All of my tracks are getting encoded properly - both FLAC & V0 in track mode. RG is applied and cues & m3u are created. The problem I am having is getting the EAC log file moved to the proper directory. Most of the time it works just fine, other times the log file sits in the working directory after post processing has run. I am truly puzzled why it works sometimes and not others.

INI:
Code: [Select]
[Settings]
Version=2.0.ssb16
ImageExt=wav
ImageNaming=$artist$ - $album$
ImageHotKey={F10}
TracksHotKey={F4}
TracksHotVal=+{F6}
VA=Various
CreateAllCuesheets=1
RunCoverDownloader=0
CoverDownloader=C:\Program Files\AlbumArtDownloader\AlbumArt.exe
CoverDownloaderXUI=0
EAC=C:\Program Files\Exact Audio Copy\EAC.exe
Tools=C:\Program Files\REACT2\tools
MinimizeCompressionWindow=0
ProcessPriority=1
Sla_Bks_Col_Qst_Bar_Quo_Ast_Lt_Gt=-|-|-||!|'|#|[|]
Test=1

[UserTrackFormats]
Flac=1
Wavpack=0
LameMP3=1
NeroAac=0
iTunesAac=0
OggEnc2=0

[UserOutputNames]
OutRoot=D:\Rips-Audio
ImageDir_Flac=@OutRoot@\$cdartist$ - $album$ (FLAC)
ImageDir_Wavpack=@OutRoot@\WV-images\$cdartist$
ImageDir_MP3=@OutRoot@\$cdartist$ - $album$ (V0)
TrackDir_Flac=@OutRoot@\$cdartist$ - $album$ (FLAC)
TrackDir_Wavpack=@OutRoot@\WV\$cdartist$\[$year$] $album$
TrackDir_MP3=@OutRoot@\$cdartist$ - $album$ (V0)
TrackDir_AAC=@OutRoot@\AAC\$cdartist$\[$year$] $album$
TrackDir_OGG=@OutRoot@\OGG\$cdartist$\[$year$] $album$
TrackName_SA=$track$ - $title$
TrackName_VA=$track$ - $artist$ - $title$
TrackName_SA_acdir=$n - $~t
TrackName_VA_acdir=$n - $~t [$~a]

[UserSettings]
Debug=0
Comment=
EmbedCover=0
ReplayGain=1
ApplyAlbumGain=1
AdjustAlbumGain_dB=+0
AddCuesheetAG=0
UseWaveGainAG=0
Opt_Flac=-8 -f
Opt_Wavpack=-hmy
Opt_LameMP3=-V0 --vbr-new --noreplaygain --nohist
Opt_NeroAac=-lc -q 0.21
Opt_iTunesAac=-d -s 2000
Opt_OggEnc2=-q 3.0
Ver_Flac=1.1.3
Ver_Wavpack=4.40
Ver_LameMP3=3.97
Ver_NeroAac=1.0.0.2
Ver_OggEnc2=2.83 Lancer aoTuV b5

[DefaultMetaData]
discnumber=1
totaldiscs=1
discname=

Track Config:
Code: [Select]
@ECHO OFF
REM CHCP 1252
TITLE @track@/@numtracks@ - "@album@"

REM Copyright © Tycho, 2006
REM
REM ** Create compressed audio tracks from ripped .wav tracks.
REM **
REM ** You may consider using image mode (F10)
REM ** as it supports creating tracks via acdir.exe,
REM ** and post-processing will always work (see below).
REM **
REM ** Flac requires flac.exe/metaflac.exe (v1.1.3)
REM ** NeroAac requires NeroAacEnc.exe/NeroAacTag.exe/AacGain.exe.
REM ** OggEnc2 requires OggEnc2.exe/VorbisGain.exe.
REM **
REM ** I prefer applying album gain 92dB to get a reasonable
REM ** volume for my DAP. The RG tags are still relative
REM ** to 89dB SPL, i.e. album gain will be about -3.0dB.


REM ============== Begin Main Script ==================


IF @Debug@==1 ECHO ON

SET TrackDir_Flac="@TrackDir_Flac@"
SET TrackDir_Wavpack="@TrackDir_Wavpack@"
SET TrackDir_MP3="@TrackDir_MP3@"
SET TrackDir_AAC="@TrackDir_AAC@"
SET TrackDir_OGG="@TrackDir_OGG@"

IF @various@==0 SET TrackName=@TrackName_SA@
IF @various@==1 SET TrackName=@TrackName_VA@

SET have_cover=0
SET embed_cover=0

IF EXIST "@cover@" (
SET have_cover=1
SET embed_cover=@EmbedCover@
)

REM ---- Track ----


IF NOT @Flac@==1 GOTO end_flac_tracks
IF NOT EXIST %TrackDir_Flac% MKDIR %TrackDir_Flac%
PUSHD %TrackDir_Flac%
IF @various@==1 SET VA_tag=-T "album artist=@VA@"
IF %embed_cover%==1 SET Cover_tag=--picture="|image/jpeg|||@cover@"
ECHO ON
@tools@\flac.exe @Opt_Flac@ %Cover_tag% %VA_tag% -T artist="@artist@" -T album="@album@" -T tracknumber="@track@/@numtracks@" -T title="@title@" -T date="@year@" -T genre="@genre@" "@source@" -o "%TrackName%.flac"
SET trackCueFile="$cdartist$ - $album$.cue"
IF NOT EXIST %trackCueFile% (
    COPY "@albumfile@.[mg].cue" %trackCueFile%
    ECHO CHCP 1252 ^| PROMPT>>update-cuesheet.bat
)
ECHO @tools@\GSAR.EXE "-s@basename@.wav" "-r%TrackName%.flac" -o %trackCueFile%>>update-cuesheet.bat
@tools@\tag.exe --playlist --onlyfiles --sort track --plname "$artist$ - $album$.m3u" *.flac
@ECHO OFF
IF %have_cover%==1 IF NOT EXIST folder.jpg COPY "@cover@" folder.jpg
POPD
:end_flac_tracks


IF NOT @LameMP3@==1 GOTO end_lame_tracks
IF NOT EXIST %TrackDir_MP3% MKDIR %TrackDir_MP3%
PUSHD %TrackDir_MP3%
IF @various@==1 SET VA_tag=--user-text "[album artist]@VA@" --frame "TPE2:@VA@"
IF %embed_cover%==1 SET Cover_tag=--pict "{3}@cover@"
ECHO ON
@tools@\lame.exe @Opt_LameMP3@ "@source@" "%TrackName%.mp3"
@tools@\metamp3.exe %Cover_tag% %VA_tag% --artist "@artist@" --album "@album@" --track @track@/@numtracks@ --title "@title@" --year "@year@" --genre "@genre@" "%TrackName%.mp3"
SET trackCueFile="$cdartist$ - $album$.cue"
IF NOT EXIST %trackCueFile% (
    COPY "@albumfile@.[mg].cue" %trackCueFile%
    ECHO CHCP 1252 ^| PROMPT>>update-cuesheet.bat
)
ECHO @tools@\GSAR.EXE "-s@basename@.wav""" WAVE" "-r%TrackName%.mp3""" MP3" -o %trackCueFile%>>update-cuesheet.bat
@tools@\tag.exe --playlist --onlyfiles --sort track --plname "$artist$ - $album$.m3u" *.mp3
@ECHO OFF
IF %have_cover%==1 IF NOT EXIST folder.jpg COPY "@cover@" folder.jpg
POPD
:end_lame_tracks


REM ** Delete the source .wav
DEL "@source@"


REM ---- Post-processing ----


rem ** Scan and compute ReplayGain and add cover picture for supported formats.
rem ** NB: The following will only work if at least the last track is selected,
rem ** and it is a regular audio track.

REM ** Compression threads workaround. Ensures that all compression threads are closed before starting post-processing.
:checkTmp
IF NOT EXIST processing[*].tmp GOTO allProcsClear
ECHO.
ECHO Waiting for all other processes to clear... If program hangs here and there are no other tracks being encoded, delete all processing[#].tmp files in your "@sourcedir@" directory.
ECHO.
REM ** Pause for 10000 milliseconds
PING 1.1.1.1 -n 1 -w 10000 >NUL
GOTO checkTmp
:allProcsClear

IF NOT @track@==@numtracks@ GOTO end_post_process

SET add_rg=@ReplayGain@
SET aac_enc=@NeroAac@
IF @iTunesAac@==1 SET aac_enc=1

IF NOT @ReplayGain@==1 GOTO end_RG
SET RG_MetaFlac=--add-replay-gain
SET RG_MetaMP3=--replay-gain
:end_RG

IF NOT @ApplyAlbumGain@==1 GOTO end_apply_AG
SET RG_MetaMP3=--apply-gain album@AdjustAlbumGain_dB@
SET RG_AacGain=/a /o /c /d @AdjustAlbumGain_dB@
SET add_rg=1
:end_apply_AG


REM ** Audio Formats:

IF @Flac@==1 (
PUSHD %TrackDir_Flac%
IF %add_rg%==1 @tools@\Glob.exe -v -c @tools@\metaflac.exe %RG_MetaFlac% *.flac
IF %add_rg%==1 @tools@\Glob.exe -v -c @tools@\metamp3.exe --remove [mp3gain_*]TXXX *.flac
@tools@\GSAR.EXE -s%% -r%%%% -o update-cuesheet.bat
CALL update-cuesheet.bat
DEL update-cuesheet.bat
COPY /Y "@eaclog@" "$cdartist$ - $album$.log"
POPD
)


IF @LameMP3@==1 (
PUSHD %TrackDir_MP3%
IF %add_rg%==1 @tools@\metamp3.exe %RG_MetaMP3% *.mp3
IF %add_rg%==1 @tools@\metamp3.exe --remove [mp3gain_*]TXXX *.mp3
@tools@\GSAR.EXE -s%% -r%%%% -o update-cuesheet.bat
CALL update-cuesheet.bat
DEL update-cuesheet.bat
COPY /Y "@eaclog@" "$cdartist$ - $album$.log"
POPD
)

REM ** Cleanup

DEL "@eaclog@"
DEL "@albumfile@.[*].cue"
DEL "@cover@"

:end_post_process


REM ================ End Main Script ===================


IF @Debug@==1 (
PAUSE
EXIT
)

REM ** Delete this .bat file:
DEL %0
Title: REACT 2 Released
Post by: Synthetic Soul on 2008-05-05 09:47:26
Take a look at this wiki article: REACT:Pausing For The Logfile. (http://wiki.hydrogenaudio.org/index.php?title=REACT%3a%50ausing_For_The_Logfile)

As you are using the track config, just put the first piece of code somewhere just before the code that requires the log file, possibly line 128, before:

Code: [Select]
REM ** Audio Formats:

Edit: Also ensure that you are using the latest version of my mod, to ensure that this is not actually caused by the post-processing phase falling down on discs with a data track (you need 2.0.ssb16m or later).
Title: REACT 2 Released
Post by: Akkurat on 2008-05-09 00:09:48
I have finally updated the REACT:Backup DATA Track (http://wiki.hydrogenaudio.org/index.php?title=REACT:Backup_DATA_Track) Wiki guide. Any comments are welcomed.

I'm picking up my new PSU tomorrow, so maybe I can get back to coding the couple of TODO things for my mod. Although the Ice Hockey World Championships & NHL finals will be eating almost all of my free time.. there's always something.
Title: REACT 2 Released
Post by: Synthetic Soul on 2008-05-09 09:36:44
I see that you ask users to set CreateAllCuesheets=1.

Given that, since 2.0.ssb16m, a cuesheet is already created in track mode to detirmine the number of actual audio tracks, you could potentially use this cuesheet, or the image cuesheet in image mode.

Given the potential trouble with CreateAllCuesheets=1, this could save a few headaches, and unnecessary processing.

Aside from that suggestion, the concept and execution look great.  Nice work.
Title: REACT 2 Released
Post by: Akkurat on 2008-05-09 16:39:22
I see that you ask users to set CreateAllCuesheets=1.

Given that, since 2.0.ssb16m, a cuesheet is already created in track mode to detirmine the number of actual audio tracks, you could potentially use this cuesheet, or the image cuesheet in image mode.

Thanks for the feedback. The cuefile generated in both of these cases is the "S" (range) cuefile which doesn't have the necessary information to determine if the CD has a data track. I sure would have liked to used those but I have no choice. The "MG" cuefile is the only one which has the "data track info"... and also, if I'm not mistaken, the REACT.cue file generated in track mode is deleted BEFORE the "DOS part" starts for the last track.

Given the potential trouble with CreateAllCuesheets=1, this could save a few headaches, and unnecessary processing.

Well, I'm so confident in my own mod (you got to be, right?) that I don't count this as a problem.. that is IF people are going to use my mod of course. (I think I'll publish the first version this weekend.. to get things rolling a bit faster)

OT: My fingers are really sore from yanking the stupid super tight power connectors, can't they design these things better? I'm happy that I didn't break anything. Now couple of memory tests for the new RAM and I'm set to run my 2GB RAM monster (to me it is) with new & quiet (& problem solver?) PSU.
Title: REACT 2 Released
Post by: Akkurat on 2008-05-10 18:18:55
My mod is now officially released!

Check REACT:Mods (http://wiki.hydrogenaudio.org/index.php?title=REACT:Mods) Wiki page or my Akkurat's REACT mod (http://www.hydrogenaudio.org/forums/index.php?showtopic=63179) thread in upload forum.
Title: REACT 2 Released
Post by: dornyika on 2008-05-11 20:18:53
Hello, could you please help set me up REACT2 (with Akkurat mod) with EAC?
I'd like to have mp3 (i an set this up  ), plus individual flac tracks with a correspondig cuesheet (noncompliant). I've tried this:

ImageExt=flac
Flac=1
LameMP3=1

But I got a flac image and corresponding cuesheet which i don't need, and miss a cuesheet for individual flac tracks. Is there a way to ahive what i'd like to?

Thanks is advance
Darvas Dorottya
Title: REACT 2 Released
Post by: Synthetic Soul on 2008-05-11 23:10:14
Set CreateAllCuesheets=1 to get the cuesheet.

Set ImageExt=wav if you don't want an image file.

Hit F4 (tracks) to start ripping, not F10 (images).

To do something with the cuesheet you will need to edit REACT-track.cfg.  In the section "REM ---- Post-processing ----" near the bottom you will see:

Code: [Select]
    IF @Flac@==1 (
        PUSHD %TrackDir_Flac%
            IF %add_rg%==1 @tools@\Glob.exe -v -c @tools@\metaflac.exe %RG_MetaFlac% *.flac
            REM COPY /Y "@eaclog@" "EAClog.txt"
        POPD
    )

Change this to:

Code: [Select]
    IF @Flac@==1 (
          PUSHD %TrackDir_Flac%
              IF %add_rg%==1 @tools@\Glob.exe -v -c @tools@\metaflac.exe %RG_MetaFlac% *.flac
              REM COPY /Y "@eaclog@" "EAClog.txt"
            COPY /Y "@albumfile@.[mg].cue" "$cdartist$ - $album$.cue"
          POPD
      )

... to copy the cuesheet into your FLAC folder.
Title: REACT 2 Released
Post by: dornyika on 2008-05-12 00:57:40
Set CreateAllCuesheets=1 to get the cuesheet.

Set ImageExt=wav if you don't want an image file.

Hit F4 (tracks) to start ripping, not F10 (images).

To do something with the cuesheet you will need to edit REACT-track.cfg.  In the section "REM ---- Post-processing ----" near the bottom you will see:

Code: [Select]
    IF @Flac@==1 (
        PUSHD %TrackDir_Flac%
            IF %add_rg%==1 @tools@\Glob.exe -v -c @tools@\metaflac.exe %RG_MetaFlac% *.flac
            REM COPY /Y "@eaclog@" "EAClog.txt"
        POPD
    )

Change this to:

Code: [Select]
    IF @Flac@==1 (
          PUSHD %TrackDir_Flac%
              IF %add_rg%==1 @tools@\Glob.exe -v -c @tools@\metaflac.exe %RG_MetaFlac% *.flac
              REM COPY /Y "@eaclog@" "EAClog.txt"
            COPY /Y "@albumfile@.[mg].cue" "$cdartist$ - $album$.cue"
          POPD
      )

... to copy the cuesheet into your FLAC folder.


Thanks, i think i did something similar (exept the modificatio of track-cfg. of course), and my problem is that the cuesheet refers to .wav files. Now i found this (http://wiki.hydrogenaudio.org/index.php?title=REACT:Amending_Cuesheet_File_References) and i am trying to understand and do this thinng with gsar. Is this the right solution? Or how does this go with the above suggested copying.
Title: REACT 2 Released
Post by: Akkurat on 2008-05-12 01:17:22
Thanks, i think i did something similar (exept the modificatio of track-cfg. of course), and my problem is that the cuesheet refers to .wav files. Now i found this (http://wiki.hydrogenaudio.org/index.php?title=REACT:Amending_Cuesheet_File_References) and i am trying to understand and do this thinng with gsar. Is this the right solution? Or how does this go with the above suggested copying.

Yes. Just follow the instructions carefully and you should be ok.
Title: REACT 2 Released
Post by: dornyika on 2008-05-12 02:05:34
Thanks, i think i did something similar (exept the modificatio of track-cfg. of course), and my problem is that the cuesheet refers to .wav files. Now i found this (http://wiki.hydrogenaudio.org/index.php?title=REACT:Amending_Cuesheet_File_References) and i am trying to understand and do this thinng with gsar. Is this the right solution? Or how does this go with the above suggested copying.

Yes. Just follow the instructions carefully and you should be ok.


Thank You Both!
After some trouble, i finnaly got what i wanted! Great!!!
Title: REACT 2 Released
Post by: PatchWorKs on 2008-05-12 09:13:07
Just an idea: what about using OGG chapters for cuesheet embedding ? 
Title: REACT 2 Released
Post by: Synthetic Soul on 2008-05-12 09:18:56
I don't know: what about it?  If you are an Ogg user then I guess you can best explain how this would happen.

Can oggenc read a cuesheet for the chapters?  Or, do you know of a 3rd party console app that can read a cuesheet and create Ogg chapter values to pass to oggenc?

Edit: Ah, just seen your other post here (http://www.hydrogenaudio.org/forums/index.php?showtopic=63197).
Title: REACT 2 Released
Post by: PatchWorKs on 2008-05-13 11:42:58
I don't know: what about it?  If you are an Ogg user then I guess you can best explain how this would happen.

This image should explain better than any word:
Title: REACT 2 Released
Post by: Synthetic Soul on 2008-05-13 11:56:50
That doesn't help.  I know what Ogg chapters look like; I have Chap2Cue and Chapter-X-Tractor installed and have used them to convert IFO indexes into a cuesheet.

As you well know from your other thread, we need an application to convert a cuesheet into a chapter list, and then some way of applying that list to the Ogg file.  If we had those, I could suggest some config (batch file) code that would create an Ogg image and add chapters to it.

I don't know how you apply chapters to an Ogg file.

It would be relatively simple to write something that converted a cuesheet into a chapter list.... but I don't use Ogg, and I have other things to do.
Title: REACT 2 Released
Post by: PatchWorKs on 2008-05-14 12:20:58
That doesn't help.
I don't know how you apply chapters to an Ogg file.


Well, OGGMux (http://oggmux.sourceforge.net/about.html) seems the answer:
Quote
For example, it's nearly impossible to setup chapter information with GraphEdit. In OggMux it's just a mouseclick to import the chapterlist generated by ChapterXtractor or SmartRipper.


Under linux there are OGMtools (http://www.bunkus.org/videotools/ogmtools/) instead.
Title: REACT 2 Released
Post by: Synthetic Soul on 2008-05-14 12:31:40
Well, OGGMux (http://oggmux.sourceforge.net/about.html) seems the answer
Except that it is not a command line application (on quick inspection).

Under linux there are OGMtools (http://www.bunkus.org/videotools/ogmtools/) instead.
You do realise that this is the REACT thread?

I feel the need to use a smiley to show that I am not angry with you, although my responses to you have been curt; I only wish I could help.  Here is comes:

 

Please substitute it for any of the other light-hearted smilies that will allow you to come away from this post in a good mood.  Personally, I normally like a good wink, but that's another thread altogether.
Title: REACT 2 Released
Post by: dewey1973 on 2008-05-14 15:30:38
My mod is now officially released!

Check REACT:Mods (http://wiki.hydrogenaudio.org/index.php?title=REACT:Mods) Wiki page or my Akkurat's REACT mod (http://www.hydrogenaudio.org/forums/index.php?showtopic=63179) thread in upload forum.


I'm sorry if I missed this earlier in the thread but are you taking over development or is this a "fork" from Synthetic Soul's mod?
Title: REACT 2 Released
Post by: Synthetic Soul on 2008-05-14 15:48:14
I think at this point we would have to call it a fork; however I have indicated that I have little interest in doing anything more with REACT 2.0.

I suspect that Akkurat will adopt any reasonable suggestions that users have, just as I tried to do previously, which means that I should never feel the need to release another 2.0 mod myself.

I would recommend users to switch to Akkurat's mod, if they are having issues with 2.0.ssb16p, or require any new functionality that he adds.
Title: REACT 2 Released
Post by: Akkurat on 2008-05-15 19:38:49
I'm sorry if I missed this earlier in the thread but are you taking over development or is this a "fork" from Synthetic Soul's mod?
I think at this point we would have to call it a fork; however I have indicated that I have little interest in doing anything more with REACT 2.0.

It's obviously a fork, that's why it's named differently. We agreed that this is the best way to handle this situation.

I suspect that Akkurat will adopt any reasonable suggestions that users have, just as I tried to do previously, which means that I should never feel the need to release another 2.0 mod myself.

Correct. "Reasonable suggestions", very well put.


OT: @Synthetic Soul: Are you doing anything else than monitoring this forum? I just can't believe (again) how fast you reply to inquiries, participate in various threads, etc. ... HA addict?

OT2: Was HA down for a moment today?
Title: REACT 2 Released
Post by: m_l on 2008-05-23 00:27:44
Akkurat,

Thank You, for your work on fixing bugs and problems
Title: REACT 2 Released
Post by: ara-fat32 on 2008-06-05 02:30:54
Is it possible to compress the files for archiving purposes with PKZip or Rar, after everything is done?
After Processing likely?
Title: REACT 2 Released
Post by: Synthetic Soul on 2008-06-05 16:05:36
Of course.  You would just need to add the code to the relevant config.
Title: REACT 2 Released
Post by: daniel_sge on 2008-06-16 14:22:01
Hi!


I've got 2 problems.

1. When using React, EAC is not anymore copying the .m3u lists and the logfile into the destination folders, but in the "root-folder" . How can I change that? (I'm encoding to Flac and mp3)
Furthermore, It would be great, if I can define, that the .cue-sheets are only copied to the flac-folder.

My second problem is, that the cover downloader isn't working. It isn't finding anything on amazon's server (Connection refused)

Daniel
Title: REACT 2 Released
Post by: Akkurat on 2008-06-18 13:02:51
1. When using React, EAC is not anymore copying the .m3u lists and the logfile into the destination folders, but in the "root-folder" . How can I change that? (I'm encoding to Flac and mp3)

You should not use the EAC "Create '.m3u' playlist on extraction" option (in EAC Options -> Tools). Instead read the following guide: REACT:Creating A Playlist (http://wiki.hydrogenaudio.org/index.php?title=REACT:Creating_A_Playlist) and then you have to edit your REACT-track.cfg file (I take it that you're ripping into tracks, not images?). Here's some instructions:

1. Find the following text: IF @Flac@==1
2. Remove the REM text from the REM COPY /Y "@eaclog@" "EAClog.txt" line found couple of lines below
3. Use the new knowledge found from the REACT:Creating A Playlist guide and add the required lines to generate a playlist (between PUSHD %TrackDir_... and POPD lines!)
4. Repeat steps 1-3 for MP3 files (search for IF @LameMP3@==1)

Furthermore, It would be great, if I can define, that the .cue-sheets are only copied to the flac-folder.

Again, edit your REACT-track.cfg file:

1. Find the following text: IF @Flac@==1
2. Add the following line between PUSHD %TrackDir_Flac% and POPD lines:
Code: [Select]
if exist "@albumfile@.[*].cue" copy "@albumfile@.[*].cue" .

Pay attention to the line ending period character, dont remove it!

My second problem is, that the cover downloader isn't working. It isn't finding anything on amazon's server (Connection refused)

What version are you using? The one in REACT download is quite old, you might want to try Album Art Downloader XUI (http://wiki.hydrogenaudio.org/index.php?title=Foobar2000:Components_0.9/AlbumArtDownloader_XUI). Just download the zipped one and extract it to the \REACT2\coverdownloader folder. Also remember to change the following setting to 1 in your REACT.ini file:
Code: [Select]
CoverDownloaderXUI=0
Title: REACT 2 Released
Post by: daniel_sge on 2008-06-18 16:30:31
Hi, thanks for your answer;)

The CoverDownloader is now working quite well,

but, unfotunately, creating the m3u-files and copying the cue-sheet isn't working.

I did it like that:

Code: [Select]
...
REM ---- Post-processing ----


rem ** Scan and compute ReplayGain and add cover picture for supported formats.
rem ** NB: The following will only work if at least the last track is selected,
rem ** and it is a regular audio track.

IF NOT @track@==@numtracks@ GOTO end_post_process

    REM ** More multiprocessing. Last edit. --nago
    :checktmp
    IF NOT EXIST processing[*].tmp GOTO allProcsClear
      ECHO Waiting for all other processes to clear...
      ECHO If REACT hangs here and there are no other tracks being encoded,
      ECHO please delete all processing[#].tmp files in
      ECHO "@sourcedir@"
      PING 1.1.1.1 -n 1 -w 10000 >NUL
    GOTO checktmp
    :allProcsClear

    SET add_rg=@ReplayGain@
    SET aac_enc=@NeroAac@
    IF @iTunesAac@==1 SET aac_enc=1

    IF NOT @ReplayGain@==1 GOTO end_RG
        SET RG_MetaFlac=--add-replay-gain
        SET RG_MetaMP3=--replay-gain
    :end_RG

    IF NOT @ApplyAlbumGain@==1 GOTO end_apply_AG
        SET RG_MetaMP3=--apply-gain album@AdjustAlbumGain_dB@
        SET RG_AacGain=/a /o /c /d @AdjustAlbumGain_dB@
        SET add_rg=1
    :end_apply_AG


    REM ** Audio Formats:

    IF @Flac@==1 (
        PUSHD %TrackDir_Flac%
        @tools@\Tag.exe --playlist --sort track --a-artist "@cdartist@" --a-title "@album@" --plname temp.m3u *.flac
        REM ** Workaround for %-chars disappearing from the playlist filename when using tag.exe.
        REN temp.m3u "$artist$ - $album$.m3u"
            IF %add_rg%==1 @tools@\Glob.exe -v -c @tools@\metaflac.exe %RG_MetaFlac% *.flac
            COPY /Y "@eaclog@" "EAClog.txt"
        if exist "@albumfile@.[*].cue" copy "@albumfile@.[*].cue"
        POPD
    )

    IF @Wavpack@==1 (
        PUSHD %TrackDir_Wavpack%
            IF %add_rg%==1 @tools@\wvgain.exe -a *.wv
            REM COPY /Y "@eaclog@" "EAClog.txt"
        POPD
    )

    IF @LameMP3@==1 (
        PUSHD %TrackDir_MP3%
        @tools@\Tag.exe --playlist --sort track --a-artist "@cdartist@" --a-title "@album@" --plname temp.m3u *.mp3
        REM ** Workaround for %-chars disappearing from the playlist filename when using tag.exe.
        REN temp.m3u "$artist$ - $album$.m3u"
            IF %add_rg%==1 @tools@\metamp3.exe %RG_MetaMP3% *.mp3
            COPY /Y "@eaclog@" "EAClog.txt"
        POPD
    )
...


and

Code: [Select]
[Settings]
Version=2.0.ssb16
ImageExt=wav
ImageNaming=$artist$ - [$year$] $album$
ImageHotKey={F10}
TracksHotKey={F4}
TracksHotVal=+{F5}
VA=Various Artists
CreateAllCuesheets=0
RunCoverDownloader=1
CoverDownloader=C:\Programme\REACT2\coverdownloader\AlbumArtDownloader\AlbumArt.exe
CoverDownloaderXUI=1
EAC=C:\Programme\Exact Audio Copy\EAC.exe
Tools=C:\Programme\REACT2\tools
MinimizeCompressionWindow=1
ProcessPriority=1
Sla_Bks_Col_Qst_Bar_Quo_Ast_Lt_Gt=-|-|-||!|'|#|[|]
Test=0

[UserTrackFormats]
Flac=1
Wavpack=0
Tak=0
LameMP3=1
NeroAac=0
iTunesAac=0
OggEnc2=0

[UserOutputNames]
mymusic=Z:
OutRoot=@mymusic@
ImageDir_Flac=@OutRoot@\FLAC-images\$cdartist$
ImageDir_Wavpack=@OutRoot@\WV-images\$cdartist$
ImageDir_Tak=@OutRoot@\TAK-images\$cdartist$
ImageDir_MP3=@OutRoot@\MP3-images\$cdartist$
TrackDir_Flac=@OutRoot@\FLAC\$cdartist$ ($year$) - $album$
TrackDir_Wavpack=@OutRoot@\WV\$cdartist$ ($year$) - $album$
TrackDir_Tak=@OutRoot@\TAK\$cdartist$ - ($year$) $album$
TrackDir_MP3=@OutRoot@\MP3\$cdartist$ - ($year$) $album$
TrackDir_AAC=@OutRoot@\AAC\$cdartist$ - ($year$) $album$
TrackDir_OGG=@OutRoot@\OGG\$cdartist$ - ($year$) $album$
TrackName_SA=$cdartist$ - $title$
TrackName_VA=$cdartist$ - $title$
TrackName_SA_acdir=$cdartist - $~t
TrackName_VA_acdir=$cdartist - $~t [$~a]

[UserSettings]
Debug=0
Comment=Created with EAC/REACT2, @curdate@
EmbedCover=1
ReplayGain=1
ApplyAlbumGain=1
AdjustAlbumGain_dB=+3.0
AddCuesheetAG=1
UseWaveGainAG=0
Opt_Flac=-5 -f
Opt_Wavpack=-hmy
Opt_Tak=-pN -overwrite
Opt_LameMP3=-b 128
Opt_NeroAac=-lc -q 0.21
Opt_iTunesAac=-d -s 2000
Opt_OggEnc2=-q 3.0
Ver_Flac=1.1.3
Ver_Wavpack=4.40
Ver_Tak=1.0.1
Ver_LameMP3=3.97
Ver_NeroAac=1.0.0.2
Ver_OggEnc2=2.83 Lancer aoTuV b5

[DefaultMetaData]
discnumber=1
totaldiscs=1
discname=



... Something totally different: Sometimes, there's a file named thumbs.db created. Do I need this file? How can I avoid creating it?

Daniel
Title: REACT 2 Released
Post by: Akkurat on 2008-06-19 17:33:33
I'm sorry for the slow replys, I'm quite busy and the "midnight summer day" (boozing) party in Finland is just beginning..    (I just bought myself a fine bottle of single malt whisky (Talisker) to tickle my taste buds.)

The CoverDownloader is now working quite well, but, unfotunately, creating the m3u-files and copying the cue-sheet isn't working.

I see that you haven't changed the CreateAllCuesheets=0 option to 1 in your INI file.. you did want to create the cuefiles, right? There's nothing to copy if you don't create them first.

As for the playlists, did you download and copy the Tag.exe to your \REACT2\tools folder? (You can find it also in the FLAC installation folder.)

By the way, did the logfile copy work?

You can put the Debug=0 option temporarily to 1 in INI file if you still have problems.. then just watch what possible error messages appear in the DOS window.. or you can post it here if you can't decipher the output.

Sometimes, there's a file named thumbs.db created. Do I need this file? How can I avoid creating it?

No you don't. Here's the explanation & disabling tip (http://www.tunexp.com/tips/work_with_multimedia/disable_the_thumbnail_cache/) for Windows XP.

P.S. You can use CODEBOX tags here when pasting lots of code.
Title: REACT 2 Released
Post by: daniel_sge on 2008-06-20 09:02:01
Quote
I see that you haven't changed the CreateAllCuesheets=0 option to 1 in your INI file.. you did want to create the cuefiles, right? There's nothing to copy if you don't create them first.


I thought this is just for creating ALL the cue-sheets (for what should I need 4 cue-sheets?!).

But, I changed it to "1" and it copied all the cue-sheets. How can I tell REACT to create only one cue-sheet, named interpret - album.cue ?

Quote
As for the playlists, did you download and copy the Tag.exe to your \REACT2\tools folder? (You can find it also in the FLAC installation folder.)


Fine, now it worked. Normally I'm not as stupid like that -.- .

Quote
By the way, did the logfile copy work?


Yes it worked, but I'd like also to add information of the resp. encoder. How can I do that?

By the way, is the "Test" Option recommandable (Test=1) ?

//Edit: I'd also like to change the name of the wav source, so that they have the same format as the flac and mp3 files. I didn't find anything to change...
Title: REACT 2 Released
Post by: Akkurat on 2008-06-20 13:00:38
I thought this is just for creating ALL the cue-sheets (for what should I need 4 cue-sheets?!).

But, I changed it to "1" and it copied all the cue-sheets. How can I tell REACT to create only one cue-sheet, named interpret - album.cue ?

You can't. You should change the code in REACT-track.cfg file to only copy the one cuefile you want (remember that files in the "temp" ripping folder are deleted after REACT has dealt with the last track). Also you probably want to change the cuefile to correct filenames in it. Here's couple of links you should read thru: Decide what cuefile you want (http://wiki.hydrogenaudio.org/index.php?title=EAC_CUE_Sheets) and Modifying the cuefile (http://wiki.hydrogenaudio.org/index.php?title=REACT:Amending_Cuesheet_File_References). Also read REACT (http://wiki.hydrogenaudio.org/index.php?title=REACT) if you haven't.

I'm using the following code to copy the @albumfile@.[mg].cue (Multiple WAVE files with gaps (non-compliant)) cuefile:
Code: [Select]
IF EXIST "@albumfile@.[mg].cue" COPY "@albumfile@.[mg].cue" "$cdartist$ - $album$.cue"


Quote
By the way, did the logfile copy work?

Yes it worked, but I'd like also to add information of the resp. encoder. How can I do that?

I'm sorry what? You want to add, in example, the FLAC version & options used for encoding into the logfile? This information is already added to the encoded files as encoding (flac) & TSSE (mp3) tags. I hope you know the batch language in DOS if you still want to add these also to logfile.

Here's one easy example (appending text to the end of the file):
Code: [Select]
ECHO Flac @Ver_Flac@ @Opt_Flac@ >> "@eaclog@"

Use this line before copying the log file in REACT-track.cfg FOR Flac. Change the variables for the Mp3 logfile. Also make sure that the correct versions for the encoders are set in the INI file (in such case that you've updated the encoders in the tools folder).

By the way, is the "Test" Option recommandable (Test=1) ?

Yes if you don't get good results from AccurateRip. What I do is that I firstly rip in burst mode without test option turned on and if I get an accurate result with at least confidence 2 for every track, I accept that rip. Otherwise I put on the test option and I use the secure ripping mode.

"Use Test & Copy by adding Test=1 under the Settings section of REACT.ini." <-- taken from REACT:Mods - Synthetic Soul's Mod (http://wiki.hydrogenaudio.org/index.php?title=REACT:Mods#Synthetic_Soul.27s_Mod). This setting is the same as if you change the TracksHotVal=+{F5} to TracksHotVal=+{F6}.

I'd also like to change the name of the wav source, so that they have the same format as the flac and mp3 files. I didn't find anything to change...

I'm sorry but I don't understand what you want. You want to change it in where? Cuefiles? Logfile? Maybe you could use the Gsar.exe (which you'll probably be using to change the cuesheets) for your needs?
Title: REACT 2 Released
Post by: daniel_sge on 2008-06-20 13:39:11
Quote
I'm sorry what? You want to add, in example, the FLAC version & options used for encoding into the logfile? This information is already added to the encoded files as encoding (flac) & TSSE (mp3) tags. I hope you know the batch language in DOS if you still want to add these also to logfile.

Here's one easy example (appending text to the end of the file):
CODE
ECHO Flac @Ver_Flac@ @Opt_Flac@ >> "@eaclog@"

Use this line before copying the log file in REACT-track.cfg FOR Flac. Change the variables for the Mp3 logfile. Also make sure that the correct versions for the encoders are set in the INI file (in such case that you've updated the encoders in the tools folder).


I'm sorry, I didn't express me well... Isn't there any logfile of the encoder itself? If all was accurately encoded, for example. This I liked to add at the end of the EAC logfile.

Quote
I'm sorry but I don't understand what you want. You want to change it in where? Cuefiles? Logfile? Maybe you could use the Gsar.exe (which you'll probably be using to change the cuesheets) for your needs?


The react-track.cfg file is using a variable $source$ for creating the source wav files, the .cue-sheets and the logfile.
At the moment the format of the source-files are like that "artist - album - title - track" (I got this from the cue-sheet) , but I want it to have to "$cdartist$  - $track$".
So, actually, I'm searching for a way to define $source$.
Title: REACT 2 Released
Post by: Akkurat on 2008-06-20 15:38:13
I'm sorry, I didn't express me well... Isn't there any logfile of the encoder itself? If all was accurately encoded, for example. This I liked to add at the end of the EAC logfile.

I don't know. Please check the manuals for every encoder you are using. This has nothing to do with REACT.

I use -V (or --verify) switch in the Flac encoding and I have the following code in my REACT-track.cfg file right after the encoding code line:
Code: [Select]
IF ERRORLEVEL 1 ECHO Flac encoding failed! &ECHO. &PAUSE

This will pause the process if the Flac encoder throws an error.

The react-track.cfg file is using a variable $source$ for creating the source wav files, the .cue-sheets and the logfile.
At the moment the format of the source-files are like that "artist - album - title - track" (I got this from the cue-sheet) , but I want it to have to "$cdartist$  - $track$".
So, actually, I'm searching for a way to define $source$.

The react-track.cfg file is using a variable @source@ for ACCESSING the source wav files. "@source@ = The path to the temporary source WAVE file" <-- taken from REACT (http://wiki.hydrogenaudio.org/index.php?title=REACT).

The "artist - album - title - track" layout is set when configuring REACT at the first run or by pressing CTRL+F2. The temporary source WAVE file, or @source@ if you like, is deleted right after it has been encoded to, in your case, flac & mp3 files. You most probably are NOT saving the source WAVE file (you want flacs & mp3s, right?), so why do you want to change its filename? I don't understand. So, tell me what do you really want? Do you want the flac filenames to be like "$cdartist$ - $track$"? (remember that $track$ = track number!) Please, be precise, otherwise I can't help you anymore than this. Sorry.
Title: REACT 2 Released
Post by: daniel_sge on 2008-06-20 16:19:52
Quote
The react-track.cfg file is using a variable @source@ for ACCESSING the source wav files. "@source@ = The path to the temporary source WAVE file" <-- taken from REACT.

The "artist - album - title - track" layout is set when configuring REACT at the first run or by pressing CTRL+F2. The temporary source WAVE file, or @source@ if you like, is deleted right after it has been encoded to, in your case, flac & mp3 files. You most probably are NOT saving the source WAVE file (you want flacs & mp3s, right?), so why do you want to change its filename? I don't understand. So, tell me what do you really want? Do you want the flac filenames to be like "$cdartist$ - $track$"? (remember that $track$ = track number!) Please, be precise, otherwise I can't help you anymore than this. Sorry.




I guess, that the paths in the cue-sheets resp. log-files. depend on the original name of the source wav. If I wanted to burn the original CD out of the cue-sheet, I'd just need to convert flac to wav again, and that's it. Otherwise I'd have to change the filenames again afterwards.

But I think, as you said, that if I change this setinng in EAC this problem will be gone;)

Quote
I don't know. Please check the manuals for every encoder you are using. This has nothing to do with REACT.

I use -V (or --verify) switch in the Flac encoding and I have the following code in my REACT-track.cfg file right after the encoding code line:
CODE
IF ERRORLEVEL 1 ECHO Flac encoding failed! &ECHO. &PAUSE

This will pause the process if the Flac encoder throws an error.


Thanks  really an interesting solution;)
Title: REACT 2 Released
Post by: Akkurat on 2008-06-20 16:47:09
I guess, that the paths in the cue-sheets resp. log-files. depend on the original name of the source wav. If I wanted to burn the original CD out of the cue-sheet, I'd just need to convert flac to wav again, and that's it. Otherwise I'd have to change the filenames again afterwards.

But I think, as you said, that if I change this setinng in EAC this problem will be gone;)

Change what setting? Again I'm lost.

Let me get this straight; EAC creates the cuefiles and the logfile, NOT REACT. Therefore we have to change the contents of those files later ourselves if we want to make modifications. You can't change the way the contents of the cuefiles & logfile are written in EAC.

So you want to change the filenames inside cuefile? Did you read at all the links I gave you couple of posts (http://www.hydrogenaudio.org/forums/index.php?showtopic=50273&st=1210#) ago? Namely the "Modifying the cuefile" one? This has all the information you need to change the references in cuefile to match the actual Flac files you have.

And I understand that you also would like to change the filenames in the logfile? That's not necessary but could be done.. with Gsar.exe program (which you'll probably be using to change the cuesheets).. I mentioned this also earlier.

I hope this clears things up a bit. 
Title: REACT 2 Released
Post by: removablebrain on 2008-06-20 18:09:36
Is there a way to add additional metadata - I always add the BAND tag (in MP3Tag) for my needs. This is the only manual step I have to do and would love if REACT could do it.

Using EAC0.99pb4 w/ REACT_2.0.akku.b02

Thanks...
Title: REACT 2 Released
Post by: Akkurat on 2008-06-21 10:45:57
Is there a way to add additional metadata - I always add the BAND tag (in MP3Tag) for my needs. This is the only manual step I have to do and would love if REACT could do it.

Check this out: Synthetic Soul's Mod (http://wiki.hydrogenaudio.org/index.php?title=REACT:Mods#Synthetic_Soul.27s_Mod). You can still use my "akku" mod, it has all the features of Synthetic Soul's Mod.

Seeing that you would always use the Additional Meta Data dialogue, I think you would like a new feature to my mod: INI setting to always open the dialogue when opening REACT. I'm going to benefit from this also because recently I made a decision to add catalog number/EAN code & release country to every CD I have.
Title: REACT 2 Released
Post by: thebourneid on 2008-06-23 22:54:46
Hi

I’m using REACT2 [akku.b02] with EAC for ripping my CD collection. Hard disk space is not an issue for me at the moment and I store wav images and separate flac tracks with F10 command for each CD. I’m also using the Akkurat Backup Data Track Method which requires “CreateAllCuesheets” in the REACT.ini set to 1.
Is it possible to implement the gsar.exe tool to modify the [mg].cue (or all of them) from “.wav” WAVE to “.flac” WAVE for the separate flac tracks in the image.cfg. If at some point in the future I decide to keep only the flac tracks I’d like to have a proper corresponding cue file.
I’ve tried to add the track.cfg settings from the wiki article but obviously it’s far from the truth.


My codes for storing wav image and for separate flac tracks in image.cfg

Code: [Select]
REM Store WAVE image
SET dest="@ImageDir_WAV@%imageDir%"
IF NOT EXIST %dest% MKDIR %dest%
PUSHD %dest%
    FOR %%G IN ("@image@") DO SET imageName=%%~nG
    COPY /Y "@source@" "%imageName%.wav"
    COPY /Y "@eaclog@" "%imageName%.log"
    @tools@\GSAR.EXE -s.@imageext@ -r.wav "@cuesheet@" "%imageName%.cue"
POPD

IF NOT @Flac@==1 GOTO end_flac_tracks
    SET dest="@TrackDir_Flac@%trackDir%"
    IF NOT EXIST %dest% MKDIR %dest%
    PUSHD %dest%
        SET VA_tag=-T $qalbum artist=@cdartist@$q
        IF %embed_cover%==1 SET Cover_tag=--picture=$#x
        @tools@\acdir.exe --overwrite --output "%TrackName%.flac" --extra-opt "|image/jpeg|||@cover@" --pipe "TITLE $n/$N flac $#T & @tools@\flac.exe @Opt_Flac@ %Cover_tag% -T $qalbum artist=@cdartist@$q %Disc_Flac_acdir% -T artist=$#a -T album=$#T -T title=$#t -T tracknumber=$n -T date=$q(@year@)$q -T genre=$q@genre@$q -T comment=$q@comment@$q -T encoding=$qFlac @Ver_Flac@ @Opt_Flac@$q - -o $#o" "@sourcecuesheet@"
        IF %add_rg%==1 @tools@\Glob.exe -v -c @tools@\metaflac.exe %RG_MetaFlac% *.flac
REM     COPY /Y "@eaclog@" "EAClog.txt"
        IF %have_cover%==1 COPY /Y "@cover@" "@basename@.jpg"
        IF EXIST "@albumfile@.[*].cue" COPY /Y "@albumfile@.[*].cue" .
    POPD
:end_flac_tracks


Thanks
Title: REACT 2 Released
Post by: rme on 2008-06-24 01:24:25
I'm switching over to use REACT 2.0.akku from EAC+MAREO because of the additional functionality of embedding album art and had some questions:

I used MAREO & EAC to rip tracks to flac + mp3, calculate replay gain on the flac and apply wavegain or mp3 gain directly to the mp3 to normalize every mp3 track to 89db (track mode).

I searched and found the following but have some questions?

This method is about running WaveGain.exe on the WAV image to calculate the recommended album gain and scale value and then afterwards use that scale value together with lame.exe's '--scale' switch during encoding to MP3s. This will give smaller size and give you RG'ed playback on all equipment, but as i said, cannot be reversed, though. If you want to do this, then you should do the following to your REACT.ini : 'ApplyAlbumGain=1' & 'UseWaveGainAG=1' + also add 'REM' infront of this line under the mp3 tracks section in REACT-image.cfg :

IF @ApplyAlbumGain@==1 @tools@\metamp3.exe %ApplyAG_MetaMP3% *.mp3

When you do that, then the files will be scalled to have an average album gain value of 89dB and it dosen't matter what you have the following option set to as it isn't used in that case : 'AdjustAlbumGain_dB=+3.0'. If you don't add the 'REM' infront of the line, then metamp3.exe is runned on the MP3s additionally to alter them according to the 'AdjustAlbumGain_dB' option. If you want another value than 89dB, then i would advice you to forget this method and don't do any of the instructions i have given you in this post and instead just look at my last post for the right instructions.


First, do I have to press F4 or F10 in eac or if I just press the EAC MP3 button on the left, will it rip in track mode (not image mode).

Second, do I set user settings as follows to apply only replay gain to flac then wavgain then mp3 writing normalized in the file (not the tags):
EmbedCover=1
ReplayGain=1
ApplyAlbumGain=1
AdjustAlbumGain_dB=0
AddCuesheetAG=0
UseWaveGainAG=1
Opt_Flac=-5 -f
Opt_LameMP3=-V4 --vbr-new --noreplaygain --nohist

I see that there is a --noreplaygain in the lame settings, is this because it is done in post processing?  If I do the wavegainag=1 does this happen after the flac is written or will the flac be normalized as well?

Are the album and track replaygain tags written to the flac or just album?  Is the mp3 track(radio) replaygained or album?

Not sure why it is suggested to REM out the albumgain line above in the REACT-image.cfg file above.

Lastly, can REACT be run from foobar's convert or cd rip command lines as well or only EAC?

Thanks in advance for anyones help.
Title: REACT 2 Released
Post by: Akkurat on 2008-06-26 18:06:36
I’m using REACT2 [akku.b02] with EAC for ripping my CD collection. Hard disk space is not an issue for me at the moment and I store wav images and separate flac tracks with F10 command for each CD. I’m also using the Akkurat Backup Data Track Method which requires “CreateAllCuesheets” in the REACT.ini set to 1.
Is it possible to implement the gsar.exe tool to modify the [mg].cue (or all of them) from “.wav” WAVE to “.flac” WAVE for the separate flac tracks in the image.cfg. If at some point in the future I decide to keep only the flac tracks I’d like to have a proper corresponding cue file.
I’ve tried to add the track.cfg settings from the wiki article but obviously it’s far from the truth.

Hmm, well, the problem is that in image rips, the info for individual track filenames are pulled from the cuefile by ACDIR. So, there's no way of us using that information in the image config file like we can in track config. Also changing only the .wav" WAVE to .flac" WAVE most probably wouldn't work as expected because of the filename scheme & special character differences between EAC and REACT (and special char difference in ACDIR). I'm not so familiar with ACDIR but I can see that one can execute several commands in the --pipe switch... but this doesn't help us because we have no information of the filenames in the cuefile.

One possible method (very pseudocode example):
1. After the ACDIR has created all the flac files, traverse all those files with FOR (dos command).
2. Your goal is to match a flac filename & cuefile text string (basically you need to match the track number found in the flac file to a line in cuefile where there's the same track number, AND that line has also .wav" string).
3. Use GSAR in the same manner as in track config to change the file references with the info you just gathered from the flac files and from the cuefile.

Hard? Yes. I'm sorry.. I don't know a better way to solve this. If you manage to pull it off, please share your masterpiece.
Title: REACT 2 Released
Post by: Akkurat on 2008-06-26 19:38:28
I used MAREO & EAC to rip tracks to flac + mp3, calculate replay gain on the flac and apply wavegain or mp3 gain directly to the mp3 to normalize every mp3 track to 89db (track mode).

First, do I have to press F4 or F10 in eac or if I just press the EAC MP3 button on the left, will it rip in track mode (not image mode).

Press F4 for tracks.. not MP3 button.

If you want flac tracks with track & album RG tags & mp3 tracks "normalized" to 89db (album gain) (no track & album RG tags obviously), then use these settings:
ReplayGain=1
ApplyAlbumGain=1
AdjustAlbumGain_dB=0

I see that there is a --noreplaygain in the lame settings, is this because it is done in post processing?

Yes. It would be a waste of time to calculate these twice.. and we don't want RG tags if we apply the gain straight to the files.

If I do the wavegainag=1 does this happen after the flac is written or will the flac be normalized as well?

UseWaveGainAG is only used in image mode ripping. You don't have to worry about this setting if you're ripping tracks with F4. Just leave it to 0.

And remember, you can't "normalize" (apply gain) flac files with REACT.

Lastly, can REACT be run from foobar's convert or cd rip command lines as well or only EAC?

Nope, just from EAC.
Title: REACT 2 Released
Post by: rme on 2008-06-27 12:04:18
Akkurat,

thanks for the feedback.  I've been using and testing for the past few days and figured a lot of it out. 

My needs are to track replay gain so I stayed on the track mode side.  I've added the ability to use wavegain for replaygain track --scale in track.cfg.  I'll try and add a flag ApplyTrackGain to .ini and processing in track.cfg to use wavegain and apply track gain if those are checked off instead of using metamp3 and album gain to each individual track.  If i get those parms working I'll post here for you all to use.

One thing I did notice that you may consider changing is that when you start eac by launching react2.exe, eac starts but loses the focus and you have to click the eac window to get focus then press f4/f10, whatever.  Is this something that is caused and can be changed in react2.exe or is it an eac issue when being launched from somewhere else.  Using eac prebeta4 v.0.99.  No big deal but every key stroke counts with 300 cd's to go ....
Title: REACT 2 Released
Post by: Akkurat on 2008-06-27 12:34:36
My needs are to track replay gain so I stayed on the track mode side.  I've added the ability to use wavegain for replaygain track --scale in track.cfg.  I'll try and add a flag ApplyTrackGain to .ini and processing in track.cfg to use wavegain and apply track gain if those are checked off instead of using metamp3 and album gain to each individual track.  If i get those parms working I'll post here for you all to use.

Actually I'm a bit lost what you're trying to do, maybe it's just ol' stupid me but I find your plan a bit odd (others can comment on this too).. but that doesn't matter, I don't have to understand if you get it to work like you want. 

One thing I did notice that you may consider changing is that when you start eac by launching react2.exe, eac starts but loses the focus and you have to click the eac window to get focus then press f4/f10, whatever.  Is this something that is caused and can be changed in react2.exe or is it an eac issue when being launched from somewhere else.

Good catch. I added this to my TODO list. I haven't seen this as a problem since I always have to change some of the album information (uppercase words, correct years/track names, add additional metadata, etc.)... one just can't rely on the freedb information and start ripping straight away. Anyways, I'll look in to it.
Title: REACT 2 Released
Post by: rme on 2008-06-28 12:46:57
Here's what I'm doing and why:

I only use replaygain/apply gain in track(radio) mode, not album(audiophile) mode as I shuffle rather than listen to albums completely.  I wanted to use wavegain to get the scale so that could be applied by lame rather than using the less accurate (and admittedly probably not noticeable) mp3gain or oggenc way to apply radio gain.  So I changed track.cfg to do the following:

Track section:
If usewavegainag=true then wavegain the wav file using radio flag to get track gain, peak, new peak and scale. 
If usewavegainag=true and applyalbumgain=true then Save the above scale to be used in lame.exe and oggenc2.exe track commands.  I also save the adjustalbumgain_db to be used by metamp3 so it applies any album wide +/- dB to all the already scaled tracks in postprocessing.
Post Processing Section:
if applyalbumgain=true then apply radiogain and adjustalbumgain to aac files and apply adjustalbumgain-db to already scaled lame files.

If I get time, I'll try and add an applyradiogain flag in .ini and use that to differentiate on using albumgain or radiogain in track.cfg but no time now for that.  Again since I only use radiogain, it's not important for me, but rather for general release if you need it.

Here are the bits I changed in react-track.cfg track section:
Quote
REM ---- Track ----

REM -- Added -- Get individual track wavegain settings to use --scale.  Only radio/track mode gain can be applied to mp3 and ogg in this mode

IF @UseWaveGainAG@==0 GOTO end_wavegain
    SET wg_tmp=wg_%RANDOM%
    @tools@\WaveGain.exe --radio "@source@" --exec ECHO '%%TRACK_GAIN%%'%%TRACK_PEAK%%'%%TRACK_NEW_PEAK%%'%%TRACK_SCALE%%'> %wg_tmp%.txt
    FOR /F "usebackq tokens=1-6 delims='" %%a IN (%wg_tmp%.txt) DO (
        SET track_gain=%%b
        SET track_peak=%%c
        SET track_new_peak=%%d
        SET track_scale=%%e
    )
    DEL %wg_tmp%.txt
:end_wavegain


REM ** Apply AlbumGain by using LAME --scale <factor> computed from WaveGain. Then metamp3.exe only increases for AdjustAlbumGain_dB. For MP3 and OGG.
IF @UseWaveGainAG@==1 IF @ApplyAlbumGain@==1 (
    SET ApplyTG_Lame=--scale %track_scale%
    SET ApplyAG_MetaMP3=--apply-gain @AdjustAlbumGain_dB@
    SET RG_MetaMP3=--user-text "[replaygain_track_gain] %track_gain%" --user-text "[replaygain_track_peak]%track_new_peak%"
    SET RG_OggEnc2=--scale %track_scale% -c $qreplaygain_track_gain=%track_gain%$q -c $qreplaygain_track_peak=%track_new_peak%$q
REM Oggenc track wave gain is not tested!!!!!!!!
)

IF NOT @LameMP3@==1 GOTO end_lame_tracks
    IF NOT EXIST %TrackDir_MP3% MKDIR %TrackDir_MP3%
    PUSHD %TrackDir_MP3%
        IF @various@==1 SET VA_tag=--user-text "[album artist]@VA@" --frame "TPE2:@VA@"
        IF %embed_cover%==1 SET Cover_tag=--pict "{3}@cover@"
        ECHO ON
        @tools@\lame.exe @Opt_LameMP3@ %ApplyTG_Lame% "@source@" "%TrackName%.mp3"
        @tools@\metamp3.exe %Cover_tag% %VA_tag% %Disc_MP3% --artist "@artist@" --album "@album@" --track @track@ --title "@title@" --year "@year@" --genre "@genre@" --comment "@comment@" --frame TENC:"%USERNAME%" --frame TSSE:"LAME @Ver_LameMP3@ %ApplyTG_Lame% @Opt_LameMP3@" "%TrackName%.mp3"
        @ECHO OFF
      IF @Debug@==1 ECHO ON
        IF %have_cover%==1 IF NOT EXIST folder.jpg COPY "@cover@" folder.jpg
    POPD
:end_lame_tracks

IF NOT @OggEnc2@==1 GOTO end_oggenc_tracks
    IF NOT EXIST %TrackDir_OGG% MKDIR %TrackDir_OGG%
    PUSHD %TrackDir_OGG%
        IF @various@==1 SET VA_tag=-c "album artist=@VA@"
        ECHO ON
        @tools@\oggenc2.exe @Opt_OggEnc2@ %RG_OggEnc2% %VA_tag% %Disc_OggEnc2% -c artist="@artist@" -c album="@album@" -c tracknumber="@track@" -c title="@title@" -c date="@year@" -c genre="@genre@" -c comment="@comment@" -c encoded-by="%USERNAME%" -c encoding="OggEnc @Ver_OggEnc2@ @Opt_OggEnc2@" "@source@" -o "%TrackName%.ogg"

REM - RG_OggEnc2 -- scale above is not tested!!!!!

      @ECHO OFF
      IF @Debug@==1 ECHO ON
        IF %have_cover%==1 IF NOT EXIST folder.jpg COPY "@cover@" folder.jpg
    POPD
:end_oggenc_tracks


Here are the changes to the postprocessing section:

Quote
IF NOT @ApplyAlbumGain@==1 GOTO end_apply_AG

REM - Use Track Gain for AAC (/r) and MP3 (radio)
REM - If UseWaveGainAG then just apply the AdjustAlbumGain because --scale used above in Lame.exe command
REM - Otherwise apply radio gain adjustment and AdjustAlbumGain

          SET RG_AacGain=/r /o /c /d @AdjustAlbumGain_dB@

REM -- If UseWaveGain then only apply AdjustAlbumGain amount from react.ini as radio gain is applied above in Lame.exe using scale
          IF NOT @UseWaveGainAG@==1 GOTO end_apply_WG_AdjustAlbumGain
         SET RG_MetaMP3=--apply-gain @AdjustAlbumGain_dB@
          :end_apply_WG_AdjustAlbumGain
REM -- If NOT UseWaveGain then apply radio gain + AdjustAlbumGain amount from react.ini
          IF NOT @UseWaveGainAG@==0 GOTO end_apply_WG_radio
         SET RG_MetaMP3=--apply-gain radio@AdjustAlbumGain_dB@
          :end_apply_WG_radio

        SET add_rg=1
    :end_apply_AG


Does that explain what and why better for you?
Title: REACT 2 Released
Post by: RBI Champ on 2008-06-28 18:31:00
Is it possible to implement the gsar.exe tool to modify the [mg].cue (or all of them) from “.wav” WAVE to “.flac” WAVE for the separate flac tracks in the image.cfg. If at some point in the future I decide to keep only the flac tracks I’d like to have a proper corresponding cue file.
I’ve tried to add the track.cfg settings from the wiki article but obviously it’s far from the truth.


eeyore_pooh, hope the code below is of help to you.  Note that I use track.cfg and a custom batch file name.  I've altered all my cue sheets to point to .flac (as opposed to .wav).


Code: [Select]
REM ---- Track ----


IF NOT @Flac@==1 GOTO end_flac_tracks
    IF NOT EXIST %TrackDir_Flac% MKDIR %TrackDir_Flac%
    PUSHD %TrackDir_Flac%
        IF @various@==1 SET VA_tag=-T "album artist=@VA@"
        IF %embed_cover%==1 SET Cover_tag=--picture="|image/jpeg|||@cover@"
        ECHO ON
        @tools@\flac.exe @Opt_Flac@ %Cover_tag% %VA_tag% %Disc_Flac% -T artist="@artist@" -T album="@album@" -T tracknumber="@track@" -T totaltracks="@numtracks@" -T title="@title@" -T date="@year@" -T genre="@genre@" -T comment="@comment@" -T encoded-by="your name" -T encoding="Flac @Ver_Flac@ @Opt_Flac@" "@source@" -o "%TrackName%.flac"

SET trackCueFile="$cdartist$ - $album$.cue"
IF NOT EXIST %trackCueFile% (
    COPY "@albumfile@.[mg].cue" %trackCueFile%
)
ECHO @tools@\GSAR.EXE "-s@basename@.wav" "-r%TrackName%.flac" -o %trackCueFile%>>update-cueslogs.bat

SET "@eaclog@"="$cdartist$ - $album$.log"
IF NOT EXIST "@eaclog@" (
   COPY "@eaclog@" "$artist$ - $album$.log"
   ECHO CHCP 1252 ^| PROMPT>>update-cueslogs.bat
)
ECHO @tools@\GSAR.EXE "-sC::\Working\@basename@.wav" "-r"""%TrackName%.flac"""" -o "@eaclog@">>update-cueslogs.bat

        @ECHO OFF
        IF %have_cover%==1 IF NOT EXIST Folder.jpg COPY "@cover@" Folder.jpg
    POPD
:end_flac_tracks
Title: REACT 2 Released
Post by: Akkurat on 2008-06-29 10:55:13
I only use replaygain/apply gain in track(radio) mode, not album(audiophile) mode as I shuffle rather than listen to albums completely.  I wanted to use wavegain to get the scale so that could be applied by lame rather than using the less accurate (and admittedly probably not noticeable) mp3gain or oggenc way to apply radio gain.  So I changed track.cfg to do the following:
...
Does that explain what and why better for you?

Yeah, now when you revealed more details. Thanks for sharing.

P.S. You can use CODEBOX tags to wrap long code listings.. or CODE tags for short listings.
Title: REACT 2 Released
Post by: Akkurat on 2008-06-29 12:13:16
eeyore_pooh, hope the code below is of help to you.  Note that I use track.cfg and a custom batch file name.  I've altered all my cue sheets to point to .flac (as opposed to .wav).

Thanks for trying but (the dreaded but) the problem is with this code:

Code: [Select]
ECHO @tools@\GSAR.EXE "-s@basename@.wav" "-r%TrackName%.flac" -o %trackCueFile%>>update-cueslogs.bat

There's no way we can use the @basename@ variable in image configs to define the track filenames in the cuefile. It doesn't work, remember that the actual flac track files are being made by ACDIR (and flac of course) by taking the track info from the cuefile.. EAC doesn't create the track wav files (but it creates the cuefiles). I hope you understood (This is the second explanation version and I'm not so fluent in English).

By the way, have you tested that the code you listed actually works in your setup? I quickly found couple of problems in it.

1. You should append the ECHO CHCP 1252... code to update-cueslogs.bat first before anything else
2. You can't copy the EAC logfile until EAC has finished ripping, so, the copy eaclog should be in the post-processing section
3. Other strange logfile problems

Also I've a better solution for the eaclog amends (it's included in the corrected code below); you don't have to change the temp directory references (C::\Working\...) by hand anymore. My code escapes the colon ( : ) character. Also, it removes the Filename string in the beginning.

Here's my corrected/enhanced suggestion to you:
Code: [Select]
SET trackCueFile="$cdartist$ - $album$.cue"
SET eacLogFile="$cdartist$ - $album$.log"

IF NOT EXIST %trackCueFile% (
    COPY "@albumfile@.[mg].cue" %trackCueFile%
    ECHO CHCP 1252 ^| PROMPT>>update-cueslogs.bat
)

ECHO @tools@\GSAR.EXE "-s@basename@.wav" "-r%TrackName%.flac" -o %trackCueFile%>>update-cueslogs.bat

REM ** Escape : chars and save all GSAR commands to amend the EAC log file.
SET EscapedSourcedir=@sourcedir@
SET EscapedSourcedir=%EscapedSourcedir::=::%
ECHO @tools@\GSAR.EXE "-sFilename %EscapedSourcedir%\@basename@.wav" "-r%TrackName%.flac" -o %eacLogFile%>>update-cueslogs.bat

And the following should be in your post-processing section:
Code: [Select]
REM ** Copy log to destination folder.
COPY /Y "@eaclog@" %eacLogFile%

REM ** Escape % chars and run all GSAR commands to amend cuesheet and EAC log files.
@tools@\GSAR.EXE -s%% -r%%%% -o update-cueslogs.bat
CALL update-cueslogs.bat
DEL update-cueslogs.bat

That's it. It should work ok now.
Title: REACT 2 Released
Post by: RBI Champ on 2008-06-29 14:33:03
Akkurat, the code I posted yesterday is working in my "track" setup.  I don't create image files, I just thought it could be useful, maybe not, and I apologize if I complicated things for eeyore_pooh.

As for your suggestions, perhaps I have something defined elsewhere that is making it functional.  I'm all for taking on your enhancements, but I'm afraid that I may create a problem where I currently don't have one.  I am successfully editing both the cuesheet and eac log file with minimal exception.

The only glitch I have is when certain characters in a song title (like "&") will break the edit inside the cuecheet or log file.  I'll end up with the original text.  Here is an example of a broken one inside an amended eac log.

It currently says:
Code: [Select]
Filename C:\Working\Beastie Boys - Licensed To Ill - 01 - Rhymin & Stealin.wav


I want it to say:
Code: [Select]
Filename "Rhymin & Stealin.flac"


I guess I'd be willing to make your changes if I could somehow resolve that minor (but somewhat annoying) issue. 



Thanks for trying but (the dreaded but) the problem is with this code:

Code: [Select]
ECHO @tools@\GSAR.EXE "-s@basename@.wav" "-r%TrackName%.flac" -o %trackCueFile%>>update-cueslogs.bat

There's no way we can use the @basename@ variable in image configs to define the track filenames in the cuefile. It doesn't work, remember that the actual flac track files are being made by ACDIR (and flac of course) by taking the track info from the cuefile.. EAC doesn't create the track wav files (but it creates the cuefiles). I hope you understood (This is the second explanation version and I'm not so fluent in English).

By the way, have you tested that the code you listed actually works in your setup? I quickly found couple of problems in it.

1. You should append the ECHO CHCP 1252... code to update-cueslogs.bat first before anything else
2. You can't copy the EAC logfile until EAC has finished ripping, so, the copy eaclog should be in the post-processing section
3. Other strange logfile problems

Also I've a better solution for the eaclog amends (it's included in the corrected code below); you don't have to change the temp directory references (C::\Working\...) by hand anymore. My code escapes the colon ( : ) character. Also, it removes the Filename string in the beginning.

Here's my corrected/enhanced suggestion to you:
Code: [Select]
SET trackCueFile="$cdartist$ - $album$.cue"
SET eacLogFile="$cdartist$ - $album$.log"

IF NOT EXIST %trackCueFile% (
    COPY "@albumfile@.[mg].cue" %trackCueFile%
    ECHO CHCP 1252 ^| PROMPT>>update-cueslogs.bat
)

ECHO @tools@\GSAR.EXE "-s@basename@.wav" "-r%TrackName%.flac" -o %trackCueFile%>>update-cueslogs.bat

REM ** Escape : chars and save all GSAR commands to amend the EAC log file.
SET EscapedSourcedir=@sourcedir@
SET EscapedSourcedir=%EscapedSourcedir::=::%
ECHO @tools@\GSAR.EXE "-sFilename %EscapedSourcedir%\@basename@.wav" "-r%TrackName%.flac" -o %eacLogFile%>>update-cueslogs.bat

And the following should be in your post-processing section:
Code: [Select]
REM ** Copy log to destination folder.
COPY /Y "@eaclog@" %eacLogFile%

REM ** Escape % chars and run all GSAR commands to amend cuesheet and EAC log files.
@tools@\GSAR.EXE -s%% -r%%%% -o update-cueslogs.bat
CALL update-cueslogs.bat
DEL update-cueslogs.bat

That's it. It should work ok now.
Title: REACT 2 Released
Post by: RBI Champ on 2008-06-29 14:54:18
Akkurat, I wanted to formally thank you for picking up the REACT project.  I've been using your mod for about a month.  I'd have to say it's worked very well.  Love being able to grab the artwork before waiting for cuesheet creation!

The feedback I wanted to share is in regards to the focus of the window at two different times.  I read yesterday in one of the threads that someone has already mentioned the lack of focus when you launch REACT/EAC.  I wanted to second that request.  It would be helpful for the times when no freedb edits are necessary.

The second focus item (which I'm not sure if it's been mentioned) is that the eac window loses focus after editing a field like cd title.  After I make my edit, I'll hit the Tab key to change fields and the window loses focus.  I've noticed it also does this if I hit Enter to "save" a field I just modified.  Another example is if I update the CD artist field and just try to click to a new field.  In all these cases the focus of the window is lost.  Just looking to save mouse and keyboard actions where I can.  I still have 2/3 my collection to go!
Title: REACT 2 Released
Post by: Akkurat on 2008-06-29 17:39:42
As for your suggestions, perhaps I have something defined elsewhere that is making it functional.  I'm all for taking on your enhancements, but I'm afraid that I may create a problem where I currently don't have one.  I am successfully editing both the cuesheet and eac log file with minimal exception.

The only glitch I have is when certain characters in a song title (like "&") will break the edit inside the cuecheet or log file.  I'll end up with the original text.  Here is an example of a broken one inside an amended eac log.

It currently says:
Code: [Select]
Filename C:\Working\Beastie Boys - Licensed To Ill - 01 - Rhymin & Stealin.wav


I want it to say:
Code: [Select]
Filename "Rhymin & Stealin.flac"


I guess I'd be willing to make your changes if I could somehow resolve that minor (but somewhat annoying) issue. 

Well, how I see it? It's not working if you have issues.  Let me guess, is this happening always with the first track only? Try my code, please, you might be surprised, it could fix your problems (I'm promising 99,99% certaintity ). What can you lose? Backup your old file. Make those small changes I posted, and test. Should take only little time and you could gain a working solution.

Also the excessive quotes in the one command you have might have something to do with it (although I have to admit that it seems to be correctly escaped as instructed in the guide.. but still.. I'd use the decimal or hex escape method, I don't trust that "replace one instance with three" thing.. plus it's more difficult to read and one can make mistakes more easily because of that).

Also note that the %TrackName% variable is taken from the INI and its default setting is (for "single" artist) $track$ - $title$. So, if you want to change the EAC log to only show the track title, you can't use %TrackName% (I bet that you have track numbers in your filenames, right?). Here's the corrected code for that part in my code example I posted earlier (I also removed the Filename string removal):
Code: [Select]
ECHO @tools@\GSAR.EXE "-s%EscapedSourcedir%\@basename@.wav" "-r:034$title$.flac:034" -o %eacLogFile%>>update-cueslogs.bat

Note the :034 strings, those should wrap your track name in quotes. Now the output should be like you wanted: Filename "<track title>".
Title: REACT 2 Released
Post by: Akkurat on 2008-06-29 18:08:08
Akkurat, I wanted to formally thank you for picking up the REACT project.  I've been using your mod for about a month.  I'd have to say it's worked very well.  Love being able to grab the artwork before waiting for cuesheet creation!

The feedback I wanted to share is in regards to the focus of the window at two different times.  I read yesterday in one of the threads that someone has already mentioned the lack of focus when you launch REACT/EAC.  I wanted to second that request.  It would be helpful for the times when no freedb edits are necessary.

The second focus item (which I'm not sure if it's been mentioned) is that the eac window loses focus after editing a field like cd title.  After I make my edit, I'll hit the Tab key to change fields and the window loses focus.  I've noticed it also does this if I hit Enter to "save" a field I just modified.  Another example is if I update the CD artist field and just try to click to a new field.  In all these cases the focus of the window is lost.  Just looking to save mouse and keyboard actions where I can.  I still have 2/3 my collection to go!

I have noticed this before and it's bugging me also. It's happening when editing the CD Artist OR CD Title fields. Also there's an other problem (from my bug list): Sometimes the EAC window title doesn't show REACT information unless you change focus to other program and back. Happens also when focusing on the CD Artist OR CD Title field and then de-focusing WITHOUT changing the contents of that field.

All these three issues are connected, I haven't had the time to dig deeper yet but I know where to start (main program loop). Without knowing better, currently I'm thinking that it's a 50/50 chance that this could be fixed.

About the "no freedb edits are necessary" thing; I recently, by accident, noticed that one freedb query brought one track title with an extra space at the end of it! It's impossible to see this unless you at least select the track names (there's a certain length that the selection color exceeds the track title when selected). Or if you want to be sure, you have to "open the edit field" for every track. A BIG PITA!  Do NOT trust the freedb data, I've noticed that there's so much splelling erors that I go thru every track name for every new CD with a toothcomb. Takes more time but at least I can get results that will fulfill my insane drive for perfection.  Seriously though, if music is your hobby, you should put some time to it..

Thanks for reporting and seconding the first one.  And thanks for the thanks. I appreciate it much.
Title: REACT 2 Released
Post by: RBI Champ on 2008-06-29 19:31:11
Akkurat, thanks for the new code.  I've put it in and as you predicted it is working perfectly.  It now does not break when an "&" is in the song title.  Thanks so much!

ps- may not matter now, but for filenames, I use "song title.flac."  With various artists, I use "track artist - song title.flac"

Well, how I see it? It's not working if you have issues.  Let me guess, is this happening always with the first track only? Try my code, please, you might be surprised, it could fix your problems (I'm promising 99,99% certaintity ). What can you lose? Backup your old file. Make those small changes I posted, and test. Should take only little time and you could gain a working solution.

Also the excessive quotes in the one command you have might have something to do with it (although I have to admit that it seems to be correctly escaped as instructed in the guide.. but still.. I'd use the decimal or hex escape method, I don't trust that "replace one instance with three" thing.. plus it's more difficult to read and one can make mistakes more easily because of that).

Also note that the %TrackName% variable is taken from the INI and its default setting is (for "single" artist) $track$ - $title$. So, if you want to change the EAC log to only show the track title, you can't use %TrackName% (I bet that you have track numbers in your filenames, right?). Here's the corrected code for that part in my code example I posted earlier (I also removed the Filename string removal):
Code: [Select]
ECHO @tools@\GSAR.EXE "-s%EscapedSourcedir%\@basename@.wav" "-r:034$title$.flac:034" -o %eacLogFile%>>update-cueslogs.bat

Note the :034 strings, those should wrap your track name in quotes. Now the output should be like you wanted: Filename "<track title>".
Title: REACT 2 Released
Post by: Akkurat on 2008-06-29 21:14:21
Akkurat, thanks for the new code.  I've put it in and as you predicted it is working perfectly.  It now does not break when an "&" is in the song title.  Thanks so much!

ps- may not matter now, but for filenames, I use "song title.flac."  With various artists, I use "track artist - song title.flac"

Fantastic! Working perfectly? Fingers crossed.  I'm happy that this was so easily solved.. now to tackle your RG problem in the other thread.

You don't have track numbers in filenames? Ok. In that case, you can then use the %TrackName% in the code if you like (that way you get the various artists filename scheme to show up in your logs).
Title: REACT 2 Released
Post by: dewey1973 on 2008-07-06 05:26:22
I'm experiencing some weirdness with Various Artist albums.  I ran in debug mode and what I've found is that even though EAC shows the Various Artists check box checked, the @various@ variable is passed as 0.

The files end up being stored in a folder named with the first track artist instead of Various or Various Artists.

How do I fix this?
Title: REACT 2 Released
Post by: Akkurat on 2008-07-06 12:03:13
I'm experiencing some weirdness with Various Artist albums.  I ran in debug mode and what I've found is that even though EAC shows the Various Artists check box checked, the @various@ variable is passed as 0.

The files end up being stored in a folder named with the first track artist instead of Various or Various Artists.

How do I fix this?
Short answer: If the checkbox is checked, uncheck and re-check it to ensure that the artist name will be "Various".

Long answer: How to fix it? First, it's not REACT's fault. It's related to how EAC functions AND freedb sending artist strings that are NOT "Various" or "Various Artists" (freedb suggested values). The greyed out "CD Artist" field with "Various" value is NOT a guarantee of the CD being recognized as "Various". I'm sorry but that's how it is. Check Synthetic Soul's REACT: Notes for developers, or anyone writing an interim application (http://www.hydrogenaudio.org/forums/index.php?showtopic=60910) post.

Last I have talked about this was in March with nago (publicly (http://www.hydrogenaudio.org/forums/index.php?showtopic=50273&st=1100&p=545169#entry545169) & privately), he had some users with this problem (and fixing this absolutely requires test user(s) with this problem.. I can't test this because if I change the artist field myself, the test situation is dramatically changed.. I need to have a "crap" freedb query result to test this.. and I haven't found a various artists CD which could be used to do this) but the conversation kind of died (nago, if you're reading, maybe we should pick up the pieces and see what could be done?). I actually did one test version, which I still have, but I never got any results back. I remember that the test version was based on the "If the checkbox is checked, uncheck and re-check it to ensure that the artist name will be "Various"." suggestion by Synthetic Soul. But it was not so good solution because, IIRC, it didn't work consistently (EAC's fault, read the "publicly" link above). I also could try to fix it with "Check whether track names are using the "<artist> / <title>" format." suggestion. This may be a better approach since we don't have to rely on the IMHO poorly executed EAC "VA"/artist functionality.

Anyways, this is in my now quite long TODO list (I'm working on it right now.. and I've already fixed couple of things), but it's in the back of the list as MAYBE.. like I stated back then in February: "... it could be counted to be more as an EAC problem than an REACT problem and fixing this in REACT could be hard.. or even impossible".

Maybe you could act as a test user for this? PM me your email so I can send you the test version and instructions. EDIT: (not "absolutely" needed anymore but if you want to.. I'll test this myself first so it could take some time before I'd contact you)  One question: you wrote the album in plural, does this really happen with only one CD or with many.. or ALL?
Title: REACT 2 Released
Post by: Synthetic Soul on 2008-07-06 13:03:41
I can't test this because if I change the artist field myself, the test situation is dramatically changed.. I need to have a "crap" freedb query result to test this..
This post (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=35158&view=findpost&p=443449) may be of use.

I  exported my EAC database to a local freedb database*, which meant that  I could edit my test CD entry and reload it for testing.
  ...
* To create a local freedb database of your EAC database:
  • "EAC" > "freedb / Database Options..." > "Local freedb" tab to set the location
  • "Database" > "Export CD Information To" > "Local freedb"
To reload data after changing the text file: "Database" > "Get CD Information From" > "Local freedb"[/size]
Title: REACT 2 Released
Post by: Akkurat on 2008-07-06 13:40:13
This post (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=35158&view=findpost&p=443449) may be of use.

Excellent. THANK YOU. I see that you have had a very lengthy conversation around this issue back in 2006(!).
Title: REACT 2 Released
Post by: hanning on 2008-07-15 05:38:23
@Akkurat: I'm not sure if this has been reported earlier. I've been experiencing problems with the image name not being properly set in the EAC file dialog. The problems went away when adding a pause (inspired by Synthetic Soul's version), changing

Code: [Select]
; Makes sure that the correct image filename is set to the EAC input window.
    Local $loopcnt = 0
    Do
        ControlSetText($g_saveWaveformStr, "", "Edit1", $name)
        
        If $loopcnt > 0 Then fDebugPrint("Retrying... setting image filename")
        $loopcnt += 1
        
    Until $name = ControlGetText($g_saveWaveformStr, "", "Edit1")

to

Code: [Select]
; Makes sure that the correct image filename is set to the EAC input window.
    Local $loopcnt = 0
    Do
        ControlSetText($g_saveWaveformStr, "", "Edit1", $name)
        
        If $loopcnt > 0 Then fDebugPrint("Retrying... setting image filename")
        $loopcnt += 1
        Sleep(250)
        
    Until $name = ControlGetText($g_saveWaveformStr, "", "Edit1")

It must have been a timing issue of the dialog closing too soon and reverting to EAC's default naming scheme, or something. I hope this helps in some way and would love to see it get added to the next version.
Title: REACT 2 Released
Post by: Akkurat on 2008-07-15 12:46:25
@Akkurat: I'm not sure if this has been reported earlier. I've been experiencing problems with the image name not being properly set in the EAC file dialog. The problems went away when adding a pause (inspired by Synthetic Soul's version)

It must have been a timing issue of the dialog closing too soon and reverting to EAC's default naming scheme, or something. I hope this helps in some way and would love to see it get added to the next version.

Yes you're the 3rd one to report this kind of behaviour. Are you using Vista by any chance? Thanks for the suggestion, I'll definitely test it with the other user (Realityfreak) who's having this problem.

Still, I'm little bit baffled by this because my code (do...until) is a infinitive loop unless the correct image name is set to the save dialog (and correctly read by the ControlGetText). Does your save dialog close itself with wrong image names?

I have had "enhance image name save loop" in my TODO for a while.. the basic idea was to remove the infinitive nature of the code.. because that's poor coding.  I also have added couple of new ideas to enhance this section.. are you interested to test these with me? (PM me your email) I really would like to understand why these problems/"anomalies" happen than "blindly" apply a patch.

P.S. Does anyone understand why the code continues to move beyond the until... line if the correct image name is NOT in the save dialog?
Title: REACT 2 Released
Post by: hanning on 2008-07-16 14:18:34
@Akkurat: I'm not sure if this has been reported earlier. I've been experiencing problems with the image name not being properly set in the EAC file dialog. The problems went away when adding a pause (inspired by Synthetic Soul's version)

Yes you're the 3rd one to report this kind of behaviour. Are you using Vista by any chance? Thanks for the suggestion, I'll definitely test it with the other user (Realityfreak) who's having this problem.

Yes, I'm on vista.

Still, I'm little bit baffled by this because my code (do...until) is a infinitive loop unless the correct image name is set to the save dialog (and correctly read by the ControlGetText). Does your save dialog close itself with wrong image names?

Yes, it does. I too am a little baffled as your code looks like it should do what you intended. However, there's got to be some inconsistency there as far as Vista is concerned for some reason.
Title: REACT 2 Released
Post by: gsa999 on 2008-07-17 19:17:16
Hi
I have just upgraded to Lame 3.98 and went to copy both lame.exe and lame_enc.dll into the REACT2 Tools folder, when I noticed that previously only lame.exe was in there.

Can you confirm whether both files should be in this folder please. If so I'm not sure how it was working previously. Also I notice there is a file call lame.css as well, should that be in there as well.

Thanks
Title: REACT 2 Released
Post by: Akkurat on 2008-07-18 18:29:57
Yes, I'm on vista.

Yes, it does. I too am a little baffled as your code looks like it should do what you intended. However, there's got to be some inconsistency there as far as Vista is concerned for some reason.

Yesterday I "acquired" Vista Ultimate which I'm currently running in VPC and what I have tested so far, the problem is related to the dropdown feature of the field in the save dialog window (there's no dropdown feature in XP). For some reason AutoIt has problems reading the value from it (sometimes the GET method returns values from the dropdown menu history).. and incidentally increasing the time between the SET and GET seems to help a bit.. and what's funny, it seems to be a matter of fractions of a second if it's going to work or not.. very interesting to test since adding even simple debug points increase the time enough for the whole thing to act differently. Oh well, at least I'm on the right track.

I have just upgraded to Lame 3.98 and went to copy both lame.exe and lame_enc.dll into the REACT2 Tools folder, when I noticed that previously only lame.exe was in there.

Can you confirm whether both files should be in this folder please. If so I'm not sure how it was working previously. Also I notice there is a file call lame.css as well, should that be in there as well.

To be frank, I don't know for sure but I reckon that the lame.exe should be enough. That's what the original tools folder has. I don't have a clue what the css file is for (cascading style sheets in Mp3's?  ), I haven't seen it in tools folder before. See what it contains.
Title: REACT 2 Released
Post by: thebourneid on 2008-07-27 17:33:51
I’m using REACT2 [akku.b02] with EAC for ripping my CD collection. Hard disk space is not an issue for me at the moment and I store wav images and separate flac tracks with F10 command for each CD. I’m also using the Akkurat Backup Data Track Method which requires “CreateAllCuesheets” in the REACT.ini set to 1.
Is it possible to implement the gsar.exe tool to modify the [mg].cue (or all of them) from “.wav” WAVE to “.flac” WAVE for the separate flac tracks in the image.cfg. If at some point in the future I decide to keep only the flac tracks I’d like to have a proper corresponding cue file.
I’ve tried to add the track.cfg settings from the wiki article but obviously it’s far from the truth.

Hmm, well, the problem is that in image rips, the info for individual track filenames are pulled from the cuefile by ACDIR. So, there's no way of us using that information in the image config file like we can in track config. Also changing only the .wav" WAVE to .flac" WAVE most probably wouldn't work as expected because of the filename scheme & special character differences between EAC and REACT (and special char difference in ACDIR). I'm not so familiar with ACDIR but I can see that one can execute several commands in the --pipe switch... but this doesn't help us because we have no information of the filenames in the cuefile.

One possible method (very pseudocode example):
1. After the ACDIR has created all the flac files, traverse all those files with FOR (dos command).
2. Your goal is to match a flac filename & cuefile text string (basically you need to match the track number found in the flac file to a line in cuefile where there's the same track number, AND that line has also .wav" string).
3. Use GSAR in the same manner as in track config to change the file references with the info you just gathered from the flac files and from the cuefile.

Hard? Yes. I'm sorry.. I don't know a better way to solve this. If you manage to pull it off, please share your masterpiece.

Akkurat,
Many thanks for your assistance. I've tried different things but obviously because of ACDIR, bullet-proof workaround is difficult to find. Just a thought: you've pointed out that one of the problems is the different naming schemes in EAC & REACT, but what could be the negative consequences if I change the naming scheme in EAC/EAC Options/Filename to equal my trackname output scheme in REACT, which is "$n. $~t" for single artist and "$n. $~a -- $~t" for Varios Artists, and replace this command line in your code
Code: [Select]
ECHO @tools@\GSAR.EXE "-s@basename@.wav" "-r%TrackName%.flac" -o %trackCueFile%>>update-cueslogs.bat

with this
Code: [Select]
ECHO @tools@\GSAR.EXE -s.@imageext@ -r.flac -o %TrackCueFile%>>update-cueslogs.bat


When I modify the EAC single artist scheme its ok, probably, but when I change the Various Artist naming scheme, REACT gives me warning during startup, that it must start with %D and etc. Can I change this in the au3 file or things will be messed up.

And one other question.
I know that wavegain processes files irreversibly. Is this also the case in REACT if I use wavegain for ripping separate flac tracks with F10 command.
Title: REACT 2 Released
Post by: Akkurat on 2008-07-27 23:21:32
I've tried different things but obviously because of ACDIR, bullet-proof workaround is difficult to find.

I wrote my suggestion for the bullet-proof solve in the last post.. pseudo code, but still valid method to solve this problem. Unfortunately I'm really busy with different other problems with REACT (+Real Life™) and I can't start to code my pseudo example, though I'm tempted. If there's no willing fellow HA members who would like to take this challenge, I suggest that you find an other forum which is dedicated to helping out people with batch programming. Or maybe somebody could use AutoIt to code a program for this? This could be a better solution since coding the batch solve would be problematic due to the special characters... damn, now I'm really tempted. (maybe later if I find time.. in the next century or so )

Just a thought: you've pointed out that one of the problems is the different naming schemes in EAC & REACT, but what could be the negative consequences if I change the naming scheme in EAC/EAC Options/Filename to equal my trackname output scheme in REACT, which is "$n. $~t" for single artist and "$n. $~a -- $~t" for Varios Artists, and replace this command line in your code...
...
When I modify the EAC single artist scheme its ok, probably, but when I change the Various Artist naming scheme, REACT gives me warning during startup, that it must start with %D and etc. Can I change this in the au3 file or things will be messed up.

Well if there's a warning message, maybe it would not be a good thing to ignore that? The starting %D is absolutely required if you want that Various Artists discs are detected in the processing part of REACT.

It won't work perfectly otherwise either, the possible special characters would make your cues invalid.

You're trying to solve this from the wrong end.

I know that wavegain processes files irreversibly. Is this also the case in REACT if I use wavegain for ripping separate flac tracks with F10 command.

Gains are not applied to lossless formats, so no.
Title: REACT 2 Released
Post by: Synthetic Soul on 2008-07-28 11:52:30
The code below uses SED (http://gnuwin32.sourceforge.net/packages/sed.htm) to implement Akkurat's suggestion:

The code iterates through each FLAC file in the folder, and extracts the track number from the file name (expecting it to begin with two digits).  It then generates a SED (http://gnuwin32.sourceforge.net/packages/sed.htm) command for this track, and writes it to the temporary file "sedlist.txt".  Once all tracks have been processed the SED (http://gnuwin32.sourceforge.net/packages/sed.htm) command list is passed to SED (http://gnuwin32.sourceforge.net/packages/sed.htm) (which should be placed in your @tools@ directory), and the replacements are made.

The SED command matches by looking for " - NN - " in the FILE command, where NN is the tracknumber.  This may cause problems if a track, band or album name happen to match that mask, but, meh, it's unlikely.

Put the following code in the FLAC tracks section (after the call to ACDIR):

Code: [Select]
FOR %%G IN (*.flac) DO CALL :ReplaceCuesheetFileReference "%%G"
@tools@\SED -f sedlist.txt <"@albumfile@.[mg].cue" >"$cdartist$ - $album$.cue"
DEL sedlist.txt

... and the following right at the very end of the config file:

Code: [Select]
:ReplaceCuesheetFileReference
SET trackno=%1
SET trackno=%trackno:~1,2%
ECHO s/FILE ".* - %trackno% - .*\.wav" WAVE/FILE %1 WAVE/>>sedlist.txt
GOTO :EOF


Edit: BTW, if anyone feels the need to pin down the track number discovery a little, I did begin using SED, and this could perhaps be expanded to ensure that a decent match is made (perhaps by only adding the command to sedlist.txt if the match was successful?).  Original code:

Code: [Select]
:ReplaceCuesheetFileReference
ECHO %1 | @tools@\SED 's/"\([0-9][0-9]\)\..*\.flac"/\1/'>%TMP%\trackno.txt
SET /P trackno=<%TMP%\trackno.txt
ECHO s/FILE ".* - %trackno%- .*\.wav" WAVE/FILE %1 WAVE/>>sedlist.txt
GOTO :EOF
Title: REACT 2 Released
Post by: Akkurat on 2008-07-28 13:02:09
The code below uses SED (http://gnuwin32.sourceforge.net/packages/sed.htm) to implement Akkurat's suggestion:

I take it that GSAR was too limited to use in this case since you chose SED. For what I remember, SED was not a reliable tool (if there were some special chars)... so, I had a new idea: what if this could be solved by just reading the .flac's (or whatever) in AutoIt and sort them by the tracknumber (detecting these could be easier if we put the "TrackName_XX_acdir" var used by ACDIR as parameter for AutoIt? And there's always the tracknumber tags in files..?) and then going over the cuefile "FILE ..." lines one by one and replacing every track reference from the read files array? Wouldn't this be simpler and safer (not using SED)? I take it that the "FILE ..." lines are always in correct order in cuefiles. Right? This also would work for files not starting with tracknumber. I guess I'm trying to imagine a general solve for all (so that this could be even imported to default REACT someday*).. I'm happy that you took the challenge and I'm not trying to shoot your efforts down. Just thinking out loud again.  Maybe I try it myself one day if you're not keen on using AutoIt for this. Actually, this could even be used to replace GSAR for the amending cue file references...?

* I find it stupid that default REACT enables users to create cuefiles for their rips but not correcting the file references.. more features for REACT I guess.. at least the most requested and talked about in HA.. just wait, I'm not promising but who knows.
Title: REACT 2 Released
Post by: Synthetic Soul on 2008-07-28 13:22:11
AFAIK, GSAR can't use regular expressions, which are required to match the FILE reference text.

As far as a solution using AutoIt: as you say, not something I'm willing to pursue.  I agree that it would be nice for REACT to provide methods for users to update their cuesheets - or not update their cuesheets: IIRC REACT updates the image cuesheet by default, and I'm not actually sure I want it to.

More for your to-do list! 

Edit: After searching this thread I think your main issue was the use of certain characters needing escaping inthe RHS of a SED command (ampersand being one).  As I am only using the static value "FILE \1 WAVE" this is not an issue in this instance.
Title: REACT 2 Released
Post by: Akkurat on 2008-07-28 13:36:11
As far as a solution using AutoIt: as you say, not something I'm willing to pursue.  I agree that it would be nice for REACT to provide methods for users to update their cuesheets - or not update their cuesheets: IIRC REACT updates the image cuesheet by default, and I'm not actually sure I want it to.

More for your to-do list!

Thanks a lot.  Now it has only about 350 lines of notes. The "almost out" new version shortened the list quite nicely but there's still lots of work to be done. So don't you worry that I could be out of things to do.

I'm interested to know why wouldn't you want REACT to update your image cuesheet?

Edit:
Edit: After searching this thread I think your main issue was the use of certain characters needing escaping inthe RHS of a SED command (ampersand being one). As I am only using the static value "FILE \1 WAVE" this is not an issue in this instance.

Hmm, I'm not so sure about that.. I have my doubts.. but I'm in no position to judge since I'm not willing to start testing that with special chars again... you win.
Title: REACT 2 Released
Post by: Synthetic Soul on 2008-07-28 13:49:06
I'm interested to know why wouldn't you want REACT to update your image cuesheet?
IIRC (long time since I bothered about this) REACT amends the image cuesheet to point to the compressed image: in my case the Wavpack file.  foobar doesn't care about the FILE command when the cuesheet is embedded in the image.  The only time I may need the cuesheet outside of foobar would be to burn to CD.  Burrn (and foobar) will burn using the embedded cuesheet.  EAC cannot burn WV, so I would decompress to WAVE... which means my cuesheet is then pointing to the wrong file.

Wavpack also has a nifty feature which allows you to turn an image with embedded cuesheet into a self-extracting executable; useful if you wanted to pass someone a lossless image and they had no idea about lossless codecs.  When executed the file will decompress to WAVE and create an external cuesheet from the cuesheet tag.  If the cuesheet was embedded pointing to the WV file this negates the usefulness (if indeed you see it as useful).

Being someone who knows his archive, and who rarely burns to CD or ever creates EXEs, then these issues are not huge for me; however, they are still potential niggles for any image user.

Edit:
Edit: After searching this thread I think your main issue was the use of certain characters needing escaping inthe RHS of a SED command (ampersand being one). As I am only using the static value "FILE \1 WAVE" this is not an issue in this instance.
Hmm, I'm not so sure about that.. I have my doubts.. but I'm in no position to judge since I'm not willing to start testing that with special chars again... you win. 
  Yes!  Winner!

It seems you also had an issue with SED converting files to *nix LF format (although this strangely does not appear to be an issue in this instance).  I think the fact that the only dynamic text in the SED command is the tracknumber should keep the problem of escaping down to zero.  I may be wrong, but as you are too busy to prove it I will pretend that I definitely am not.
Title: REACT 2 Released
Post by: Akkurat on 2008-07-28 14:11:29
IIRC (long time since I bothered about this) REACT amends the image cuesheet to point to the compressed image: in my case the Wavpack file.
...
Being someone who knows his archive, and who rarely burns to CD or ever creates EXEs, then these issues are not huge for me; however, they are still potential niggles for any image user.

Good points, thanks. Although, the cuefile still have to be amended since EAC creates the temp image with .eac (which goes also to cuefile). But, an option to change this would be ideal for the (very few?) users who'd need this.

Yes!  Winner!

Yes, 10 points and a parrot stamp to your booklet. Enjoy.
Title: REACT 2 Released
Post by: Synthetic Soul on 2008-07-28 15:07:29
Yes, 10 points and a parrot stamp to your booklet. Enjoy.
Well, my "victory" was, as ever, short-lived.

Shortly after posting, I realised that I am not using "FILE \1 WAVE", but "FILE %1 WAVE" in the SED command.  This means that there could be issues with text/escaping, most notably with ampersands (link (http://sed.sourceforge.net/sedfaq3.html#s3.1.2)).

Therefore my proposed resolve would be to used SED to find the specific FILE command text, but to generate GSAR commands - much like the Amending Cuesheet File References (http://wiki.hydrogenaudio.org/index.php?title=REACT:Amending_Cuesheet_File_References) code - which would do the actual replacing.  I have two ideas at the moment: either SED replaces the line in the cuesheet with something generic like "{FILE NN}", so GSAR can find it easily, or SED writes the full line to the GSAR batch file.  I'm a little worried (given past experiences) that this process could result in yet more escaping issues though.  Unfortunately I am way out of time now, and really need to get on with my work (which has been rudely ignored so far today).
Title: REACT 2 Released
Post by: Synthetic Soul on 2008-07-28 15:28:12
I was closer to a solution than I thought, so I concluded.  Here's my updated code,which uses GSAR (http://gnuwin32.sourceforge.net/packages/gsar.htm) and SED (http://gnuwin32.sourceforge.net/packages/sed.htm), for added grins (both should be in your tools directory):

Section code:

Code: [Select]
ECHO CHCP 1252 ^| PROMPT>update-cuesheet.bat
FOR %%G IN (*.flac) DO CALL :ReplaceCuesheetFileReference "%%G"
@tools@\SED -f sedlist.txt <"@albumfile@.[mg].cue" >"$cdartist$ - $album$.cue"
@tools@\GSAR.EXE -s%% -r%%%% -o update-cuesheet.bat
CALL update-cuesheet.bat
DEL sedlist.txt
DEL update-cuesheet.bat

Code to be placed at the end of the config:

Code: [Select]
:ReplaceCuesheetFileReference
SET trackno=%1
SET trackno=%trackno:~1,2%
ECHO s/FILE ".* - %trackno% - .*\.wav" WAVE/{FILE %trackno%}/>>sedlist.txt
ECHO @tools@\GSAR "-s{FILE %trackno%}" "-rFILE :x22%~1:x22 WAVE" -o "$cdartist$ - $album$.cue">>update-cuesheet.bat
GOTO :EOF

SED is used to find the FILE reference, as it utilises regular expressions.  We are using no dodgy characters in the SED command so all should be well.  GSAR is used to do the actual replacing, as it has proved to be more robust. SED replaces the variable FILE commands in the cuesheet with a more generic {FILE NN} entry; GSAR then looks for this entry and replaces it. I preferred this method, as the process to get SED to write GSAR's commands would involve writing temporary files to set variables, etc - all of which I felt could end up being very confusing if we had various characters that needed either GSAR or DOS escaping.... I've had enough of escaping issues for one day.
Title: REACT 2 Released
Post by: dewey1973 on 2008-07-28 18:37:37
I assume some changes need to be to the cfg files to take advantage of lame 3.98's ability to include albumArt in the ID3v2.3 tag.

Has anyone done that yet?
Title: REACT 2 Released
Post by: Paul Burger on 2008-07-30 08:20:52
Hi Everyone

I've started using EAC with mareo a couple of years ago, but have been putting off ripping my entire collection for the n-th time as I wasn't 100% convinced with the setup I had.

Then at last I discovered REACT2 and some excellent hi-fi guides which made me feel much more confident in creating an almost perfect archive, especially with the CD repair guide.

After a few tests with the setup I still have a few questions which require clarification.

(My settings and log file follows below.)

1) Setting replaygain to '1' only seems to produce replaygain for the flac files and not the MP3 or Ogg files for the same album. How do I get it to apply the same replaygain settings calculated for the flac files into the ogg & mp3 tags?

I know LAME can perform replaygain, but I would like it to use the settings determined for the flac files.

1a) Even though I asked it to, REACT did not add any replaygain info to the cue sheets.

(work around)

The problem here was that the cue sheet to which REACT adds the RG info is not one of the four that is being copied to the flac directory. It does add it but to the wrong cue file.

As I did not know how to add it to all 4 cue sheets, I changed the image.cfg file to add it to the log file instead, by making the following code changes



Code: [Select]
REM ---- Image ----

REM Ensure that the EAC log is available
:CheckForLog
IF NOT EXIST "@eaclog@" GOTO Pause

REM Add ReplayGain to front of log file
TYPE "@eaclog@" >> %wg_tmp%.rg
MOVE /Y %wg_tmp%.rg "@eaclog@"

2) I've tested three different (popular) albums and none of these seems to have any album art which I find curious. (All three sites return nothing.) How do I test this, can I add sites and/or load the album art manually either from other sites or scanning it myself?(solved in post #1207 of this thread)

2a) If I put the album art only in the (album) folder will media players such as an iPod (Classic v5) or XBMC (XBOX Media Centre) pick up the art when playing playlists or in random order?

3) I assume that REACT automatically complete the tags and it thus need not be specified in the flac, ogg or mp3 options?

(solved)

Inspecting the image.cfg file indicates that the tags are populated when the tracks are created.

3a) I noticed that foobar would recognise the total number of tracks (xx/yy) but only for ogg and flac files. Am I missing a setting for the MP3 tracks or does the MP3 tags not allow/cater for this?

3b) What type of tags does REACT produce and can this be changed?

4) Is it possible to rename the EAC logfile to "album + EACLogfile"?

(work around)

I used the following code to copy the log file without renaming it. You of course have to do this for each of the encodings for which you require a copy of the log file.

Replace...
Code: [Select]
        COPY /Y "@eaclog@" "EACLog.txt"
...with...
Code: [Select]
        COPY /Y "@eaclog@" .


5) Is it possible to produce a logfile of the actual Ogg and MP3 encoding results or is there any other way to produce a file that states the encoding options used?


6) Are there any media players that recognise the cue sheets in random play order mode and thus not play the gaps?

7) Do I still have to submit my results to accurate rip or is that also automated?

8) How do I make the files read-only so the media players cannot alter any of the files?


The idea with my setup is as follows;

1) Rip my entire collection as flac tracks for archive purposes and perform backup of archive (on HDD)
2) Encode flac tracks in Ogg for playback on XBMC (XBOX Media Centre) and my computer (via NAS)
3) Encode flac tracks in MP3 for playback on iPod
4) Directory structure -> "Artist - Album  [YEAR]/TrackNo. TrackName" and "Various Artist - Album  [YEAR]/TrackNo. TrackName [Artist]" (I know my ini does not reflect this yet.)
5) Include album art so it will be displayed on all players and all different replay modes.
6) Apply track and album replaygain
7) Generate cue and log files
8) Generate flac fingerprints
9) make all files and directories read only to protect it from modification by players which might try to "fix" the tags, artwork, etc.
10) Generate MD5 checksums on directories for backup purposes


Thanks for the assistance/advice

Regards

Paul

Ps. I use XP Pro SP3, EAC V0.99 pb4, REACT2, flac 1.2.1, lame 3.98 and oggenc 2.85



--------------> Debug.bat file

Code: [Select]
@ECHO OFF
CHCP 1252 | PROMPT
TITLE "The Memory Of Trees"

REM Copyright © Tycho, 2006
REM
REM ** Ripping to .wav image.
REM **
REM ** To archive a CD as one large "image", you must SET
REM ** ImageExt=... in the REACT.ini file (Press Alt-F2).
REM ** This will set the wav variable. Extensions
REM ** currently supported:  flac, wv, mp3. Set to 'wav'
REM ** for no image archiving (default).
REM **
REM ** Also creates tracks by encoding directly to tracks, using ACDIR.
REM **
REM ** Flac requires flac.exe/metaflac.exe (v1.1.3)
REM ** NeroAac requires NeroAacEnc.exe/NeroAacTag.exe/AacGain.exe.
REM ** OggEnc2 requires OggEnc2.exe/VorbisGain.exe.
REM **
REM ** I prefer applying album gain 92dB to get a reasonable
REM ** volume for my DAP. The RG tags are still relative
REM ** to 89dB SPL, i.e. album gain will be about -3.0dB.

REM ============== Begin Main Script ==================


IF 1==1 ECHO ON

IF 0==0 SET TrackName=$n - $~t
IF 0==1 SET TrackName=$n - $~t [$~a]

SET add_rg=1
SET have_cover=0
SET embed_cover=0

IF NOT 1==1 GOTO end_RG
    SET RG_Flac=--replay-gain
    SET RG_MetaFlac=--add-replay-gain
    SET RG_MetaMP3=--replay-gain
:end_RG

IF NOT 1==1 GOTO end_apply_AG
    SET ApplyAG_MetaMP3=--apply-gain album+3
    SET ApplyAG_AacGain=/a /o /c /d +3
    SET add_rg=1
:end_apply_AG

IF EXIST "C:\Music (EAC)\The Memory Of Trees.jpg" (
    SET have_cover=1
    SET embed_cover=1
)

IF 0==0 (
    SET ArtistField=artist
    SET MP3Artist=--artist "Enya"
) else (
    SET ArtistField=album artist
    SET MP3Artist=--user-text "[album artist]Various Artists" --frame "TPE2:Various Artists"
)


REM ** Create Disc-related tags if we have a set

REM If a disc name has been provided
IF "" EQU "" GOTO end_discname
SET discName=discname
SET discName=@%discname%@
IF "" EQU "%discName%" GOTO end_discname

    REM Set tagging switches
    SET Disc_Flac=-T "discname="
    SET Disc_Wavpack=-w "discname="
    REM SET Disc_MP3=--frame TSST:""
    SET Disc_MP3=--frame "TXXX[setsubtitle]:"
    SET Disc_OggEnc2=-c "discname="
    SET Disc_Tak=-t "discname="
    SET Disc_Flac_acdir=-T $qdiscname=$q
    SET Disc_Wavpack_acdir=-w $qdiscname=$q
    REM SET Disc_MP3_acdir=--frame TSST:$q$q
    SET Disc_MP3_acdir=--frame $qTXXX[setsubtitle]:$q
    SET Disc_OggEnc2_acdir=-c $qdiscname=$q
    SET Disc_Tak_acdir=-t $qdiscname=$q

    REM Add disc name to image and track folder paths
    SET imageDir=%imageDir%\
    SET trackDir=%trackDir%\

    GOTO :end_discnumber

:end_discname

REM Ensure that we have numeric values
SET /A discNumber = 1 + 0
SET /A totalDiscs = 1 + 0

REM IF a valid disc number and total number of discs has been provided
IF %totalDiscs% LEQ 1 GOTO :end_discnumber
IF %discNumber% LEQ 0 GOTO :end_discnumber

    REM Set tagging switches
    SET Disc_Flac=-T "discnumber=1" -T "totaldiscs=1"
    SET Disc_Wavpack=-w "discnumber=1" -w "totaldiscs=1"
    SET Disc_MP3=--frame TPOS:"1/1"
    SET Disc_NeroAac=--disk "1/1"
    SET Disc_OggEnc2=-c "discnumber=1" -c "totaldiscs=1"
    SET Disc_Tak=-t "discnumber=1" -t "totaldiscs=1"
    SET Disc_Flac_acdir=-T $qdiscnumber=1$q -T $qtotaldiscs=1$q
    SET Disc_Wavpack_acdir=-w $qdiscnumber=1$q -w $qtotaldiscs=1$q
    SET Disc_MP3_acdir=--frame TPOS:$q1/1$q
    SET Disc_NeroAac_acdir=--disk $q1/1$q
    SET Disc_OggEnc2_acdir=-c $qdiscnumber=1$q -c $qtotaldiscs=1$q
    SET Disc_Tak_acdir=-t $qdiscnumber=1$q -t $qtotaldiscs=1$q

    REM Add disc number to image and track folder paths
    SET imageDir=%imageDir%\Disc 1
    SET trackDir=%trackDir%\Disc 1

:end_discnumber


SET run_wavegain=1
IF 1==1 SET run_wavegain=1

IF %run_wavegain%==0 GOTO end_wavegain
    SET wg_tmp=wg_%RANDOM%
    C:\PROGRA~1\REACT2\tools\WaveGain.exe --album "C:\Music (EAC)\Etmp!58)5.wav" --exec ECHO '%%ALBUM_GAIN%%'%%ALBUM_PEAK%%'%%ALBUM_NEW_PEAK%%'%%ALBUM_SCALE%%'> %wg_tmp%.txt
    FOR /F "usebackq tokens=1-6 delims='" %%a IN (%wg_tmp%.txt) DO (
        SET album_gain=%%b
        SET album_peak=%%c
        SET album_new_peak=%%d
        SET album_scale=%%e
    )
    ECHO REM REPLAYGAIN_ALBUM_GAIN %album_gain% dB> %wg_tmp%.rg
    ECHO REM REPLAYGAIN_ALBUM_PEAK %album_peak%>> %wg_tmp%.rg
    ECHO REM REPLAYGAIN_ALBUM_SCALE %album_scale%>> %wg_tmp%.rg
    REM DEL %wg_tmp%.txt
    REM TYPE "C:\Music (EAC)\Enya - The Memory Of Trees [1995].log" >> %wg_tmp%.rg
    REM MOVE /Y %wg_tmp%.rg "C:\Music (EAC)\Enya - The Memory Of Trees [1995].log"
:end_wavegain


REM ** Transfer RG values from Wavgain calculations, instead of recalculation.
IF 1==1 IF %add_rg%==1 (
    SET RG_Flac=-T "replaygain_album_gain=%album_gain% dB" -T "replaygain_album_peak=%album_peak%"
    SET RG_MetaFlac=--set-tag="replaygain_album_gain=%album_gain% dB" --set-tag="replaygain_album_peak=%album_peak%"
    SET RG_Wavpack=-w "replaygain_album_gain=%album_gain% dB" -w "replaygain_album_peak=%album_peak%"
    SET RG_Wavpack_acdir=-w $qreplaygain_album_gain=%album_gain% dB$q -w $qreplaygain_album_peak=%album_peak%$q
    SET RG_Tak=-t "replaygain_album_gain=%album_gain% dB" -t "replaygain_album_peak=%album_peak%"
    SET RG_Tak_acdir=-t $qreplaygain_album_gain=%album_gain% dB$q -t $qreplaygain_album_peak=%album_peak%$q
    SET RG_MetaMP3=--user-text "[replaygain_album_gain]%album_gain% dB" --user-text "[replaygain_album_peak]%album_peak%"
    SET RG_OggEnc2_acdir=-c $qreplaygain_album_gain=%album_gain% dB$q -c $qreplaygain_album_peak=%album_peak%$q
)

REM ** Apply AlbumGain by using --scale <factor> computed from WaveGain. Only for MP3 and OGG.
IF 1==1 IF 1==1 (
    SET ApplyAG_Lame=--scale %album_scale%
    SET ApplyAG_MetaMP3=--apply-gain +3
    SET RG_MetaMP3=--user-text "[replaygain_album_gain]0.0 dB" --user-text "[replaygain_album_peak]%album_new_peak%"
    SET RG_OggEnc2_acdir=--scale %album_scale% -c $qreplaygain_album_gain=0.0 dB$q -c $qreplaygain_album_peak=%album_new_peak%$q
)


REM ---- Image ----


REM Ensure that the EAC log is available
:CheckForLog
IF NOT EXIST "C:\Music (EAC)\Enya - The Memory Of Trees [1995].log" GOTO Pause

REM Add ReplayGain to front of log file
TYPE "C:\Music (EAC)\Enya - The Memory Of Trees [1995].log" >> %wg_tmp%.rg
MOVE /Y %wg_tmp%.rg "C:\Music (EAC)\Enya - The Memory Of Trees [1995].log"


IF NOT wav==flac GOTO end_flac_image
    SET dest="C:\Music (EAC)\FLAC-images\Enya - The Memory Of Trees [$year]%imageDir%"
    IF NOT EXIST %dest% MKDIR %dest%
    IF %embed_cover%==1 SET Cover_tag=--picture="|image/jpeg|||C:\Music (EAC)\The Memory Of Trees.jpg"
    C:\PROGRA~1\REACT2\tools\flac.exe -6 -f %RG_Flac% %Cover_tag% %Disc_Flac% -T "%ArtistField%=Enya" -T album="The Memory Of Trees" -T totaltracks="11" -T date="1995" -T genre="Celtic" -T comment="Created with EAC/REACT2, 2008-08-04" -T encoded-by="%USERNAME%" -T encoding="Flac 1.2.1 -6 -f" --tag-from-file="cuesheet=C:\Music (EAC)\Enya - The Memory Of Trees [1995].cue" --tag-from-file="eaclog=C:\Music (EAC)\Enya - The Memory Of Trees [1995].log" "C:\Music (EAC)\Etmp!58)5.wav" -o "C:\Music (EAC)\Enya - The Memory Of Trees [1995].wav"
    MOVE /Y "C:\Music (EAC)\Enya - The Memory Of Trees [1995].wav" %dest%
    MOVE /Y "C:\Music (EAC)\Enya - The Memory Of Trees [1995].cue" %dest%
    IF %have_cover%==1 COPY /Y "C:\Music (EAC)\The Memory Of Trees.jpg" %dest%\"Enya - The Memory Of Trees [1995].jpg"
:end_flac_image


IF NOT wav==wv GOTO end_wavpack_image
    SET dest="C:\Music (EAC)\WV-images\Enya [$year] The Memory Of Trees%imageDir%"
    IF NOT EXIST %dest% MKDIR %dest%
    C:\PROGRA~1\REACT2\tools\wavpack.exe -hmy %RG_Wavpack% %Disc_Wavpack% -w "%ArtistField%=Enya" -w album="The Memory Of Trees" -w totaltracks="11" -w year="1995" -w genre="Celtic" -w comment="Created with EAC/REACT2, 2008-08-04" -w encodedby="%USERNAME%" -w encodersettings="Wavpack 4.40 -hmy" -w cuesheet="@C:\Music (EAC)\Enya - The Memory Of Trees [1995].cue" -w eaclog="@C:\Music (EAC)\Enya - The Memory Of Trees [1995].log" "C:\Music (EAC)\Etmp!58)5.wav" "C:\Music (EAC)\Enya - The Memory Of Trees [1995].wav"
    IF 1==1 IF 1==0 C:\PROGRA~1\REACT2\tools\wvgain.exe -a "C:\Music (EAC)\Enya - The Memory Of Trees [1995].wav"
    TITLE "The Memory Of Trees"
    MOVE /Y "C:\Music (EAC)\Enya - The Memory Of Trees [1995].wav" %dest%
    MOVE /Y "C:\Music (EAC)\Enya - The Memory Of Trees [1995].cue" %dest%
    IF %have_cover%==1 COPY /Y "C:\Music (EAC)\The Memory Of Trees.jpg" %dest%\"Enya - The Memory Of Trees [1995].jpg"
:end_wavpack_image


IF NOT wav==tak GOTO end_tak_image
    SET dest="C:\Music (EAC)\TAK-images\Enya [$year] The Memory Of Trees%imageDir%"
    IF NOT EXIST %dest% MKDIR %dest%
    C:\PROGRA~1\REACT2\tools\takc.exe -e -pN -overwrite "C:\Music (EAC)\Etmp!58)5.wav" "C:\Music (EAC)\Enya - The Memory Of Trees [1995].wav"
    C:\PROGRA~1\REACT2\tools\tag.exe %RG_Tak% %Disc_Tak% -t "%ArtistField%=Enya" -t album="The Memory Of Trees" -t totaltracks="11" -t year="1995" -t genre="Celtic" -t comment="Created with EAC/REACT2, 2008-08-04" -t encodedby="%USERNAME%" -t encodersettings="TAK 1.0.1 -pN -overwrite" -f cuesheet="C:\Music (EAC)\Enya - The Memory Of Trees [1995].cue" -f eaclog="C:\Music (EAC)\Enya - The Memory Of Trees [1995].log" "C:\Music (EAC)\Enya - The Memory Of Trees [1995].wav"
    MOVE /Y "C:\Music (EAC)\Enya - The Memory Of Trees [1995].wav" %dest%
    MOVE /Y "C:\Music (EAC)\Enya - The Memory Of Trees [1995].cue" %dest%
    IF %have_cover%==1 COPY /Y "C:\Music (EAC)\The Memory Of Trees.jpg" %dest%\"Enya - The Memory Of Trees [1995].jpg"
:end_tak_image


IF NOT wav==mp3 GOTO end_lame_image
    SET dest="C:\Music (EAC)\MP3-images\Enya [$year] The Memory Of Trees%imageDir%"
    IF NOT EXIST %dest% MKDIR %dest%
    IF %embed_cover%==1 SET Cover_tag=--pict "{3}C:\Music (EAC)\The Memory Of Trees.jpg"
    C:\PROGRA~1\REACT2\tools\lame.exe -V4 --vbr-new --noreplaygain --nohist %ApplyAG_Lame% "C:\Music (EAC)\Etmp!58)5.wav" "C:\Music (EAC)\Enya - The Memory Of Trees [1995].wav"
    C:\PROGRA~1\REACT2\tools\metamp3.exe %RG_MetaMP3% %Cover_tag% %Disc_MP3% %MP3Artist% --album "The Memory Of Trees" --track 11 --year "1995" --genre "Celtic" --comment "Created with EAC/REACT2, 2008-08-04" --frame TENC:"%USERNAME%" --frame TSSE:"LAME 3.98 -V4 --vbr-new --noreplaygain --nohist" "C:\Music (EAC)\Enya - The Memory Of Trees [1995].wav"
    IF 1==1 C:\PROGRA~1\REACT2\tools\metamp3.exe %ApplyAG_MetaMP3% "C:\Music (EAC)\Enya - The Memory Of Trees [1995].wav"
    MOVE /Y "C:\Music (EAC)\Enya - The Memory Of Trees [1995].wav" %dest%
    MOVE /Y "C:\Music (EAC)\Enya - The Memory Of Trees [1995].cue" %dest%
    IF %have_cover%==1 COPY /Y "C:\Music (EAC)\The Memory Of Trees.jpg" %dest%\"Enya - The Memory Of Trees [1995].jpg"
:end_lame_image


REM ---- Tracks ----


IF NOT 1==1 GOTO end_flac_tracks
    SET dest="C:\Music (EAC)\FLAC\Enya - The Memory Of Trees [1995]%trackDir%"
    IF NOT EXIST %dest% MKDIR %dest%
    PUSHD %dest%
        IF 0==1 SET VA_tag=-T $qalbum artist=Various Artists$q
        IF %embed_cover%==1 SET Cover_tag=--picture=$#x
        C:\PROGRA~1\REACT2\tools\acdir.exe --overwrite --output "%TrackName%.flac" --extra-opt "|image/jpeg|||C:\Music (EAC)\The Memory Of Trees.jpg" --pipe "TITLE $n/$N flac $#T & C:\PROGRA~1\REACT2\tools\flac.exe -6 -f %Cover_tag% %VA_tag% %Disc_Flac_acdir% -T artist=$#a -T album=$#T -T title=$#t -T tracknumber=$n/$N -T date=$q1995$q -T genre=$qCeltic$q -T comment=$qCreated with EAC/REACT2, 2008-08-04$q -T encoded-by=$q%USERNAME%$q -T encoding=$qFlac 1.2.1 -6 -f$q - -o $#o" "C:\Music (EAC)\Etmp!58)5-react.cue"
        IF %add_rg%==1 C:\PROGRA~1\REACT2\tools\Glob.exe -v -c C:\PROGRA~1\REACT2\tools\metaflac.exe %RG_MetaFlac% *.flac
        COPY /Y "C:\Music (EAC)\Enya - The Memory Of Trees [1995].log" .
        IF %have_cover%==1 COPY /Y "C:\Music (EAC)\The Memory Of Trees.jpg" "folder.jpg"
        IF EXIST "C:\Music (EAC)\The Memory Of Trees.[*].cue" COPY /Y "C:\Music (EAC)\The Memory Of Trees.[*].cue" .
    POPD
:end_flac_tracks


IF NOT 0==1 GOTO end_wavpack_tracks
    SET dest="C:\Music (EAC)\WV\Enya [1995] The Memory Of Trees%trackDir%"
    IF NOT EXIST %dest% MKDIR %dest%
    PUSHD %dest%
        IF 0==1 SET VA_tag=-w $qalbum artist=Various Artists$q
        C:\PROGRA~1\REACT2\tools\acdir.exe --overwrite --output "%TrackName%.wv" --pipe "C:\PROGRA~1\REACT2\tools\wavpack.exe -hmy %RG_Wavpack_acdir% %VA_tag% %Disc_Wavpack_acdir% -w artist=$#a -w album=$#T -w title=$#t -w track=$n/$N -w year=$q1995$q -w genre=$qCeltic$q -w comment=$qCreated with EAC/REACT2, 2008-08-04$q -w encodedby=$q%USERNAME%$q -w encodersettings=$qWavpack 4.40 -hmy$q - $#o" "C:\Music (EAC)\Etmp!58)5-react.cue"
        IF 1==1 IF 1==0 C:\PROGRA~1\REACT2\tools\wvgain.exe -a *.wv
        COPY /Y "C:\Music (EAC)\Enya - The Memory Of Trees [1995].log" "EAClog.txt"
        IF %have_cover%==1 COPY /Y "C:\Music (EAC)\The Memory Of Trees.jpg" "folder.jpg"
        IF EXIST "C:\Music (EAC)\The Memory Of Trees.[*].cue" COPY /Y "C:\Music (EAC)\The Memory Of Trees.[*].cue" .
    POPD
    TITLE "The Memory Of Trees"
:end_wavpack_tracks


IF NOT 0==1 GOTO end_tak_tracks
    SET dest="C:\Music (EAC)\TAK\Enya [1995] The Memory Of Trees%trackDir%"
    IF NOT EXIST %dest% MKDIR %dest%
    PUSHD %dest%
        IF 0==1 SET VA_tag=-t $qalbum artist=Various Artists$q
        C:\PROGRA~1\REACT2\tools\acdir.exe --overwrite --output "%TrackName%.wav" --extract "C:\Music (EAC)\Etmp!58)5-react.cue"
        C:\PROGRA~1\REACT2\tools\acdir.exe --exec "C:\PROGRA~1\REACT2\tools\takc.exe -e -overwrite -pN -overwrite $q%TrackName%.wav$q $q%TrackName%.tak$q && C:\PROGRA~1\REACT2\tools\tag.exe %RG_Tak_acdir% %VA_tag% %Disc_Tak_acdir% -t artist=$#a -t album=$#T -t title=$#t -t track=$n/$N -t year=$q1995$q -t genre=$qCeltic$q -t comment=$qCreated with EAC/REACT2, 2008-08-04$q -t encodedby=$q%USERNAME%$q -t encodersettings=$qTAK 1.0.1 -pN -overwrite$q $q%TrackName%.tak$q && DEL $q%TrackName%.wav$q" "C:\Music (EAC)\Etmp!58)5-react.cue"
        COPY /Y "C:\Music (EAC)\Enya - The Memory Of Trees [1995].log" "EAClog.txt"
        IF %have_cover%==1 COPY /Y "C:\Music (EAC)\The Memory Of Trees.jpg" "folder.jpg"
        IF EXIST "C:\Music (EAC)\The Memory Of Trees.[*].cue" COPY /Y "C:\Music (EAC)\The Memory Of Trees.[*].cue" .
    POPD
:end_tak_tracks


IF NOT 1==1 GOTO end_lame_tracks
    SET dest="C:\Music (EAC)\MP3\Enya - The Memory Of Trees [1995]%trackDir%"
    IF NOT EXIST %dest% MKDIR %dest%
    PUSHD %dest%
        IF 0==1 SET VA_tag=--user-text $q[album artist]Various Artists$q --frame $qTPE2:Various Artists$q
        IF %embed_cover%==1 SET Cover_tag=--pict $#x
        C:\PROGRA~1\REACT2\tools\acdir.exe --overwrite --output "%TrackName%.mp3" --extra-opt "{3}C:\Music (EAC)\The Memory Of Trees.jpg" --pipe "TITLE $n/$N mp3 $#T & C:\PROGRA~1\REACT2\tools\lame.exe -V4 --vbr-new --noreplaygain --nohist %ApplyAG_Lame% - $#o & C:\PROGRA~1\REACT2\tools\metamp3.exe %Cover_tag% %VA_tag% %Disc_MP3_acdir% --artist $#a --album $#T --title $#t --track $n/$N --year $q1995$q --genre $qCeltic$q --comment $qCreated with EAC/REACT2, 2008-08-04$q --frame TENC:$q%USERNAME%$q --frame TSSE:$qLAME 3.98 -V4 --vbr-new --noreplaygain --nohist$q $#o" "C:\Music (EAC)\Etmp!58)5-react.cue"
        IF %add_rg%==1 C:\PROGRA~1\REACT2\tools\metamp3.exe %RG_MetaMP3% *.mp3
        IF 1==1 C:\PROGRA~1\REACT2\tools\metamp3.exe %ApplyAG_MetaMP3% *.mp3
        COPY /Y "C:\Music (EAC)\Enya - The Memory Of Trees [1995].log" .
        IF %have_cover%==1 COPY /Y "C:\Music (EAC)\The Memory Of Trees.jpg" "folder.jpg"
    POPD
:end_lame_tracks


IF NOT 0==1 GOTO end_nero_aac_tracks
    SET dest="C:\Music (EAC)\AAC\Enya [1995] The Memory Of Trees%trackDir%"
    IF NOT EXIST %dest% MKDIR %dest%
    PUSHD %dest%
        IF 0==1 SET VA_tag=--albumArtist $qVarious Artists$q --compilation true
        IF %embed_cover%==1 SET Cover_tag=--artwork $#x
        C:\PROGRA~1\REACT2\tools\acdir.exe --overwrite --output "%TrackName%.m4a" --extra-opt "C:\Music (EAC)\The Memory Of Trees.jpg" --pipe "TITLE $n/$N aac $#T & C:\PROGRA~1\REACT2\tools\neroAacEnc.exe -lc -q 0.21 -ignorelength -if - -of $#o & C:\PROGRA~1\REACT2\tools\AtomicParsley.exe $#o -o REACT_tmp.m4a %Cover_tag% %VA_tag% %Disc_NeroAac_acdir% --artist $#a --album $#T --tracknum $n/$N --title $#t --year $q1995$q --genre $qCeltic$q --comment $qCreated with EAC/REACT2, 2008-08-04$q --encodingTool $qneroAacEnc 1.0.0.2 -lc -q 0.21$q & MOVE /Y REACT_tmp.m4a $#o" "C:\Music (EAC)\Etmp!58)5-react.cue"
        IF 1==1 C:\PROGRA~1\REACT2\tools\aacgain.exe %ApplyAG_AacGain% *.m4a > gainlog.txt
        REM COPY /Y "C:\Music (EAC)\Enya - The Memory Of Trees [1995].log" "EAClog.txt"
        IF %have_cover%==1 COPY /Y "C:\Music (EAC)\The Memory Of Trees.jpg" "folder.jpg"
    POPD
:end_nero_aac_tracks


IF NOT 1==1 GOTO end_oggenc_tracks
    SET dest="C:\Music (EAC)\OGG\Enya - The Memory Of Trees  [1995]%trackDir%"
    IF NOT EXIST %dest% MKDIR %dest%
    PUSHD %dest%
        IF 0==1 SET VA_tag=-c $qalbum artist=Various Artists$q
        C:\PROGRA~1\REACT2\tools\acdir.exe --overwrite --output "%TrackName%.ogg" --pipe "TITLE $n/$N ogg $#T & C:\PROGRA~1\REACT2\tools\oggenc2.exe -q 6.0 %RG_OggEnc2_acdir% %VA_tag% %Disc_OggEnc2_acdir% -c artist=$#a -c album=$#T -c title=$#t -c tracknumber=$n/$N -c date=$q1995$q -c genre=$qCeltic$q -c comment=$qCreated with EAC/REACT2, 2008-08-04$q -c encoded-by=$q%USERNAME%$q -c encoding=$qOggEnc 2.85 aoTuV b5.5 -q 6.0$q - -o $#o" "C:\Music (EAC)\Etmp!58)5-react.cue"
        IF 1==1 IF 1==0 C:\PROGRA~1\REACT2\tools\vorbisgain.exe -a *.ogg
        COPY /Y "C:\Music (EAC)\Enya - The Memory Of Trees [1995].log" .
        IF %have_cover%==1 COPY /Y "C:\Music (EAC)\The Memory Of Trees.jpg" "folder.jpg"
    POPD
:end_oggenc_tracks


REM ================ End Main Script ===================


IF 1==1 (
    PAUSE
    EXIT
)

REM ** Cleanup

DEL "C:\Music (EAC)\Etmp!58)5.wav"
DEL "C:\Music (EAC)\Enya - The Memory Of Trees [1995].log"
DEL "C:\Music (EAC)\Enya - The Memory Of Trees [1995].cue"
DEL "C:\Music (EAC)\The Memory Of Trees.[*].cue"
DEL "C:\Music (EAC)\The Memory Of Trees.jpg"

REM ** Delete this .bat file:
DEL %0


GOTO :EOF

REM Pause for 2000 milliseconds and return to :CheckForLog
:Pause
@ECHO Waiting for EAC log file...
PING 1.1.1.1 -n 1 -w 2000 >NUL
GOTO CheckForLog


-------------> EAC log file

Code: [Select]
REM REPLAYGAIN_ALBUM_GAIN -2.18 dB
REM REPLAYGAIN_ALBUM_PEAK 0.97723
REM REPLAYGAIN_ALBUM_SCALE 0.77804
Exact Audio Copy V0.99 prebeta 4 from 23. January 2008

EAC extraction logfile from 4. August 2008, 11:31

Enya / The Memory Of Trees

Used drive  : MATSHITAUJDA765aDVD/CDRW  Adapter: 0  ID: 1

Read mode              : Secure
Utilize accurate stream : Yes
Defeat audio cache      : No
Make use of C2 pointers : No

Read offset correction                      : 102
Overread into Lead-In and Lead-Out          : No
Fill up missing offset samples with silence : Yes
Delete leading and trailing silent blocks  : No
Null samples used in CRC calculations      : No
Used interface                              : Native Win32 interface for Win NT & 2000

Used output format              : User Defined Encoder
Selected bitrate                : 1024 kBit/s
Quality                        : High
Add ID3 tag                    : No
Command line compressor        : C:\Program Files\REACT2\REACT.exe
Additional command line options : REACT %o %s %d "%a" "%g" "%t" "%n" "%x" "%y" "%m" "%e" "%f" "%b" %r
Use compression offset          : 0


TOC of the extracted CD

    Track |  Start  |  Length  | Start sector | End sector
    ---------------------------------------------------------
        1  |  0:00.00 |  4:19.70 |        0    |    19494 
        2  |  4:19.70 |  3:59.35 |    19495    |    37454 
        3  |  8:19.30 |  4:59.50 |    37455    |    59929 
        4  | 13:19.05 |  3:42.07 |    59930    |    76586 
        5  | 17:01.12 |  2:22.65 |    76587    |    87301 
        6  | 19:24.02 |  4:49.60 |    87302    |  109036 
        7  | 24:13.62 |  4:48.48 |    109037    |  130684 
        8  | 29:02.35 |  2:43.32 |    130685    |  142941 
        9  | 31:45.67 |  3:18.25 |    142942    |  157816 
      10  | 35:04.17 |  3:38.18 |    157817    |  174184 
      11  | 38:42.35 |  5:09.10 |    174185    |  197369 


Range status and errors

Selected range

    Filename C:\Music (EAC)\Enya - The Memory Of Trees [1995].wav

    Peak level 97.7 %
    Range quality 99.9 %
    Copy CRC 10778AA6
    Copy OK

No errors occurred

 
AccurateRip summary
 
Track  1  accurately ripped (confidence 144)  [54BAC4DF]
Track  2  accurately ripped (confidence 149)  [FA619840]
Track  3  accurately ripped (confidence 148)  [0738ED88]
Track  4  accurately ripped (confidence 145)  [3E31DA7D]
Track  5  accurately ripped (confidence 147)  [0DA4164A]
Track  6  accurately ripped (confidence 148)  [8D76585A]
Track  7  accurately ripped (confidence 146)  [9BDD6555]
Track  8  accurately ripped (confidence 147)  [B2FBF93B]
Track  9  accurately ripped (confidence 147)  [7215C45E]
Track 10  accurately ripped (confidence 147)  [A68A5E24]
Track 11  accurately ripped (confidence 146)  [9E8E7206]
 
All tracks accurately ripped

End of status report

-------------------> REACT.ini

Code: [Select]
[Settings]
Version=2.0.ssb16
ImageExt=wav
ImageNaming=$artist$ - $album$ [$year$]
ImageHotKey={F10}
TracksHotKey={F4}
TracksHotVal=+{F5}
VA=Various Artists
CreateAllCuesheets=1
RunCoverDownloader=1
CoverDownloader=C:\Program Files\REACT2\coverdownloader\albumart.exe
CoverDownloaderXUI=1
EAC=C:\Program Files\Exact Audio Copy\EAC.exe
Tools=C:\Program Files\REACT2\tools
MinimizeCompressionWindow=1
ProcessPriority=1
Sla_Bks_Col_Qst_Bar_Quo_Ast_Lt_Gt=-|-|-||!|'|#|[|]
Test=0

[UserTrackFormats]
Flac=1
Wavpack=0
Tak=0
LameMP3=1
NeroAac=0
iTunesAac=0
OggEnc2=1

[UserOutputNames]
OutRoot=C:\Music (EAC)
ImageDir_Flac=@OutRoot@\FLAC-images\$cdartist$ - $album$ [$year]
ImageDir_Wavpack=@OutRoot@\WV-images\$cdartist$ [$year] $album$
ImageDir_Tak=@OutRoot@\TAK-images\$cdartist$ [$year] $album$
ImageDir_MP3=@OutRoot@\MP3-images\$cdartist$ [$year] $album$
TrackDir_Flac=@OutRoot@\FLAC\$cdartist$ - $album$ [$year$]
TrackDir_Wavpack=@OutRoot@\WV\$cdartist$ [$year$] $album$
TrackDir_Tak=@OutRoot@\TAK\$cdartist$ [$year$] $album$
TrackDir_MP3=@OutRoot@\MP3\$cdartist$ - $album$ [$year$]
TrackDir_AAC=@OutRoot@\AAC\$cdartist$ [$year$] $album$
TrackDir_OGG=@OutRoot@\OGG\$cdartist$ - $album$  [$year$]
TrackName_SA=$track$. $title$
TrackName_VA=$track$. $title$ [$artist$]
TrackName_SA_acdir=$n - $~t
TrackName_VA_acdir=$n - $~t [$~a]

[UserSettings]
Debug=1
Comment=Created with EAC/REACT2, @curdate@
EmbedCover=1
ReplayGain=1
ApplyAlbumGain=1
AdjustAlbumGain_dB=+3
AddCuesheetAG=1
UseWaveGainAG=1
Opt_Flac=-6 -f
Opt_Wavpack=-hmy
Opt_Tak=-pN -overwrite
Opt_LameMP3=-V4 --vbr-new --noreplaygain --nohist
Opt_NeroAac=-lc -q 0.21
Opt_iTunesAac=-d -s 2000
Opt_OggEnc2=-q 6.0
Ver_Flac=1.2.1
Ver_Wavpack=4.40
Ver_Tak=1.0.1
Ver_LameMP3=3.98
Ver_NeroAac=1.0.0.2
Ver_OggEnc2=2.85 aoTuV b5.5

[DefaultMetaData]
discnumber=1
totaldiscs=1
discname=

--------------> REACT-image.cfg

Code: [Select]
@ECHO OFF
CHCP 1252 | PROMPT
TITLE "@album@"

REM Copyright © Tycho, 2006
REM
REM ** Ripping to .wav image.
REM **
REM ** To archive a CD as one large "image", you must SET
REM ** ImageExt=... in the REACT.ini file (Press Alt-F2).
REM ** This will set the @ImageExt@ variable. Extensions
REM ** currently supported:  flac, wv, mp3. Set to 'wav'
REM ** for no image archiving (default).
REM **
REM ** Also creates tracks by encoding directly to tracks, using ACDIR.
REM **
REM ** Flac requires flac.exe/metaflac.exe (v1.1.3)
REM ** NeroAac requires NeroAacEnc.exe/NeroAacTag.exe/AacGain.exe.
REM ** OggEnc2 requires OggEnc2.exe/VorbisGain.exe.
REM **
REM ** I prefer applying album gain 92dB to get a reasonable
REM ** volume for my DAP. The RG tags are still relative
REM ** to 89dB SPL, i.e. album gain will be about -3.0dB.

REM ============== Begin Main Script ==================


IF @Debug@==1 ECHO ON

IF @various@==0 SET TrackName=@TrackName_SA_acdir@
IF @various@==1 SET TrackName=@TrackName_VA_acdir@

SET add_rg=@ReplayGain@
SET have_cover=0
SET embed_cover=0

IF NOT @ReplayGain@==1 GOTO end_RG
    SET RG_Flac=--replay-gain
    SET RG_MetaFlac=--add-replay-gain
    SET RG_MetaMP3=--replay-gain
:end_RG

IF NOT @ApplyAlbumGain@==1 GOTO end_apply_AG
    SET ApplyAG_MetaMP3=--apply-gain album@AdjustAlbumGain_dB@
    SET ApplyAG_AacGain=/a /o /c /d @AdjustAlbumGain_dB@
    SET add_rg=1
:end_apply_AG

IF EXIST "@cover@" (
    SET have_cover=1
    SET embed_cover=@EmbedCover@
)

IF @various@==0 (
    SET ArtistField=artist
    SET MP3Artist=--artist "@artist@"
) else (
    SET ArtistField=album artist
    SET MP3Artist=--user-text "[album artist]@VA@" --frame "TPE2:@VA@"
)


REM ** Create Disc-related tags if we have a set

REM If a disc name has been provided
IF "@discname@" EQU "" GOTO end_discname
SET discName=discname
SET discName=@%discname%@
IF "@discname@" EQU "%discName%" GOTO end_discname

    REM Set tagging switches
    SET Disc_Flac=-T "discname=@discname@"
    SET Disc_Wavpack=-w "discname=@discname@"
    REM SET Disc_MP3=--frame TSST:"@discname@"
    SET Disc_MP3=--frame "TXXX[setsubtitle]:@discname@"
    SET Disc_OggEnc2=-c "discname=@discname@"
    SET Disc_Tak=-t "discname=@discname@"
    SET Disc_Flac_acdir=-T $qdiscname=@discname@$q
    SET Disc_Wavpack_acdir=-w $qdiscname=@discname@$q
    REM SET Disc_MP3_acdir=--frame TSST:$q@discname@$q
    SET Disc_MP3_acdir=--frame $qTXXX[setsubtitle]:@discname@$q
    SET Disc_OggEnc2_acdir=-c $qdiscname=@discname@$q
    SET Disc_Tak_acdir=-t $qdiscname=@discname@$q

    REM Add disc name to image and track folder paths
    SET imageDir=%imageDir%\$discname$
    SET trackDir=%trackDir%\$discname$

    GOTO :end_discnumber

:end_discname

REM Ensure that we have numeric values
SET /A discNumber = @discnumber@ + 0
SET /A totalDiscs = @totaldiscs@ + 0

REM IF a valid disc number and total number of discs has been provided
IF %totalDiscs% LEQ 1 GOTO :end_discnumber
IF %discNumber% LEQ 0 GOTO :end_discnumber

    REM Set tagging switches
    SET Disc_Flac=-T "discnumber=@discnumber@" -T "totaldiscs=@totaldiscs@"
    SET Disc_Wavpack=-w "discnumber=@discnumber@" -w "totaldiscs=@totaldiscs@"
    SET Disc_MP3=--frame TPOS:"@discnumber@/@totaldiscs@"
    SET Disc_NeroAac=--disk "@discnumber@/@totaldiscs@"
    SET Disc_OggEnc2=-c "discnumber=@discnumber@" -c "totaldiscs=@totaldiscs@"
    SET Disc_Tak=-t "discnumber=@discnumber@" -t "totaldiscs=@totaldiscs@"
    SET Disc_Flac_acdir=-T $qdiscnumber=@discnumber@$q -T $qtotaldiscs=@totaldiscs@$q
    SET Disc_Wavpack_acdir=-w $qdiscnumber=@discnumber@$q -w $qtotaldiscs=@totaldiscs@$q
    SET Disc_MP3_acdir=--frame TPOS:$q@discnumber@/@totaldiscs@$q
    SET Disc_NeroAac_acdir=--disk $q@discnumber@/@totaldiscs@$q
    SET Disc_OggEnc2_acdir=-c $qdiscnumber=@discnumber@$q -c $qtotaldiscs=@totaldiscs@$q
    SET Disc_Tak_acdir=-t $qdiscnumber=@discnumber@$q -t $qtotaldiscs=@totaldiscs@$q

    REM Add disc number to image and track folder paths
    SET imageDir=%imageDir%\Disc @discnumber@
    SET trackDir=%trackDir%\Disc @discnumber@

:end_discnumber


SET run_wavegain=@UseWaveGainAG@
IF @AddCuesheetAG@==1 SET run_wavegain=1

IF %run_wavegain%==0 GOTO end_wavegain
    SET wg_tmp=wg_%RANDOM%
    @tools@\WaveGain.exe --album "@source@" --exec ECHO '%%ALBUM_GAIN%%'%%ALBUM_PEAK%%'%%ALBUM_NEW_PEAK%%'%%ALBUM_SCALE%%'> %wg_tmp%.txt
    FOR /F "usebackq tokens=1-6 delims='" %%a IN (%wg_tmp%.txt) DO (
        SET album_gain=%%b
        SET album_peak=%%c
        SET album_new_peak=%%d
        SET album_scale=%%e
    )
    ECHO REM REPLAYGAIN_ALBUM_GAIN %album_gain% dB> %wg_tmp%.rg
    ECHO REM REPLAYGAIN_ALBUM_PEAK %album_peak%>> %wg_tmp%.rg
    ECHO REM REPLAYGAIN_ALBUM_SCALE %album_scale%>> %wg_tmp%.rg
    REM DEL %wg_tmp%.txt
    REM TYPE "@eaclog@" >> %wg_tmp%.rg
    REM MOVE /Y %wg_tmp%.rg "@eaclog@"
:end_wavegain


REM ** Transfer RG values from Wavgain calculations, instead of recalculation.
IF @UseWaveGainAG@==1 IF %add_rg%==1 (
    SET RG_Flac=-T "replaygain_album_gain=%album_gain% dB" -T "replaygain_album_peak=%album_peak%"
    SET RG_MetaFlac=--set-tag="replaygain_album_gain=%album_gain% dB" --set-tag="replaygain_album_peak=%album_peak%"
    SET RG_Wavpack=-w "replaygain_album_gain=%album_gain% dB" -w "replaygain_album_peak=%album_peak%"
    SET RG_Wavpack_acdir=-w $qreplaygain_album_gain=%album_gain% dB$q -w $qreplaygain_album_peak=%album_peak%$q
    SET RG_Tak=-t "replaygain_album_gain=%album_gain% dB" -t "replaygain_album_peak=%album_peak%"
    SET RG_Tak_acdir=-t $qreplaygain_album_gain=%album_gain% dB$q -t $qreplaygain_album_peak=%album_peak%$q
    SET RG_MetaMP3=--user-text "[replaygain_album_gain]%album_gain% dB" --user-text "[replaygain_album_peak]%album_peak%"
    SET RG_OggEnc2_acdir=-c $qreplaygain_album_gain=%album_gain% dB$q -c $qreplaygain_album_peak=%album_peak%$q
)

REM ** Apply AlbumGain by using --scale <factor> computed from WaveGain. Only for MP3 and OGG.
IF @UseWaveGainAG@==1 IF @ApplyAlbumGain@==1 (
    SET ApplyAG_Lame=--scale %album_scale%
    SET ApplyAG_MetaMP3=--apply-gain @AdjustAlbumGain_dB@
    SET RG_MetaMP3=--user-text "[replaygain_album_gain]0.0 dB" --user-text "[replaygain_album_peak]%album_new_peak%"
    SET RG_OggEnc2_acdir=--scale %album_scale% -c $qreplaygain_album_gain=0.0 dB$q -c $qreplaygain_album_peak=%album_new_peak%$q
)


REM ---- Image ----


REM Ensure that the EAC log is available
:CheckForLog
IF NOT EXIST "@eaclog@" GOTO Pause

REM Add ReplayGain to front of log file
TYPE "@eaclog@" >> %wg_tmp%.rg
MOVE /Y %wg_tmp%.rg "@eaclog@"


IF NOT @ImageExt@==flac GOTO end_flac_image
    SET dest="@ImageDir_Flac@%imageDir%"
    IF NOT EXIST %dest% MKDIR %dest%
    IF %embed_cover%==1 SET Cover_tag=--picture="|image/jpeg|||@cover@"
    @tools@\flac.exe @Opt_Flac@ %RG_Flac% %Cover_tag% %Disc_Flac% -T "%ArtistField%=@cdartist@" -T album="@album@" -T totaltracks="@numtracks@" -T date="@year@" -T genre="@genre@" -T comment="@comment@" -T encoded-by="%USERNAME%" -T encoding="Flac @Ver_Flac@ @Opt_Flac@" --tag-from-file="cuesheet=@cuesheet@" --tag-from-file="eaclog=@eaclog@" "@source@" -o "@image@"
    MOVE /Y "@image@" %dest%
    MOVE /Y "@cuesheet@" %dest%
    IF %have_cover%==1 COPY /Y "@cover@" %dest%\"@basename@.jpg"
:end_flac_image


IF NOT @ImageExt@==wv GOTO end_wavpack_image
    SET dest="@ImageDir_Wavpack@%imageDir%"
    IF NOT EXIST %dest% MKDIR %dest%
    @tools@\wavpack.exe @Opt_Wavpack@ %RG_Wavpack% %Disc_Wavpack% -w "%ArtistField%=@cdartist@" -w album="@album@" -w totaltracks="@numtracks@" -w year="@year@" -w genre="@genre@" -w comment="@comment@" -w encodedby="%USERNAME%" -w encodersettings="Wavpack @Ver_Wavpack@ @Opt_Wavpack@" -w cuesheet="@@cuesheet@" -w eaclog="@@eaclog@" "@source@" "@image@"
    IF @ReplayGain@==1 IF @UseWaveGainAG@==0 @tools@\wvgain.exe -a "@image@"
    TITLE "@album@"
    MOVE /Y "@image@" %dest%
    MOVE /Y "@cuesheet@" %dest%
    IF %have_cover%==1 COPY /Y "@cover@" %dest%\"@basename@.jpg"
:end_wavpack_image


IF NOT @ImageExt@==tak GOTO end_tak_image
    SET dest="@ImageDir_Tak@%imageDir%"
    IF NOT EXIST %dest% MKDIR %dest%
    @tools@\takc.exe -e @Opt_Tak@ "@source@" "@image@"
    @tools@\tag.exe %RG_Tak% %Disc_Tak% -t "%ArtistField%=@cdartist@" -t album="@album@" -t totaltracks="@numtracks@" -t year="@year@" -t genre="@genre@" -t comment="@comment@" -t encodedby="%USERNAME%" -t encodersettings="TAK @Ver_Tak@ @Opt_Tak@" -f cuesheet="@cuesheet@" -f eaclog="@eaclog@" "@image@"
    MOVE /Y "@image@" %dest%
    MOVE /Y "@cuesheet@" %dest%
    IF %have_cover%==1 COPY /Y "@cover@" %dest%\"@basename@.jpg"
:end_tak_image


IF NOT @ImageExt@==mp3 GOTO end_lame_image
    SET dest="@ImageDir_MP3@%imageDir%"
    IF NOT EXIST %dest% MKDIR %dest%
    IF %embed_cover%==1 SET Cover_tag=--pict "{3}@cover@"
    @tools@\lame.exe @Opt_LameMP3@ %ApplyAG_Lame% "@source@" "@image@"
    @tools@\metamp3.exe %RG_MetaMP3% %Cover_tag% %Disc_MP3% %MP3Artist% --album "@album@" --track @numtracks@ --year "@year@" --genre "@genre@" --comment "@comment@" --frame TENC:"%USERNAME%" --frame TSSE:"LAME @Ver_LameMP3@ @Opt_LameMP3@" "@image@"
    IF @ApplyAlbumGain@==1 @tools@\metamp3.exe %ApplyAG_MetaMP3% "@image@"
    MOVE /Y "@image@" %dest%
    MOVE /Y "@cuesheet@" %dest%
    IF %have_cover%==1 COPY /Y "@cover@" %dest%\"@basename@.jpg"
:end_lame_image


REM ---- Tracks ----


IF NOT @Flac@==1 GOTO end_flac_tracks
    SET dest="@TrackDir_Flac@%trackDir%"
    IF NOT EXIST %dest% MKDIR %dest%
    PUSHD %dest%
        IF @various@==1 SET VA_tag=-T $qalbum artist=@VA@$q
        IF %embed_cover%==1 SET Cover_tag=--picture=$#x
        @tools@\acdir.exe --overwrite --output "%TrackName%.flac" --extra-opt "|image/jpeg|||@cover@" --pipe "TITLE $n/$N flac $#T & @tools@\flac.exe @Opt_Flac@ %Cover_tag% %VA_tag% %Disc_Flac_acdir% -T artist=$#a -T album=$#T -T title=$#t -T tracknumber=$n/$N -T date=$q@year@$q -T genre=$q@genre@$q -T comment=$q@comment@$q -T encoded-by=$q%USERNAME%$q -T encoding=$qFlac @Ver_Flac@ @Opt_Flac@$q - -o $#o" "@sourcecuesheet@"
        IF %add_rg%==1 @tools@\Glob.exe -v -c @tools@\metaflac.exe %RG_MetaFlac% *.flac
        COPY /Y "@eaclog@" .
        IF %have_cover%==1 COPY /Y "@cover@" "folder.jpg"
        IF EXIST "@albumfile@.[*].cue" COPY /Y "@albumfile@.[*].cue" .
    POPD
:end_flac_tracks


IF NOT @Wavpack@==1 GOTO end_wavpack_tracks
    SET dest="@TrackDir_Wavpack@%trackDir%"
    IF NOT EXIST %dest% MKDIR %dest%
    PUSHD %dest%
        IF @various@==1 SET VA_tag=-w $qalbum artist=@VA@$q
        @tools@\acdir.exe --overwrite --output "%TrackName%.wv" --pipe "@tools@\wavpack.exe @Opt_Wavpack@ %RG_Wavpack_acdir% %VA_tag% %Disc_Wavpack_acdir% -w artist=$#a -w album=$#T -w title=$#t -w track=$n/$N -w year=$q@year@$q -w genre=$q@genre@$q -w comment=$q@comment@$q -w encodedby=$q%USERNAME%$q -w encodersettings=$qWavpack @Ver_Wavpack@ @Opt_Wavpack@$q - $#o" "@sourcecuesheet@"
        IF @ReplayGain@==1 IF @UseWaveGainAG@==0 @tools@\wvgain.exe -a *.wv
        COPY /Y "@eaclog@" "EAClog.txt"
        IF %have_cover%==1 COPY /Y "@cover@" "folder.jpg"
        IF EXIST "@albumfile@.[*].cue" COPY /Y "@albumfile@.[*].cue" .
    POPD
    TITLE "@album@"
:end_wavpack_tracks


IF NOT @Tak@==1 GOTO end_tak_tracks
    SET dest="@TrackDir_Tak@%trackDir%"
    IF NOT EXIST %dest% MKDIR %dest%
    PUSHD %dest%
        IF @various@==1 SET VA_tag=-t $qalbum artist=@VA@$q
        @tools@\acdir.exe --overwrite --output "%TrackName%.wav" --extract "@sourcecuesheet@"
        @tools@\acdir.exe --exec "@tools@\takc.exe -e -overwrite @Opt_Tak@ $q%TrackName%.wav$q $q%TrackName%.tak$q && @tools@\tag.exe %RG_Tak_acdir% %VA_tag% %Disc_Tak_acdir% -t artist=$#a -t album=$#T -t title=$#t -t track=$n/$N -t year=$q@year@$q -t genre=$q@genre@$q -t comment=$q@comment@$q -t encodedby=$q%USERNAME%$q -t encodersettings=$qTAK @Ver_Tak@ @Opt_Tak@$q $q%TrackName%.tak$q && DEL $q%TrackName%.wav$q" "@sourcecuesheet@"
        COPY /Y "@eaclog@" "EAClog.txt"
        IF %have_cover%==1 COPY /Y "@cover@" "folder.jpg"
        IF EXIST "@albumfile@.[*].cue" COPY /Y "@albumfile@.[*].cue" .
    POPD
:end_tak_tracks


IF NOT @LameMP3@==1 GOTO end_lame_tracks
    SET dest="@TrackDir_MP3@%trackDir%"
    IF NOT EXIST %dest% MKDIR %dest%
    PUSHD %dest%
        IF @various@==1 SET VA_tag=--user-text $q[album artist]@VA@$q --frame $qTPE2:@VA@$q
        IF %embed_cover%==1 SET Cover_tag=--pict $#x
        @tools@\acdir.exe --overwrite --output "%TrackName%.mp3" --extra-opt "{3}@cover@" --pipe "TITLE $n/$N mp3 $#T & @tools@\lame.exe @Opt_LameMP3@ %ApplyAG_Lame% - $#o & @tools@\metamp3.exe %Cover_tag% %VA_tag% %Disc_MP3_acdir% --artist $#a --album $#T --title $#t --track $n/$N --year $q@year@$q --genre $q@genre@$q --comment $q@comment@$q --frame TENC:$q%USERNAME%$q --frame TSSE:$qLAME @Ver_LameMP3@ @Opt_LameMP3@$q $#o" "@sourcecuesheet@"
        IF %add_rg%==1 @tools@\metamp3.exe %RG_MetaMP3% *.mp3
        IF @ApplyAlbumGain@==1 @tools@\metamp3.exe %ApplyAG_MetaMP3% *.mp3
        COPY /Y "@eaclog@" .
        IF %have_cover%==1 COPY /Y "@cover@" "folder.jpg"
    POPD
:end_lame_tracks


IF NOT @NeroAac@==1 GOTO end_nero_aac_tracks
    SET dest="@TrackDir_AAC@%trackDir%"
    IF NOT EXIST %dest% MKDIR %dest%
    PUSHD %dest%
        IF @various@==1 SET VA_tag=--albumArtist $q@VA@$q --compilation true
        IF %embed_cover%==1 SET Cover_tag=--artwork $#x
        @tools@\acdir.exe --overwrite --output "%TrackName%.m4a" --extra-opt "@cover@" --pipe "TITLE $n/$N aac $#T & @tools@\neroAacEnc.exe @Opt_NeroAac@ -ignorelength -if - -of $#o & @tools@\AtomicParsley.exe $#o -o REACT_tmp.m4a %Cover_tag% %VA_tag% %Disc_NeroAac_acdir% --artist $#a --album $#T --tracknum $n/$N --title $#t --year $q@year@$q --genre $q@genre@$q --comment $q@comment@$q --encodingTool $qneroAacEnc @Ver_NeroAac@ @Opt_NeroAac@$q & MOVE /Y REACT_tmp.m4a $#o" "@sourcecuesheet@"
        IF @ApplyAlbumGain@==1 @tools@\aacgain.exe %ApplyAG_AacGain% *.m4a > gainlog.txt
        REM COPY /Y "@eaclog@" "EAClog.txt"
        IF %have_cover%==1 COPY /Y "@cover@" "folder.jpg"
    POPD
:end_nero_aac_tracks


IF NOT @OggEnc2@==1 GOTO end_oggenc_tracks
    SET dest="@TrackDir_OGG@%trackDir%"
    IF NOT EXIST %dest% MKDIR %dest%
    PUSHD %dest%
        IF @various@==1 SET VA_tag=-c $qalbum artist=@VA@$q
        @tools@\acdir.exe --overwrite --output "%TrackName%.ogg" --pipe "TITLE $n/$N ogg $#T & @tools@\oggenc2.exe @Opt_OggEnc2@ %RG_OggEnc2_acdir% %VA_tag% %Disc_OggEnc2_acdir% -c artist=$#a -c album=$#T -c title=$#t -c tracknumber=$n/$N -c date=$q@year@$q -c genre=$q@genre@$q -c comment=$q@comment@$q -c encoded-by=$q%USERNAME%$q -c encoding=$qOggEnc @Ver_OggEnc2@ @Opt_OggEnc2@$q - -o $#o" "@sourcecuesheet@"
        IF @ReplayGain@==1 IF @UseWaveGainAG@==0 @tools@\vorbisgain.exe -a *.ogg
        COPY /Y "@eaclog@" .
        IF %have_cover%==1 COPY /Y "@cover@" "folder.jpg"
    POPD
:end_oggenc_tracks


REM ================ End Main Script ===================


IF @Debug@==1 (
    PAUSE
    EXIT
)

REM ** Cleanup

DEL "@source@"
DEL "@eaclog@"
DEL "@cuesheet@"
DEL "@albumfile@.[*].cue"
DEL "@cover@"

REM ** Delete this .bat file:
DEL %0


GOTO :EOF

REM Pause for 2000 milliseconds and return to :CheckForLog
:Pause
@ECHO Waiting for EAC log file...
PING 1.1.1.1 -n 1 -w 2000 >NUL
GOTO CheckForLog
Title: REACT 2 Released
Post by: gsa999 on 2008-07-31 08:49:18
I think I am finally ready to rip my cd collection. However having done a lot of testing I have noticed some discrepencies with the results I am getting from replaygain=1 in the react.ini (note I am not using applyalbumgain or usewavegainAG for the mp3s).

I am ripping to flac image, flac tracks and mp3 tracks. The results for album and track gain in the resulting flac image, flac tracks and mp3 tracks are not consistent with each other and I thought they would be since they are all being rg at the same time.

I also did a seperate test on one of the albums by using the foobar rg feature and whilst the album and track gains were close to what I am getting with react, the peaks were completely different.

So my question - which is the more reliable way to RG the flac image, and two types of tracks - react or foobar (or is there something that is better than both). If foobar then I would just disable rg in the react.ini and run the image and tracks through foobar afterwards.

Thanks
Title: REACT 2 Released
Post by: dewey1973 on 2008-07-31 15:49:08
I'm experiencing some weirdness with Various Artist albums.  I ran in debug mode and what I've found is that even though EAC shows the Various Artists check box checked, the @various@ variable is passed as 0.

The files end up being stored in a folder named with the first track artist instead of Various or Various Artists.

How do I fix this?


So I came up with my own kludgey hack to at least get the results I am looking for.

I made copies of REACT.ini and REACT-image.cfg and forced them to treat VA albums the way I want them treated.  I changed the destination folders in the ini and ripped out the IF statements in the cfg so the code only runs the VA portion.  That way it doesn't matter what EAC thinks the album is.

I saved these files as REACT.ini.va and REACT-image.cfg.va.  Then I wrote a DOS batch script to rename the active ini and cfg to ini.sa and cfg.sa and remove the va from the other two files.  I wrote another to do the opposite.

So when I want to rip a VA album I run the batch file so that REACT uses the VA configuration.  When I'm done, I run the SA batch to go back to normal operations.

Pretty ugly...  But it gives me what I want.
Title: REACT 2 Released
Post by: gsa999 on 2008-08-01 07:29:52
So my question - which is the more reliable way to RG the flac image, and two types of tracks - react or foobar (or is there something that is better than both).

I have just done some more testing on this and thought I would use wavegain to produce the rg information in react rather than let flac and metamp3 calculate it seperately. However I notice it has not produced track peak and track gain data. Is this normal. I also notice that the album peak and album gain data is different to what foobar rg generated.

My settings are
Code: [Select]
ReplayGain=1
ApplyAlbumGain=0
AdjustAlbumGain_dB=+3.0
AddCuesheetAG=1
UseWaveGainAG=1

I am really looking for a view from someone who understands this rg stuff a lot better than me as to whether foobar is more accurate than wavegain or not!

Thanks
Title: REACT 2 Released
Post by: Akkurat on 2008-08-02 00:00:28
I think I am finally ready to rip my cd collection. However having done a lot of testing I have noticed some discrepencies with the results I am getting from replaygain=1 in the react.ini (note I am not using applyalbumgain or usewavegainAG for the mp3s).

I am ripping to flac image, flac tracks and mp3 tracks. The results for album and track gain in the resulting flac image, flac tracks and mp3 tracks are not consistent with each other and I thought they would be since they are all being rg at the same time.

I also did a seperate test on one of the albums by using the foobar rg feature and whilst the album and track gains were close to what I am getting with react, the peaks were completely different.

Ok, I'm trying to answer something for this.. disclaimer: I'm not so familiar with RG.

I ripped one of my CDs to flac image & tracks + mp3 tracks and I looked at the RG values in mp3tag. Here's a screenshot:
[a href="http://img53.imageshack.us/my.php?image=rgvaluesrp3.png" target="_blank"] (I've been working really hard for the next REACT release, it was supposed to come out last weekend but I was on a roll and decided to crush more things off my ToDo list... it's going to be a HUUUUUGE update.. I just started with the last thing; Various problems.. after that, it's release time!)
Title: REACT 2 Released
Post by: Akkurat on 2008-08-02 01:31:05
Hi, your post is a bit long.. but I'll try to answer the best I can..

1) Setting replaygain to '1' only seems to produce replaygain for the flac files and not the MP3 or Ogg files for the same album. How do I get it to apply the same replaygain settings calculated for the flac files into the ogg & mp3 tags?

You have "ApplyAlbumGain=1" setting in INI -> the gain is applied to Mp3s and thus not written to tags. I don't know about the Ogg though.. somebody else?

First clarify what do you want, the RG values in tags and/or applied to the lossy formats?

1a) Even though I asked it to, REACT did not add any replaygain info to the cue sheets.

This is done only in image mode ripping.. and only to the image cuesheet. Please read carefully the REACT (http://wiki.hydrogenaudio.org/index.php?title=REACT) Wiki page.

2a) If I put the album art only in the (album) folder will media players such as an iPod (Classic v5) or XBMC (XBOX Media Centre) pick up the art when playing playlists or in random order?

No clue.. but why on earth you wouldn't want to also embed the images? Hard disk space? It's cheap.. and honestly you can't find BIG cover images... or good quality for the matter, covers are always rotated, have spots & stuff, etc. (that's why I've to at least edit the covers.. or scan them myself if there's not even decent ones to edit).

3) I assume that REACT automatically complete the tags and it thus need not be specified in the flac, ogg or mp3 options?

Answer would be yes... to a certain point.. what tags do you want? All the basic tags are written, but if you want some special tags, you're going to have to amend the cfg's. If you're familiar with Dos batch programming language, you can open up the REACT-track.cfg file and see yourself what tags are written. Or use mp3tag program for user friendly way to peruse the written tags.

3a) I noticed that foobar would recognise the total number of tracks (xx/yy) but only for ogg and flac files. Am I missing a setting for the MP3 tracks or does the MP3 tags not allow/cater for this?

You can check the mp3 files with mp3tag program.. I get "track/numtracks" in my Mp3 files.. maybe it's the foobar..?

4) Is it possible to rename the EAC logfile to "album + EACLogfile"?

Yes. Again you need to know the Dos batch language ir order to do this. Amend your REACT-track.cfg file.

Here's an example (for all formats): find the COPY /Y "@eaclog@" "EAClog.txt" string(s) in the REACT-track.cfg and change them to:
Code: [Select]
COPY /Y "@eaclog@" "$album$ EAClog.txt"


5) Is it possible to produce a logfile of the actual Ogg and MP3 encoding results? (Is this debug mode?)

No it's not debug mode. If the Ogg (oggenc2.exe) and Mp3 (lame.exe) can produce such logs, then it's possible.. see the manuals for Ogg and Mp3 for such feature.

7) Do I still have to submit my results to accurate rip or is that also automated?

The submit results window will come up once per month (IIRC).

8) How do I make the files read-only so the media players cannot alter any of the files?

You can do this by ATTRIB. Note though that the read-only attribute can be overridden, so it's not a foolproof method.

In flac post-processing section of REACT-track.cfg file:
Code: [Select]
IF @Flac@==1 (
    PUSHD %TrackDir_Flac%
        IF %add_rg%==1 @tools@\Glob.exe -v -c @tools@\metaflac.exe %RG_MetaFlac% *.flac
        COPY /Y "@eaclog@" "EAClog.txt"
        IF EXIST "@albumfile@.[*].cue" COPY /Y "@albumfile@.[*].cue" .

        REM ** Add read-only attribute to all files in the destination folder and it's subfolders.
        ATTRIB +R *.* /S
    POPD
)


Ps. I use XP Pro SP3, EAC V0.99 pb4, REACT2, flac 1.2.1, lame 3.98 and oggenc 2.85

I hope you have downloaded and installed a newer mod of REACT (http://wiki.hydrogenaudio.org/index.php?title=REACT:Mods)?
Title: REACT 2 Released
Post by: gsa999 on 2008-08-02 08:26:54
As you can see, the gain values are pretty same for all (if your values differ about the same, I wouldn't worry), but the mp3 peak values differ from flacs. I'm curious about why this is happening.

Thanks for the reply Akkurat.
Yes this is very similar to what I am seeing as well. Gain values close but not exactly the same but peak values differ wildly. I don't understand the technicalities of RG at all either. I just don't want to rip all my collection with incorrect RG tags.

I did post a follow up to my original post where I used wavegain to create the tags but for some reason it only creates album rg info and not track rg info. Any ideas why this would be?

Thx
Title: REACT 2 Released
Post by: Akkurat on 2008-08-02 18:14:25
Yes this is very similar to what I am seeing as well. Gain values close but not exactly the same but peak values differ wildly. I don't understand the technicalities of RG at all either. I just don't want to rip all my collection with incorrect RG tags.

I tried to search a bit for information on this issue but got absolutely nothing.. maybe I'm crap at searching (or I'm far too lazy to read all the threads which have "replaygain", "peak", "above", etc. words... why oh why people doesn't use proper topic titles?). Maybe you could ask this in MP3 forum?

I did post a follow up to my original post where I used wavegain to create the tags but for some reason it only creates album rg info and not track rg info. Any ideas why this would be?

Missed that.

REACT (http://wiki.hydrogenaudio.org/index.php?title=REACT): "UseWaveGainAG = Instruct to use WaveGain to calculate AlbumGain values on the wav image file. The values will be transferred to the various compressed formats, rather than calculating them via other tools. ..."

It can't calculate track values from an image.
Title: REACT 2 Released
Post by: Paul Burger on 2008-08-04 11:55:50
Thanks for the response.

Quote
You have "ApplyAlbumGain=1" setting in INI -> the gain is applied to Mp3s and thus not written to tags. I don't know about the Ogg though.. somebody else?

First clarify what do you want, the RG values in tags and/or applied to the lossy formats?


I did not realise the gain is actually applied. I thought it would only be written to the tags. Do you apply the album or track gain?

No clue.. but why on earth you wouldn't want to also embed the images? Hard disk space? It's cheap.. and honestly you can't find BIG cover images... or good quality for the matter, covers are always rotated, have spots & stuff, etc. (that's why I've to at least edit the covers.. or scan them myself if there's not even decent ones to edit).


It seems that foobar does not support embedded album art and would thus need to use the folder.jpg. So you would need both, but at the moment as I understand REACT can only do the one or the other, not both. Is this correct?


I hope you have downloaded and installed a newer mod of REACT (http://wiki.hydrogenaudio.org/index.php?title=REACT:Mods)?

I'm in fact already using the latest download, just forgot to update the ini file.

Thanks again for all your help and pointers.

Regards
Paul
Title: REACT 2 Released
Post by: lipidicman on 2008-08-04 12:52:13
This may be an EAC problem but my latest cuesheet has come out as if for a single file.  React has ripped the files as tracks.  The name of the single file in the cuesheet is "Range.WAV".  What did I do wrong?  And is the cause EAC or REACT?

Reading a bit.  Range.wav is what you get when you do a single file cuesheet, so I guess the question becomes why I have I got this rather than my usual 'noncompliant' sheet?
Title: REACT 2 Released
Post by: Akkurat on 2008-08-04 13:03:42
This may be an EAC problem but my latest cuesheet has come out as if for a single file.  React has ripped the files as tracks.  The name of the single file in the cuesheet is "Range.WAV".  What did I do wrong?  And is the cause EAC or REACT?

1) Which mod are you using?
2) Which cuefile came out as "S" cue? (REACT.cue or one of the other 4 cuefiles generated when "CreateAllCuesheets=1")
3) Can you reproduce this problem with the same CD?

Let's start with those.


@Paul Burger: Please try to fix your quotes.. also there's no need to quote if you're only answering thanks/sorry, I counted at least 7 quotes/answers falling into this category. EDIT: IIRC, the forum software goes wonky when using several nested quotes (there was some kind of limit I also encountered a while ago).. so, your syntax could be correct.. just cut down the quotes AND nested quotes especially.
Title: REACT 2 Released
Post by: lipidicman on 2008-08-04 13:12:01
1) Which mod are you using?
2) Which cuefile came out as "S" cue? (REACT.cue or one of the other 4 cuefiles generated when "CreateAllCuesheets=1")
3) Can you reproduce this problem with the same CD?


1.  One of synthetic soul's later ones (I'm not at the machine right now!)
2.  I don't know.  I only ever have it grab the non-compliant one.
3.  I don't have access to the CD anymore.

Its no big problem as I can convert the cuesheet using this knowledge:
http://wiki.hydrogenaudio.org/index.php?title=EAC_CUE_Sheets (http://wiki.hydrogenaudio.org/index.php?title=EAC_CUE_Sheets)

I was just wondering how it could happen.
Title: REACT 2 Released
Post by: Akkurat on 2008-08-04 13:33:27
1.  One of synthetic soul's later ones (I'm not at the machine right now!)
I was just wondering how it could happen.

There, that's why it happened. I hate to say but this is exactly the case what could happen when I wrote a while ago why everyone (who creates cuesheets) should update to my mod.. I guess people didn't take that too seriously.

The problem is that the mod is not able to "catch" one EAC window during the gap/indices detection AND messes up the cuefile renaming = wrong cuefiles.. but NO visible errors! That's why I said that it's a really BAD problem.
Title: REACT 2 Released
Post by: lipidicman on 2008-08-04 13:36:49
Ah, I'm clearly out of date and need to overhaul my installation.  I just need the time to catch up on this monster thread!

As a start: Where do I get your mods?
Title: REACT 2 Released
Post by: Akkurat on 2008-08-04 13:45:20
As a start: Where do I get your mods?

Really? Where you got the other mod? REACT:Mods (http://wiki.hydrogenaudio.org/index.php?title=REACT:Mods)  I'm about to release a BIG update soon (next weekend perhaps).
Title: REACT 2 Released
Post by: lipidicman on 2008-08-04 13:48:39
Really? Where you got the other mod?

Cheers.  (SS used to PM me his mods.  I prompted him to start by badgering him for the additional metadata feature)
I'll wait until the update then!
Title: REACT 2 Released
Post by: Paul Burger on 2008-08-04 13:55:20
Ah, I'm clearly out of date and need to overhaul my installation.  I just need the time to catch up on this monster thread!

As a start: Where do I get your mods?


You can get the link to his mod a his post to me a little higher up on this page.

I agree about this being a monster thread. It takes you days to find anything in this thread. A lot of it should be extracted and included in a How To/FAQ page.

Regards
Paul
Title: REACT 2 Released
Post by: Akkurat on 2008-08-04 14:05:01
I did not realise the gain is actually applied. I thought it would only be written to the tags. Do you apply the album or track gain?

As for the Mp3's, it's the album gain.

It seems that foobar does not support embedded album art and would thus need to use the folder.jpg. So you would need both, but at the moment as I understand REACT can only do the one or the other, not both. Is this correct?

No, REACT will always create the folder.jpg to the directory.

REACT (http://wiki.hydrogenaudio.org/index.php?title=REACT): "EmbedCover = Select if you want your cover pictures embeded into the audio files, or only copied to the target directory as 'folder.jpg'." Note the "OR ONLY" part.

I'm in fact already using the latest download, just forgot to update the ini file.

Update the ini file? Are you meaning the "Version=" setting? You don't have to change that (or rather should not.. although currently it doesn't matter.. but maybe in the future).

EDIT:
Quote
I agree about this being a monster thread. It takes you days to find anything in this thread. A lot of it should be extracted and included in a How To/FAQ page.

Yep, a monster, I still remember the time I read this thread from the start to the end. Akkurat still pining for the dedicated REACT forum.. but the "Masters of the Universe" are reluctant to make this happen. News at eleven!
Title: REACT 2 Released
Post by: Paul Burger on 2008-08-04 14:11:36
Update the ini file? Are you meaning the "Version=" setting? You don't have to change that (or rather should not.. although currently it doesn't matter.. but maybe in the future).

Yes, I'm referring to the ini file. I thought that's where you picked up that I might be running and old(er) mod.

I'll change it back and just add a REM for myself so I can keep track of which version I'm using.

Thanks again for all your good work, help and advice.

Regards
Paul
Title: REACT 2 Released
Post by: Akkurat on 2008-08-04 14:19:36
Yes, I'm referring to the ini file. I thought that's where you picked up that I might be running and old(er) mod.

I'll change it back and just add a REM for myself so I can keep track of which version I'm using.

No I picked that up from your "Ps. I use XP Pro SP3, EAC V0.99 pb4, REACT2, flac 1.2.1, lame 3.98 and oggenc 2.85" line.

IIRC, you shouldn't use REM for commenting out INI files, use semicolon (  ;  ) instead.. just to be safe.

EDIT: aah, you were fast to stroke that out.. anyways, use the semicolon if you like.

EDIT2: Forgot to mention that starting from the next version, the INI and the program version will be synchronized (even if there's no update to the INI file).
Title: REACT 2 Released
Post by: gsa999 on 2008-08-06 10:42:07
I want to add a specific comment into my flac and mp3 files along the lines of:

"Listened to" NO

Once I have listened to the tracks, to check the they are OK I'll use MP3Tag to get rid of the comment. Having "NO" in a special comment field called "Listened to" enables me to easily find the albums I have not yet listened to on my DAP or Squeezebox.

How can I add this into the flac and mp3 tracks section of REACT-image.cfg (I am also creating a FLAC image at same time)

Thanks
Title: REACT 2 Released
Post by: Synthetic Soul on 2008-08-06 11:19:58
In the FLAC tracks section add -T $qListened to=NO$q to the call to ACDIR (look near the end of the command):

Code: [Select]
@tools@\acdir.exe --overwrite --output "%TrackName%.flac" --extra-opt "|image/jpeg|||@cover@" --pipe "TITLE $n/$N flac $#T & @tools@\flac.exe @Opt_Flac@ %Cover_tag% %VA_tag% %Disc_Flac_acdir% -T artist=$#a -T album=$#T -T title=$#t -T tracknumber=$n/$N -T date=$q@year@$q -T genre=$q@genre@$q -T comment=$q@comment@$q -T encoded-by=$q%USERNAME%$q -T encoding=$qFlac @Ver_Flac@ @Opt_Flac@$q -T $qListened to=NO$q - -o $#o" "@sourcecuesheet@"

In the MP3 tracks section add --frame $qTXXX[Listened to]:NO$q to the call to ACDIR (look near the end of the command):

Code: [Select]
@tools@\acdir.exe --overwrite --output "%TrackName%.mp3" --extra-opt "{3}@cover@" --pipe "TITLE $n/$N mp3 $#T & @tools@\lame.exe @Opt_LameMP3@ %ApplyAG_Lame% - $#o & @tools@\metamp3.exe --fit %Cover_tag% %VA_tag% %Disc_MP3_acdir% --artist $#a --album $#T --title $#t --track $n/$N --year $q@year@$q --genre $q@genre@$q --comment $q@comment@$q --frame $qTXXX[Listened to]:NO$q $#o" "@sourcecuesheet@"

NB: I am unsure about using TXXX frames, but I believe the above should work.
Title: REACT 2 Released
Post by: dewey1973 on 2008-08-06 23:45:16
I've noticed something new in regard to the EAC Log.  It seems that if I am ripping albums in quick succession and I start the new rip before the REACT script applies the earlier album's log to the tag, the log file for the earlier album gets deleted.  Then when the script gets to the point that it needs the log, the log is gone.

I can obviously fix this by making sure I don't start a new rip until after the preceding script applies the log, but I was wondering if this could be fixed programmatically.  If it is EAC that is deleting the log (not REACT) I was thinking that REACT could save a backup copy of the log then check to see if the log exists (the first check is too early) and if it doesn't use the backup log.

I use Image + Track (F10).
Title: REACT 2 Released
Post by: gsa999 on 2008-08-07 08:01:43
In the FLAC tracks section add -T $qListened to=NO$q to the call to ACDIR (look near the end of the command):
In the MP3 tracks section add --frame $qTXXX[Listened to]:NO$q to the call to ACDIR (look near the end of the command):
Many thanks for this Synthetic Soul. Both worked perfectly
Title: REACT 2 Released
Post by: Akkurat on 2008-08-07 14:33:13
I've noticed something new in regard to the EAC Log.  It seems that if I am ripping albums in quick succession and I start the new rip before the REACT script applies the earlier album's log to the tag, the log file for the earlier album gets deleted.  Then when the script gets to the point that it needs the log, the log is gone.

I can obviously fix this by making sure I don't start a new rip until after the preceding script applies the log, but I was wondering if this could be fixed programmatically.  If it is EAC that is deleting the log (not REACT) I was thinking that REACT could save a backup copy of the log then check to see if the log exists (the first check is too early) and if it doesn't use the backup log.

I use Image + Track (F10).

The logfile deletion is done by REACT.. all remaining logfiles (*.log) are deleted from the temp folder (EAC: use this directory) before starting a rip (image & track). I changed to this because the older code only tried to delete log files created with older than EAC 0.99 versions and I did not foresee this situation you are in now. I'll try to fix this for the next version (which I was planning to release this weekend).. I have to deal with the VA problems first (I think I got a perfect solution for all the VA problems), so it could be that this will be postponed to the version after that.


And I just recently found out that there's a possible problem with the "submit AccurateRip results" window popping up after the rip AND thus preventing REACT to advance the "ripping window" to the "status window" -> logfile is NOT created until the "Submit AccurateRip Results" window is closed!

And the problems are:
1) In track config, there's currently no pause/wait for logfile.
2) In image & track mode: if the logfile is created by older than EAC 0.99 version or the created logfile has the "double quote/apostrophe" characters issue, the excellent Synthetic Soul's "logfile guessing" code will not be executed (because there's no logfiles to guess from) and the @eaclog@ token file reference will be wrong. -> in image config: the "pause for eaclog" will loop forever, and in track config: the eaclog is not copied to the destination folder (if set that way, i.e. user has removed the "REM" from the copy lines).

I've 2-3 possible solutions:

1) Make REACT wait for the closing of the "submit AccurateRip results" window before continuing.
= image mode: the batch processing will not start until the "submit AR results" is closed, and in track mode: the last track batch processing will not start until the "submit AR results" is closed.

2) REACT automatically detects the "submit AccurateRip results" window and sends the results automatically and closes the window. = no user actions required and only a small delay before the batch processing starts. (I don't know what would happen if the submit fails or how many different situations there could be in that window.. I haven't had the time to test these out yet.)

3) Read AR info from the registry (if that's possible, I haven't checked this out yet) and launch the "submit AccurateRip results" window before the rip on the day the window is scheduled to popup. = User has (or is given the chance) to deal with the submit process by him/herself.

I'd prefer to try these out in this order: 3 1 2.

Now is your chance to make your voice heard; what would be the best solution? (you can make new ideas of course)
Title: REACT 2 Released
Post by: removablebrain on 2008-08-08 23:25:23
I've noticed that my gap info isn't getting parsed somehow. If I let REACT handle the process w/ F4, this is what I get in my log file:

Gap handling : Not detected, thus appended to previous track

During the process, EAC's main screen show no Gap info either.

If I use EAC directly w/o REACT and Detect Gaps ~ my info IS shown in the main screen.

Any help would be appreciated.

Using akkrat's mod.

REACT.ini
Code: [Select]
[Settings]
Version=2.0.ssb16
ImageExt=wav
ImageNaming=$artist$ - $album$
ImageHotKey={F10}
TracksHotKey={F4}
TracksHotVal=+{F6}
VA=Various
CreateAllCuesheets=1
RunCoverDownloader=1
CoverDownloader=C:\Program Files\AlbumArtDownloader\AlbumArt.exe
CoverDownloaderXUI=1
EAC=C:\Program Files\Exact Audio Copy\EAC.exe
Tools=C:\Program Files\REACT2\tools
MinimizeCompressionWindow=0
ProcessPriority=1
Sla_Bks_Col_Qst_Bar_Quo_Ast_Lt_Gt=-|-|-||!|'|#|[|]
Test=1

[UserTrackFormats]
Flac=0
Wavpack=0
LameMP3=1
NeroAac=0
iTunesAac=0
OggEnc2=0

[UserOutputNames]
OutRoot=D:\Rips-Audio
ImageDir_Flac=@OutRoot@\$cdartist$ - $album$ (FLAC)
ImageDir_Wavpack=@OutRoot@\WV-images\$cdartist$
ImageDir_MP3=@OutRoot@\$cdartist$ - $album$ (V0)
TrackDir_Flac=@OutRoot@\$cdartist$ - $album$ (FLAC)
TrackDir_Wavpack=@OutRoot@\WV\$cdartist$\[$year$] $album$
TrackDir_MP3=@OutRoot@\$cdartist$ - $album$ (V0)
TrackDir_AAC=@OutRoot@\AAC\$cdartist$\[$year$] $album$
TrackDir_OGG=@OutRoot@\OGG\$cdartist$\[$year$] $album$
TrackName_SA=$track$ - $title$
TrackName_VA=$track$ - $artist$ - $title$
TrackName_SA_acdir=$n - $~t
TrackName_VA_acdir=$n - $~t [$~a]

[UserSettings]
Debug=0
Comment=
EmbedCover=1
ReplayGain=1
ApplyAlbumGain=1
AdjustAlbumGain_dB=+0
AddCuesheetAG=0
UseWaveGainAG=0
Opt_Flac=-8 -f
Opt_Wavpack=-hmy
Opt_LameMP3=-V0 --vbr-new --noreplaygain --nohist
Opt_NeroAac=-lc -q 0.21
Opt_iTunesAac=-d -s 2000
Opt_OggEnc2=-q 3.0
Ver_Flac=1.1.3
Ver_Wavpack=4.40
Ver_LameMP3=3.97
Ver_NeroAac=1.0.0.2
Ver_OggEnc2=2.83 Lancer aoTuV b5

[DefaultMetaData]
discnumber=1
totaldiscs=1
discname=

Track.cfg
Code: [Select]
@ECHO OFF
CHCP 1252 | PROMPT
TITLE @track@/@numtracks@ - "@album@"

REM Copyright © Tycho, 2006
REM
REM ** Create compressed audio tracks from ripped .wav tracks.
REM **
REM ** You may consider using image mode (F10)
REM ** as it supports creating tracks via acdir.exe,
REM ** and post-processing will always work (see below).
REM **
REM ** Flac requires flac.exe/metaflac.exe (v1.1.3)
REM ** NeroAac requires NeroAacEnc.exe/NeroAacTag.exe/AacGain.exe.
REM ** OggEnc2 requires OggEnc2.exe/VorbisGain.exe.
REM **
REM ** I prefer applying album gain 92dB to get a reasonable
REM ** volume for my DAP. The RG tags are still relative
REM ** to 89dB SPL, i.e. album gain will be about -3.0dB.


REM ============== Begin Main Script ==================


IF @Debug@==1 ECHO ON

REM ** Workaround for multi-processing, added by nago.
ECHO > processing[@track@].tmp

REM ** Create Disc-related tags if we have a set

REM If a disc name has been provided
IF "@discname@" EQU "" GOTO end_discname
SET discName=discname
SET discName=@%discname%@
IF "@discname@" EQU "%discName%" GOTO end_discname

REM Set tagging switches
SET Disc_Flac=-T "discname=@discname@"
SET Disc_Wavpack=-w "discname=@discname@"
REM SET Disc_MP3=--frame TSST:"@discname@"
SET Disc_MP3=--frame "TXXX[setsubtitle]:@discname@"
SET Disc_OggEnc2=-c "discname=@discname@"
SET Disc_Tak=-t "discname=@discname@"

REM Add disc name to folder path
SET trackDir=%trackDir%\$discname$

GOTO :end_discnumber

:end_discname

REM Ensure that we have numeric values
SET /A discNumber = @discnumber@ + 0
SET /A totalDiscs = @totaldiscs@ + 0

REM IF a valid disc number and total number of discs has been provided
IF %totalDiscs% LEQ 1 GOTO :end_discnumber
IF %discNumber% LEQ 0 GOTO :end_discnumber

REM Set tagging switches
SET Disc_Flac=-T "discnumber=@discnumber@" -T "totaldiscs=@totaldiscs@"
SET Disc_Wavpack=-w "discnumber=@discnumber@" -w "totaldiscs=@totaldiscs@"
SET Disc_MP3=--frame TPOS:"@discnumber@/@totaldiscs@"
SET Disc_NeroAac=--disk "@discnumber@/@totaldiscs@"
SET Disc_OggEnc2=-c "discnumber=@discnumber@" -c "totaldiscs=@totaldiscs@"
SET Disc_Tak=-t "discnumber=@discnumber@" -t "totaldiscs=@totaldiscs@"

REM Add disc number to folder path
SET trackDir=%trackDir%\Disc @discnumber@

:end_discnumber

SET TrackDir_Flac="@TrackDir_Flac@%trackDir%"
SET TrackDir_Wavpack="@TrackDir_Wavpack@%trackDir%"
SET TrackDir_MP3="@TrackDir_MP3@%trackDir%"
SET TrackDir_AAC="@TrackDir_AAC@%trackDir%"
SET TrackDir_OGG="@TrackDir_OGG@%trackDir%"
SET TrackDir_Tak="@TrackDir_Tak@%trackDir%"


SET TrackName=@trackname@

SET have_cover=0
SET embed_cover=0

IF EXIST "@cover@" (
SET have_cover=1
SET embed_cover=@EmbedCover@
)

REM ---- Track ----


IF NOT @Flac@==1 GOTO end_flac_tracks
IF NOT EXIST %TrackDir_Flac% MKDIR %TrackDir_Flac%
PUSHD %TrackDir_Flac%
IF @various@==1 SET VA_tag=-T "album artist=@VA@"
IF %embed_cover%==1 SET Cover_tag=--picture="|image/jpeg|||@cover@"
ECHO ON
@tools@\flac.exe @Opt_Flac@ %Cover_tag% %VA_tag% -T artist="@artist@" -T album="@album@" -T tracknumber="@track@/@numtracks@" -T title="@title@" -T date="@year@" -T genre="@genre@" -T band="@cdartist@" "@source@" -o "%TrackName%.flac"

REM ** Custom Cue Sheet Name
ECHO CHCP 1252 ^| PROMPT>update-cuesheet.bat
FOR %%G IN (*.flac) DO CALL :ReplaceCuesheetFileReference "%%G"
@tools@\SED -f sedlist.txt <"@albumfile@.[mg].cue" >"$cdartist$ - $album$.cue"
@tools@\GSAR.EXE -s%% -r%%%% -o update-cuesheet.bat
CALL update-cuesheet.bat
DEL sedlist.txt
DEL update-cuesheet.bat

REM ** M3U File
@tools@\tag.exe --playlist --onlyfiles --sort track --plname "$cdartist$ - $album$.m3u" *.flac

@ECHO OFF
IF @Debug@==1 ECHO ON
IF %have_cover%==1 IF NOT EXIST Folder.jpg COPY "@cover@" Folder.jpg
POPD
:end_flac_tracks


IF NOT @LameMP3@==1 GOTO end_lame_tracks
IF NOT EXIST %TrackDir_MP3% MKDIR %TrackDir_MP3%
PUSHD %TrackDir_MP3%
IF @various@==1 SET VA_tag=--user-text "[album artist]@VA@" --frame "TPE2:@VA@"
IF %embed_cover%==1 SET Cover_tag=--pict "{3}@cover@"
ECHO ON
@tools@\lame.exe @Opt_LameMP3@ "@source@" "%TrackName%.mp3"
@tools@\metamp3.exe %Cover_tag% %VA_tag% --artist "@artist@" --album "@album@" --frame "TPE2:@cdartist@" --track @track@/@numtracks@ --title "@title@" --year "@year@" --genre "@genre@" "%TrackName%.mp3"

REM ** Custom Cue Sheet Name
ECHO CHCP 1252 ^| PROMPT>update-cuesheet.bat
FOR %%G IN (*.mp3) DO CALL :ReplaceCuesheetFileReference "%%G"
@tools@\SED -f sedlist.txt <"@albumfile@.[mg].cue" >"$cdartist$ - $album$.cue"
@tools@\GSAR.EXE -s%% -r%%%% -o update-cuesheet.bat
CALL update-cuesheet.bat
DEL sedlist.txt
DEL update-cuesheet.bat

REM ** M3U File
@tools@\tag.exe --playlist --onlyfiles --sort track --plname "$cdartist$ - $album$.m3u" *.mp3

@ECHO OFF
IF %have_cover%==1 IF NOT EXIST Folder.jpg COPY "@cover@" Folder.jpg
POPD
:end_lame_tracks


REM ** Delete the source .wav
DEL "@source@"

REM ** More multiprocessing workaround --nago
DEL processing[@track@].tmp

REM ---- Post-processing ----


rem ** Scan and compute ReplayGain and add cover picture for supported formats.
rem ** NB: The following will only work if at least the last track is selected,
rem ** and it is a regular audio track.

IF NOT @track@==@numtracks@ GOTO end_post_process

REM ** More multiprocessing. Last edit. --nago
:checktmp
IF NOT EXIST processing[*].tmp GOTO allProcsClear
ECHO Waiting for all other processes to clear...
ECHO If REACT hangs here and there are no other tracks being encoded,
ECHO please delete all processing[#].tmp files in
ECHO "@sourcedir@"
PING 1.1.1.1 -n 1 -w 10000 >NUL
GOTO checktmp
:allProcsClear

SET add_rg=@ReplayGain@
SET aac_enc=@NeroAac@
IF @iTunesAac@==1 SET aac_enc=1

IF NOT @ReplayGain@==1 GOTO end_RG
SET RG_MetaFlac=--add-replay-gain
SET RG_MetaMP3=--replay-gain
:end_RG

IF NOT @ApplyAlbumGain@==1 GOTO end_apply_AG
SET RG_MetaMP3=--apply-gain album@AdjustAlbumGain_dB@
SET RG_AacGain=/a /o /c /d @AdjustAlbumGain_dB@
SET add_rg=1
:end_apply_AG

REM ** Audio Formats:

IF @Flac@==1 (
PUSHD %TrackDir_Flac%
IF %add_rg%==1 @tools@\Glob.exe -v -c @tools@\metaflac.exe %RG_MetaFlac% *.flac
IF %add_rg%==1 @tools@\Glob.exe -v -c @tools@\metamp3.exe --remove [mp3gain_*]TXXX *.flac
COPY /Y "@eaclog@" "$cdartist$ - $album$.log"
POPD
)


IF @LameMP3@==1 (
PUSHD %TrackDir_MP3%
IF %add_rg%==1 @tools@\metamp3.exe %RG_MetaMP3% *.mp3
IF %add_rg%==1 @tools@\metamp3.exe --remove [mp3gain_*]TXXX *.mp3
COPY /Y "@eaclog@" "$cdartist$ - $album$.log"
POPD
)

REM ** Cleanup

DEL "@eaclog@"
DEL "@albumfile@.[*].cue"
DEL "@cover@"

:end_post_process


REM ================ End Main Script ===================


IF @Debug@==1 (
PAUSE
EXIT
)

REM ** Delete this .bat file:
DEL %0

:ReplaceCuesheetFileReference
SET trackno=%1
SET trackno=%trackno:~1,2%
ECHO s/FILE ".* - %trackno% - .*\.wav" WAVE/{FILE %trackno%}/>>sedlist.txt
ECHO @tools@\GSAR "-s{FILE %trackno%}" "-rFILE :x22%~1:x22 WAVE" -o "$cdartist$ - $album$.cue">>update-cuesheet.bat
GOTO :EOF
Title: REACT 2 Released
Post by: Akkurat on 2008-08-09 12:07:55
I've noticed that my gap info isn't getting parsed somehow. If I let REACT handle the process w/ F4, this is what I get in my log file:

Gap handling : Not detected, thus appended to previous track

During the process, EAC's main screen show no Gap info either.

If I use EAC directly w/o REACT and Detect Gaps ~ my info IS shown in the main screen.

You don't have to worry, the cuesheets are exactly the same if you:
Detect Gaps -> Create CUE Sheet -> , [mg], [m] & [mc] (from the EAC menus)
Vs.
REACT, CreateAllCuesheets=1, F4 / F10

The only differences are that when using REACT, the EAC window doesn't show the gaps and the logfile contains "Gap handling : Not detected, thus appended to previous track" instead of "Gap handling : Appended to previous track".

There has been a discussion about why REACT doesn't use "Detect Gaps -> "Append Gaps" OR "Prepend Gaps" OR "Leave Out" (would be user selectable in INI) -> Current Gap Settings" when creating a cuesheet. A while ago I did a quick test with one CD; I created all the three cues using the previous method and compared all of them to the [mg] cue created with REACT. The only difference was that the DATA track info was missing in "Prepend Gaps" and "Leave Out" cues. BUT, the CD I tested had only 3 tracks (+data track) and possibly gaps that didn't make a difference to my test (I chose the CD because it was the only DATA track CD I had then in front of me). So further test could bring out more differences but I'm reluctant to do that because of the missing DATA track info in some of the cues. The conversation started as how REACT creates 4 different cues and not just 1.. just wait a bit...
Title: REACT 2 Released
Post by: Akkurat on 2008-08-11 01:52:38
Ahem. It's couple of hours already in the early monday morning here.. so.. I slightly missed the promised "weekend release" deadline.    BUT! Here it is, a MASSIVE update.    I hope you folks like it.

NOTE! Users of the "Backup DATA track" Wiki guide: remember to use the [mg] cue from now on!! (the CreateAllCuesheets INI option is removed/replaced in this new b03 version)

Also, I'd like to hear what you think about the "Various Artists" change. Maybe it would be a better idea to post these to my Akkurat's REACT mod (http://www.hydrogenaudio.org/forums/index.php?showtopic=63179) thread.

Changelog for 2.0.akku.b03:
- Changed feature: now it's possible to create only the cuesheet(s) user wants.
- Removed "CreateAllCuesheets" option from the INI file! ("CreateCuesheet" option replaced this)
- Added "CreateCuesheet" INI option. (read the "New INI options" section for how to use this new option)

- Added new feature: opening the Additional Meta Data dialog at startup is now possible by setting "OpenAddMetaDataDiag" to 1 in the INI file.
- Changed feature: Additional Meta Data dialog is opened in position relative to the bottom right corner of the EAC window if it's set to open at startup. (read the "New INI options" section for more information)
- Changed the Additional Meta Data dialog column widths to avoid horizontal scrollbar when vertical scrollbar appears.

- Changed the way REACT works with Various Artists albums (read the "Notes" section for more information).
   - Fixes the problems with "malformed" VA artist freedb data.
   - Image filename obeys the INI VA setting.
   - Cuesheets & EAC logfile has the INI VA setting value as the CD artist/performer value.
- Changed the required active naming scheme start value from "%D" to "%D -". REACT will notify the user if the settings are not correct at the program launch.
- Changed: REACT will notify the user if the "ImageNaming" value in INI doesn't begin with "$artist$ -" at the program launch or after closing the INI file opened by Alt-F2.
- Changed the way the Additional Meta Data dialog is reinitialized (read the "Notes" section for more information).

- Changed REACT.ini version. From now on, the INI and the program version will be synchronized (even if there's no update to the INI file).
- Added previously not included "CoverDownloaderLocalPath" and "DebugMode" options to the INI file.
- Fixed the previously undocumented "run Album Art Downloader" (Alt-F10) hotkey to be only active when EAC window has focus.

- Added new token/variable: @reactversion@.
- Changed "Comment" option in INI file to include the new @reactversion@ token.

- Fixed cuesheet generation problems when "Retrieve UPC/ISRC code in CUE sheet generation" option is set in EAC.
- Changed: "Use this directory" setting in EAC is mandatory and REACT will notify the user if it's not set at the program launch. Avoids/fixes the cuesheet generation problems when "Standard directory for extraction: Ask every time" option is set in EAC.
- Changed: configuring REACT by Ctrl-F2 will now set the "Use this directory" setting in EAC and the user "My Music" directory is used as the destination folder.

- Fixed a bug with image filenames saved sometimes incorrectly (again) in Windows Vista.
- Changed: if the image filename set still fails, the user is notified about this and has an option to manually enter the correct filename or by pasting it from the clipboard.

- Fixed EAClog cleanup. Only the left behind EAClog of current album is deleted.

- Fixed a couple of problems when the INI file opened by Alt-F2 wasn't closed before ripping. REACT now notifies the user about this and the INI file (in Notepad) must be closed.

- Fixed lost window focus when starting REACT.
- Fixed lost window focus when changing the CD Artist or CD Title fields.
- Fixed couple of REACT info not visible in EAC window title problems.

- Updated AutoIt from v3.2.8.1 to v3.2.12.1 and changed REACT to work with the new version. There were some fixes, among others, to AutoIt in Vista, so hopefully this update improves REACT functionality in Vista.

- Fixed up a bit the "DebugMode" logging mess to debugging.txt when multithreading in tracks mode.


READ THE REST OF THE NEW STUFF & DOWNLOAD: REACT:Mods (http://wiki.hydrogenaudio.org/index.php?title=REACT:Mods).
Title: REACT 2 Released
Post by: Paul Burger on 2008-08-11 08:35:31
IIRC, you shouldn't use REM for commenting out INI files, use semicolon (  ;  ) instead.. just to be safe.

EDIT: aah, you were fast to stroke that out.. anyways, use the semicolon if you like.

Yes, as soon as I opened the ini file I realised, REM refers to Bat files.

EDIT2: Forgot to mention that starting from the next version, the INI and the program version will be synchronized (even if there's no update to the INI file).

Thanks, that would eliminate a lot of confusion.


Then, I think I have all the mechanics of producing the ripped files the way I want it. (Except for tagging.) The only thing that I'm unsure of is the replaygain.

From what I read Wavegain actually amends the wav file. Does this mean that when you cut the wav file into tracks they are already amended with the replaygain info?

I think REACT2 already does what I want but I'm unsure how to test it and are not ale to interpret all the code yet.

What I'm looking for is to have the playgain (album and track) added to;
- flac tracks (as tags/comments)
- mp3 tracks (track rg added to the frames in the file and album rg added to tags or visa versa)
- ogg tracks (as tags/comments)

The only reason I'm ripping mp3 is because of the iPod and apparently you should apply track gain so your music sounds even when listening in random mode (sound check off) and then turn sound check on to listen to albums as it then uses the tags.

I know you're not familiar with ogg encoding but assume the tagging would be the same as flac as both uses the Vorbis containers.

As for the tags, I need to play around still as it seems not all my targets understands the tags written by REACT2.

My targets are;
- XBMC (ogg/mp3 from NAS source as I doubt whether I have enough space for the flac files)
- XMPlay (ogg on portable/usb drive)
- iPod - 160GB - 5th generation, I think (mp3)
- iriver - iHP-120 with RockBox (ogg)

Regards
Paul
Title: REACT 2 Released
Post by: Paul Burger on 2008-08-11 12:34:12
Ahem. It's couple of hours already in the early monday morning here.. so.. I slightly missed the promised "weekend release" deadline.    BUT! Here it is, a MASSIVE update.    I hope you folks like it.


Thanks for all the gr8 work and effort!

I'll give it a test a little later.

Regards
Paul
Title: REACT 2 Released
Post by: Akkurat on 2008-08-13 12:06:52
From what I read Wavegain actually amends the wav file. Does this mean that when you cut the wav file into tracks they are already amended with the replaygain info?

What I understand, it does not amend the wav file.

What I'm looking for is to have the playgain (album and track) added to;
- flac tracks (as tags/comments)
- mp3 tracks (track rg added to the frames in the file and album rg added to tags or visa versa)
- ogg tracks (as tags/comments)

The only reason I'm ripping mp3 is because of the iPod and apparently you should apply track gain so your music sounds even when listening in random mode (sound check off) and then turn sound check on to listen to albums as it then uses the tags.

I know you're not familiar with ogg encoding but assume the tagging would be the same as flac as both uses the Vorbis containers.

Honestly I'm lost with the the wavegain/scale/apply/tags in REACT-image.cfg.. previously I had only glanced that couple of times (I use the track config) and looking it now leaves me a little bit confused (which is not a good thing since I planned next to fix the problems in config files).

What I gathered looking at the config is that using wavegain, you only get album RG values to tags. From REACT Wiki page: "UseWaveGainAG = Instruct to use WaveGain to calculate AlbumGain values on the wav image file. The values will be transferred to the various compressed formats, rather than calculating them via other tools."

And the ogg and flac tagging/applied/scaled (scaled/applied, the difference? As you can see, I'm newbie with these things.) settings differ (because: lossy/lossless). You also mentioned "to the frames", what does that mean? Applied?

Were you also ripping into flac image? If not, why don't you use the track config instead? And/or are you hellbent on using the wavegain for some reason?

The OP and I need, well, quoting a very famous band:

Help, I need somebody,
Help, not just anybody,
Help, you know I need someone, help.
 
Title: REACT 2 Released
Post by: gsa999 on 2008-08-13 12:09:41
I have a small problem with the coverart image stored once REACT is completed. I am using FLAC. At the end of this section of the CFG file I can see that the cover is copied to the correct folder and renamed using @basename@

IF %have_cover%==1 COPY /Y "%cover%" %dest%\"@basename@.jpg"

However if I have a double CD (ie a CD1 and a CD2) I will save both images in the same folder, but I just want one copy of the cover art moved to the folder - so I want to strip off the (CD1), (CD2) bit from the base names. How can I do this, bearing in mind I would only want to strip off these last 6 characters (incl the space before the first bracket) if it existed in the first place.
Title: REACT 2 Released
Post by: Synthetic Soul on 2008-08-13 14:18:39
I use the Additional Meta Data dialogue to set @disnumber@ and @totaldiscs@, and use these in my config as part of the path creation, etc.

This means that I can correctly set the album name - and not suffix the CD number - and more accurately file my images.

This would also resolve your issue, as @basename@ (presumably) would not contain the disc number, and therefore you would only get one JPG per album (either the config could first check for an existing destination JPG, or you would allow the second to overwrite the first).
Title: REACT 2 Released
Post by: bilbo on 2008-08-15 01:48:19
The only reason I'm ripping mp3 is because of the iPod and apparently you should apply track gain so your music sounds even when listening in random mode (sound check off) and then turn sound check on to listen to albums as it then uses the tags.

1/ Just to be clear, soundcheck and replaygain are different forms of the same thing. The iPod can't use replaygain values! They must be converted to soundcheck values to be of use on the iPod.

2/ You would want soundcheck on for random mode and off to listen to albums.
Title: REACT 2 Released
Post by: Liberal Zed on 2008-08-17 03:05:30
I've searched the forums and wiki, but (apparently) to no avail, as to how to use REACT with LAME 3.98. Can I simply replace the lame.exe in the tools directory with the new version? How would I configure it to use any new features of new LAME versions?
Title: REACT 2 Released
Post by: dewey1973 on 2008-08-17 05:28:31
I've searched the forums and wiki, but (apparently) to no avail, as to how to use REACT with LAME 3.98. Can I simply replace the lame.exe in the tools directory with the new version? How would I configure it to use any new features of new LAME versions?


Replace the exe in the tools folder
edit the Ver_LameMP3 in the ini file (not necessary for it to work, but it will place the correct version number in the tags)
change the Opt_LameMP3 options to take advantage of any of the new features.  (You'll want to remove --vbr-new as the newer VBR code is now LAME's default VBR routine.)
I hope that helps.

I still don't know if any changes need to be made to take advantage of the new version's ability to include albumArt in ID3v2.3 tag
Title: REACT 2 Released
Post by: cpalcott on 2008-08-18 13:10:36
I am trying to rip only a few tracks off a CD to FLAC but I want to run Test & Copy and get Accuraterip results and run Replaygain on the files. I cannot seemt to get it to show AR results in track mode, nor can I get it to run RG unless I choose all the tracks, or at least the last track. Any advice?
Title: REACT 2 Released
Post by: Akkurat on 2008-08-18 13:25:51
I am trying to rip only a few tracks off a CD to FLAC but I want to run Test & Copy and get Accuraterip results and run Replaygain on the files. I cannot seemt to get it to show AR results in track mode, nor can I get it to run RG unless I choose all the tracks, or at least the last track. Any advice?

REACT is designed to work with whole albums. Running RG on some of the files makes sense only if you calculate track gains, album gain calculating would be stupid if the whole album is not ripped. Please use just EAC for what you're trying to do; change the "external compression" settings in EAC to use flac and add the needed command-line options to calculate track gains for each file.
Title: REACT 2 Released
Post by: gsa999 on 2008-08-18 21:06:16
Hi
Couple of questions re cuesheets generated by EAC/REACT. Is it possible to only show the Discnumber and TotalDiscs at the top of the cuesheet if there is more than one disc. I don't really want it to show when both are set to 1.

Also in Akkurat's latest mod I have set CreateCuesheet=mg in order to generate a cuesheet for my seperate flac tracks but it is coming out pointing to wav files (rather than the flac files) and is also in a very odd order. See below for a sample

Code: [Select]
REM DISCNUMBER 1
REM TOTALDISCS 1
REM GENRE Pop
REM DATE 1976
REM DISCID C80CD30F
REM COMMENT "ExactAudioCopy v0.99pb4"
CATALOG 0602498723159
PERFORMER "Abba"
TITLE "Arrival (Remastered)"
FILE "Abba - Arrival (Remastered) - 01 - When I Kissed The Teacher.wav" WAVE
  TRACK 01 AUDIO
    TITLE "When I Kissed The Teacher"
    PERFORMER "Abba"
    ISRC SEAYD7601010
    INDEX 01 00:00:00
  TRACK 02 AUDIO
    TITLE "Dancing Queen"
    PERFORMER "Abba"
    ISRC SEAYD7601020
    INDEX 00 03:01:45
FILE "Abba - Arrival (Remastered) - 02 - Dancing Queen.wav" WAVE
    INDEX 01 00:00:00
  TRACK 03 AUDIO
    TITLE "My Love, My Life"
    PERFORMER "Abba"
    ISRC SEAYD7601030
    INDEX 00 03:51:24
FILE "Abba - Arrival (Remastered) - 03 - My Love, My Life.wav" WAVE
    INDEX 01 00:00:00
  TRACK 04 AUDIO
    TITLE "Dum Dum Diddle"
    PERFORMER "Abba"
    ISRC SEAYD7601040
    INDEX 00 03:52:37
FILE "Abba - Arrival (Remastered) - 04 - Dum Dum Diddle.wav" WAVE
    INDEX 01 00:00:00
  TRACK 05 AUDIO
    TITLE "Knowing Me, Knowing You"
    PERFORMER "Abba"
    ISRC SEAYD7601050
    INDEX 00 02:54:51
FILE "Abba - Arrival (Remastered) - 05 - Knowing Me, Knowing You.wav" WAVE
    INDEX 01 00:00:00
FILE "Abba - Arrival (Remastered) - 06 - Money, Money, Money.wav" WAVE
  TRACK 06 AUDIO
    TITLE "Money, Money, Money"
    PERFORMER "Abba"
    ISRC SEAYD7601060
    INDEX 01 00:00:00
  TRACK 07 AUDIO
    TITLE "That's Me"
    PERFORMER "Abba"
    ISRC SEAYD7601070
    INDEX 00 03:06:47
FILE "Abba - Arrival (Remastered) - 07 - That's Me.wav" WAVE
    INDEX 01 00:00:00
  TRACK 08 AUDIO
    TITLE "Why Did It Have To Be Me"
    PERFORMER "Abba"
    ISRC SEAYD7601080
    INDEX 00 03:15:70
FILE "Abba - Arrival (Remastered) - 08 - Why Did It Have To Be Me.wav" WAVE
    INDEX 01 00:00:00
  TRACK 09 AUDIO
    TITLE "Tiger"
    PERFORMER "Abba"
    ISRC SEAYD7601090
    INDEX 00 03:20:43
FILE "Abba - Arrival (Remastered) - 09 - Tiger.wav" WAVE
    INDEX 01 00:00:00
  TRACK 10 AUDIO
    TITLE "Arrival"
    PERFORMER "Abba"
    ISRC SEAYD7601100
    INDEX 00 02:56:05
FILE "Abba - Arrival (Remastered) - 10 - Arrival.wav" WAVE
    INDEX 01 00:00:00
  TRACK 11 AUDIO
    TITLE "Fernando (Bonus)"
    PERFORMER "Abba"
    ISRC SEAYD7602070
    INDEX 00 03:01:37
FILE "Abba - Arrival (Remastered) - 11 - Fernando (Bonus).wav" WAVE
    INDEX 01 00:00:00
  TRACK 12 AUDIO
    TITLE "Happy Hawaii (Bonus)"
    PERFORMER "Abba"
    ISRC SEAYD7704010
    INDEX 00 04:12:51
FILE "Abba - Arrival (Remastered) - 12 - Happy Hawaii (Bonus).wav" WAVE
    INDEX 01 00:00:00
  TRACK 13 AUDIO
    TITLE "La Reina Del Baile (Bonus)"
    PERFORMER "Abba"
    ISRC SEAYD7601022
    INDEX 00 04:24:27
FILE "Abba - Arrival (Remastered) - 13 - La Reina Del Baile (Bonus).wav" WAVE
    INDEX 01 00:00:00
  TRACK 14 AUDIO
    TITLE "Conociéndome, Conociéndote (Bonus)"
    PERFORMER "Abba"
    ISRC SEAYD7601051
    INDEX 00 04:02:36
FILE "Abba - Arrival (Remastered) - 14 - Conociéndome, Conociéndote (Bonus).wav" WAVE
    INDEX 01 00:00:00
  TRACK 15 AUDIO
    TITLE "Fernando (Spanish Version) (Bonus)"
    PERFORMER "Abba"
    ISRC SEAYD7615082
    INDEX 00 04:02:65
FILE "Abba - Arrival (Remastered) - 15 - Fernando (Spanish Version) (Bonus).wav" WAVE
    INDEX 01 00:00:00
Title: REACT 2 Released
Post by: Akkurat on 2008-08-18 22:59:00
Couple of questions re cuesheets generated by EAC/REACT. Is it possible to only show the Discnumber and TotalDiscs at the top of the cuesheet if there is more than one disc. I don't really want it to show when both are set to 1.

No. Is there a problem with those showing up as 1? Other than that you don't want them there. How often do you read your cuefiles?

Also in Akkurat's latest mod I have set CreateCuesheet=mg in order to generate a cuesheet for my seperate flac tracks but it is coming out pointing to wav files (rather than the flac files)

Perfectly normal. You'll have to use the REACT:Amending Cuesheet File References (http://wiki.hydrogenaudio.org/index.php?title=REACT:Amending_Cuesheet_File_References) wiki guide to turn them to flac.

and is also in a very odd order. See below for a sample

It seems that if there's "INDEX 00" and "INDEX 01", then the "FILE" line is put between those lines, otherwise it's put before the "TRACK xx AUDIO" line. I've seen this many many times and AFAIK, it's nothing to be worried about.
Title: REACT 2 Released
Post by: greynol on 2008-08-18 23:21:11
That's what a noncompliant sheet looks like which is exactly the way it should be when ripping with gaps appended to the end of the previous track or ripping prior to detecting gaps (both result in exactly the same thing).  If your disc has no gaps (save for the one before the first track, of course), then you'll have a cue sheet that is compliant.
Title: REACT 2 Released
Post by: Paul Burger on 2008-08-21 12:41:55
I'll give it a test a little later.


Hi Akkurat,

Ok after fixing all the bugs that I created trying to apply the changes in my old .ini and .cfg files to yours, I can say that it works as good as the old version. (None of the changes seemed to have affected me.)

I only have one problem and that is with the album art and I cannot seem to find the post where it tells you how to fix it. (Is there a way to perform a search inside a single forum topic only?) I know it's in this topic somewhere but cannot seem to find it again.

I overwrote "React2/coverdownloader/albumart.exe" with "Program Files/AlbumArtDownloader/albumart.exe" but am thinking that this might only be half the fix.

Regards
Paul
Title: REACT 2 Released
Post by: Paul Burger on 2008-08-21 13:07:51
Honestly I'm lost with the the wavegain/scale/apply/tags in REACT-image.cfg.. previously I had only glanced that couple of times (I use the track config) and looking it now leaves me a little bit confused (which is not a good thing since I planned next to fix the problems in config files).


Yes, this is something I would like to see (the consensus) under the FAQ pages including how to apply it to the different formats. I takes me days to find anything in this forum and then if you do not bookmark it as much time if not longer to find the same topic again later.

What I gathered looking at the config is that using wavegain, you only get album RG values to tags. From REACT Wiki page: "UseWaveGainAG = Instruct to use WaveGain to calculate AlbumGain values on the wav image file. The values will be transferred to the various compressed formats, rather than calculating them via other tools."


This is what I understood too. But this seems to be album gain only. So how would one apply track gain?

And the ogg and flac tagging/applied/scaled (As you can see, I'm newbie with these things.)

Yes, this is where it gets difficult. As I understand the vorbis container (ogg & flac) allows you to add the rg values as comments, so it is up to the various DAPs to support it.

You also mentioned "to the frames", what does that mean? Applied?


My understanding is that MP3 does not rg tag values so you have to physically alter the music portion of the file. So for MP3's the most transparent way seems to write these values inside the portion of the frame which sets the volume of the frame. Not sure which program to use to do this.

Were you also ripping into flac image? If not, why don't you use the track config instead? And/or are you hellbent on using the wavegain for some reason?


I'm not saving the image file. The reason why I'm using image ripping as it is recommended to be more robust in Synthetic Soul's first post in the thread. I also assume that it is required in order to be able to determine the album gain values.

Regards
Paul
Title: REACT 2 Released
Post by: Paul Burger on 2008-08-21 13:32:10
1/ Just to be clear, soundcheck and replaygain are different forms of the same thing. The iPod can't use replaygain values! They must be converted to soundcheck values to be of use on the iPod.

Ok this is what I understood. Just another reason why I want to see Apple support Ogg.

2/ You would want soundcheck on for random mode and off to listen to albums.


I saw a post somewhere which suggest applying albumgain to all your tracks so when you listen to albums on your ipod, you get and even loudness across albums (i.e. soundcheck off)

In random mode you then turn on soundcheck which gives an even loudness across random tracks.

Regards
Paul
Title: REACT 2 Released
Post by: Paul Burger on 2008-08-21 14:14:29
What are the chances of either REACT getting it's own sub forum or "moving" it to the EAC forum at digital Inn?

Because it is a sinlge post you cannot make anything sticky or create topics/sub forums for the different aspects of REACT2, e.g. versions/mods, image-ripping, track-ripping, album art, replay gain, playlists, etc.

For example,  "KnowledgeBase Project(s)>REACT" vs. "Hydrogenaudio Forum>Validated News>REACT 2 Released" or maybe a new forum to accommodate all the different rippers EAC, marero, REACT, etc.

This thread is a monster to find anything because it essentially has to cover almost all the topics in Hydrogenaudio forum in a single thread.

I know how much time it took me to get going a month later and I'm almost there ;-) So I don't mind doing a write-up on my setup but where to post it so it is easy to find. I would prefer it that somebody QA it before it gets posted/stickied/wiki'ed.

Anyway, just some ideas, but I think something must be done to lessen the pain of somebody wishing to implement EAC/REACT to get what they want, if that is different from the default.

Regards
Paul
Title: REACT 2 Released
Post by: Akkurat on 2008-08-21 14:17:40
I only have one problem and that is with the album art and I cannot seem to find the post where it tells you how to fix it. (Is there a way to perform a search inside a single forum topic only?) I know it's in this topic somewhere but cannot seem to find it again.

I overwrote "React2/coverdownloader/albumart.exe" with "Program Files/AlbumArtDownloader/albumart.exe" but am thinking that this might only be half the fix.

AFAIK there's no way to search just one topic.*

You didn't tell us what the problem is. Maybe we can help..?

* I tried to download this thread in various formats but there seems to be a limit and the last post ends somewhere in 2007.  Maybe this would be a good reason for the "Masters of the Universe" to reconsider closing down this thread and giving a dedicated (whoa!) forum.

Honestly I'm lost with the the wavegain/scale/apply/tags in REACT-image.cfg.. previously I had only glanced that couple of times (I use the track config) and looking it now leaves me a little bit confused (which is not a good thing since I planned next to fix the problems in config files).

Yes, this is something I would like to see (the consensus) under the FAQ pages including how to apply it to the different formats. I takes me days to find anything in this forum and then if you do not bookmark it as much time if not longer to find the same topic again later.

Maybe somebody could write a tutorial for REACT which explains ALL the options, which tags you get, RGs applied/scale, album covers embedded+in tags, etc.? I could try to assist if somebody is willing to do the hard part (I unfortunately don't have time to do this as well.. and my weakness is writing docs.. especially in foreign language.. language computer speak good I only).

This is what I understood too. But this seems to be album gain only. So how would one apply track gain?

Do not use the WaveGain.

I'm not saving the image file. The reason why I'm using image ripping as it is recommended to be more robust in Synthetic Soul's first post in the thread. I also assume that it is required in order to be able to determine the album gain values.

That post is about 2 years old.. but I agree that the "is a little more robust" could still be right but how much actually? If you're concerned, you could test it. The image mode is NOT required to get the album RG values. In track mode the RG values are calculated in the post-processing section.
Title: REACT 2 Released
Post by: Paul Burger on 2008-08-21 14:56:53
You didn't tell us what the problem is. Maybe we can help..?

The problem I get is as follows and as far as I can recall I'm missing another file that needs to be copied from albumartdownloader to coverdownloader.

Code: [Select]
Album Art Downloader has encountered a fatal error, and has had to close.
If you wish to report this error, please include this information, which
has been written to the file: C:\Program Files\REACT2\coverdownloader\errorlog.txt

App version: 0.21.0.0, running on Microsoft Windows NT 5.1.2600 Service Pack 3

System.IO.FileNotFoundException: Could not load file or assembly 'AlbumArtDownloader.Controls, Version=0.21.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
File name: 'AlbumArtDownloader.Controls, Version=0.21.0.0, Culture=neutral, PublicKeyToken=null'
  at System.Signature._GetSignature(SignatureStruct& signature, Void* pCorSig, Int32 cCorSig, IntPtr fieldHandle, IntPtr methodHandle, IntPtr declaringTypeHandle)
  at System.Signature.GetSignature(SignatureStruct& signature, Void* pCorSig, Int32 cCorSig, RuntimeFieldHandle fieldHandle, RuntimeMethodHandle methodHandle, RuntimeTypeHandle declaringTypeHandle)
  at System.Signature..ctor(Void* pCorSig, Int32 cCorSig, RuntimeTypeHandle declaringTypeHandle)
  at System.Reflection.RuntimePropertyInfo.get_Signature()
  at System.Reflection.RuntimePropertyInfo.get_PropertyType()
  at System.Configuration.ApplicationSettingsBase.CreateSetting(PropertyInfo propInfo)
  at System.Configuration.ApplicationSettingsBase.EnsureInitialized()
  at System.Configuration.ApplicationSettingsBase.get_Properties()
  at System.Configuration.SettingsBase.GetPropertyValueByName(String propertyName)
  at System.Configuration.SettingsBase.get_Item(String propertyName)
  at System.Configuration.ApplicationSettingsBase.GetPropertyValue(String propertyName)
  at System.Configuration.ApplicationSettingsBase.get_Item(String propertyName)
  at AlbumArtDownloader.Properties.Settings.get_ApplicationVersion()
  at AlbumArtDownloader.App.Main(String[] args)

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

Regards
Paul
Title: REACT 2 Released
Post by: Akkurat on 2008-08-21 15:16:41
The problem I get is as follows and as far as I can recall I'm missing another file that needs to be copied from albumartdownloader to coverdownloader.

I'm sorry but what are you doing? You're copying some files to where? Are you trying to replace the coverdownloader which comes with REACT to newer Album Art Downloader XUI program? If you installed the "XUI", then just point the INI variable to it's installed directory, otherwise just extract the "XUI" zip file contents to "React2\coverdownloader\" folder.
Title: REACT 2 Released
Post by: Synthetic Soul on 2008-08-21 16:48:55
If you look to the bottom-left of any topic page you will see a "Search Topic" text box and submit button.  This allows you to search the current thread only.

I'm sorry that I'm not providing any support at the moment, but I'm a bit out of the loop, and haven't the time to read the last goodness-knows-how-many pages. Most importantly, I know bugger all about the RG/WaveGain aspect of REACT.
Title: REACT 2 Released
Post by: Akkurat on 2008-08-21 17:10:34
OMG! I'm totally blind!! I was just looking at the "options" dropdownbox which has many ".. this topic" options.  I'll have to see my eye doctor soon coz I don't want to be ashamed again for not seeing things that are right in front of my face.. thx Synthetic Soul. 
Title: REACT 2 Released
Post by: Synthetic Soul on 2008-08-21 17:13:25
OMG! I'm totally blind!! I was just looking at the "options" dropdownbox which has many ".. this topic" options.  I'll have to see my eye doctor soon coz I don't want to be ashamed again for not seeing things that are right in front of my face.. thx Synthetic Soul. 
Don't beat yourself up: Paul is obviously in the same boat, and I think it's a pretty common oversight.  I think it took me a year or two before I was alerted to it.
Title: REACT 2 Released
Post by: Paul Burger on 2008-08-22 07:38:44
If you look to the bottom-left of any topic page you will see a "Search Topic" text box and submit button.  This allows you to search the current thread only.


The closer you look the less you see ;-) I feel a right tit!

Regards
Paul
Title: REACT 2 Released
Post by: Paul Burger on 2008-08-22 08:03:31
Are you trying to replace the coverdownloader which comes with REACT to newer Album Art Downloader XUI program? If you installed the "XUI", then just point the INI variable to it's installed directory, otherwise just extract the "XUI" zip file contents to "React2\coverdownloader\" folder.


Yes, I am and thanks yes. Simply pointing the ini to the new installation of AlbumArt.exe did the trick.

Thanks
Paul
Title: REACT 2 Released
Post by: gsa999 on 2008-08-24 11:00:23
Perfectly normal. You'll have to use the REACT:Amending Cuesheet File References (http://wiki.hydrogenaudio.org/index.php?title=REACT:Amending_Cuesheet_File_References) wiki guide to turn them to flac.
Just got round to looking at GSAR to amend the wav to flac in the non compliant cuesheet. The code in this link appears to be for the REACT-track.cfg. I am using the REACT-image.cfg. Will this code still work and exactly where would I put it in the flac section.

Thanks
Title: REACT 2 Released
Post by: Akkurat on 2008-08-24 13:37:34
Just got round to looking at GSAR to amend the wav to flac in the non compliant cuesheet. The code in this link appears to be for the REACT-track.cfg. I am using the REACT-image.cfg. Will this code still work and exactly where would I put it in the flac section.

No, but look at this post (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=50273&view=findpost&p=579737) by Synthetic Soul. (Note! Your ACDIR created files should start with tracknumbers.) EDIT: @Synthetic Soul: has your method been tested yet? Should this be added to the wiki guide? And, will you do it?

I started to wonder that is it really wise to use the EAC created cuesheet for ACDIR extracted audio files? I mean, the whole point of saving a cuesheet is to preserve the gaps/indexes/whatever for burning the album to the CD, right? Doesn't ACDIR change this?
Title: REACT 2 Released
Post by: Synthetic Soul on 2008-08-24 19:25:29
@Synthetic Soul: has your method been tested yet? Should this be added to the wiki guide? And, will you do it?
The code was tested by me, but I think that it may be be useful to see if gsa999 implements it and has no problems before anything else.  I could write a wiki article - or update the current article - after that, as long as no-one's in a rush.

I started to wonder that is it really wise to use the EAC created cuesheet for ACDIR extracted audio files? I mean, the whole point of saving a cuesheet is to preserve the gaps/indexes/whatever for burning the album to the CD, right? Doesn't ACDIR change this?
ACDIR splits, appending gaps to the previous track.  This should mean that using the non-complaint ([mg]?) cue sheet ties up fine with ACDIR track files.  I.e.: splitting an image with ACDIR is just the same as ripping to tracks, appending gaps to the previous track (the generally preferred method).
Title: REACT 2 Released
Post by: Akkurat on 2008-08-24 20:56:54
I could write a wiki article - or update the current article - after that, as long as no-one's in a rush.

I'm in no rush.  Remember to write that the ACDIR filename scheme must start with a tracknumber (& w/ "double-digit").

splitting an image with ACDIR is just the same as ripping to tracks, appending gaps to the previous track (the generally preferred method).

Ok, thanks for the info.
Title: REACT 2 Released
Post by: gsa999 on 2008-08-29 08:14:34
My tracknumbers do not start with digits (and I don't want them to) so I think I will have to forget trying to automate this within REACT. I might try creating a dos batch file to go through all my folders and change wav to flac afterwards, but I can't see me having time to look at that for some months
Title: REACT 2 Released
Post by: Synthetic Soul on 2008-08-29 09:38:28
Do you use track numbers at all in your file naming scheme?  Are you saying that you just don't zero-pad the track numbers?

In this post (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=50273&view=findpost&p=579708) I "documented" my initial approach for parsing the file name, using SED.  This could be adapted to your needs, depending on your file naming scheme.

Can you tell us what you do use?

Edit: as a simple example, if your file naming scheme begins with the track number (which may be one or two digits), and then a space, you could replace the ReplaceCuesheetFileReference "function" with:

Code: [Select]
:ReplaceCuesheetFileReference
ECHO %1 | @tools@\SED 's/"\([0-9]\+\).*\.flac"/\1/'>%TMP%\trackno.txt
SET /P trackno=<%TMP%\trackno.txt
SET trackno=0%trackno%
SET trackno=%trackno:~-3,2%
ECHO s/FILE ".* - %trackno% - .*\.wav" WAVE/{FILE %trackno%}/>>sedlist.txt
ECHO @tools@\GSAR "-s{FILE %trackno%}" "-rFILE :x22%~1:x22 WAVE" -o "$cdartist$ - $album$.cue">>update-cuesheet.bat
GOTO :EOF
If your scheme is something more like "<artist> - <album> - <track> - <title>" then we could use the same function, with a different SED command:

Code: [Select]
ECHO %1 | @tools@\SED 's/".\+ - .\+ - \([0-9]\+\) - .\+\.flac"/\1/'>%TMP%\trackno.txt
The main problem here is that some characters that may be in your file name should be escaped before being passed to SED.  Perhaps we need to create a general purpose script to do this: escape any string to be used in a SED command.  That said, I've just tested with ampersand and caret in the file name, with no problems, so I may be getting confused here.

NB: You can of course test the SED commands on the command line by executing the following:

Code: [Select]
ECHO "<test file name>.flac" | SED 's/".\+ - .\+ - \([0-9]\+\) - .\+\.flac"/\1/'
E.g.:

Code: [Select]
ECHO "Artist 1 & Artist 2 - Album - Name - 8 - Track Title.flac" | SED 's/".\+ - .\+ - \([0-9]\+\) - .\+\.flac"/\1/'
Title: REACT 2 Released
Post by: Akkurat on 2008-08-29 12:58:46
Just to let you know; I just wrote a "amend cues (in track & image mode) with REACT w/o external tools AND with any filename scheme" PoC in my ToDo list. It's coming out... someday.
Title: REACT 2 Released
Post by: Snash on 2008-10-25 22:42:27
Hello folks,

I am having a lot of difficulty getting REACT2 to run.  I get a few steps forward and then I'm debugging a new error. (I turned on the debugging in the .ini file)  For instance:

1.  You must have "REACT2" and "Exact Audio Copy" in the Program Files directory.

2.  You must have your copy of FLAC loaded in the "REACT2\tools\" folder

3.  You must have "acdir" loaded in the "REACT2\tools\" folder

4.  Now I see that I am getting an error on the "metamp" file.  I assume it is because I need to copy the LAME files into the tools folder as well.

I didn't see this info in the WIKI.  Is it documented somewhere?
Title: REACT 2 Released
Post by: Synthetic Soul on 2008-10-26 08:03:00
Did you install REACT?

You need to use a modded version of REACT (http://wiki.hydrogenaudio.org/index.php?title=REACT:Mods); however, you first need to install the original (http://www.hydrogenaudio.org/forums/index.php?showtopic=50259) before overwriting the EXE and configs with the updated versions.
Title: REACT 2 Released
Post by: Snash on 2008-10-27 00:30:38
Did you install REACT?

You need to use a modded version of REACT (http://wiki.hydrogenaudio.org/index.php?title=REACT:Mods); however, you first need to install the original (http://www.hydrogenaudio.org/forums/index.php?showtopic=50259) before overwriting the EXE and configs with the updated versions.


No, I did not.  At some point during my research I found this file - REACT_2.0.akku.b03.zip.  I copied that to Program Files and away I went on my journey. 

I see that red note on installing in the link you posted, but it looked to me like something one must do if they have EAC v0.99.

So anyway, I moved LAME into the tools directory and a got a copy of metamp3.  Now everything seems to be working fine.  Got my FLACs, got my LAME 3.98 V2 mp3s.  Life is good.
Title: REACT 2 Released
Post by: Akkurat on 2008-10-27 01:18:31
I see that red note on installing in the link you posted, but it looked to me like something one must do if they have EAC v0.99.

So anyway, I moved LAME into the tools directory and a got a copy of metamp3.  Now everything seems to be working fine.  Got my FLACs, got my LAME 3.98 V2 mp3s.  Life is good.

1) No, you "must" install that original REACT packet even if you don't use 0.99.
2) It's highly recommended to use the latest EAC 0.99 prebeta4, don't be scared about the "prebeta" thing, EAC is very very stable (I can't remember even a single crash.. some bugs yeah, not critical, all progs have some).
3) Install the original REACT from the given links and then overwrite it with my mod (which you found). It may seem that everything is alright at the moment, BUT, in example, if you don't have glob.exe in your REACT/tools folder, your FLAC files are NOT ReplayGained (in track mode rips and if you've enabled RG in INI).
4) Overwrite newer versions of tools if you like to tools folder, but, IIRC, upgrading the original metamp3 could bring some problems, e.g. tagging would fail in some cases. So be careful with that. Others are welcomed to refresh my memory here. *

* I found some notes from my ToDo list: "Stock .cfg files will fail to correctly create discname/discnumber (in additional meta data dialog) sets with ORIGINAL metamp3 (error: --frame: bad argument: TXXX[setsubtitle]:DISCNAME), but if you upgrade, these settings will work. HOWEVER. When you have upgraded, any --user-text calls to metamp3 will fail, as will --pict (for embedded album art)." (I've not verified this info yet, the info was given to me)
Title: REACT 2 Released
Post by: Snash on 2008-10-27 23:52:51
Yup, now I understand.  It was just the way it was worded.

I think my EAC is at 0.95 or so. Not scared of prebeta. I'll upgrade it.

Not using ReplayGain right now, need to research it some. But I suppose I should set REACT up the right way. For the next couple days I'm just going to contemplate how nice it is that I caught up on a whole bunch of rips that I was getting behind on.
Title: REACT 2 Released
Post by: UberNewf on 2008-10-29 19:52:20
Hello,

I am a new user of REACT2\MetaMP3\EAC\etc. and wonder if you can help me?

===ISSUE 1===
I want to 0-pad track numbers when making MP3s with React2\ACDIR\MetaMP3\EAC. This was asked back in 2007 (http://www.hydrogenaudio.org/forums/index.php?showtopic=49751&st=0&p=469103&#entry469103) but I did not see an answer to it. I am a new user and I have the same problem/request. Can anyone help, please?


===ISSUE 2===
May or may not be caused by MetaMP3 but I also want to name my files like this:

01 - A Perfect Circle - Mer de Noms - The Hollow.mp3

I tried this in my REACT.INI (in the [UserOutputNames] section), but it causes ACDIR to actually crash!

TrackName_SA_acdir=$N - $~A - $C - $T

Any ideas (or recommendation for the proper forum <g> if not here)?

THX,
UN
Title: REACT 2 Released
Post by: Synthetic Soul on 2008-10-30 09:23:22
Issue 1

If I understand right, and you are ripping to an image, I believe that the relevant part of the metamp3 command line is:

Code: [Select]
--track $n/$N
$n should already be zero-padded, and therefore I believe that metamp3 is removing the zero, and therefore there is no resolve to this.  This could no doubt be corroborated by testing metamp3 on the command line.

Issue 2


Try:

Code: [Select]
TrackName_SA_acdir=$n - $~A - $~T - %~t
Here's an explanation of the tokens, taken from the ACDIR help:

Code: [Select]
acdir variable (used in expressions) format: {%|$}[~][#]<variable-name>
  where a variable begins with either '%' or '$' (useful for batch files)
  where an optional character '~' legitimates the value to be a valid filename
  where an optional character '#' quotes the value with '"' for command line
  Available variables are:
    %f      Filename of the audio image (e.g. CDImage.wav)
    %p      Path to the cuesheet file
    %d      Path to the cuesheet file with substitution of '_' for '\'
    %o      Output filename (evaluation result of -o or --output argument)
    %x      Extra options (specified in --extra-opt argument)
    %t      Title of the track (e.g. White Album)
    %T      Title of the CD image (e.g. Back in the U.S.S.R.)
    %a      Performer of the track (e.g. The Beatles)
    %A      Performer of the CD image (e.g. The Beatles)
    %n      Track number (e.g. 01)
    %N      Number of tracks in the CD image (e.g. 17)
    %r{NAME} REM NAME field value of the track or CD image if not in the track
    %R{NAME} REM NAME field value of the CD image
    %q      Double-quotation character, '"'
    %s      Start time of the track (INDEX 01)
    %S      Start time of the track (INDEX 00 if any, otherwise INDEX 01)
    %e      End time of the track (INDEX 01)
    %E      End time of the track (INDEX 00 if any, otherwise INDEX 01)
Title: REACT 2 Released
Post by: UberNewf on 2008-10-30 14:58:52
Your suggestion of using "TrackName_SA_acdir=$n - $~A - $~T - %~t" caused the batch file to fail all together:

The following usage of the path operator in batch-parameter
substitution is invalid: %~t


For valid formats type CALL /? or FOR /?
The syntax of the command is incorrect.


I am using Akkurat's Mod of REACT. Should I use yours?
Title: REACT 2 Released
Post by: Synthetic Soul on 2008-10-30 15:02:16
Sorry, no idea why I put %~t - should be $~t.

Edit: And no, I would stick with Akkurat's.
Title: REACT 2 Released
Post by: UberNewf on 2008-10-30 15:34:10
Excellent! That works! I was trying to pass EAC parameters I found somewhere on the web. Never thought it would require ACDIR ones. Guess I don't yet understand what all these pieces do.

If I could ONLY get the leading zeros on the track numbers I would be totally automated now. As it stands I have to let EAC/REACT/ETC. process, then use MP3Tag to "lead-zero" the files.

Who makes metamp3 and why is there no fix to this - is it no longer in development? Is there another command line tool that does the same that I could poke into the REACT-image.cfg and use instead of metamp3? If so, (you saw it coming <g>), any hints on how? :-)
Title: REACT 2 Released
Post by: Akkurat on 2008-10-30 15:53:29
Who makes metamp3 and why is there no fix to this - is it no longer in development? Is there another command line tool that does the same that I could poke into the REACT-image.cfg and use instead of metamp3? If so, (you saw it coming <g>), any hints on how? :-)

Tycho is the author of metamp3 - command line tool (http://www.hydrogenaudio.org/forums/index.php?showtopic=49751).

Are you ripping into images as well as Mp3 tracks? If not, then use the track rip mode. Reason for saying this is that IIRC there has been some users who thought that the track rip is not "safe", and therefore they used image rip for getting only tracks.
Title: REACT 2 Released
Post by: Synthetic Soul on 2008-10-30 16:26:24
$n should already be zero-padded, and therefore I believe that metamp3 is removing the zero, and therefore there is no resolve to this.  This could no doubt be corroborated by testing metamp3 on the command line.
OK, I guess it's up to me to test this.

And, surprisingly, it worked: metamp3 can set an nn/mm format:

Code: [Select]
C:\Documents and Settings\Neil\Desktop>metamp3 test.mp3
metamp3 v0.92 beta 5 - Copyright © 2007 by Tycho

File: test.mp3

 ID3v1.1 tags:

  Artist : Ben Folds Five
  Track  : 2

 ID3v2.3 tags:

  TIT2:
  TALB:
  TSSE:
  TRCK: 2
  TPE1: Ben Folds Five

C:\Documents and Settings\Neil\Desktop>metamp3 --track 02/19 test.mp3
metamp3 v0.92 beta 5 - Copyright © 2007 by Tycho
Updating ID3: test.mp3

C:\Documents and Settings\Neil\Desktop>metamp3 test.mp3
metamp3 v0.92 beta 5 - Copyright © 2007 by Tycho

File: test.mp3

 ID3v1.1 tags:

  Artist : Ben Folds Five
  Track  : 2

 ID3v2.3 tags:

  TIT2:
  TALB:
  TSSE:
  TRCK: 02/19
  TPE1: Ben Folds Five

C:\Documents and Settings\Neil\Desktop>
Given that I thought ACDIR's $n zero-padded the track number I'm confused as to what is happening here. Unless this is a difference between versions of metamp3, but I doubt that.

You can see whether $n is zero-padded, by checking the title of the console window while LAME is running.  It should say "<nn>/<mm> mp3 <album>"
Title: REACT 2 Released
Post by: UberNewf on 2008-10-30 17:53:02
The title of the command window is indeed nn/nn when doing image mode. I am not saving the images, no - I just hit F10 because I was told to. I see from the REACT.INI that if you hit F4 it's track mode, so I've tried that. Same result though, I'm afraid. In that mode the command window is actually n/nn, though.

Looking in the CMD window output the command is being passed, but is just not going through I guess:

TITLE 07/12 mp3 "Guess How Much I Love You - Classical Keepsakes" & C:\PROGRA~1\REACT2\tools\lame.exe -b 320  - "07 - Guess How Much I Love You - Classical Keepsakes - Sunrise From Daphine et Cloé.mp3" & C:\PROGRA~1\REACT2\tools\metamp3.exe --pict "{3}C:\Documents and Settings\UberNewf\My Documents\Guess How Much I Love You - Classical Keepsakes.jpg" --user-text "[album artist]Various Artists" --frame "TPE2:Various Artists"  --artist "Ravel" --album "Guess How Much I Love You - Classical Keepsakes
" --title "Sunrise From Daphine et Cloé" --track 07 --year "2003" --genre "Children Songs" --comment "Created with EAC/REACT v2.0.akku.b03, 2008-10-30" --frame TSSE:"LAME 3.97 -b 320" "07 - Guess How Much I Love You - Classical Keepsakes - Sunrise From Daphine et Cloé.mp3"

It's not in quotes though, like all the other parameters. That the cause?
Title: REACT 2 Released
Post by: Akkurat on 2008-10-30 18:18:39
You should read this: REACT (http://wiki.hydrogenaudio.org/index.php?title=REACT).

And yes, you're right, the current stock track.cfg is set up to use the non-zero-padded track numbers.. sorry, I forgot. At the moment the configs and some other things are not consistent in REACT, I've plans to rectify this and also bring out more settings to INI (e.g. UseZeroPaddedTrackNumbers=1/0, create playlists, filenames of playlist/etc.).

Regarding the image mode problem with track numbers; where or what software do you use to check that the resulting Mp3's have not got zero-padded track numbers? Could you try the method Synthetic Soul used? (metamp3 test.mp3) @Synthetic Soul: sorry about the test thing, I misunderstood and that's why I didn't test.

If you are not saving images, you're much better off using the track mode. And here's the way to put zeros in your track numbers:

1) Open the REACT-track.cfg file
2) Replace all (text editors "should" have this feature) @track@ strings to $track$ strings (or just the one in the Mp3 section)
3) Replace all @numtracks@ strings to $numtracks$ strings (or again, just the one in the Mp3 section)
4) Happy REACTing!
Title: REACT 2 Released
Post by: UberNewf on 2008-10-30 19:12:16
Regarding the image mode problem with track numbers; where or what software do you use to check that the resulting Mp3's have not got zero-padded track numbers?


MP3Tag (http://www.mp3tag.de/en/index.html)

Could you try the method Synthetic Soul used? (metamp3 test.mp3)

I tried that and it works directly like that, yes. It is STILL not working though the whole automation process though. I even did what you said below:

If you are not saving images, you're much better off using the track mode. And here's the way to put zeros in your track numbers:
1) Open the REACT-track.cfg file
2) Replace all (text editors "should" have this feature) @track@ strings to $track$ strings (or just the one in the Mp3 section)
3) Replace all @numtracks@ strings to $numtracks$ strings (or again, just the one in the Mp3 section)



Here's the relevant portion of my REACT-track.cfg


Code: [Select]
IF NOT @LameMP3@==1 GOTO end_lame_tracks
    IF NOT EXIST %TrackDir_MP3% MKDIR %TrackDir_MP3%
    PUSHD %TrackDir_MP3%
        IF @various@==1 SET VA_tag=--user-text "[album artist]@VA@" --frame "TPE2:@VA@"
        IF %embed_cover%==1 SET Cover_tag=--pict "{3}@cover@"
        ECHO ON
        @tools@\lame.exe @Opt_LameMP3@ "@source@" "%TrackName%.mp3"
        @tools@\metamp3.exe %Cover_tag% %VA_tag% %Disc_MP3% --artist "@artist@" --album "@album@" --track $track$ --title "@title@" --year "@year@" --genre "@genre@" "%TrackName%.mp3"
        @ECHO OFF
        IF @Debug@==1 ECHO ON
        IF %have_cover%==1 IF NOT EXIST folder.jpg COPY "@cover@" folder.jpg
    POPD
:end_lame_tracks
Title: REACT 2 Released
Post by: UberNewf on 2008-10-30 19:37:37
Just found something else. I had an older version of metamp3.exe than SS was showing in his output, so I got the newer one ("metamp3.exe"). My last run through REACT\EAC added NO TAGS to my MP3s except for the gain info.
Title: REACT 2 Released
Post by: Akkurat on 2008-10-30 23:13:07
It is STILL not working though the whole automation process though. I even did what you said below:

I tested and found out that the 0.91 version does seem to handle "--track $track$" as an integer and thus it strips the leading zero away. Using "--track $track$/$numtracks$" would work since it's a string, not integer. Anyways, I tested also the 0.92b5 and I can confirm that the "--track $track$" works with that version, it leaves the zero-pads there.

I got the newer one ("metamp3.exe"). My last run through REACT\EAC added NO TAGS to my MP3s except for the gain info.

The command line options did change between those versions. A quote from a line below the "Latest beta:" download link: "(note that some command line options has changed, and are not backward compatible)".. missed that? The metamp3.exe command fails and tags are not saved, RG gets tagged as that tagging is run separately without failing options.

So, you have to change the following line:
Code: [Select]
IF %embed_cover%==1 SET Cover_tag=--pict "{3}@cover@"

to:
Code: [Select]
IF %embed_cover%==1 SET Cover_tag=--frame "APIC{3}:@cover@"

Now all should work. Happy REACTing.. hopefully this time.
Title: REACT 2 Released
Post by: UberNewf on 2008-10-31 00:16:37
Yep, looks like we've covered it all. Thanks VERY much!

I am looking for a way to poke "AlbumArtist" into the MP3s now....
Title: REACT 2 Released
Post by: Akkurat on 2008-10-31 00:30:52
Yep, looks like we've covered it all. Thanks VERY much!

I am looking for a way to poke "AlbumArtist" into the MP3s now....

Shit, I missed this:
Code: [Select]
IF @various@==1 SET VA_tag=--user-text "[album artist]@VA@" --frame "TPE2:@VA@"

The "--user-text" option doesn't work with 0.92b5. It's used in couple of other places too in image.cfg and it should be changed.

Would changing all of them to "TXXX" frames work?? (e.g. --frame "TXXX[album artist]:@VA@") Could someone confirm this? Thanks.
Title: REACT 2 Released
Post by: UberNewf on 2008-10-31 17:43:10
Various Artists VDs don't seem to work at all (I gues that may be what you are saying). I just treid one and there are no tags at all in the files.

I am not sure how to test your fix, sorry.
Title: REACT 2 Released
Post by: Akkurat on 2008-10-31 18:19:46
I am not sure how to test your fix, sorry.

I was asking for others to help us in this matter since I'm not an expert with Mp3 tags/whatever mess.. I'm a FLAC man myself, tagging those are much easier.

You could try changing the:
Code: [Select]
IF @various@==1 SET VA_tag=--user-text "[album artist]@VA@" --frame "TPE2:@VA@"

to:
Code: [Select]
IF @various@==1 SET VA_tag=--frame "TXXX[album artist]:@VA@" --frame "TPE2:@VA@"

And see if that works out (it shouldn't error out, but does it work as intended in various players (soft/hardware)? I don't know, sorry). So, I really would like someone to confirm this, until that, use it with caution.
Title: REACT 2 Released
Post by: UberNewf on 2008-11-02 02:34:03
That worked for my Various Artist CD -> MP3s, yes. Good call. I'd like to have the "Album Artist" tag populated for single artist CDs as well though - with the same value poked in for "Artist" I guess. I tried adding it to the command line like so:

Code: [Select]
@tools@\metamp3.exe %Cover_tag% %VA_tag% %Disc_MP3% --artist "@artist@" --album "@album@" --track "$track$" --album artist "@artist@"...



But it did not work. 
Title: REACT 2 Released
Post by: Akkurat on 2008-11-02 06:41:56
I'd like to have the "Album Artist" tag populated for single artist CDs as well though - with the same value poked in for "Artist" I guess.
I don't see the benefit of doing so but here's a way to do it:
Code: [Select]
IF @various@==0 SET VA_tag=--frame "TXXX[album artist]:@artist@" --frame "TPE2:@artist@"
Add this line after the "IF @various@==1..." line in the Mp3 section.[/s]

Edit: Synthetic Soul's solve is much better, use it.

@Synthetic Soul: (EDIT2: I saw your edit too late) can you confirm that I think that the change from --user-text "[album artist]@VA@" to --frame "TXXX[album artist]:@VA@" is a working solution.. I guess it is because "TXXX = User defined text information frame" and what have we got in the 0.91 version? --user-text option.
Title: REACT 2 Released
Post by: Synthetic Soul on 2008-11-02 06:54:52
Use @cdartist@ in place of @va@, i.e.:

Code: [Select]
--frame "TXXX[album artist]:@cdartist@" --frame "TPE2:@cdartist@"

Edit: Easily beaten to the punch by Akkurat.  I was checking the ID3v2 spec as I'm surprised that there is no proper T frame for album artist. I couldn't find one though.
Title: REACT 2 Released
Post by: UberNewf on 2008-11-02 12:03:21
The value (or need, in my case) of adding Album Artist to all my MP3 is that I use Winodws Media Center extensivly and that UI uses that tag to list albums for a particular artist when in artist view. Without the Albumn Artist tag in all my MP3s, that sort is broken.

My LAME section in REACT-track.cfg now looks like this and seems to be working for both SA and VA CDs:

Code: [Select]
IF NOT @LameMP3@==1 GOTO end_lame_tracks
    IF NOT EXIST %TrackDir_MP3% MKDIR %TrackDir_MP3%
    PUSHD %TrackDir_MP3%
        IF @various@==1 SET VA_tag=--frame "TXXX[album artist]:@VA@" --frame "TPE2:@VA@"
    IF %embed_cover%==1 SET Cover_tag=--frame "APIC{3}:@cover@"
        ECHO ON
        @tools@\lame.exe @Opt_LameMP3@ "@source@" "%TrackName%.mp3"
        @tools@\metamp3.exe %Cover_tag% %VA_tag% %Disc_MP3% --artist "@artist@" --album "@album@" --track "$track$" --title "@title@" --year "@year@" --genre "@genre@" --frame "TXXX[album artist]:@cdartist@" --frame "TPE2:@cdartist@" "%TrackName%.mp3"
        @ECHO OFF
        IF @Debug@==1 ECHO ON
        IF %have_cover%==1 IF NOT EXIST folder.jpg COPY "@cover@" folder.jpg
    POPD
:end_lame_tracks


Thanks for all the help guys!!
Title: REACT 2 Released
Post by: Synthetic Soul on 2008-11-02 12:48:09
@Synthetic Soul: (EDIT2: I saw your edit too late) can you confirm that I think that the change from --user-text "[album artist]@VA@" to --frame "TXXX[album artist]:@VA@" is a working solution.. I guess it is because "TXXX = User defined text information frame" and what have we got in the 0.91 version? --user-text option.
I'm sorry Akkurat, the reason that I did not get involved in this before is that I really don't know.  Your assumption/conclusion seems right to me though.
Title: REACT 2 Released
Post by: Akkurat on 2008-11-02 17:00:06
The value (or need, in my case) of adding Album Artist to all my MP3 is that I use Winodws Media Center extensivly and that UI uses that tag to list albums for a particular artist when in artist view. Without the Albumn Artist tag in all my MP3s, that sort is broken.

Thanks for letting me know. I wonder if the stock configs should be changed to include the single artist in the "album artist" tag.. can't see why that would be harmful, only useful. Comments are welcome. If there's no objection to this, I'm going to add it into my ToDo list.

My LAME section in REACT-track.cfg now looks like this and seems to be working for both SA and VA CDs:

There's a little problem with your config at the moment: you're tagging "TXXX[album artist]" and "TPE2" twice when ripping VA albums. Sorry for confusing you, our previous answers were a bit vague.

Remove the IF @various@==1 SET VA_tag=--frame "TXXX[album artist]:@VA@" --frame "TPE2:@VA@" line completely and remove the %VA_tag% from the metamp3.exe line.
Title: REACT 2 Released
Post by: UberNewf on 2008-11-02 22:56:45
No worries at all - glad for all the help. I have updated my .cfg.

I imagine another forum / thread is the better place for this new issue, but I figured I'd bring it up. EAC does not seem to like *all* my CDs. I have some CDs that are archives of CDs that I lost in a fire and EAC does not rip them. Well, let me be more specific... EAC makes .WAVs out of them, but the cmd window for the .cfg file never spawns. I never get MP3s. Other CDs like this only produce a few MP3. If I look at the EAC window the ones that were fully processed into MP3s have values in the "Read CRC" column while the "skipped" ones don't. The one definitive difference between the CDs that fully process and the ones that don't is that the *bad* ones are archives.

I bet it's some config in EAC but I can't see it. Any ideas (or suggestion for a better thread)?
Title: REACT 2 Released
Post by: Akkurat on 2008-11-02 23:07:12
I bet it's some config in EAC but I can't see it. Any ideas (or suggestion for a better thread)?

Maybe "EAC Options -> Extraction -> Skip track on read or sync errors"?
Title: REACT 2 Released
Post by: Synthetic Soul on 2008-11-03 09:20:53
I wonder if the stock configs should be changed to include the single artist in the "album artist" tag.. can't see why that would be harmful, only useful. Comments are welcome. If there's no objection to this, I'm going to add it into my ToDo list.
I use the ARTIST and ALBUM ARTIST fields in foobar to determine whether is file is VA when renaming (only my VA tracks have an ALBUM ARTIST field).

I'm not sure whether this is standard practise or not.  It appears from testing that the "Title / Track Artist" column in the DUI checks whether ARTIST = ALBUM ARTIST and renders the track artist as well as the title if the values are inequal.  This would continue to work if you made the change, so maybe it's no big deal.

I guess it mainly comes down to whether most users always use both fields, or most work like me.  I have a feeling I chose my standard for a reason, but I can't be sure.
Title: REACT 2 Released
Post by: Akkurat on 2008-11-03 20:22:32
Thanks for the feedback. I tried to think of a situation where that amend would pose a problem but can't think of any. Tough call. Your last line made me also unsure of this. Maybe the status quo is good enough. And I can't remember a flood of messages concerning this topic (and I've read this whole topic.. 1343 posts btw currently, that's a lot).
Title: REACT 2 Released
Post by: gsa999 on 2008-11-22 17:59:32
Hi, I have just noticed that the username that is set in the react.ini file does not get fully added to my flac and mp3 files in the "Encoded by" tag. My username is set to christianname surname - WITH a space in between, but all I am getting in my flac and mp3 files in the "Encoded by" tag is my christianname. It does not seem to like the space or anything after it. I am sure this used to work OK when I first tested REACT2. Has something changed in the latest build - I am using akku.B03 build.

My name is not in quotes in the react.ini file and never has been. I can't see that it relates to this since Opt_LameMP3_tag=-b 320 and this gets populated into the "Encoder settings" tag OK and there is a space between the b and the 3

Any ideas
Title: REACT 2 Released
Post by: Akkurat on 2008-11-22 18:26:45
There's no "username/encoded-by" setting in INI file. Have you modified the INI and config files? The username is only put to tags in stock config files; FLAC: -T encoded-by="%USERNAME%" ... MP3: --frame TENC:"%USERNAME%". Notice how that username variable is wrapped between quotes?
Title: REACT 2 Released
Post by: gsa999 on 2008-11-24 08:30:42
There's no "username/encoded-by" setting in INI file. Have you modified the INI and config files? The username is only put to tags in stock config files; FLAC: -T encoded-by="%USERNAME%" ... MP3: --frame TENC:"%USERNAME%". Notice how that username variable is wrapped between quotes?
Ah yes its coming back to me now. I was trying to get a different "encoded-by" name to come out about 18 months ago, without success and I must have left the code in the ini file!
What has happened here is I recently had to have a new hard disk and when it was setup my username was setup differently in XP (ie without my surname). I am assuming this is where the USERNAME comes from.
Having said this I have now managed to get the full name to come out by putting a SET USERNAME command into the top of the cfg file.
Thanks
Title: REACT 2 Released
Post by: gsa999 on 2008-11-30 15:03:43
Just hit another problem with an album title that has an & in it. REACT does not seem to like this and fails to complete the encoding process. Other than changing the album title to "and" is there another way to get REACT to work with & characters in either the artist, album or track title fields. I am using the react-image.cfg

Thanks
Title: REACT 2 Released
Post by: Akkurat on 2008-11-30 15:41:56
Ampersands work ok in REACT. In example I've ripped "Coldplay - X&Y" and "Earth, Wind & Fire" without any problems. Have you amended the react-image.cfg file? Please try with the stock .cfg files.
Title: REACT 2 Released
Post by: gsa999 on 2008-12-01 20:32:47
Yes I have amended the react-image.cfg file. I am trying to point to existing cover art as follows:

SET cover=I:\TODO\$cdartist$\$cdartist$ - $year$ - $album$.jpg
SET cover_small=I:\TODO\1AlbumArtSmall\$cdartist$ - $year$ - $album$.jpg

I have put the above at the top of the react-image.cfg file

This has worked fine until I get an album with an & in it (ie in $album$). I have an album called Rock & Roll Strategy and I get an error "'Roll' is not recognised as an internal or external command"

I have tried putting $q round this to simulate double quotes but it does not help
Title: REACT 2 Released
Post by: Akkurat on 2008-12-01 23:52:32
$q is ONLY used by ACDIR. It doesn't work anywhere else in batch scripts. The problem here again is not using quotes to wrap strings. DOS expects a DOS command after ampersand if it's not wrapped in quotes. Small example:

Code: [Select]
C:\>ECHO rock & ECHO roll
rock
roll

C:\>ECHO "rock & ECHO roll"
"rock & ECHO roll"

First command echoes 1st rock and then roll separately, the 2nd command echoes a string containing an ampersand.

So, do the following:
Code: [Select]
SET cover="I:\TODO\$cdartist$\$cdartist$ - $year$ - $album$.jpg"
SET cover_small="I:\TODO\1AlbumArtSmall\$cdartist$ - $year$ - $album$.jpg"

AND then use %cover% and %cover_small% variables WITHOUT quotes! There should be no problems but let me know if you ABSOLUTELY need the "SET" values without quotes.. I've a solution to that also..
Title: REACT 2 Released
Post by: Moonbase on 2008-12-02 05:55:46
I’m unsure if there is a way to do RegExp's? If so, you might want to replace/escape the characters otherwise problematic for DOS batch files.

I use Mp3tag for lots of batch-related stuff, and I usually escape the »problematic« characters with a ^:
()<|>"&^ --> put a ^ as escape character before those

% --> replace with %% in batch files

So, for the example above:
Code: [Select]
ECHO Rock ^& Roll
Rock & Roll
ECHO A 100%% Test
A 100% Test
works beautifully.
Title: REACT 2 Released
Post by: gsa999 on 2008-12-02 20:35:25
OK I have done that and now I don't get the error message but nothing is encoding now - images or tracks.

This is what I have now
Code: [Select]
REM :I_drive
SET cover="I:\TODO\$cdartist$\$cdartist$ - $year$ - $album$.jpg"
SET cover_small="I:\TODO\1AlbumArtSmall\$cdartist$ - $year$ - $album$.jpg"
IF NOT EXIST %cover% goto X_drive
    SET have_cover=1
    SET embed_cover=@EmbedCover@
    goto end_cover_art

:X_drive
SET cover="X:\$cdartist$\$year$ - $album$\Folder.jpg"
SET cover_small="X:\$cdartist$\$year$ - $album$\AlbumArtSmall.jpg"
IF EXIST %cover% (
    ATTRIB %cover% -s -h
    ATTRIB %cover_small% -s -h
    SET have_cover=1
    SET embed_cover=@EmbedCover@
) ELSE (
  ECHO.
  ECHO *** ERROR MISSING COVER ART ***
  ECHO.
  ECHO: Cover art for "@basename@" does not exist!
  ECHO.
  PAUSE
  GOTO :EOF
)
:end_cover_art

I am guessing its something to so with the following lines which feature %cover%

FLAC Image
Code: [Select]
IF %embed_cover%==1 SET Cover_tag=--picture="|image/jpeg|||%cover%"

FLAC Track
Code: [Select]
@tools@\acdir.exe --overwrite --output "%TrackName%.flac" --extra-opt "|image/jpeg|||%cover%"

MP3 Track
Code: [Select]
@tools@\acdir.exe --overwrite --output "%TrackName%.mp3" --extra-opt "APIC{3}:%cover%"

I know I should not have any quotes round %cover% when it is on its own but in these cases it features as part of another command. Is there something wrong with these lines. As I said previously this all worked fine until I came across the album with the & in it.
Title: REACT 2 Released
Post by: Akkurat on 2008-12-02 23:50:57
I know I should not have any quotes round %cover% when it is on its own but in these cases it features as part of another command. Is there something wrong with these lines. As I said previously this all worked fine until I came across the album with the & in it.

Yes, the extra quotes mess up the 3 lines you posted (maybe more where the %cover% and %cover_small% vars are). I should have thought that you'd use the vars like that, sorry.. but no fear, Akkurat is back here, with a new ugly trick, put on some lipstick, open your eyes and smile, you'll be alright for a while.  (I've been writing poems lately.. not that lame though.. I'm better with my native language.. really)

Here's again an example of the solution:
Code: [Select]
SET test="rock & roll"

SETLOCAL ENABLEDELAYEDEXPANSION
REM ** Remove double quotes from the variable.
SET test=!test:"=!
SETLOCAL DISABLEDELAYEDEXPANSION

ECHO "%test%"

That will output "rock & roll" in the end. This works because when the "delayed expansion" is enabled, the var (!test!, not %test%) value is NOT outputted to the console (screen *doh*) and thus the ampersand works without it being between quotes. Weird huh?

Ok, so you should do the following (for the first part, just copycat this to the other part also):
Code: [Select]
SET cover="I:\TODO\$cdartist$\$cdartist$ - $year$ - $album$.jpg"
SET cover_small="I:\TODO\1AlbumArtSmall\$cdartist$ - $year$ - $album$.jpg"
SETLOCAL ENABLEDELAYEDEXPANSION
SET cover=!cover:"=!
SET cover_small=!cover_small:"=!
SETLOCAL DISABLEDELAYEDEXPANSION

AND, then make sure that the %cover% and %cover_small% variables are between quotes anywhere in the code. In example the 3 lines you posted will work without changing them.. but, in example, the IF EXIST %cover% won't work without quotes.
Title: REACT 2 Released
Post by: gsa999 on 2008-12-03 07:18:49
Brilliant. that has worked perfectly. I would never have got to that solution on my own

Thanks Akkurat
Title: REACT 2 Released
Post by: gsa999 on 2008-12-03 12:59:02
Another problem now.

Ripping and encoding an AC/DC album. The FLAC Image gets AC-DC in the name becuase of the substitution of the / with a - in the react.ini file, but this is not happening with either flac tracks or mp3 tracks - instead I get AC DC (a space in between). I can't figure out why these are not substituting a - rather than a space.
Title: REACT 2 Released
Post by: Akkurat on 2008-12-03 13:33:37
If my memory serves me right, it's because ACDIR uses its own special char substitution system. And there's no easy way to change that since the values are read from the cue file. This is one of the reasons I advertise using the track mode. Are you really storing both FLAC image and tracks? Any particular reason to do so? Why don't you just rip to FLAC & Mp3 tracks?
Title: REACT 2 Released
Post by: gsa999 on 2008-12-03 15:35:18
Are you really storing both FLAC image and tracks? Any particular reason to do so? Why don't you just rip to FLAC & Mp3 tracks?
Becuase I play MP3 tracks on my iPod and FLAC tracks on my SONOS system at home for better quality.

Maybe I will change the name in EAC to AC-DC and rip all their albums and then change the tag back using mp3tag to get round the problem. Thanks
Title: REACT 2 Released
Post by: Akkurat on 2008-12-03 16:27:52
Becuase I play MP3 tracks on my iPod and FLAC tracks on my SONOS system at home for better quality.

Yes, but what do you do with the FLAC image? That's what I was asking; do you really need BOTH FLAC image and tracks?

Maybe I will change the name in EAC to AC-DC and rip all their albums and then change the tag back using mp3tag to get round the problem. Thanks

No no, you misunderstood, only the filename is affected, not tags.
Title: REACT 2 Released
Post by: elektronik on 2008-12-05 23:25:29
Used it before, and its awesome. Thanks for informing us and the update!
Title: REACT 2 Released
Post by: Moonbase on 2008-12-06 18:07:04
[…] I'm not sure whether this is standard practise or not.  […]
[…] I guess it mainly comes down to whether most users always use both fields […]

It’s a little unfortunate that »Album Artist« has apparently been overlooked when creating the ID3v2 standard, so almost everyone came up with their own »pseudo standards«:So what’s the consequences from all this?

To be compatible with a wide variety of applications, one should probably (in MP3s) set TCMP (or COMPILATION in other tag formats) since it’s in wide use, TXXX:ALBUM ARTIST since it has a wide use in the foobar community (though I’d still recommend using tags with no Spaces and only uppercase, for best tagging compatibility using other tag formats). I’d avise against using TPE2 for Album Artist except if you really, really need iTunes/Winamp/WMP compatibility since it clearly violates the spec and some people really put Band information there. Only because large companies use it, it must not be correct.

Usage of TXXX:ALBUMARTISTSORT and TXXX:MusicBrainz … tags is of course purely optional, but of course I’d like to see more people using ALBUMARTISTSORT (my folders are even named after this tag and I like to be able to reconstruct all info from only the tags).

And yes, I like the idea of getting all info as early as possible, so REACT is a good place to start and also set the »Album Artist«.

For checking whether an album is a »compilation« (a »sampler« really), I’d rely on some logic like this:The only inconsistency in this whole scheme is that we need to store album/release information within tracks which is not too elegant but can’t be helped. Since all tracks need to be »in snyc« regarding the »album information« at all times, this is another reason to have things like REACT do it in the first place.
Title: REACT 2 Released
Post by: Akkurat on 2008-12-07 02:11:10
Thanks for the input, your post clearly underlines the situation with Mp3 tags at the moment; rather silly mess.. IMHO.. and throw in 1.1/2.3/2.4/whatever version tags difference and support.. sad, really. FLAC FTW.

VA albums should actually be called »Samplers« to differentiate, I think.

I disagree, samplers (http://en.wikipedia.org/wiki/Sampler_(record)) are promos (promotional compilations (http://en.wikipedia.org/wiki/Compilation_album)).

To be compatible with a wide variety of applications, one should probably (in MP3s) set TCMP (or COMPILATION in other tag formats) since it’s in wide use, TXXX:ALBUM ARTIST since it has a wide use in the foobar community (though I’d still recommend using tags with no Spaces and only uppercase, for best tagging compatibility using other tag formats). I’d avise against using TPE2 for Album Artist except if you really, really need iTunes/Winamp/WMP compatibility since it clearly violates the spec and some people really put Band information there. Only because large companies use it, it must not be correct.

Well, REACT currently tags TXXX[album artist] and TPE2, and with those tags, from your list, following programs detect VA albums: foobar2000, iTunes, Winamp, Windows Media Player, SqueezeCenter, Mp3tag & "Some other applications". Not bad? I'll put using the TCMP into consideration.. though it's not needed with TPE2 and I'm hesitant to remove it.
Title: REACT 2 Released
Post by: gsa999 on 2008-12-15 08:25:35
Hi again
I am hitting another rather frustrating issue with the new feature that was added a while back to tell REACT whether the CD is part of a double CD - ie disknumber1/2 and totaldiscs 2 metadata.

I am finding that if I have say ripped two single CD's and left the defaults for disknumber at 1 and totaldiscs at 1, and I then put in a 3rd CD which is CD1 of a double CD set and I therefore change totaldiscs to 2, the folder structure of the 2 CD's that are still encoding in background gets set to CD1 - ie the system thinks they are the first CD of a double set. Its annoying becuase as well as manually having to change the folder structure (3 times) I am having to manually edit the cue sheet, the embedded cuesheet in the flac image and also the flac and mp3 tracks to remove the incorrect tags.

I am systematically working through my collection bv artist so the only way I can get round this at the moment is by ensuring that all single CD's have finished encoding before attempting a double CD and then have to wait until that has finished before going back to single CDs. I like to get as many ripped and queued for encoding as possible during the day so they continue encoding overnight, so this slows things up somewhat.

Is this something anyone else has come across?
Title: REACT 2 Released
Post by: Akkurat on 2008-12-15 16:02:28
EAC Compression Queue and REACT doesn't work together. And I've no plans at the moment to change that, it requires a lot of code inspection and most probably re-designing some parts. Sorry. I still have a long ToDo list but sadly I've been "distracted" away from the development.. I'll try to start it again soon.. and probably I'm soon forced to do that if the coming new EAC version changes things a lot (no proper changelog(s) so far ).
Title: REACT 2 Released
Post by: gsa999 on 2008-12-24 10:44:10
In the react.ini file is it possible to change the replacement character for a question mark in the file name to null rather than a space.
So for instance if I had a track called "Who Will You Run To?" I want the file name to be

"Who Will You Run To.mp3" and not "Who Will You Run To .mp3"
Title: REACT 2 Released
Post by: Akkurat on 2008-12-24 14:32:46
Of course, here's my setting: Sla_Bks_Col_Qst_Bar_Quo_Ast_Lt_Gt=-|-|-||-|'|-|[|]

Though this won't work with the tracks ripped in image mode, as I said earlier, ACDIR uses its own char substitution system.
Title: REACT 2 Released
Post by: Moonbase on 2008-12-24 15:18:08
Not bad?

NOT BAD!

»Hyvää Joulua ja Onnellista Uutta Vuotta« to Finland! (I hope this is correct …)
Title: REACT 2 Released
Post by: Akkurat on 2008-12-24 15:47:38
Not bad?

NOT BAD!

Jeez, made me scratch my head, then I remembered what that was, I forgot what I wrote about two weeks ago, I'm getting old.  or should it be 

»Hyvää Joulua ja Onnellista Uutta Vuotta« to Finland! (I hope this is correct …)

Spot on! Though we don't capitalize our holiday words. Fröhliche Weihnachten und ein schönes neues Jahr to you too! 
Title: REACT 2 Released
Post by: gsa999 on 2008-12-26 09:01:11
Though this won't work with the tracks ripped in image mode, as I said earlier, ACDIR uses its own char substitution system.
Ahh that explains it - I am using image mode and then ripping to tracks. How annoying! Thanks
Title: REACT 2 Released
Post by: Akkurat on 2008-12-26 13:52:54
Ahh that explains it - I am using image mode and then ripping to tracks. How annoying! Thanks

Yes, it is annoying... below is my old question which you never answered..

Becuase I play MP3 tracks on my iPod and FLAC tracks on my SONOS system at home for better quality.

Yes, but what do you do with the FLAC image? That's what I was asking; do you really need BOTH FLAC image and tracks?

You know that FLAC tracks are fine also for archiving? Are you using the FLAC image for that now? If you don't have a "special" use for the image, you could switch to track mode ripping in EAC. Just a hint.. you can do what you want.. I just wanted to make sure that you understood what I was after.
Title: REACT 2 Released
Post by: gsa999 on 2008-12-28 15:18:30
You know that FLAC tracks are fine also for archiving? Are you using the FLAC image for that now? If you don't have a "special" use for the image, you could switch to track mode ripping in EAC. Just a hint.. you can do what you want.. I just wanted to make sure that you understood what I was after.
Yes I did know that but there are a couple of reasons I thought the image would be useful

1. I want to store all the images (as backups) on a seperate hard disk to all my tracks just in case I have a HD failure. I figured it is better having one large image +cue as my backup rather than the seperate tracks. I know I have the CD's themselves, but they are getting stored in the loft once all ripping is completed and having the images available on a HD just seems easier to me.

2. If I want to re-encode using a newer version of Lame,  I thought this would be easier if I already had a single image (I do not want to get the CD's out again) with embedded cuesheet. I did think of leaving them as WAVs but since FLAC images take up less space I went with this option. I have not actually investigated how I would do this though - any thoughts?
Title: REACT 2 Released
Post by: Akkurat on 2008-12-31 17:13:24
Sorry for the late response, my ISP has been dropping me off the interwebs lately.. + I finally upgraded to Win SP3 and it broke my custom REACT track config.  Thanks a lot MS!

You know that FLAC tracks are fine also for archiving? Are you using the FLAC image for that now? If you don't have a "special" use for the image, you could switch to track mode ripping in EAC. Just a hint.. you can do what you want.. I just wanted to make sure that you understood what I was after.
Yes I did know that but there are a couple of reasons I thought the image would be useful

1. I want to store all the images (as backups) on a seperate hard disk to all my tracks just in case I have a HD failure. I figured it is better having one large image +cue as my backup rather than the seperate tracks. I know I have the CD's themselves, but they are getting stored in the loft once all ripping is completed and having the images available on a HD just seems easier to me.

2. If I want to re-encode using a newer version of Lame,  I thought this would be easier if I already had a single image (I do not want to get the CD's out again) with embedded cuesheet. I did think of leaving them as WAVs but since FLAC images take up less space I went with this option. I have not actually investigated how I would do this though - any thoughts?

Now, I'm not an expert on backups and with the re-encode stuff but, I would choose only FLAC tracks (+Mp3's), I can't see why that wouldn't work with what you want. But, because I see it as a preference question, maybe you shouldn't change (or start over) your process. I guess there are plenty of software around to re-encode from flac tracks to mp3 tracks (or you could write your own batch script for it), dunno about image to tracks though.

Happy New Year! 
Title: REACT 2 Released
Post by: gsa999 on 2009-01-01 21:21:04
Yes I think I will stick with my current setup - it seems to be working fine, although having said that I have just noticed a very odd problem with the flac images. For some reason some of them are not being generated in the format that I have set in the react.ini file which is:
Code: [Select]
ImageNaming=$artist$ - $year$ - $album$
I keep losing the year and have had to go back manually to correct them which is a complete pain  . It seems to be defaulting to EACs standard naming convention for images which is "artist - album".
Have you come across this problem before?
Title: REACT 2 Released
Post by: Akkurat on 2009-01-01 22:03:28
Something similar yes. You're the 3rd one to report something like this. I was able to reproduce the problem in VPC Vista image and made the fix (included in the latest version of my mod). That also seemed to fix it for the 2nd user that reported it.. never got any feedback from the 1st user. Are you using Vista? And which version of my(?) mod?
Title: REACT 2 Released
Post by: gsa999 on 2009-01-02 15:51:57
Are you using Vista? And which version of my(?) mod?
No I am using XP (latest service pack) and also the latest version of your mod.

I reset EAC to work with REACT (Ctrl-F2) and it seemes OK again for now. I will have to keep an eye on it and see if I can spot a pattern. I only noticed it by accident yesterday and then went back through the 150 albums I have ripped already and found about 20 that were wrong. It was not just a case of changing the file name but also the cue sheet and reference in the cue sheet. Becuase I had embedded the cue sheet in the flac image as well I also had to update that which was the bit that took ages.
Title: REACT 2 Released
Post by: Akkurat on 2009-01-02 18:27:32
I reset EAC to work with REACT (Ctrl-F2) and it seemes OK again for now. I will have to keep an eye on it and see if I can spot a pattern. I only noticed it by accident yesterday and then went back through the 150 albums I have ripped already and found about 20 that were wrong.

Yes, keep an eye on it, it's easier to fix if it's reproducible. Was all of the 150 albums ripped by using my latest mod? Jeez, 20 out of 150 is A LOT... in fact, too much, I wonder why you're the first one to report this (with this magnitude and not with Vista).. hmm. I take it that it doesn't happen with specific albums? E.g. if you rip again one of the failed albums, you don't get the failure again?

The problem with Vista was as follows: Vista's EAC save file dialog window has a combobox for the filename, in XP, EAC does only have a simple "input" box, which doesn't "expand" and show previous inputs. REACT has to input the correct filename to that combo/input box and with Vista, REACT was too quick to input the new value and read it back (verify), i.e. the read/input from/to the combobox failed sometimes because of the "expanding/popup/whatever" combobox values. I tested my fix so that it worked with XP also. I did slow down the whole procedure so much that it's visible to old users, the save file dialog stays on the screen much longer than it did. Also I added a "fail safe" to it: REACT tries to input and read back that value (verify the input) in loop for couple of seconds, after that, a warning message is shown and user can input the correct value. So, with this knowledge and with the limited knowledge from your problem, I can say that there could be a problem with reading/writing the filename value in XP too.

OR, your problem could be that you didn't start the rip with F10 but clicked the "IMG" button (or used the EAC menus) and you clicked the SAVE button in the file save dialog..? I just checked and this could happen without you noticing that something is wrong IF you don't run CoverDownloader. Far fetched but let's rule out this possibility.

It was not just a case of changing the file name but also the cue sheet and reference in the cue sheet. Becuase I had embedded the cue sheet in the flac image as well I also had to update that which was the bit that took ages.

Wait a minute! Did you mean: "changing the file name but also the embedded cue sheet file name and reference in the cue sheet"? I.e. not the REM DATE xxxx line in the cue sheet file?
Title: REACT 2 Released
Post by: gsa999 on 2009-01-06 10:29:03
OR, your problem could be that you didn't start the rip with F10 but clicked the "IMG" button (or used the EAC menus) and you clicked the SAVE button in the file save dialog..? I just checked and this could happen without you noticing that something is wrong IF you don't run CoverDownloader. Far fetched but let's rule out this possibility.

I am not running CoverDownloader. I already have most of the images on my hard disk becuase I have been cataloguing my collection for the last 10 years using Catraxx. I have also always just pressed F10. The problem has not happened again so I am happy for the time being.

Wait a minute! Did you mean: "changing the file name but also the embedded cue sheet file name and reference in the cue sheet"? I.e. not the REM DATE xxxx line in the cue sheet file?
Yes that is what I meant. I needed to change the FILE reference in the cuesheet to reference the correct filename since I slotted in the date. The REM DATE field was fine.

BTW I think I am using your latest mod - but just in case I am not - its akku.b03 - is this the latest?
Title: REACT 2 Released
Post by: Akkurat on 2009-01-06 13:26:03
I already have most of the images on my hard disk becuase I have been cataloguing my collection for the last 10 years using Catraxx.

Jeez, so, how many of the wrong ripped images have been ripped with my mod? Also now when I read again your previous post, I realized that the one wrong image you noticed by accident could have been an older rip NOT made with my mod.. which is it, was the wrong image(s) ripped with my mod or not? Please be more careful what you say in the future.. thanks.

And yes, akku.b03 is the latest version.
Title: REACT 2 Released
Post by: gsa999 on 2009-01-06 19:49:04
Please be more careful what you say in the future.. thanks.
Akkurat

Really sorry - as you say I must be more careful with my wording. When I said I had the images on my hard disk I meant the coverart images NOT the flac/wav images. I had no flac/wav images on my computer until I started the ripping/encoding process using REACT.

I only started ripping my collection at beginning of December and all have been ripped with your latest mod.

Anyway I am working round all this so progress is being made. Up to letter G now. Thanks
Title: REACT 2 Released
Post by: sidewalking on 2009-01-07 02:25:55
Has anyone else had issues with the NeroAAC encoder on REACT config producing files with tags Foobar cannot read?  I can't find much controversy when I search for this, but I would think many REACT and Nero users would be using Foobar as well.

Anyone else out there with this issue?  Is there a preference of AtomicParsley over NeroAacTag and its compatibility with Foobar/iTunes?

I am using the newest Nero 1.3.3, but tried the Feb 2007 release as well.  And, I am using Synthetic Soul's REACT_2.0.ssb16p config, with EAC0.99pb4.
Title: REACT 2 Released
Post by: Akkurat on 2009-01-07 02:56:03
I meant the coverart images NOT the flac/wav images.

Oh, ok, haha, nice misunderstanding.  So this REALLY means that you have got 20 out of 150 images gone wrong.  That's baaaaad. I really can't understand what's the problem again, I remember that I did test that bit of the code very much in both Vista and XP. Maybe the AutoIt language is bugging out.. though I doubt it because were talking about a very simple functions here; read/write value from/to an input control.. I don't know.. would need lots of debugging..

Are you using an old computer? Can you give me some specs? CPU, RAM? Does your system seem sluggish? I wonder if that has anything to do with this.. probably a long shot again.. it's hard to figure out if you can't reproduce it.. or it happens only sometimes and not frequently.

How many albums do you have left? What would you like to do in this situation, continue ripping and keeping an eye out for the problem? Or would you like me to make you a debug mod? With that we could catch the culprit. You could rip normally, but some debug messages could appear at the start of the rip. Of course there's one problem: if we find a solution, I'd have to test it in Vista again (which I don't have at the moment, I "borrowed" it last time and ran it in MS Virtual PC) and if it doesn't work in Vista, we would have to continue testing/debugging. Too bad I can't test/debug this in my system.
Title: REACT 2 Released
Post by: Akkurat on 2009-01-07 03:08:48
I am using Synthetic Soul's REACT_2.0.ssb16p config, with EAC0.99pb4.

Any particular reason for not using my latest mod? I'm not trying to convert people here , it's just that I've seen that some people have been unaware of my new mod.. that's all.

As for the other topics, sorry, I can't help you with those. Are the tags working in other players? I.e. is this a Foobar only problem?
Title: REACT 2 Released
Post by: drbeachboy on 2009-01-07 03:14:05
Is there a preference of AtomicParsley over NeroAacTag and its compatibility with Foobar/iTunes?
You will have some tag reading issues in fb2k if you are using AtomicParsley. AP writes iTunes type tags, some of which will not show in fb2k. Since you asked the question, I am assuming that you are using AP to write the tags. Correct? fb2k will have no issues (at least with the tags that I use) with the tags written by Nero.
Title: REACT 2 Released
Post by: sidewalking on 2009-01-07 18:03:18
Akkurat:  No, I wasn't aware of your mod.  I will have to check it out.  It looks like this is a Foobar only issue, I tried Winamp and iTunes and the tags were fine; iTunes even recognized the embedded cover art.

drbeachboy: Correct, this is AP tagging.  I saw your post from 2006 about getting Nero tags replaced in your config but saw no one else asking you to post it.  Can you share that config part with me (on the REACT-image.cfg file)?  It is weird that fb2k won't read these if they can be read by other programs; it is usually the other way around with foobar working where others won't.

Thanks for the help!
Title: REACT 2 Released
Post by: drbeachboy on 2009-01-07 19:07:19
Sure, no problem with sharing my config. I will post it for you later this evening. I am at work at the moment.
Title: REACT 2 Released
Post by: drbeachboy on 2009-01-08 04:18:38
Here is my REACT Nero config.

Code: [Select]
IF NOT @NeroAac@==1 GOTO end_nero_aac_tracks
SET dest="@TrackDir_AAC@%trackDir%"
IF NOT EXIST %dest% MKDIR %dest%
PUSHD %dest%
IF @various@==1 SET VA_tag=--albumArtist="$q@VA@$q" --compilation true
IF %embed_cover%==1 SET Cover_tag=--artwork $#x
@tools@\acdir.exe --overwrite --output "%TrackName%.m4a" --extra-opt "@cover@" --pipe "TITLE $n/$N aac $#T & @tools@\neroAacEnc1330.exe @Opt_NeroAac@ -ignorelength -if - -of $#o & @tools@\AtomicParsley.exe $#o -o REACT_tmp.m4a %Cover_tag% %VA_tag% %Disc_NeroAac_acdir% --artist $#a --album $#T --tracknum $n/$N --title $#t --year="$q@year@$q" --genre="$q@genre@$q"--comment="$q@comment@$q" --encodingTool $qneroAacEnc @Ver_NeroAac@ @Opt_NeroAac@$q & MOVE /Y REACT_tmp.m4a $#o" "@sourcecuesheet@"
IF @ApplyAlbumGain@==1 @tools@\aacgain.exe %ApplyAG_AacGain% *.m4a > gainlog.txt
REM COPY /Y "@eaclog@" "EAClog.txt"
IF %have_cover%==1 COPY /Y "@cover@" "folder.jpg"
POPD
:end_nero_aac_tracks
Edit to correct config inside the codebox.
Title: REACT 2 Released
Post by: Akkurat on 2009-01-08 09:42:05
Here is my REACT Nero config.

Is that config really working? What are those multiple [email] "tags" doing there?

It looks like this is a Foobar only issue, I tried Winamp and iTunes and the tags were fine; iTunes even recognized the embedded cover art.

Ok. Does anyone know why those tags are NOT working in foobar? Should this issue be raised in the foobar forum?

EDIT: damn this "merge consecutive posts" forum feature.
Title: REACT 2 Released
Post by: drbeachboy on 2009-01-08 14:27:38
Not sure where the came from, though it looks awfully like something here from the posting box. I will edit the config in the codebox.
Title: REACT 2 Released
Post by: sidewalking on 2009-01-09 06:29:46
drbeachboy:  Thanks for the config portion.  I will try it out. 

Akkurat:  I don't know if it should be raised in the foobar forum or not.  It sounds like it may be a known issue and a long-standing one at that.  It may be worth asking over there soon, when I have a spare minute.  I have a new config to test out for now!
Title: REACT 2 Released
Post by: gsa999 on 2009-01-09 09:52:37
Are you using an old computer? Can you give me some specs? CPU, RAM? Does your system seem sluggish? I wonder if that has anything to do with this.. probably a long shot again.. it's hard to figure out if you can't reproduce it.. or it happens only sometimes and not frequently.

How many albums do you have left? What would you like to do in this situation, continue ripping and keeping an eye out for the problem? Or would you like me to make you a debug mod? With that we could catch the culprit. You could rip normally, but some debug messages could appear at the start of the rip. Of course there's one problem: if we find a solution, I'd have to test it in Vista again (which I don't have at the moment, I "borrowed" it last time and ran it in MS Virtual PC) and if it doesn't work in Vista, we would have to continue testing/debugging. Too bad I can't test/debug this in my system.
Yes I am using an old Dell laptop. I like to keep my new laptop free for doing other things whilst all the ripping is going on. Its not particularly fast but I put that down to the spec of the laptop rather than a problem with REACT. The spec is Pentium III 1.2GHz 512mb RAM.

Problem happened again last night - 3 albums but not all in a row - ie one was wrong, 2 were OK and then 2 more were wrong!!!!

The way I am trying to pick the problem up is just by looking in the EAC "Extracting Audio Data" screen which shows the file name being created. It does not show whilst Testing is going on (I have that option set in my react.ini) but when it says 'Copy Selected Range' the wav file name appears just underneath. If the year is missing I will just stop the rip and reset using CTRL-F2.

I have about 600 albums left, so I guess a debug message would be good - thanks.
Title: REACT 2 Released
Post by: Akkurat on 2009-01-09 11:47:00
The way I am trying to pick the problem up is just by looking in the EAC "Extracting Audio Data" screen which shows the file name being created. It does not show whilst Testing is going on (I have that option set in my react.ini) but when it says 'Copy Selected Range' the wav file name appears just underneath. If the year is missing I will just stop the rip and reset using CTRL-F2.

No need to use the Ctrl-F2 if you haven't changed your settings. Also a quicker way to check the filename is to check the temp directory (EAC "use this directory" setting) even when testing is going on.

I have about 600 albums left, so I guess a debug message would be good - thanks.

Wow, you've a long way to go. Good to know that the problem is raising its ugly head more frequently.. I think that we're going to first try to make it happen everytime, that way we would know what the problem is exactly. I sent you a PM.
Title: REACT 2 Released
Post by: earui on 2009-01-14 09:48:09
Hello all!!!

First of all, thanks for this wonderful piece of software! 
It works for me for a long time without big problems. All problems I had, I solved it with reading the Wiki, reading this powerful forum or testing for myself.

But now I have a "problem" I can´t solve by myself:

I would like to rip in folders with initials as folder name.
For example: all artists with the initial "A" (Aerosmith, Air, ...) could be found under

..\A\Aerosmith\...
..\A\Air\...
...
...
...\B\Ben Folds\...
...
etc.

or in other words, the setting:
ImageDir_Flac=@OutRoot@\Music\$cdartist$\...

should look like this:
ImageDir_Flac=@OutRoot@\Music\$initial_cdartist$\$cdartist$\...
or
ImageDir_Flac=@OutRoot@\Music\$[1]cdartist$\$cdartist$\...
or something similar.

But unfortunately I don´t know how to implement this. 

Have someone an idea how I can reach this?
Title: REACT 2 Released
Post by: earui on 2009-01-14 10:19:16
Hello all!!!

or in other words, the setting:
ImageDir_Flac=@OutRoot@\Music\$cdartist$\...

should look like this:
ImageDir_Flac=@OutRoot@\Music\$initial_cdartist$\$cdartist$\...
or
ImageDir_Flac=@OutRoot@\Music\$[1]cdartist$\$cdartist$\...
or something similar.


I have found this working in foobar2000:
...\$left(%album artist%,1)\%album artist%\...

with React 2 it should look like this:
ImageDir_Flac=@OutRoot@\Music\left($cdartist$,1)\$cdartist$\...

Is this possible?
Title: REACT 2 Released
Post by: Synthetic Soul on 2009-01-14 11:29:25
This isn't currently achievable using inbuilt functionality.

However you could create the path you want in your CFG using DOS commands to determine the first character, and move the image and all relevant files to the folders you have manually created.

This page on ss64.com (http://www.ss64.com/nt/syntax-substring.html) tells you how to extract part of a string in a batch file (which is what the CFG basically is).

REACT could be more intelligent, but given that you have numerous commands available to use in the CFG I wonder whether it should be.
Title: REACT 2 Released
Post by: earui on 2009-01-14 13:32:24
Synthetic Soul: Thanks for this quick infos!

You are right, giving "... numerous commands available to use in the CFG ..." confuses probably more then help.
It could be perhaps an good idea to give the possibility making own commands, but I think that´s to difficult too. 

I´m testing modified CFG, but it take a lot of time, since the is batch file is created after ripping.
Is there any "Debug Mode" that generates only the batch file?
It could save a lot of time, cause I´m not really expert in batch programming! 
Title: REACT 2 Released
Post by: Synthetic Soul on 2009-01-14 13:42:17
Not that I know of.

Some things you should be able to test just in a stand-alone batch file, to ensure your logic is correct - you can use hard-coded strings in place of tokens like $cdartist$.

When testing with REACT I tend to use a virtual drive with a small CD image mounted, but you would still need to begin ripping as you would normally, and then either use ECHO and PAUSE statements in your CFG, or quickly open the BAT file in your editor/copy the file before it is deleted.  The "ECHO and PAUSE" approach can be useful.
Title: REACT 2 Released
Post by: earui on 2009-01-15 13:26:56
Synthetic Soul: Thanks again! REACT 2 have an Debug-Mode. You can turn it on in the "react.ini". Under: [UserSettings] you can change "Debug=0" to "Debug=1"!
It don´t helps a lot, because you still have to wait the complete ripping before creating the Batch file, but the batch is paused in the end of all. So you can see in the Dos-Prompt what went wrong.

Your idea, moving all created stuff to an "initial"-folder was not bad. I made this for an image file. But it seems to difficult for me, to modify this for all the other stuff: paths, tracks, covers and so on.

So I "enhanced" REACT 2 a little, to handle this with the Destination path. This has the advantage, that most of all work "as it is". 

As you recommended, I tested it with "a virtual drive with a small CD image mounted". It was Underworld: born slippy. So the name perhaps has something to do, to "slippy born" this baby! 

Now it works how it should (for me of course)!!! 

Under [UserSettings] I can turn this behavior on and off. Like the Debug-Mode!
If somebody is interested how to made this new behavior, I could post how to modify "react.ini" and "REACT-image.cfg".
Although it´s not finalized yet, at all.
I have to clean it, and make it a little bit easier to handle.
I don´t know if the "REACT-track.cfg" have to be modified too. For me it works without modification.

By the side, is it a good idea to name this structure "InitialFolder"? My English is not the best too. 
Perhaps it should be named in an different way? How would you describe this structure?

..\A\Aerosmith\...
..\A\Air\...
...
...
...\B\Ben Folds\...
...
etc.

I think others could have the same wish for this structure, but don´t search this as "Initial Folder Structure"?
Title: REACT 2 Released
Post by: tiggerkater on 2009-01-15 16:05:12
hello to the forum and thanks to everybody helping developing this great software.

after spending hours with no results i am trying to find help here. in fact, my problem is just basic (as i think) but whithout help i am lost, because i am a newbie to eac/react.

i am using eac 0.99 prebeta 3 and react 2.0 with akku b03 mod. i use f4 to rip a cd into flac- and mp3-tracks.

i would wish to copy a playlist (M3U) and the cue sheet into both destination-folders (...\MP3\... and ...\FLAC\).

i have read through the guidelines and wikis, but unfortunately it did not work for me.

here is the code of the REACT-track.cfg, which shoud be important for that matter:

Code: [Select]
REM ** Audio Formats:

    IF @Flac@==1 (
        PUSHD %TrackDir_Flac%
            IF %add_rg%==1 @tools@\Glob.exe -v -c @tools@\metaflac.exe %RG_MetaFlac% *.flac
            REM COPY /Y "@eaclog@" "EAClog.txt"
@tools@\Tag.exe --playlist --sort track --a-artist "@cdartist@" --a-title "@album@" --plname temp.m3u *.flac
REM ** Workaround for %-chars disappearing from the playlist filename when using tag.exe.
REN temp.m3u "$artist$ - $album$.m3u"
IF EXIST "@albumfile@.[mg].cue" COPY "@albumfile@.[mg].cue" "$cdartist$ - $album$.cue" .
        POPD
    )

    IF @Wavpack@==1 (
        PUSHD %TrackDir_Wavpack%
            IF %add_rg%==1 @tools@\wvgain.exe -a *.wv
            REM COPY /Y "@eaclog@" "EAClog.txt"
        POPD
    )

IF @LameMP3@==1 (
        PUSHD %TrackDir_MP3%
@tools@\CREATE-M3U.BAT "@TrackDir_MP3@" "$cdarist$ - $album$"
REM COPY /Y "@eaclog@" "EAClog.txt"
IF EXIST "@albumfile@.[mg].cue" COPY "@albumfile@.[mg].cue" "$cdartist$ - $album$.cue" .
        POPD
    )


as you can see, i tried in two different ways (i created the m3u.bat in the \tools-directory, but nothing worked, also the cue sheets stay in the root folder.

thanks for your help, and sorry for my english...

tiggerkater
Title: REACT 2 Released
Post by: Akkurat on 2009-01-15 16:51:13
Hi tiggerkater and welcome to HA.

@tools@\Tag.exe --playlist --sort track --a-artist "@cdartist@" --a-title "@album@" --plname temp.m3u *.flac

Do you have the tag.exe in the tools directory? From the Creating A Playlist (http://wiki.hydrogenaudio.org/index.php?title=REACT:Creating_A_Playlist) Wiki guide: "Though of course you'll need Tag.exe (http://synthetic-soul.co.uk/tag/)"

IF EXIST "@albumfile@.[mg].cue" COPY "@albumfile@.[mg].cue" "$cdartist$ - $album$.cue" .

Remove the trailing dot from that copy line. Also there's no point to copy a cue sheet to lossy files directory, the main point of creating a cue sheet is to get a 1:1 copy of your CD.. no point of doing this with lossy format, eh? You also might like to check this out: REACT:Amending Cuesheet File References (http://wiki.hydrogenaudio.org/index.php?title=REACT:Amending_Cuesheet_File_References) (not required!).

P.S. There's a pb4 version of EAC available.. in case you didn't know.
Title: REACT 2 Released
Post by: tiggerkater on 2009-01-15 17:13:21
hi akkurat,

thanks for your fast answering.

Quote
Do you have the tag.exe in the tools directory?


yes i have, i think, it was there from first installing, if not, i have put it there...!? (in fact there is Tag.exe in the tools folder...). so it cant be a problem because of that. i don´t know why playlists won´t be created...

Quote
no point of doing this with lossy format, eh


of course you are right, as you can see, i am beginner in ripping CDs...

and i know, that there is a knew version, but i am happy, i got the older version working...

any more thoughts, how i could get my playlist problem solved?

thanks a lot

tiggerkater

ps: have i said, that react does not remove the .log-file, the cue sheet and a react.cue file form the root-directory? perhaps it has something to do with my problem...
Title: REACT 2 Released
Post by: Akkurat on 2009-01-15 17:19:38
Is there any "Debug Mode" that generates only the batch file?
Not that I know of.
Debug=1 ... the batch is paused in the end of all. So you can see in the Dos-Prompt what went wrong.

The problem with that debug is that the console only shows some of the lines executed, i.e. the batch file run (it's output) is too big. I've a new almost finished feature to go around this problem; it uses a new external (free) tool to "capture" the console messages (and show them in the console at the same time.. with only little output drawbacks) and it's possible to output ALL the info to a txt-file. This way the user could have the original bat-file created AND all the output info. I'm expanding the INI DebugMode setting for this.. still have to think about the DebugMode & Debug settings and the differences between those (Debug is now like a "verbose" setting).. it could be confusing with both settings.

I'm trying to start the development of the new version ASAP, but don't get your hopes up too much.. it could take a while. I know, I know, I've been saying this for a long time now, it's bugging me too.
Title: REACT 2 Released
Post by: earui on 2009-01-15 17:36:49
tiggerkater: For creating an playlist, just put this code instate orig code in the "REACT-image.cfg":

Code: [Select]
IF NOT @LameMP3@==1 GOTO end_lame_tracks
    SET dest="@TrackDir_MP3@%initialArtist%\@ArtistPath@%trackDir%"
    IF NOT EXIST %dest% MKDIR %dest%
    PUSHD %dest%
        IF @various@==1 SET VA_tag=--user-text $q[album artist]@VA@$q --frame $qTPE2:@VA@$q
        IF %embed_cover%==1 SET Cover_tag=--pict $#x
        @tools@\acdir.exe --overwrite --output "%TrackName%.mp3" --extra-opt "{3}@cover@" --pipe "TITLE $n/$N mp3 $#T & @tools@\lame.exe @Opt_LameMP3@ %ApplyAG_Lame% - $#o & @tools@\metamp3.exe %Cover_tag% %VA_tag% %Disc_MP3_acdir% --artist $#a --album $#T --title $#t --track $n --year $q@year@$q --genre $q@genre@$q --comment $q@comment@$q --frame TENC:$q%USERNAME%$q --frame TSSE:$qLAME @Ver_LameMP3@ @Opt_LameMP3@$q $#o" "@sourcecuesheet@"
        IF %add_rg%==1 @tools@\metamp3.exe %RG_MetaMP3% *.mp3
        IF @ApplyAlbumGain@==1 @tools@\metamp3.exe %ApplyAG_MetaMP3% *.mp3
        @tools@\Tag.exe --playlist --nocheck --a-artist "@cdartist@" --a-title "@album@" --dirname *.mp3
        COPY /Y "@eaclog@" "EAClog.txt"
        IF %have_cover%==1 COPY /Y "@cover@" "folder.jpg"
    POPD


Even that you want tracks, this have to be placed in the "REACT-image.cfg". I thing only if you want to rip single, or several tracks, not the whole disc, the "REACT-track.cfg" is taken. But it´s only a guess. I´m exploring that for a little time yet.

The line where "@tools@" starts is the line which creates an m3u playlist. The next line is originally remarked (REM). Delete the REM and the  "EAClog.txt" should be copied.

I hope it will work for you. For me it work about an year or so, even creating an playlist for Ogg too. 

Sorry for my poor english. I´m a Portuguese living in Germany!
Title: REACT 2 Released
Post by: Akkurat on 2009-01-15 17:55:22
any more thoughts, how i could get my playlist problem solved?

Have you tried the tag.exe separately? Just dos prompt to a folder where you have FLAC or Mp3 files and run

Code: [Select]
"C:\Program Files\REACT\Tools\Tag.exe" --playlist --sort track --a-artist "@cdartist@" --a-title "@album@" --plname temp.m3u *.flac
(or *.mp3)
and see if that works at all.


P.S. I just changed the Wiki guide for the following line:
Code: [Select]
REN temp.m3u "$artist$ - $album$.m3u"

to
Code: [Select]
REN temp.m3u "$cdartist$ - $album$.m3u"

for VA albums to produce correct playlist filenames.

react does not remove the .log-file, the cue sheet and a react.cue file form the root-directory? perhaps it has something to do with my problem...

You have the Debug setting on in INI. Those files are deleted normally when you turn that option off.
Title: REACT 2 Released
Post by: Akkurat on 2009-01-15 18:05:44
Even that you want tracks, this have to be placed in the "REACT-image.cfg". I thing only if you want to rip single, or several tracks, not the whole disc, the "REACT-track.cfg" is taken. But it´s only a guess. I´m exploring that for a little time yet.

NO! Not true! REACT, whether you rip in image or track mode, is designed to work only with WHOLE album rips.
Title: REACT 2 Released
Post by: tiggerkater on 2009-01-15 20:22:24
thanks for the answers,

Quote
Have you tried the tag.exe separately? Just dos prompt to a folder where you have FLAC or Mp3 files and run


i have my problems with command-line tools....  , but i tried to do so: i could not get it to work in my directory D:\ but in C:\! i copied one folder with music to c: and then i run tag.exe, and it worked. can it be a problem, that my eac root folder (my music folder) is located at another partition of the harddrive?

here an excerpt of my react.ini, so you can have a look at the directories:

Code: [Select]
...
CreateCuesheet=mg
RunCoverDownloader=1
CoverDownloader=C:\Programme\REACT2\AlbumArtDownloaderXUI\AlbumArt.exe
CoverDownloaderXUI=1
CoverDownloaderLocalPath=
OpenAddMetaDataDiag=0
EAC=C:\Eac\EAC.exe
Tools=C:\Programme\REACT2\tools
MinimizeCompressionWindow=1
ProcessPriority=1
Sla_Bks_Col_Qst_Bar_Quo_Ast_Lt_Gt=-|-|-||!|'|#|[|]
Test=0

[UserTrackFormats]
Flac=1
Wavpack=0
LameMP3=1
NeroAac=0
iTunesAac=0
OggEnc2=0
Tak=0

[UserOutputNames]
OutRoot=D:\eac_rips
ImageDir_Flac=@OutRoot@\FLAC-images\$cdartist$
ImageDir_Wavpack=@OutRoot@\WV-images\$cdartist$
ImageDir_MP3=@OutRoot@\MP3-images\$cdartist$
ImageDir_Tak=@OutRoot@\TAK-images\$cdartist$
TrackDir_Flac=@OutRoot@\FLAC\$cdartist$\[$year$] $album$
TrackDir_Wavpack=@OutRoot@\WV\$cdartist$\[$year$] $album$
TrackDir_MP3=@OutRoot@\MP3\$cdartist$\[$year$] $album$
TrackDir_AAC=@OutRoot@\AAC\$cdartist$\[$year$] $album$
TrackDir_OGG=@OutRoot@\OGG\$cdartist$\[$year$] $album$
TrackDir_Tak=@OutRoot@\TAK\$cdartist$\[$year$] $album$
TrackName_SA=$track$ - $title$
TrackName_VA=$track$ - $title$ [$artist$]
TrackName_SA_acdir=$n - $~t
TrackName_VA_acdir=$n - $~t [$~a]

[UserSettings]
DebugMode=0
Debug=0...


and as you can see debug=0,

Quote
You have the Debug setting on in INI. Those files are deleted normally when you turn that option off.


but the files (cue sheet an lod file) are not deleted, strange, am i right?

thanks and again i am  happy for every help

tiggerkater
Title: REACT 2 Released
Post by: Akkurat on 2009-01-15 21:32:49
@tiggerkater:

Aha, now I think I know what's the problem here. You're not ripping WHOLE albums! I.e. you aren't ripping the last track. Right? If the last track is NOT ripped, then the post-processing section in track.cfg is NOT executed, and that section has the RG calculation (if selected in INI), cue sheet copy (your add), playlist creation (your add) & "cleanup" commands.

I think I'll add a note to REACT Wiki that REACT is only designed to rip WHOLE albums, not individual tracks.
Title: REACT 2 Released
Post by: tiggerkater on 2009-01-15 22:47:11
hi akkurate,

yes this was the problem! everything works works fine, when ripping the whole album!

thanks a lot

tiggerkater
Title: REACT 2 Released
Post by: Middy on 2009-01-16 04:13:54
Hey all, sorry if this is a bit of a newbie question 

When I rip a cd with REACT using NeroAAC, the tags don't show up in foobar. To my knowledge, I'm using AtomicParsley to tag the files, which uses iTunes tags, correct? I've had a look at previous responses in this forum, i'm assuming that it's the same problem as sidewalking had:

Has anyone else had issues with the NeroAAC encoder on REACT config producing files with tags Foobar cannot read?  I can't find much controversy when I search for this, but I would think many REACT and Nero users would be using Foobar as well.

Anyone else out there with this issue?  Is there a preference of AtomicParsley over NeroAacTag and its compatibility with Foobar/iTunes?

I am using the newest Nero 1.3.3, but tried the Feb 2007 release as well.  And, I am using Synthetic Soul's REACT_2.0.ssb16p config, with EAC0.99pb4.

Is there any way to write tags which foobar (ideally itunes and winamp aswell) will read? I'm testing out this config:

Here is my REACT Nero config.

Code: [Select]
IF NOT @NeroAac@==1 GOTO end_nero_aac_tracks
SET dest="@TrackDir_AAC@%trackDir%"
IF NOT EXIST %dest% MKDIR %dest%
PUSHD %dest%
IF @various@==1 SET VA_tag=--albumArtist="$q@VA@$q" --compilation true
IF %embed_cover%==1 SET Cover_tag=--artwork $#x
@tools@\acdir.exe --overwrite --output "%TrackName%.m4a" --extra-opt "@cover@" --pipe "TITLE $n/$N aac $#T & @tools@\neroAacEnc1330.exe @Opt_NeroAac@ -ignorelength -if - -of $#o & @tools@\AtomicParsley.exe $#o -o REACT_tmp.m4a %Cover_tag% %VA_tag% %Disc_NeroAac_acdir% --artist $#a --album $#T --tracknum $n/$N --title $#t --year="$q@year@$q" --genre="$q@genre@$q"--comment="$q@comment@$q" --encodingTool $qneroAacEnc @Ver_NeroAac@ @Opt_NeroAac@$q & MOVE /Y REACT_tmp.m4a $#o" "@sourcecuesheet@"
IF @ApplyAlbumGain@==1 @tools@\aacgain.exe %ApplyAG_AacGain% *.m4a > gainlog.txt
REM COPY /Y "@eaclog@" "EAClog.txt"
IF %have_cover%==1 COPY /Y "@cover@" "folder.jpg"
POPD
:end_nero_aac_tracks
Edit to correct config inside the codebox.

But this was posted as a REACT-image.cfg (whichl won't work in REACT-track.cfg, right?) Is there any way of getting this working for selected tracks rather than images? Thanks for any help 
Title: REACT 2 Released
Post by: Akkurat on 2009-01-17 01:27:09
Is there any way to write tags which foobar (ideally itunes and winamp aswell) will read?

Unfortunately I'm not good with this topic. If you get the correct tags and instructions, I can help you to change the track config file.

Maybe this issue should be raised in the fb2k forums. I don't understand why AtomicParsley tags are not supported.. maybe somebody "over there" knows.

@ sidewalking: Did you post this problem in the foobar forum?

@ drbeachboy: Can you help us with this? You said that only some tags are not read correctly, your amended image config only tags what tags with nero?

Is there any way of getting this working for selected tracks rather than images?

I hope you meant to write ".. for track mode ripping rather than images". In case you didn't, REACT, whether you rip in image or track mode, is designed to work only with WHOLE album rips. (I feel like a parrot repeating myself )
Title: REACT 2 Released
Post by: Spartacus on 2009-01-18 14:05:39
The wiki has more info : http://wiki.hydrogenaudio.org/index.php?title=REACT (http://wiki.hydrogenaudio.org/index.php?title=REACT)


Hi guys,

under Vista (32bit), REACT works great, but only doesn't start the albumart downloader.
Yes, I've set all the flags and dirs in the react.ini file, and yes, i've ensured user's rights
on these dirs.

What to do?

I didn't find any hint on this using simple search here, but maybe someone can give me a link?

Regards

Spartacus
Title: REACT 2 Released
Post by: Akkurat on 2009-01-18 14:22:44
doesn't start the albumart downloader.

Are you using the downloader that came with REACT? If yes, replace it with Album Art Downloader XUI (http://www.hydrogenaudio.org/forums/index.php?showtopic=57392) (remember to set CoverDownloaderXUI=1 in the INI after that). Also check the REACT mods (http://wiki.hydrogenaudio.org/index.php?title=REACT:Mods) in case you're just using the original REACT 2.0.
Title: REACT 2 Released
Post by: Spartacus on 2009-01-18 14:38:30
doesn't start the albumart downloader.

Are you using the downloader that came with REACT? If yes, replace it with Album Art Downloader XUI (http://www.hydrogenaudio.org/forums/index.php?showtopic=57392) (remember to set CoverDownloaderXUI=1 in the INI after that). Also check the REACT mods (http://wiki.hydrogenaudio.org/index.php?title=REACT:Mods) in case you're just using the original REACT 2.0.

Hi,

sorry, I forgot to tell you:
I'm using the akku mod (REACT v2.0.akku.b03) and I've configured XUI Album Art Downloader and set the appropriate flag.

Any more hints?

Spartacus
Title: REACT 2 Released
Post by: Akkurat on 2009-01-18 15:16:28
Does the AAD XUI work otherwise, just not when using REACT? You have to give more details. Does REACT or AAD XUI give error messages? Have you set the RunCoverDownloader setting in INI to other than 0? And are you starting rips with F4 or F10? If it's just AAD XUI that fails, maybe you should ask for help in its own thread.
Title: REACT 2 Released
Post by: Spartacus on 2009-01-18 18:34:53
Does the AAD XUI work otherwise, just not when using REACT? You have to give more details. Does REACT or AAD XUI give error messages? Have you set the RunCoverDownloader setting in INI to other than 0? And are you starting rips with F4 or F10? If it's just AAD XUI that fails, maybe you should ask for help in its own thread.

Ok, more details:

Albumart.exe works fine if i start it manually.

my react.ini for albumart:

RunCoverDownloader=1
CoverDownloader=C:\Program Files\REACT2\AlbumArtDownloader\albumart.exe
CoverDownloaderXUI=1
CoverDownloaderLocalPath=@OutRoot@\MP3\$cdartist$\$album$

EAC=C:\Program Files\Exact Audio Copy\EAC.exe
Tools=C:\Program Files\REACT2\tools

I've just changed my CoverDownloaderLocalPath to this value, before, it was something like "e:\data\coverart" and didn't work either.

I'm ripping with F4, REACT starts detecting the gaps and then rips the songs as configured.

So, what can be wrong now?

Spartacus
Title: REACT 2 Released
Post by: Akkurat on 2009-01-18 20:21:21
CoverDownloader=C:\Program Files\REACT2\AlbumArtDownloader\albumart.exe

Is this where you unzipped the AAD XUI? Or did you install it to something like C:\Program Files\AlbumArtDownloader\ ? I.e. is REACT trying to start the old AAD? Make sure that this setting points to the XUI version.

CoverDownloaderLocalPath=@OutRoot@\MP3\$cdartist$\$album$
I've just changed my CoverDownloaderLocalPath to this value, before, it was something like "e:\data\coverart" and didn't work either.

It seems that you don't understand what this setting does, and/or haven't RTFM.. [Settings] CoverDownloaderLocalPath (http://wiki.hydrogenaudio.org/index.php?title=REACT:Mods#.5BSettings.5D_CoverDownloaderLocalPath), check it out.  The @OutRoot@ and the $cdartist$ don't work here. If you don't have existing cover images, leave this setting empty.
Title: REACT 2 Released
Post by: Spartacus on 2009-01-19 11:46:59
CoverDownloader=C:\Program Files\REACT2\AlbumArtDownloader\albumart.exe

Is this where you unzipped the AAD XUI? Or did you install it to something like C:\Program Files\AlbumArtDownloader\ ? I.e. is REACT trying to start the old AAD? Make sure that this setting points to the XUI version.

Well, I've installed XUI to its default location and then moved it below the react-tree to ensure the necessary rights.

CoverDownloaderLocalPath=@OutRoot@\MP3\$cdartist$\$album$
I've just changed my CoverDownloaderLocalPath to this value, before, it was something like "e:\data\coverart" and didn't work either.

It seems that you don't understand what this setting does, and/or haven't RTFM.. [Settings] CoverDownloaderLocalPath (http://wiki.hydrogenaudio.org/index.php?title=REACT:Mods#.5BSettings.5D_CoverDownloaderLocalPath), check it out.  The @OutRoot@ and the $cdartist$ don't work here. If you don't have existing cover images, leave this setting empty.

I've read it, but maybe didn't understand it completely ;-)
Ok, yesterday evening I tried it again with F10.
Then everything works fine:
- AlbumArt starts up and offers covers to select from
- gaps are detected
- everything is ripped as configured
- cueSheet is made
- CoverArt and cueSheet are put into the mp3 directory

So I guess, I will blank out the CoverDownloaderLocalPath and then continue ripping with F10, shouldn't I?

Spartacus
Title: REACT 2 Released
Post by: Akkurat on 2009-01-19 12:54:30
Well, I've installed XUI to its default location and then moved it below the react-tree to ensure the necessary rights.

Never do this! It's not recommended to move installed program files to another directory! In some cases the program could work, but you're only begging for troubles. Either you should have downloaded the ZIP archive and extracted that to the REACT\AlbumArtDownloader\ folder, or installed and pointed the INI setting to that installed folder. E.g. I have AAD XUI installed and my INI setting is: CoverDownloader=C:\Program Files\AlbumArtDownloader\albumart.exe

So I guess, I will blank out the CoverDownloaderLocalPath and then continue ripping with F10, shouldn't I?

You don't have to put anything to the CoverDownloaderLocalPath setting if you don't have existing cover images. I.e. you only want to download cover images from various _internet_ sources with XUI. With this INI setting you could specify a _local_ source (i.e. a path or an image in your HD where you have cover image(s)).

I myself use this setting as follows: I'm too perfectionist to settle with the quality of the images available with AAD XUI sources, therefore I use AAD separately to download cover images to my HD and I edit the images to meet my standards (clean out crap, rotate tilted images, correct colors/saturation/etc., resize, etc.).  Then I save the finished image to a specific directory with a specific filename (my INI setting: CoverDownloaderLocalPath=D:\Music\RIPPED\EAC\_folder.jpg .. this is my EAC "Use this directory") and I'm ready to start the rip so that my edited cover image gets selected without opening AAD XUI.

Both F4 and F10 should work, you should choose which one to use based on what kind of encoded music files you want. If you need images (one file, all tracks included) then you'll _have_ to use F10 image mode ripping (tracks are also available with this mode). If you only want tracks, then IMHO you'll be better off ripping with F4 (track mode).

Are you saying that AAD XUI doesn't start when ripping in track mode (F4)? Only when using F10? Very hard to believe that. Please test more.. but first, resolve the situation with the "moved installed program" issue. Thanks.
Title: REACT 2 Released
Post by: Spartacus on 2009-01-19 19:14:19
Well, I've installed XUI to its default location and then moved it below the react-tree to ensure the necessary rights.

Never do this! It's not recommended to move installed program files to another directory! In some cases the program could work, but you're only begging for troubles. Either you should have downloaded the ZIP archive and extracted that to the REACT\AlbumArtDownloader\ folder, or installed and pointed the INI setting to that installed folder. E.g. I have AAD XUI installed and my INI setting is: CoverDownloader=C:\Program Files\AlbumArtDownloader\albumart.exe

I should have mentioned that I really do know what I did there. In more than 20 years of
computing, this is not the first time I've tried, tested and done this successfully ;-)
Ok, but anyway, just to be sure, I set back the location to the original installation directory
of XUI (which wasn't deleted).
This works exactly as well with F10 as the other configuration.

So I guess, I will blank out the CoverDownloaderLocalPath and then continue ripping with F10, shouldn't I?

You don't have to put anything to the CoverDownloaderLocalPath setting if you don't have existing cover images.

I don't have. So I blanked the setting now.

Both F4 and F10 should work, you should choose which one to use based on what kind of encoded music files you want. If you need images (one file, all tracks included) then you'll _have_ to use F10 image mode ripping (tracks are also available with this mode). If you only want tracks, then IMHO you'll be better off ripping with F4 (track mode).


Well, that's what I too tried and what didn't work until today. I don't need the images, so I prefer to rip via F4, but...

Are you saying that AAD XUI doesn't start when ripping in track mode (F4)? Only when using F10? Very hard to believe that. Please test more.. but first, resolve the situation with the "moved installed program" issue. Thanks.

Exactly, first, REACT didn't start AAD XUI on pressing F4, but on pressing F10 only.
Now, as I've blanked out the CoverDownloaderLocalPath, it works!
But now, the cue sheet is created during the reading of the tracks, but NOT saved somewhere nearby the flac-files.

What did i forgot to set.


Thanks for any more hints (and you've given me a whole lot of them).

Spartacus
Title: REACT 2 Released
Post by: Akkurat on 2009-01-20 11:34:53
I should have mentioned that I really do know what I did there. In more than 20 years of
computing, this is not the first time I've tried, tested and done this successfully ;-)

I thought that it's common knowledge not to move installed programs in Windows?! I too have about 20 years of history with computers. Sometimes the programs could work after moving but it's not recommended to do so. Why else would we now have a rising demand of "portable" applications to use with USB-memories?

Exactly, first, REACT didn't start AAD XUI on pressing F4, but on pressing F10 only.
Now, as I've blanked out the CoverDownloaderLocalPath, it works!

Did you try the F4 just once? Maybe there was a problem with AAD..?

I previously tried out your faulty CoverDownloaderLocalPath setting and AAD started just fine with F4.. so it's not that.

But now, the cue sheet is created during the reading of the tracks, but NOT saved somewhere nearby the flac-files.

What cue sheet? REACT.cue? That's always created when ripping in track mode and should not be copied, it's deleted automatically at the end of the rip.

The cue sheet system is different in track mode; cue sheet is NOT automatically made and copied, you need to set INI setting for this and edit the REACT-track.cfg file manually. For more information about creating the cue sheet, read: [Settings] CreateCuesheet (http://wiki.hydrogenaudio.org/index.php?title=REACT:Mods#.5BSettings.5D_CreateCuesheet), and then use the REACT:Amending Cuesheet File References (http://wiki.hydrogenaudio.org/index.php?title=REACT:Amending_Cuesheet_File_References) Wiki guide to edit your REACT-track.cfg file. The amending process both copies your cue sheet and amends the file references. Use the GSAR method and don't forget to download & copy GSAR.exe to your REACT\tools folder.
Title: REACT 2 Released
Post by: Middy on 2009-01-21 04:05:22
Is there any way of getting this working for selected tracks rather than images?

I hope you meant to write ".. for track mode ripping rather than images". In case you didn't, REACT, whether you rip in image or track mode, is designed to work only with WHOLE album rips. (I feel like a parrot repeating myself )


That's the one, my bad 

Just continuing on from my previous post here...

Found some threads in the Foobar forums...
Foobar 0.9 can't read Atomic Parsley-set tags. (http://www.hydrogenaudio.org/forums/index.php?showtopic=44454)
iTunes tags gone after Replaygain (http://www.hydrogenaudio.org/forums/index.php?showtopic=44988)

From what I understand, Atomic Parsley writes "broken" Nero tags aswell as Apple tags. Foobar reads the bad Nero tags, and doesn't fall back on the Apple tags as it already has read the Nero tags. There apparently is a "--foobar2000Enema" which fixes this, haven't tried it yet.

I've got neroaactag working with REACT now, no problems with it sofar:
Code: [Select]
IF NOT @NeroAac@==1 GOTO end_nero_aac_tracks
    IF NOT EXIST %TrackDir_AAC% MKDIR %TrackDir_AAC%
    PUSHD %TrackDir_AAC%
        IF @various@==1 SET VA_tag=--albumArtist "@VA@" --compilation true
        IF %embed_cover%==1 SET Cover_tag=--artwork "@cover@"
        ECHO ON
        @tools@\neroAacEnc.exe @Opt_NeroAac@ -if "@source@" -of "%TrackName%.m4a"
    @tools@\neroAacTag.exe "%TrackName%.m4a" -meta:artist="@artist@" -meta:album="@album@" -meta:track=@track@ -meta:totaltracks=@numtracks@ -meta:title="@title@" -meta:year="@year@" -meta:genre="@genre@" -meta:comment="Mitch Ipod [LY]" -meta:disc="@discnumber@" -meta:totaldiscs="@totaldiscs@"
        @ECHO OFF
        IF @Debug@==1 ECHO ON
        MOVE /Y REACT_tmp.m4a "%TrackName%.m4a"
        IF %have_cover%==1 IF NOT EXIST folder.jpg COPY "@cover@" folder.jpg
    POPD
:end_nero_aac_tracks


@akkurat: Cheers for the help 
Title: REACT 2 Released
Post by: Akkurat on 2009-01-21 13:24:30
From what I understand, Atomic Parsley writes "broken" Nero tags aswell as Apple tags. Foobar reads the bad Nero tags, and doesn't fall back on the Apple tags as it already has read the Nero tags. There apparently is a "--foobar2000Enema" which fixes this, haven't tried it yet.

I quickly read the threads and got the same impression.. thanks for the links. But, I still don't understand the whole situation.

1) Why was the AP chosen to REACT as a tool?
1.1) Only (aac) tool to be freely distributed with REACT?
1.2) Only (free) tool to tag iTunes tags?
2) What exactly does the "--foobar2000Enema" switch do? Does it remove iTunes tags? I.e. is it safe to use? Should this be used in REACT default configs?
3) Would the NeroAacTag be enough for all aac tagging needs? I.e. does it produce tags which would work in iTunes & fb2k & Winamp & the rest?

I hope that anybody who knows the technical details of this would speak out. Otherwise, I can't make a rational decision to amend the REACT configs.. that is, if the current situation is not good and configs should be amended.
Title: REACT 2 Released
Post by: Endox on 2009-01-22 23:53:58
I've been getting a problem with image names when using the Akkurat mod and hitting F10 - both the wav files and final image (FLAC or otherwise) are being named simply " - [].wav" or " - [].flac" etc. The CD info is all loading fine and the individual aac or mp3 files I encode are all named correctly, however I cannot seem to resolve the problem with image names. It does not happen when I use REACT 2 unmodded, only when I use akkurat's modified .exe file; the problem does not seem to be in the config files as I can swap these around without any issues.

The confusing thing is that as soon as I press F10 an explorer window ('save as' style) pops up briefly as normal, this initially has the correct file name but after a fraction of a second it is replaced by the empty " - [].wav". When I try modifying the ImageNaming parameter to "ImageNaming=blah blah $artist$ - [$year$] $album$" for example, the output file will be "blah blah [].wav", suggesting that something is overwriting the artist, year and album tags with blank data after they've been correctly generated.

I'm sure there's a simple solution to this but have not been able to find mention of the problem elsewhere, so any help would be appreciated.
Title: REACT 2 Released
Post by: Akkurat on 2009-01-23 13:29:29
I've been getting a problem with image names when using the Akkurat mod and hitting F10 - both the wav files and final image (FLAC or otherwise) are being named simply " - [].wav" or " - [].flac" etc. ... It does not happen when I use REACT 2 unmodded, only when I use akkurat's modified .exe file

Wow, this is strange.

1) Does this happen everytime?
2) Are you using the INI file that came with my mod? (shouldn't matter in this case but...)
3) Your OS?

..an explorer window ('save as' style) pops up briefly as normal, this initially has the correct file name but after a fraction of a second it is replaced by the empty " - [].wav".

Is the "initial correct filename" <$artist$> - <$album$>? (that's the EAC default without the year)

From the info you've given me, I'd say that the problem is that REACT (or AutoIt), for some reason, fails to read the necessary information from the EAC window (if the read command fails, it returns a blank string of ""). I haven't changed that part in the source, so it's really strange why the unmodded works (everytime?). Only one thing has changed, I updated AutoIt to a newer version.. I wonder if this has anything to do with this.. hard to believe but it's possible. Can you test with the last Synthetic Soul's mod? That version is generated with an older AutoIt (but newer than the original REACT).. I'm curious to see what happens.

I'm sure there's a simple solution to this

*sigh* If only.
Title: REACT 2 Released
Post by: Endox on 2009-01-25 00:29:36
1) Does this happen everytime?
2) Are you using the INI file that came with my mod? (shouldn't matter in this case but...)
3) Your OS?

1) I've tested with various CDs and it's the same problem for them all
2) I've tried swapping ini file around and I still get the problem, but swapping the exe file to an older one (the original REACT2 or Synthetic Soul mod) makes it work correctly.
3) OS is Vista Ultimate

Is the "initial correct filename" <$artist$> - <$album$>? (that's the EAC default without the year)

From the info you've given me, I'd say that the problem is that REACT (or AutoIt), for some reason, fails to read the necessary information from the EAC window (if the read command fails, it returns a blank string of ""). I haven't changed that part in the source, so it's really strange why the unmodded works (everytime?). Only one thing has changed, I updated AutoIt to a newer version.. I wonder if this has anything to do with this.. hard to believe but it's possible. Can you test with the last Synthetic Soul's mod? That version is generated with an older AutoIt (but newer than the original REACT).. I'm curious to see what happens.

Yeah the initial filename that shows up is I've realised just the EAC default without the year (for example "Led Zeppelin - In Through The Out Door"). I tried using Synthetic Soul's mod ssb16p, and that works correctly like the original REACT2, naming it "Led Zeppelin - [1979] In Through The Out Door", or whatever else I configure it to. So your guess about the AutoIt version would seem correct, but I've got no idea how to get around it, do you think it's incompatible with my OS version or something?
Title: REACT 2 Released
Post by: Akkurat on 2009-01-25 01:22:29
So your guess about the AutoIt version would seem correct, but I've got no idea how to get around it, do you think it's incompatible with my OS version or something?

I don't know exactly what's going on, just a hunch.. but, there are other Vista users and you're the first one to report something like this.

I could build you a debug version to try to confirm the culprit. Also we could test older and newer AutoIt versions if that would help. Also I could try to change the way the info is read from the EAC window (if this truly is the problem here). I've just noticed in other case (other EAC save dialog problem.. again) a very strange behaviour of a ControlSetText-function in WinXP too which could finally explain the seemingly endless "image filename wrong" bughunting/fixing I've done with previous versions.. and with your case I'm guessing that the ControlGetText fails for some reason.. I haven't yet ended my tests with the previous problem but it seems to be a pretty clear case.. maybe there's a really strange, rarely occurring bug with these AutoIt functions (in newer AutoIt versions).

How does this sound? PM me your email and I'll get back to you, perhaps already tomorrow (it's 3am here in Finland and I'm going to bed.. to read a couple of short stories by Ray Bradbury ).
Title: REACT 2 Released
Post by: Endox on 2009-01-25 11:21:31
So your guess about the AutoIt version would seem correct, but I've got no idea how to get around it, do you think it's incompatible with my OS version or something?

I don't know exactly what's going on, just a hunch.. but, there are other Vista users and you're the first one to report something like this.

I could build you a debug version to try to confirm the culprit. Also we could test older and newer AutoIt versions if that would help. Also I could try to change the way the info is read from the EAC window (if this truly is the problem here). I've just noticed in other case (other EAC save dialog problem.. again) a very strange behaviour of a ControlSetText-function in WinXP too which could finally explain the seemingly endless "image filename wrong" bughunting/fixing I've done with previous versions.. and with your case I'm guessing that the ControlGetText fails for some reason.. I haven't yet ended my tests with the previous problem but it seems to be a pretty clear case.. maybe there's a really strange, rarely occurring bug with these AutoIt functions (in newer AutoIt versions).

How does this sound? PM me your email and I'll get back to you, perhaps already tomorrow (it's 3am here in Finland and I'm going to bed.. to read a couple of short stories by Ray Bradbury ).

Sweet. Don't feel obliged at all, it sounds like a lot of work, but if you're happy to then I would certainly appreciate it. I'll PM you email add now.
Title: REACT 2 Released
Post by: gsa999 on 2009-02-03 18:11:18
Have just noticed something strange with Reacts replaygain of mp3's. I am ripping to flac image, flac tracks and then mp3 tracks.

Using mp3tag I wanted to check that the replaygain tags were getting populated. All flac tracks are OK. However a number (about 25 out of 8,000) mp3 tracks are missing replaygain tags (all 4 of them). In the main all these tracks end with a fullstop - a few don't but they all seem to be particularly long track titles. Some examples:

N.I.B.
L.A.
Momma...
Introduction-Workin' For MCA (Alternate Take, Previously Unreleased) (Live) (Bonus)

I wonder if this is a bug in React2
Title: REACT 2 Released
Post by: Mike-C on 2009-02-05 06:59:16
I wonder if someone could advise whether it is possible to pass thru to REACT, the filename as generated by EAC. I want to be able to do this in order to expand the options I have available with CDs containing indexed tracks (I have quite a number of these in my collection).
.
EAC handles indexes fine – each index is ripped as a separate track with the same track name but with the track number modified to incorporate the index number. So, for example,  track 4 , index 1 is numbered  04.01. When using FLAC as the compressor, that indexed filename is passed thru and all works OK.

When used with REACT, EAC still formulates the filename in that manner. However,  the filenaming processes in REACT are such that the same track number/track name is used for each index. Consequently, the same file name is applied to each index. So each index file simply overwrites the previous one and all I end up with is the last written.

There are alternatives of course. I can rip the index tracks using FLAC as the encoder and then rename the tracks and calculate replay gain with FooBar. I can also simply rip the track in REACT non-indexed and use my editor to extract the index segments from the combined wav file. Depending on the number of indexed tracks on the CD, any of those (and other) options might be OK. But I’d like to have the additional option of having REACT recognize the indexed track number.

Any help would be appreciated.
Title: REACT 2 Released
Post by: Akkurat on 2009-02-05 18:48:46
However a number (about 25 out of 8,000) mp3 tracks are missing replaygain tags (all 4 of them). In the main all these tracks end with a fullstop - a few don't but they all seem to be particularly long track titles.


So, do I understand correctly; you have some separate mp3 tracks without RG tags from different albums where other (or some) album tracks have the RG tags? Can you reproduce the problem when re-ripping the albums which have the affected tracks? Were you using amended .cfg files? If yes, can you test with the stock .cfg files? Also try to spot a pattern. You say that the tracks have long titles, have you counted the lengths and checked other long track titles from your collection? Can you test out metamp3.exe manually? Just run: "C:\Program Files\REACT\tools\metamp3.exe"  --replay-gain *.mp3 for the mp3 files which don't have RG tags.. does it work?   

Title: REACT 2 Released
Post by: Akkurat on 2009-02-05 19:05:15
I wonder if someone could advise whether it is possible to pass thru to REACT, the filename as generated by EAC. I want to be able to do this in order to expand the options I have available with CDs containing indexed tracks (I have quite a number of these in my collection).
.
EAC handles indexes fine – each index is ripped as a separate track with the same track name but with the track number modified to incorporate the index number. So, for example,  track 4 , index 1 is numbered  04.01. When using FLAC as the compressor, that indexed filename is passed thru and all works OK.

When used with REACT, EAC still formulates the filename in that manner. However,  the filenaming processes in REACT are such that the same track number/track name is used for each index. Consequently, the same file name is applied to each index. So each index file simply overwrites the previous one and all I end up with is the last written.

I'm a bit lost here, what are you trying to do?

Are you aware that REACT has 2 ripping methods?
1) F4 key = activates either Action -> Copy Selected Tracks -> Compressed... or Action -> Test & Copy Selected Tracks -> Compressed...
2) F10 key = activates either Action -> Copy Image & Create CUE Sheet -> Compressed... or Action -> Test & Copy Image & Create CUE Sheet -> Compressed...
Title: REACT 2 Released
Post by: Mike-C on 2009-02-07 09:24:50
I'm a bit lost here, what are you trying to do?

Are you aware that REACT has 2 ripping methods?
1) F4 key = activates either Action -> Copy Selected Tracks -> Compressed... or Action -> Test & Copy Selected Tracks -> Compressed...
2) F10 key = activates either Action -> Copy Image & Create CUE Sheet -> Compressed... or Action -> Test & Copy Image & Create CUE Sheet -> Compressed...


Hi Akkurat
Thanks very much for your prompt response and for the excellent work that you (and others) have done in developing this great set of integrated tools.
Based on your response, it seems my post wasn’t easily understood and I apologise for that. I realise the risk that adding more information to an unclear situation  will simply complicated matters even more.  However I’ve provide a bit of background and info about how I use REACT which may help. I am new to REACT  and this post probably reflects my limited experience and limited understanding of how REACT works. I’m not sure if this post infringes any post length rules or protocols but I couldn’t find any in the Help pages.
Using REACT
Usually, when using REACT, I rip the whole CD to FLAC in track mode. Occasionally I only rip selected tracks (but always the last track – so that RG can be applied) and I also sometimes rip to MP3 as well as FLAC. I note the advice about REACT being designed to work with whole albums but I haven’t had any problems ripping selectively. I don’t use image mode.
REACT Methods
I didn’t really understand your comments about REACT methods. It seems to infer that REACT only works via Hotkeys. I do realize that REACT can be invoked using a Hotkey but I find it works fine when invoked via the Action menu or associated shortcut keys. In my case I do mostly use F4 but not always because I find that method is sometimes more problematic. For example
So I do use the action menu quite often and successfully. Across the board I find action menu based extractions more reliable than the F4 method. I’ve compared files produced via F4 with those generated via the action menu and the normal shortcut keys and find they are all identical based on binary, MD5 and SHA-1 comparisons.
Indexing issues
I’m assuming that you understood that I’m using REACT to rip CDs some of which contain indexed tracks. EAC provides at least 2 methods of handling indexed tracks
Method 1 -  Indexed based.
This is done via Action -> Copy Selected Tracks Index Based ->  Un Compressed... (AltX) OR -> Compressed...(AltShiftX)
As I mentioned, each index is ripped as a separate track with the same track name but with the track number modified to incorporate the index.
Method 2 – Normal (ie non indexed)
As far as I’m aware, using any other extraction option, including the REACT F4 method, results in the indexed track being extracted as one consolidated wav file. This means the ability to directly access the indexed segments is lost (which defeats the purpose of indexing). So given that the F4 method doesn’t recognise indexes (at least for track extraction purposes) I’d need to use the action menu option.

Objective
The short answer to your “what do you want to do?” question is -  I’d like to be able to generate FLAC files with file names exactly the same as EAC uses to name the original ripped wav file.
When I rip to FLAC files using FLAC as the compressor, indexes work perfectly. EAC first generates wav files with the track number segment of the file name incorporating the index number. I end up with FLAC files named exactly like the extracted wav file.
Here is an actual example
H:\Flac Test\Doc Severinsen\ Trumpet Spectacular\ 07.01 Medley of Famous Tenor Arias.wav
H:\Flac Test\Doc Severinsen\ Trumpet Spectacular\ 07.02 Medley of Famous Tenor Arias.wav
H:\Flac Test\Doc Severinsen\ Trumpet Spectacular\ 07.03 Medley of Famous Tenor Arias.wav

H:\Flac Test\Doc Severinsen\ Trumpet Spectacular\ 07.01 Medley of Famous Tenor Arias.flac
H:\Flac Test\Doc Severinsen\ Trumpet Spectacular\ 07.02 Medley of Famous Tenor Arias.flac
H:\Flac Test\Doc Severinsen\ Trumpet Spectacular\ 07.03 Medley of Famous Tenor Arias.flac

When using REACT (via action menu) however, I initially get a wave file named exactly as described above. But this is immediately renamed to a Tmp name. In the case of this example, the compressor window would then be  opened three times to generate a FLAC for each index segment. But each time it does that it uses  “07 Medley of Famous Tenor Arias” as the file name – ie no index. So each file overwrites the previous one and all I end up with is the last written. I’m guessing that REACT uses the track number  and track name as passed via the “%t” and “%n” parameters from the EAC command line options. I’ve tried experimenting with the command line options  but without success.

A simple (in theory?) solution would be to write the FLAC file in REACT using  the same file name  that EAC uses when writing the original wav file - exactly as I assume FLAC does when interfacing directly with EAC. Alternatively, using the same track number as EAC uses would produce the same result. I presume (perhaps wrongly) that REACT overwrites the original wav filename with the temp file name so it presumably “knows” what file name to overwrite. I naively assume that because the EAC/FLAC process is capable of generating wav and FLAC files with identical names, that the functionally similar EAC/REACT process can do the same. I’m not sure whether that’s actually possible. Is there, for example a variable or EAC generated parameter available to REACT which has the original filename? If so, then I presumably could use that in the config file to generate the FLAC filename.

I hope this is a bit clearer. But like I said initially, I do have other options so its not a big deal if it can’t be done in the way I’d like. I’m always keen to add to my knowledge of this stuff so worst case is I may just learn something new and that can't be bad.

Thanks again for your help.
Title: REACT 2 Released
Post by: Akkurat on 2009-02-07 14:08:50
Usually, when using REACT, I rip the whole CD to FLAC in track mode. Occasionally I only rip selected tracks
...
It seems to infer that REACT only works via Hotkeys

You're on your own if you don't use REACT like it's meant to be used. The F4 or F10 ripping keys doesn't just activate certain ripping methods from EAC menu, pressing these keys do lot more. The source code is public, so you can check what REACT does (or modify it to your needs) if you're familiar with programming languages.

I do mostly use F4 but not always because I find that method is sometimes more problematic. For example
  • Gap detection problems seem to arise much more frequently
  • Can’t find/move the cuesheet” situations sometimes occur – I’m guessing this is CoverDownloader related.
  • I find using the MetaData popup with sets is inefficient because the data is reset for each CD meaning that the common info has to be re-entered each time. I have a number of additional fields of MetaData and find this a nuisance. So I prefer to use Action -> Copy Selected Tracks -> Compressed from the EAC menu and edit the MetaIni file manually with Notepad
  • Doesn’t provide access to index based ripping


I do have other options so its not a big deal if it can’t be done in the way I’d like.

You could use the profiles in EAC. E.g. save a full profile with different compression options (+other options if needed) when you need index based ripping. And save a profile for using REACT.

Thanks for writing and sorry that I couldn't help you out more.
Title: REACT 2 Released
Post by: gsa999 on 2009-02-09 18:40:02
So, do I understand correctly; you have some separate mp3 tracks without RG tags from different albums where other (or some) album tracks have the RG tags?
Yes that is correct
Can you reproduce the problem when re-ripping the albums which have the affected tracks? Were you using amended .cfg files? If yes, can you test with the stock .cfg files? Also try to spot a pattern. You say that the tracks have long titles, have you counted the lengths and checked other long track titles from your collection?
I have already re-ripped the CDs and got the same results. The main problem is track names with a fullstop at the end (there were only 2 with long file names). I am using slightly amended cfg files
Can you test out metamp3.exe manually?
Have done this and it works fine in terms of creating the 2 track RG values, so I have just updated the offending tracks like this - took about 1 hour so not too bad. I then went into each track using mp3tag and copied the 2 album RG values into the tag field (using the same value as all the other tracks on the album)


Title: REACT 2 Released
Post by: Akkurat on 2009-02-12 01:01:16

Found a bug in metamp3 (bug post here (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=49751&view=findpost&p=614600)) which explains your problem.

Here's the fix to both .cfg files:

REACT-track.cfg:
Code: [Select]
IF %add_rg%==1 @tools@\metamp3.exe %RG_MetaMP3% *.mp3

change that line to:
Code: [Select]
IF %add_rg%==1 @tools@\Glob.exe -v -c @tools@\metamp3.exe %RG_MetaMP3% *.mp3


REACT-image.cfg:
Code: [Select]
IF %add_rg%==1 @tools@\metamp3.exe %RG_MetaMP3% *.mp3
IF @ApplyAlbumGain@==1 @tools@\metamp3.exe %ApplyAG_MetaMP3% *.mp3

change these lines to:
Code: [Select]
IF %add_rg%==1 @tools@\Glob.exe -v -c @tools@\metamp3.exe %RG_MetaMP3% *.mp3
IF @ApplyAlbumGain@==1 @tools@\Glob.exe -v -c @tools@\metamp3.exe %ApplyAG_MetaMP3% *.mp3


NOTE!
There's also a limitation in EAC (http://www.digital-inn.de/exact-audio-copy-english/34718-wishlist-new-functions-eac-15.html#225) (post #225) which crops long titles in cue files to 80 chars (first 77 chars of the title + 3 period chars). What this means in REACT is that when ripping tracks in image mode (F10), the track filenames are taken from TITLE fields by ACDIR and if the TITLE is cropped in the cuesheet, then you get cropped filenames PLUS cropped track title TAGS!! This affects ALL encoded tracks in image mode. In track mode ripping there's no problems.


gsa999, remember that if you copy RG values to files which haven't been in the calculation process with the other files, RG values are not correct for that whole album.
Title: REACT 2 Released
Post by: BM29759 on 2009-02-12 04:41:18
Hello,

I'm looking to set ARTISTSORT and ALBUMSORT tags in my FLAC images.  Ideally I want to trim the leading "The " for sorting purposes as documented in SlimServerSupportedTags (http://wiki.slimdevices.com/index.php/SlimServerSupportedTags).  I thought I had this figured out with the following code in my REACT-image.cfg however it fails if there are special characters my variables get truncated, if I nest them in quotes it doesn't work quite right either.  Any ideas?

Code: [Select]
SET strArtist=@cdartist@
SET strArtistParse=%strArtist:~0,4%
IF /I %strArtistParse%==the % %(SET strArtistSort=%strArtist:~4,99%) ELSE SET strArtistSort=%strArtist%
@echo %strArtist%
@echo %strArtistSort%


Code: [Select]
@echo off
SET strAlbum=@album@
SET strAlbumParse=%strAlbum:~0,4%
IF /I %strAlbumParse%==the % %(SET strAlbumSort=%strAlbum:~4,99%) ELSE SET strAlbumSort=%strAlbum%
@echo %strAlbum%
@echo %strAlbumSort%
Title: REACT 2 Released
Post by: hartpark on 2009-02-12 08:29:00
I've been getting a problem with image names when using the Akkurat mod and hitting F10 - both the wav files and final image (FLAC or otherwise) are being named simply " - [].wav" or " - [].flac" etc.


I had this on one XP machine but not on another.  Turned out to be caused by having the Sony Ericsson PC Suite running.  I closed the PC Suite systray icon and the image name dialog box was populated correctly.
Title: REACT 2 Released
Post by: hartpark on 2009-02-12 08:35:20
I'm a bit of a newbie and am confused about using REACT image mode.  I'm using REACT v2.0.akku.b03.  It's working correctly in that the disc is copied to an image which is named correctly.

However, when processing the image into tracks the track names are coming out as, for example, 01 - .flac and the tags aren't being populated with the artist name, album name or track name.  If I process the CD using track mode this all works fine, but I would like to keep an image and also have the MP3 and FLAC tracks created.  Looking at the CFG file for image mode I can see that these tags are supposed to be passed to acdir.exe and the encoder, but for the life of me I can't get it to work.

Am I missing sometihng obvious here (such as, it can't be done in image mode)?  I've spent ages trying to get it to work, and started from scratch several times but to no avail.
Title: REACT 2 Released
Post by: Synthetic Soul on 2009-02-12 09:09:45
ACDIR extract the information from the cue sheet.

Go into EAC options (EAC > EAC Options...), switch to the Tools tab, and ensure "Use CD-Text information in CUE sheet generation" is checked.
Title: REACT 2 Released
Post by: hartpark on 2009-02-12 09:33:39
Go into EAC options (EAC > EAC Options...), switch to the Tools tab, and ensure "Use CD-Text information in CUE sheet generation" is checked.


A big thank you for that - I would never have worked it out.  I had wrongly assumed that option related to reading CD-Text information from a disc, and as I had freedb disc information I would never need to read CD-Text.
Title: REACT 2 Released
Post by: gsa999 on 2009-02-12 13:10:40
Thanks Akkurat, will amend my config files
gsa999, remember that if you copy RG values to files which haven't been in the calculation process with the other files, RG values are not correct for that whole album.
Do you just mean the albumgain tags will be incorrect, or will the trackgain tags be incorrect as well - I recalculated the trackgains again manually using metamp3 and then just filled in the missing albumgain using the same value as the other tracks. I only really use trackgain so I'm not that bothered about albumgain being slightly out.




Title: REACT 2 Released
Post by: Akkurat on 2009-02-13 16:27:06
Ideally I want to trim the leading "The " for sorting purposes

Jeez, this topic has turned into a DOS command support topic.

Here's my jab at the problem (for your first code listing):
Code: [Select]
REM ** The % % at the end just illustrates that the string stored in var ends in space char.
SET strDefiniteArticle=the % %

SET strArtist="@cdartist@"

SETLOCAL EnableDelayedExpansion

REM ** Remove unnecessary quote chars.
SET strArtist=!strArtist:"=!

SET strArtistParse=!strArtist:~0,4!

IF /I !strArtistParse! EQU !strDefiniteArticle! (
    SET strArtistSort=!strArtist:~4!
) ELSE (
    SET strArtistSort=!strArtist!
)

SETLOCAL DisableDelayedExpansion

@echo "%strArtist%"
@echo "%strArtistSort%"

Note that the last ECHO vars are wrapped in quotes. I removed the "get 99 chars after char position 4" (~4,99), why limit the parse?
Title: REACT 2 Released
Post by: Akkurat on 2009-02-13 17:04:03
I've been getting a problem with image names when using the Akkurat mod and hitting F10 - both the wav files and final image (FLAC or otherwise) are being named simply " - [].wav" or " - [].flac" etc.

I had this on one XP machine but not on another.  Turned out to be caused by having the Sony Ericsson PC Suite running.  I closed the PC Suite systray icon and the image name dialog box was populated correctly.

WOW! That's strange! Can you tell me what was the version of that Sony Ericsson PC Suite? Also tell me which phone (model) did you use? (the download page insist me to first choose a model.. maybe there are different versions for different phones?)

It's funny to hear this because I have just realized that the Endox problem is most probably caused by a newer version of AutoIt which has gone from ANSI to Unicode. I compiled my mod with later AutoIt version (with version that Synthetic Soul's mod uses) and it worked fine (the next AutoIt version causes the problem for Endox). This I believe is also linked to the problem with "wrong filename in save dialog" that gsa999 is having.

It's a tough situation; should I downgrade my AutoIt for REACT? Or, do I code around the problem with maybe not so nice solution? And, what about the next EAC version (current beta) with some Unicode changes (don't know exact changes due to lack of verbose changelogs)? And I can't properly test the problem because I can't reproduce it in my system. Is the problem in "ANSI" EAC, "ANSI" EAC & Unicode AutoIt or Unicode AutoIt? Hard decisions ahead.

Go into EAC options (EAC > EAC Options...), switch to the Tools tab, and ensure "Use CD-Text information in CUE sheet generation" is checked.

A big thank you for that - I would never have worked it out.  I had wrongly assumed that option related to reading CD-Text information from a disc, and as I had freedb disc information I would never need to read CD-Text.

Yes thank you Synthetic Soul, I didn't know that. The setting name is a bit misleading, the popup description though explains it better. I'm going to put this setting to the "config REACT" function. Synthetic Soul, do you know why this wasn't there in the first place? Is it safe to put it on for all users?
Title: REACT 2 Released
Post by: Akkurat on 2009-02-13 17:09:56
Do you just mean the albumgain tags will be incorrect, or will the trackgain tags be incorrect as well - I recalculated the trackgains again manually using metamp3 and then just filled in the missing albumgain using the same value as the other tracks. I only really use trackgain so I'm not that bothered about albumgain being slightly out.

Album Gain and Peak at least will be wrong, can't remember exactly but weren't there other tags as well, not the track gain&peak but others (some "undo" tags or something like that)? Also if you apply the album gain to mp3's, then it matters.
Title: REACT 2 Released
Post by: Synthetic Soul on 2009-02-13 19:53:53
Synthetic Soul, do you know why this wasn't there in the first place? Is it safe to put it on for all users?
No, I don't.  I don't think Tycho paid too much attention to setting any EAC setting that may be required, only those that were absolutely required for basic operation.  I see no problem in ensuring that it is checked.

Keep up the good work.
Title: REACT 2 Released
Post by: BM29759 on 2009-02-15 04:13:48
Ideally I want to trim the leading "The " for sorting purposes

Jeez, this topic has turned into a DOS command support topic.

Here's my jab at the problem (for your first code listing):
Code: [Select]
REM ** The % % at the end just illustrates that the string stored in var ends in space char.
SET strDefiniteArticle=the % %

SET strArtist="@cdartist@"

SETLOCAL EnableDelayedExpansion

REM ** Remove unnecessary quote chars.
SET strArtist=!strArtist:"=!

SET strArtistParse=!strArtist:~0,4!

IF /I !strArtistParse! EQU !strDefiniteArticle! (
    SET strArtistSort=!strArtist:~4!
) ELSE (
    SET strArtistSort=!strArtist!
)

SETLOCAL DisableDelayedExpansion

@echo "%strArtist%"
@echo "%strArtistSort%"

Note that the last ECHO vars are wrapped in quotes. I removed the "get 99 chars after char position 4" (~4,99), why limit the parse?


Thank you very much!  This is exactly what I was looking for...  I've added the year before the album in the album sort so my albums sort chronologically...  I've found an updated version of Atomic Parsley too so now they sort correctly on my iPod too...  This made my day!  Thanks again!
Title: REACT 2 Released
Post by: Akkurat on 2009-02-15 21:54:00
I had this on one XP machine but not on another.  Turned out to be caused by having the Sony Ericsson PC Suite running.  I closed the PC Suite systray icon and the image name dialog box was populated correctly.

Thanks again for reporting this! Saved a lot of my time, Endox had the same software and it was causing the problem with REACT compiled with newer than 3.2.4.0 version of AutoIt.

@Synthetic Soul: Thanks, I'll add that setting to REACT.
Title: REACT 2 Released
Post by: Akkurat on 2009-02-15 22:10:00
I've added the year before the album in the album sort so my albums sort chronologically...  I've found an updated version of Atomic Parsley too so now they sort correctly on my iPod too...  This made my day!  Thanks again!

You're welcome. Is there a problem with the Atomic Parsley which comes with REACT?
Title: REACT 2 Released
Post by: BM29759 on 2009-02-16 13:54:25
You're welcome. Is there a problem with the Atomic Parsley which comes with REACT?


Nothing wrong with it...  I've been using it for some time now...  It just doesn't have the ability to add sorting tags...  from the Atomic Parsley Sourceforge.net forum I tracked down Elementary Productions (http://elementaryproductions.wordpress.com/) and ultimately Tagger 3.2 (http://rs216.rapidshare.com/files/72482238/TaggerJava6.rar)

The updated Atomic Parsley includes the following additional sortOrder tags.

  --sortOrder    (type)      (str)    Sets the sort order string for that type of tag.
                                      (available types are: "name", "artist", "albumartist",
                                        "album", "composer", "show")
Title: REACT 2 Released
Post by: Bill02888 on 2009-02-16 20:36:13
I haven't been keeping up on the latest mods/fixes to REACT2 (ssb). I decided to try to install a fresh copy on a new computer by following these steps:

1) Installed EAC-0.99pb4.exe, then used the wizard to check for my CD drive's capabilities, etc.
2) Installed react20.exe.
3) Copied the updated files from REACT_2.0.ssb16p.zip into C:\Program Files\REACT2.
4) Started REACT2 and used F2 to set up the necessary settings.
5) Performed my first test rip (The Beatles White Album).

I noticed that many of the tools in the tools directory are slightly out of date. Notably (to me) WavPack (4.40.0 versus 4.50.0) and LAME (3.97 versus 3.98.x (which is currently the HA endorsed version? 3.98.2?)). Also the XUI version of the album art downloader doesn't seem to be there.

1) Is there a list of which software can be safely updated without blowing up REACT2's capabilities? Or an updated tools download?
2) Is there an install document which covers XUI or ... do I really need to go through this 58 page forum topic <eeek!> to remind myself how to get XUI running?

Thanks,
Bill
Title: REACT 2 Released
Post by: Akkurat on 2009-02-16 22:26:48
1) Is there a list of which software can be safely updated without blowing up REACT2's capabilities? Or an updated tools download?
2) Is there an install document which covers XUI or ... do I really need to go through this 58 page forum topic <eeek!> to remind myself how to get XUI running?

1) Lame (edit: and flac & metaflac) can be updated safely AFAIK. Metamp3 is a different thing, updating that to a newer version (.92b5) breaks .cfg-files. Dunno about the rest. What tools would you like to update?
2) Just download the zip and extract that to the coverdownloader folder.. or install XUI and set the INI CoverDownloader setting to point to the installed directory. Also put the INI CoverDownloaderXUI setting to 1. That's all.

P.S. check out the mods Wiki (http://wiki.hydrogenaudio.org/index.php?title=REACT:Mods) page for an updated situation.
Title: REACT 2 Released
Post by: Bill02888 on 2009-02-17 14:15:38
1) Is there a list of which software can be safely updated without blowing up REACT2's capabilities? Or an updated tools download?
2) Is there an install document which covers XUI or ... do I really need to go through this 58 page forum topic <eeek!> to remind myself how to get XUI running?

1) Lame (edit: and flac & metaflac) can be updated safely AFAIK. Metamp3 is a different thing, updating that to a newer version (.92b5) breaks .cfg-files. Dunno about the rest. What tools would you like to update?
2) Just download the zip and extract that to the coverdownloader folder.. or install XUI and set the INI CoverDownloader setting to point to the installed directory. Also put the INI CoverDownloaderXUI setting to 1. That's all.

P.S. check out the mods Wiki (http://wiki.hydrogenaudio.org/index.php?title=REACT:Mods) page for an updated situation.


Ah! I hadn't realized that you had "taken over" the REACT2 mods. I somehow (and mistakenly) thought that your set of mods were parallel to those from SS. My bad, and my apologies.

I was most aware of the outdated LAME and WavPack programs since I use those encoders exclusively during EAC rips. I've updated them and haven't seen any issues. I did see some "command line help text" going by while I was ripping some oddly named tracks recently. I'll turn on debug to see what's up, then will update to your latest version to see if it continues, etc., etc.

McThanks,
McBill
Title: REACT 2 Released
Post by: Bill02888 on 2009-02-17 16:42:46
Even with the latest version of your mods I'm seeing the help from the command line from metamp3. Here's an extract from the DOS window which may be helpful:

Code: [Select]
TITLE 02/02 mp3 "Dreams of India (CD1)" & C:\PROGRA~1\REACT2\tools\lame.exe -V5 --vbr-new --noreplay
gain --nohist  - "02 - Chapter Two - What you are you do not see, what you see is your shadow..mp3"
& C:\PROGRA~1\REACT2\tools\metamp3.exe --pict "{3}E:\Dreams of India (CD1).jpg"  --artist "ZBS Foun
dation" --album "Dreams of India (CD1)" --title "Chapter Two - What you are you do not see, what you
 see is your shadow." --track 02/02 --year "1992" --genre "Radio Drama" --comment "Created with EAC/
REACT v2.0.akku.b03, 2009-02-17" --frame TENC:"Bill Sherman" --frame TSSE:"LAME 3.98.2 -V5 --vbr-new
 --noreplaygain --nohist" "02 - Chapter Two - What you are you do not see, what you see is your shad
ow..mp3"
LAME 3.98.2 32bits (http://www.mp3dev.org/)
CPU features: MMX (ASM used), 3DNow! (ASM used), SSE (ASM used), SSE2
Using polyphase lowpass filter, transition band: 16538 Hz - 17071 Hz
Encoding <stdin>
      to 02 - Chapter Two - What you are you do not see, what you see is your shadow..mp3
Encoding as 44.1 kHz j-stereo MPEG-1 Layer III VBR(q=5)
metamp3 v0.91 - Copyright © 2006 by Tycho
Updating: 02 - Chapter Two - What you are you do not see, what you see is your shadow..mp3


C:\bill\Ripped CDs\MP3\ZBS Foundation\Dreams of India (CD1)>IF 1 == 1 C:\PROGRA~1\REACT2\tools\metam
p3.exe --replay-gain *.mp3
metamp3 v0.91 - Copyright © 2006 by Tycho

Usage: C:\PROGRA~1\REACT2\tools\metamp3.exe [options] [mp3files]
options:
  --artist <artist>              audio/song artist
  --album <album>                audio/song album
  --track <track>[/total]        audio/song track number
  --title <title>                audio/song title
  --year <year>                  audio/song year of issue (1 to 9999)
  --genre <genre>                audio/song genre name
  --comment [[desc]][{lng}]<text> add user-defined text
  --user-text [[desc]]<text>      add user text frame (TXXX)
  --user-url [[desc]]<URL>        add user URL frame (WXXX)
  --frame <frame:text>            set any T* or W* type frame
  --pict [[desc]][{type}]<file>  add picture artwork
  --save-pict <pict>              pict=[[desc]][{type}]<file>
  --list-pict-types              list possible picture type numbers
  --list-frames                  list Text and URL id3v2.3 frames
  --list-genres                  list standard id3v1.1 genres
  --1                            add id3v1 tag only (default both v1 and v2)
  --2                            add id3v2 tag only (--1 --2 will add both)
  --fit                          add id3v1 + id3v2 if tag does not fit id3v1
  --remove [[desc]]<frame>        remove frame(s). accepts wildcards *,?
  --replay-gain                  calculate and set replay gain tags
  --apply-gain <gain>            change volume. gain=[album|radio]<+dB|-dB>
  --undo-gain                    undo previous apply-gain
  --info                          print detailed mp3/lametag info
  --version                      show version info
  --help                          show this help

C:\bill\Ripped CDs\MP3\ZBS Foundation\Dreams of India (CD1)>IF 1 == 1 C:\PROGRA~1\REACT2\tools\metam
p3.exe --apply-gain album+3.0 *.mp3
metamp3 v0.91 - Copyright © 2006 by Tycho

Usage: C:\PROGRA~1\REACT2\tools\metamp3.exe [options] [mp3files]
options:
  --artist <artist>              audio/song artist
  --album <album>                audio/song album
  --track <track>[/total]        audio/song track number
  --title <title>                audio/song title
  --year <year>                  audio/song year of issue (1 to 9999)
  --genre <genre>                audio/song genre name
  --comment [[desc]][{lng}]<text> add user-defined text
  --user-text [[desc]]<text>      add user text frame (TXXX)
  --user-url [[desc]]<URL>        add user URL frame (WXXX)
  --frame <frame:text>            set any T* or W* type frame
  --pict [[desc]][{type}]<file>  add picture artwork
  --save-pict <pict>              pict=[[desc]][{type}]<file>
  --list-pict-types              list possible picture type numbers
  --list-frames                  list Text and URL id3v2.3 frames
  --list-genres                  list standard id3v1.1 genres
  --1                            add id3v1 tag only (default both v1 and v2)
  --2                            add id3v2 tag only (--1 --2 will add both)
  --fit                          add id3v1 + id3v2 if tag does not fit id3v1
  --remove [[desc]]<frame>        remove frame(s). accepts wildcards *,?
  --replay-gain                  calculate and set replay gain tags
  --apply-gain <gain>            change volume. gain=[album|radio]<+dB|-dB>
  --undo-gain                    undo previous apply-gain
  --info                          print detailed mp3/lametag info
  --version                      show version info
  --help                          show this help

Do you think this may be related to the period that is part of the track title? The resulting MP3 file name ends with "..mp3" because I'm including the period(s) that are part of the long track titles for this strange CD. Note: While EAC is ripping the CD to .WAV I go in and hand-edit the .cue file to include the full track titles in cases where EAC truncates them.

Bill
Title: REACT 2 Released
Post by: Bill02888 on 2009-02-17 17:44:45
Ah. Nope. It's not the ..mp3 in the name. It seems to simply be the length of the track name. If I leave the .cue file untouched (with max track name length = 70) then there are no metamp3 issues. If I edit the .cue file by providing the full track names (which are longer than 70 bytes) then metamp3 has issues. I'm not sure if it's strictly an issue with metamp3 though. If it is, I wonder if a fix is possible using the back-level version that we are all using for the tweaked version of REACT 2?

Darn. I was hoping that editing the .cue file would be the fastest way to change all the names and tags for the image file and the track files. Will be a pain to have to edit them all manually to reflect the full track name.

Any ideas on how to get the track names right without having to edit them all 3 times (or so)? There are the file names of the MP3 tracks, the MP3 tags, the WavPack tags, and the .cue file. I like the idea of editing the cue file in the end but ... will that cause issues if I ever want to use EAC to burn a CD from the WavPack image?

Okay, I'll stop writing to myself and give y'all a break!
Bill
Title: REACT 2 Released
Post by: Akkurat on 2009-02-17 23:14:14

Last week I wrote this post (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=50273&view=findpost&p=614612), check it out.

Honestly, I'm a bit lost with your posts, maybe it's just me but what's "back-level version" (that whole sentence got me shaking my head.. I just don't understand it.. at all) and your cue file editing.

As for the EAC's 80 chars (first 77 chars of the title + 3 period chars) limitation in cuesheet titles, you should write to EAC forum wishlist topic and demand that this limitation should be fixed (if possible).

OT: darn I really hate this new "only 1 email notification per board visit to subscribed topics" setting.. missed 2 of your last posts.. it's stupid that I've to manually check topics (currently I've 7 tabs open with different topics.. I could put them to bookmarks but still..) because I don't (want to) login all the time. Advertisement: vote in this topic (http://www.hydrogenaudio.org/forums/index.php?showtopic=69384).
Title: REACT 2 Released
Post by: Bill02888 on 2009-02-18 00:32:31
Sorry to scare you! Alas, I'm rather good at that.

Thank you very much for the link to the earlier post. That fix (using Glob) avoided both of the "metamp3 problems" I was having. Now, all files (long names and/or ones with ..) are processed, and files with .. in their names have their RG values scanned and updated appropriately. Perfect! Another satisfied customer! 

Bill
Title: REACT 2 Released
Post by: Scidd0w on 2009-02-25 13:46:08
I just tried out REACT 2 for the first time.
And I must say I'm very impressed by the functions and there ease of use. In less than half an hour my setup was ready and I was producing FLAC images with embedded cuesheet, albumgain, tags and embeded coverart. All automatically!

Thank you very much for this!

I have one question though:
Is it possible to also automatically add track gain to the embedded cuesheet in my FLAC images? This is now the only thing I do manually afterwards in foobar2000.
Title: REACT 2 Released
Post by: Akkurat on 2009-02-26 22:57:35
Is it possible to also automatically add track gain to the embedded cuesheet in my FLAC images?

No if you are only ripping images. With tracks (in image mode) it's possible, but with "propeller-hat" amends to the .cfg file. I quickly checked the WaveGain.exe abilities to do this and I guess it's only possible when you have individual tracks. You'd have to delay the cuesheet embed and run WaveGain with all the individual tracks and get all the RG info that way. Next, before embedding cuesheet, you'd have to put all those track RG infos to the cuesheet file.. and in correct places between track informations (I don't actually know where f2k puts them). The current album RG info is very easy to prepend to the beginning of the file.

P.S. Do you absolutely need those in your cuesheets?
Title: REACT 2 Released
Post by: Scidd0w on 2009-03-03 17:11:27
P.S. Do you absolutely need those in your cuesheets?
No not nessecarily. I thought it was the standard for images with embedded cuesheets. Only because foobar does it that way really.
It is fairly easy for me to add them to the flac image in foobar2000 after its created by reakt2. But a step less in the process is allways better.
Title: REACT 2 Released
Post by: Akkurat on 2009-03-04 14:54:17
No not nessecarily.
...
It is fairly easy for me to add them to the flac image in foobar2000 after its created by reakt2. But a step less in the process is allways better.

Why bother at all with that step if you don't need those in your cuesheets? (This from a person who fights against his own perfectionism in everything. )
Title: REACT 2 Released
Post by: Scidd0w on 2009-03-04 17:04:49
No not nessecarily.
...
It is fairly easy for me to add them to the flac image in foobar2000 after its created by reakt2. But a step less in the process is allways better.

Why bother at all with that step if you don't need those in your cuesheets? (This from a person who fights against his own perfectionism in everything. )
Well... Its not that I dont need them at all. I just thought there was maybe an other method of storing them.
I use the trackgain values on those images for daily listening. When using random/shuffle play those values equal the volume on those tracks.
Title: REACT 2 Released
Post by: Akkurat on 2009-03-04 17:17:36
Well... Its not that I dont need them at all. I just thought there was maybe an other method of storing them.
I use the trackgain values on those images for daily listening. When using random/shuffle play those values equal the volume on those tracks.

Oh ok. Unfortunately I don't have the time to concoct a solution for you. Sorry. I gave "raw" instructions how one could do it in my #1457 post. Also check out lines 125-140 from REACT-image.cfg for how the Album Gain info is "extracted" from Wavegain output and put to the cuesheet.
Title: REACT 2 Released
Post by: Scidd0w on 2009-03-05 14:10:49
...
Oh ok. Unfortunately I don't have the time to concoct a solution for you. Sorry. I gave "raw" instructions how one could do it in my #1457 post. Also check out lines 125-140 from REACT-image.cfg for how the Album Gain info is "extracted" from Wavegain output and put to the cuesheet.
Thank you for the replies. I will look into asap!
Title: REACT 2 Released
Post by: Bill02888 on 2009-03-08 15:41:55
I've got some older CDs in my collection. I was lucky to notice that a few of them use Pre-Emphasis. I have to perform special handling to get the MP3s generated correctly for those tracks (I use SoX).

Is there a way to make REACT2 stop dead in its tracks and/or notify me in a wonderfully blatant way that one or more track on a CD -- or that an entire CD -- uses Pre-Emphasis so that I don't miss it? (I'm easily distracted.)

Thanks still even more yet again,
Bill
Title: REACT 2 Released
Post by: Akkurat on 2009-03-08 23:49:24
Is there a way to make REACT2 stop dead in its tracks and/or notify me in a wonderfully blatant way that one or more track on a CD -- or that an entire CD -- uses Pre-Emphasis so that I don't miss it? (I'm easily distracted.)

No, sorry. Can't you remember to check the Pre-Emphasis column on the main EAC window before you start ripping? Since the information is so easily available, I'm not going to put this into my ToDo list. If you are familiar with programming, amend the program to your needs, the source code is free.
Title: REACT 2 Released
Post by: Bill02888 on 2009-03-12 02:10:53
Ah HA! EAC nicely puts "FLAGS PRE" into a .cue file when a track is found to have Pre-Emphasis enabled. I can just grep all the .cue files. I did that this morning and found that I'd managed to miss two such CDs during my recent ripping efforts. One CD the flag set on all tracks while the other had just one track with the flag set. That was easy. Almost too easy.

Is there a way to make REACT2 stop dead in its tracks and/or notify me in a wonderfully blatant way that one or more track on a CD -- or that an entire CD -- uses Pre-Emphasis so that I don't miss it? (I'm easily distracted.)

No, sorry. Can't you remember to check the Pre-Emphasis column on the main EAC window before you start ripping? Since the information is so easily available, I'm not going to put this into my ToDo list. If you are familiar with programming, amend the program to your needs, the source code is free.

Title: REACT 2 Released
Post by: jdickins on 2009-03-14 13:26:23
I'm using Windows 7 and the ssb16 add-on to React 2. I've installed everything and eac starts up in react mode. I press F10 to start the rip and this works. The rip happens, but when it finishes a dialog box pops up with the following error:

Title of Dialog box is AutoIt Error
Line 0 (File "C:\Program Files (x86)\React2\React.exe"):

For $i = $g_userSettings[0][0] To 1 Step -1
For &i = $g_userSettings^ ERROR

Error: Subscript used with non-Array variable.

What is interesting is that I start react from c:\program files\exact audio copy as I forced it to install the 32 bit app here. The Tools line in my react settings file is as follows, so maybe react knows about the react2 directory because of this?

Tools=C:\Program Files (x86)\REACT2\tools

The error message states that it is trying to run the program from the react2 directory when I started from another directory.

Any ideas as to what the error message means and how to solve it?
Thanks!
Jim
Title: REACT 2 Released
Post by: Akkurat on 2009-03-15 02:03:20
What is interesting is that I start react from c:\program files\exact audio copy as I forced it to install the 32 bit app here.

Why did you install it there? Well, anyways, I'm not quite sure why you are getting this error; perhaps REACT fails to read your INI file correctly.. and I don't understand how the "encoder" part of REACT runs from "C:\Program Files (x86)\React2\" if you installed it to another folder.

Have you read this: REACT:Mods - Akkurat's Mod - Documentation - Notes - Windows_Vista (http://wiki.hydrogenaudio.org/index.php?title=REACT:Mods#Windows_Vista)?

And one has to remember that Win 7 is a beta.. I've seen very bizarre problems with computers/software so it's not so far fetched to think that it could be the problem.

P.S. There's a newer mod available if you didn't know. The above link is to my mod documentation (that note also applies to Synthetic Soul's mod.. and to Win 7 (AFAIK)).
Title: REACT 2 Released
Post by: hfrank on 2009-03-18 17:21:14
Hmm -  don't know if I'm supposed to post this as a reply, and if my question is too stupid
Anyway: I to use REACT and think it's great, THANKS.
Now I want to rip Various Artist CDs as MP3s into "Various Artists\$album$\$artist$\$title$".
But when I edit the value "TrackName_VA=xxx" in REACT.ini , my MP3s go into Nirvana, without any trace in the logs...!?
Ideas?
Title: REACT 2 Released
Post by: Akkurat on 2009-03-23 16:38:10
Now I want to rip Various Artist CDs as MP3s into "Various Artists\$album$\$artist$\$title$".
But when I edit the value "TrackName_VA=xxx" in REACT.ini , my MP3s go into Nirvana, without any trace in the logs...!?
Ideas?

Go into Nirvana? Nirvana folder?

Check the TrackDir_MP3 setting. There you can set your directory structure. Use the TrackName_VA setting only for the filename.
Title: REACT 2 Released
Post by: BM29759 on 2009-03-24 01:54:31
Additional Meta Data Question...

I'm attempting to rip a multi disc set (Tom Petty - Playback)...  Each disc has its own disc name...  I'd like to use the additional meta data to set the disc name, disc number, total discs...  It seems that by design these are mutually exclusive.  When setting the disc name the disc number and total discs section is skipped cause of the following line. 
Code: [Select]
GOTO :end_discnumber
  If I REM this out the disc name variables are overwritten...  Any ideas how I can use both the disc name, disc number and total discs?  Thanks in advance.

Code: [Select]
REM ** Create Disc-related tags if we have a set

REM If a disc name has been provided
IF "@discname@" EQU "" GOTO end_discname
SET discName=discname
SET discName=@%discname%@
IF "@discname@" EQU "%discName%" GOTO end_discname

    REM Set tagging switches
    SET Disc_Flac=-T "discname=@discname@"
    SET Disc_Wavpack=-w "discname=@discname@"
    REM SET Disc_MP3=--frame TSST:"@discname@"
    SET Disc_MP3=--frame "TXXX[setsubtitle]:@discname@"
    SET Disc_OggEnc2=-c "discname=@discname@"
    SET Disc_Tak=-t "discname=@discname@"
    SET Disc_Flac_acdir=-T $qdiscname=@discname@$q
    SET Disc_Wavpack_acdir=-w $qdiscname=@discname@$q
    REM SET Disc_MP3_acdir=--frame TSST:$q@discname@$q
    SET Disc_MP3_acdir=--frame $qTXXX[setsubtitle]:@discname@$q
    SET Disc_OggEnc2_acdir=-c $qdiscname=@discname@$q
    SET Disc_Tak_acdir=-t $qdiscname=@discname@$q

    REM Add disc name to image and track folder paths
    SET imageDir=%imageDir%\$discname$
    SET trackDir=%trackDir%\$discname$

    GOTO :end_discnumber

:end_discname

REM Ensure that we have numeric values
SET /A discNumber = @discnumber@ + 0
SET /A totalDiscs = @totaldiscs@ + 0

REM IF a valid disc number and total number of discs has been provided
IF %totalDiscs% LEQ 1 GOTO :end_discnumber
IF %discNumber% LEQ 0 GOTO :end_discnumber

    REM Set tagging switches
    SET Disc_Flac=-T "discnumber=@discnumber@" -T "totaldiscs=@totaldiscs@"
    SET Disc_Wavpack=-w "discnumber=@discnumber@" -w "totaldiscs=@totaldiscs@"
    SET Disc_MP3=--frame TPOS:"@discnumber@/@totaldiscs@"
    SET Disc_NeroAac=--disk "@discnumber@/@totaldiscs@"
    SET Disc_OggEnc2=-c "discnumber=@discnumber@" -c "totaldiscs=@totaldiscs@"
    SET Disc_Tak=-t "discnumber=@discnumber@" -t "totaldiscs=@totaldiscs@"
    SET Disc_Flac_acdir=-T $qdiscnumber=@discnumber@$q -T $qtotaldiscs=@totaldiscs@$q
    SET Disc_Wavpack_acdir=-w $qdiscnumber=@discnumber@$q -w $qtotaldiscs=@totaldiscs@$q
    SET Disc_MP3_acdir=--frame TPOS:$q@discnumber@/@totaldiscs@$q
    SET Disc_NeroAac_acdir=--disk $q@discnumber@/@totaldiscs@$q
    SET Disc_OggEnc2_acdir=-c $qdiscnumber=@discnumber@$q -c $qtotaldiscs=@totaldiscs@$q
    SET Disc_Tak_acdir=-t $qdiscnumber=@discnumber@$q -t $qtotaldiscs=@totaldiscs@$q

    REM Add disc number to image and track folder paths
    SET imageDir=%imageDir%\Disc @discnumber@
    SET trackDir=%trackDir%\Disc @discnumber@

:end_discnumber
Title: REACT 2 Released
Post by: Synthetic Soul on 2009-03-24 07:04:00
It may be as easy as amending the code in the second part to append, not reset.  E.g.:

Code: [Select]
SET Disc_Flac=%Disc_Flac% -T "discnumber=@discnumber@" -T "totaldiscs=@totaldiscs@"

I.e.: just add "%<variable name>% " after each "=".

I assume, looking at that code, that the file structure is as expected (/<discname>/Disc <discnumber>/)?
Title: REACT 2 Released
Post by: BM29759 on 2009-03-25 12:45:15
It may be as easy as amending the code in the second part to append, not reset.  E.g.:

Code: [Select]
SET Disc_Flac=%Disc_Flac% -T "discnumber=@discnumber@" -T "totaldiscs=@totaldiscs@"

I.e.: just add "%<variable name>% " after each "=".

I assume, looking at that code, that the file structure is as expected (/<discname>/Disc <discnumber>/)?



This does exactly what I'm looking for...  Thanks!  The directory structure is fine, I'm really not worried about the directory structure as long as metadata is correct is correct and things display correct in Foobar, SqueezeCenter , and my iPod.  Thanks again!
Title: REACT 2 Released
Post by: gsa999 on 2009-03-27 18:25:21
Just ripped by first Various Artists CD using Akkurat's latest Mod. I am ripping to FLAC image, FLAC tracks and MP3 tracks. The image and flac tracks look fine, but my MP3 files are not getting any id3 tags populated apart from the RG tags. The MP3 tracks section in my REACT_image.cfg is as follows:
Code: [Select]
IF NOT @LameMP3@==1 GOTO end_lame_tracks
    SET dest="@TrackDir_MP3@%trackDir%"
    IF NOT EXIST %dest% MKDIR %dest%
    PUSHD %dest%
        IF @various@==1 SET VA_tag=--user-text $q[album artist]@VA@$q --frame $qTPE2:@VA@$q     
IF %embed_cover%==1 SET Cover_tag=--frame $#x
@tools@\acdir.exe --overwrite --output "%TrackName%.mp3" --extra-opt "APIC{3}:%
cover%" --pipe "TITLE $n/$N mp3 $#T & @tools@\lame.exe @Opt_LameMP3@ %ApplyAG_Lame% -
 $#o & @tools@\metamp3.exe --2 %Cover_tag% %VA_tag% %Disc_MP3_acdir% --artist $#a --
album $q@year@: $T$q --title $#t --track $n --year $q@year@$q --genre $q@genre@$q --comment
 $q%Comment_tag%$q --frame $qTXXX[Listened to]:No$q --frame TENC:$q%USERNAME%$q --
frame TSSE:$qLAME @Ver_LameMP3@ @Opt_LameMP3_tag@$q $#o" "@sourcecuesheet@"
IF %add_rg%==1 @tools@\Glob.exe -v -c @tools@\metamp3.exe --2 %RG_MetaMP3% *.mp3
IF @ApplyAlbumGain@==1 @tools@\Glob.exe -v -c @tools@\metamp3.exe --2 %ApplyAG_MetaMP3% *.mp3
REM    COPY /Y "@eaclog@" "EAClog.log"
        IF %have_cover%==1 COPY /Y "%cover%" "Folder.jpg"
IF %have_cover%==1 COPY /Y "%cover_small%" "AlbumArtSmall.jpg"
REM    IF @CreatePlaylist@==1 @tools@\tag.exe --playlist --onlyfiles --sort track --plname "$artist$ - $album$.m3u" *.mp3
        IF @CreatePlaylist@==1 @tools@\tag.exe --playlist --sort track --plname "$artist$ - $album$.m3u" *.mp3
    POPD
:end_lame_tracks

Any ideas?
Title: REACT 2 Released
Post by: Akkurat on 2009-04-04 01:12:54
Sorry again for the late answer, as I told you in my email, HA forum seems to bug out, I got no email notification of your post (I've been logging in/out after every new notification so that I'd get a notification also for the next post.. so it's not the new behavior of the notification setting).

my MP3 files are not getting any id3 tags populated apart from the RG tags.

You have updated metamp3? It seems that you forgot to change the
Code: [Select]
IF @various@==1 SET VA_tag=--user-text $q[album artist]@VA@$q --frame $qTPE2:@VA@$q

line into
Code: [Select]
IF @various@==1 SET VA_tag=--frame $qTXXX[album artist]:@VA@$q --frame $qTPE2:@VA@$q

The "--user-text" is no longer supported in the newest version of metamp3.
Title: REACT 2 Released
Post by: Martin H on 2009-04-25 23:36:43
In latest beta(2.0.akku.b03), then changing the ripping directory in EAC after doing CTRL+F2 dosen't have any effect, since EAC changes and uses the 'DirectorySpecification' regkey, while with REACT then the 'ActualPath' regkey is used instead for determining ripping directory.

Personally, then i would suggest to change it back as the way Neil had done it with the CTRL+F2  synching of ripping directories, as the new scheme IMHO dosen't make much sence even if it worked right, i mean, why ignoring the EAC defined ripping directory in favor of My Music???

I can fix this manually by changing the registry directly, but just wanted to report it(sorry if it's done allready).

Also, i understand that the syntax of the CFGs is done with the old metamp3 in mind, but then isn't e.g. this wrong in the image cfg(new metamp3 beta syntax):

SET Disc_MP3=--frame "TXXX[setsubtitle]:@discname@"

Thanks for your work on REACT!
Title: REACT 2 Released
Post by: ElephantTLK on 2009-04-26 12:28:40
Hi!

Once i managed to setup REACT2 with EAC to do automatic rip into FLAC image and also to create MP3 copy in MP3 Folder. So that its looking something like this:

http://img510.imageshack.us/my.php?image=48426718.jpg (http://img510.imageshack.us/my.php?image=48426718.jpg)

In Flac directory flac images and in MP3 directory mp3 files...

But now when i start REACT and go ripping with F10 react creates only FLAC image. MP3 folder is empty with only albumart in it.

How to reconfigure this that REACT will create both FLAC image and MP3 files?
Title: REACT 2 Released
Post by: gsa999 on 2009-04-26 20:58:52
I have been using REACT2 with EAC for about a year now and have managed to rip a lot of my CDs. Today however I have hit a problem which is really frustrating me.

Every time I run either REACT or EAC (I have two seperate icons) it just hangs and I get the normal window for a few seconds which then turns white and the hour glass just continues to show. I have to use task manager to close it down. When running REACT2 I get an EAC icon in the systemtray which says "script paused" with a tick but I cannot seem to untick it. I don't get this if I just run the EAC icon, but they both end up hanging.

I have uninstalled and reinstalled EAC and reinstalled REACT2 and the subsequent Mods but its made no difference. I don't know what else to do.

The only software I installed since I last ran EAC/REACT2 successfully was an update to Daemon Tools which I have subsequently uninstalled and an IE toolbar which I have also removed now. But I still get the problem. I also tried removing the whole EAC config section in the registry but that made no difference either.

I think its either something to do with the metadata popup screen (which does not appear when trying to run REACT). Once I got an Autoit error message but it was only once.

Any ideas?
Title: REACT 2 Released
Post by: Martin H on 2009-04-26 21:17:38
How to reconfigure this that REACT will create both FLAC image and MP3 files?

If you have followed the instructions correctly, then i'm guessing that acdir throws a dependency error(msvcr71.dll)...

Try to run acdir through a command-prompt(in '%programfiles%\REACT2\tools' by default) and see if it works or not...

If it works, then post your ini...
Title: REACT 2 Released
Post by: ElephantTLK on 2009-04-27 09:22:04
How to reconfigure this that REACT will create both FLAC image and MP3 files?
If you have followed the instructions correctly, then i'm guessing that acdir throws a dependency error(msvcr71.dll)...

Try to run acdir through a command-prompt(in '%programfiles%\REACT2\tools' by default) and see if it works or not...

If it works, then post your ini...

It does work. I cant manage to setup it correctly... Now REACT leaves mp3 in root directory and even doesnt move MP3 files into MP3 folder. Only creates artist\album directory with only artwork inside.
I also get error: unable to move cuesheet when i try to rip CD? I tried several times with no success...

(http://www.shrani.si/t/36/qU/282USAbi/untitled.jpg) (http://www.shrani.si/?36/qU/282USAbi/untitled.jpg)

Anyway here is REACT ini:

 
Code: [Select]
[Settings]
Version=2.0.ssb16
ImageExt=flac
ImageNaming=$artist$ - [$year$] $album$
ImageHotKey={F10}
TracksHotKey={F4}
TracksHotVal=+{F5}
VA=Various Artists
CreateAllCuesheets=1
RunCoverDownloader=1
CoverDownloader=D:\Audio\AlbumArtDownloader\albumart.exe
CoverDownloaderXUI=1
EAC=D:\Audio\Exact Audio Copy\EAC.exe
Tools=D:\Audio\REACT2\tools
MinimizeCompressionWindow=1
ProcessPriority=1
Sla_Bks_Col_Qst_Bar_Quo_Ast_Lt_Gt=-|-|-||!|'|#|[|]
Test=0

[UserTrackFormats]
Flac=0
Wavpack=0
Tak=0
LameMP3=1
NeroAac=0
iTunesAac=0
OggEnc2=0

[UserOutputNames]
OutRoot=@f:\music@\
ImageDir_Flac=@OutRoot@\FLAC\$cdartist$\[$year$] $album$
ImageDir_Wavpack=@OutRoot@\WV Images\$cdartist$\[$year$] $album$
ImageDir_Tak=@OutRoot@\TAK Images\$cdartist$\[$year$] $album$
ImageDir_MP3=@OutRoot@\MP3 Images\$cdartist$\[$year$] $album$
TrackDir_Flac=@OutRoot@\FLAC\$cdartist$\[$year$] $album$
TrackDir_Wavpack=@OutRoot@\WV\$cdartist$\[$year$] $album$
TrackDir_Tak=@OutRoot@\TAK\$cdartist$\[$year$] $album$
TrackDir_MP3=@OutRoot@\MP3\$cdartist$\[$year$] $album$
TrackDir_AAC=@OutRoot@\AAC\$cdartist$\[$year$] $album$
TrackDir_OGG=@OutRoot@\OGG\$cdartist$\[$year$] $album$
TrackName_SA=$track$ - $title$
TrackName_VA=$track$ - $title$ [$artist$]
TrackName_SA_acdir=$n - $~t
TrackName_VA_acdir=$n - $~t [$~a]

[UserSettings]
Debug=0
Comment=Created with EAC/REACT2, @curdate@
EmbedCover=1
ReplayGain=0
ApplyAlbumGain=0
AdjustAlbumGain_dB=+3.0
AddCuesheetAG=0
UseWaveGainAG=0
Opt_Flac=-8 -f
Opt_Wavpack=-hmy
Opt_Tak=-pN -overwrite
Opt_LameMP3=-V0 --vbr-new --noreplaygain --nohist
Opt_NeroAac=-lc -q 0.21
Opt_iTunesAac=-d -s 2000
Opt_OggEnc2=-q 3.0
Ver_Flac=1.2.1
Ver_Wavpack=4.40
Ver_Tak=1.0.1
Ver_LameMP3=3.98.2
Ver_NeroAac=1.0.0.2
Ver_OggEnc2=2.83 Lancer aoTuV b5

[DefaultMetaData]
discnumber=1
totaldiscs=1
discname=

Edit: i am using Windows 7 right now. Maybe is that reason?

EDIT2:

i set debug to 1 and i get this errors in cmd:

flac 1.2.1, Copyright © 2000,2001,2002,2003,2004,2005,2006,2007  Josh Coalson
flac comes with ABSOLUTELY NO WARRANTY.  This is free software, and you are
welcome to redistribute it under certain conditions.  Type `flac' for details.

Code: [Select]
Ptmp54266.wav: wrote 334584547 bytes, ratio=0,557

F:\Music>MOVE /Y "F:\Music\Paul Motian Band - Garden of Eden.flac" "@f:\music@\\
FLAC\Paul Motian Band\[2006] Garden of Eden"
The filename, directory name, or volume label syntax is incorrect.

F:\Music>MOVE /Y "F:\Music\Paul Motian Band - Garden of Eden.cue" "@f:\music@\\F
LAC\Paul Motian Band\[2006] Garden of Eden"
The filename, directory name, or volume label syntax is incorrect.

F:\Music>IF 1 == 1 COPY /Y "F:\Music\Garden of Eden.jpg" "@f:\music@\\FLAC\Paul
Motian Band\[2006] Garden of Eden"\"Paul Motian Band - Garden of Eden.jpg"
The filename, directory name, or volume label syntax is incorrect.
        0 file(s) copied.

Code: [Select]
F:\Music>IF NOT EXIST "@f:\music@\\MP3\Paul Motian Band\[2006] Garden of Eden" M
KDIR "@f:\music@\\MP3\Paul Motian Band\[2006] Garden of Eden"
The filename, directory name, or volume label syntax is incorrect.

F:\Music>PUSHD "@f:\music@\\MP3\Paul Motian Band\[2006] Garden of Eden"
The filename, directory name, or volume label syntax is incorrect.

And i forgot something. When EAC is trying to rip cd... It runs everal time through UPC/ISRC...
Title: REACT 2 Released
Post by: Synthetic Soul on 2009-04-27 11:19:04
I'm guessing that your INI should be changed to amend:

Code: [Select]
OutRoot=@f:\music@\


to:

Code: [Select]
OutRoot=f:\music


With regard to UPC/ISRC: Uncheck the relevant (uppermost) checkbox on the "Tools" tab of the "EAC Options" dialogue (F9 to open).
Title: REACT 2 Released
Post by: Akkurat on 2009-04-27 11:31:47
In latest beta(2.0.akku.b03), then changing the ripping directory in EAC after doing CTRL+F2 dosen't have any effect, since EAC changes and uses the 'DirectorySpecification' regkey, while with REACT then the 'ActualPath' regkey is used instead for determining ripping directory.

Personally, then i would suggest to change it back as the way Neil had done it with the CTRL+F2  synching of ripping directories, as the new scheme IMHO dosen't make much sence even if it worked right, i mean, why ignoring the EAC defined ripping directory in favor of My Music???

It works in tracks mode (and for some reason back then when I tested it, it worked also in image mode, dunno why it worked then). Will be making changes to next version so that it works in both modes (I already know how to do it, so it will be a quick and easy change). Thanks for reporting, you were the 1st one.

Actually it's not REACT which reads/uses the "ActualPath" value when starting ripping, it's EAC itself and it's stupid mess of using two regkeys in different situations (tracks vs. image mode). The synching of these 2 regkey values are still present, it just that the synching does take place only when configuring REACT (just like in the original REACT), and after the "DirectorySpecification" value has been changed. EAC itself synchs these when you close EAC/REACT.. so no need to manually edit the registry.

REACT needs to set a default directory (for the temp files) because the EAC standard directory can't be set to "ask every time" and a valid directory must be then used in EAC settings, and the users my music directory is a safe choice. Believe me, it MUCH easier to do it like this (vs. looking for the current setting and verifying that it's a valid directory etc. problems)..

Also, i understand that the syntax of the CFGs is done with the old metamp3 in mind, but then isn't e.g. this wrong in the image cfg(new metamp3 beta syntax):

SET Disc_MP3=--frame "TXXX[setsubtitle]:@discname@"

I don't understand what's the problem here. There is a "REM" line above that line, why it's like that, I dunno. Synthetic Soul, do you have information about this?
Title: REACT 2 Released
Post by: Akkurat on 2009-04-27 11:41:40
The only software I installed since I last ran EAC/REACT2 successfully was an update to Daemon Tools which I have subsequently uninstalled..

I believe that it's the DTools SPTD (SCSI Pass Through Direct) driver. It's not uninstalled when you uninstall DTools normally.

From How to remove DAEMON Tools V4 (http://forum.daemon-tools.cc/f26/how-remove-daemon-tools-v4-6992/):

NOTE: DAEMON Tools V4 also uses SPTD (SCSI Pass Through Direct) driver to access cdroms and it is also automatically installed during DT setup. But SPTD is not removed during uninstallation because it may be used not only by DAEMON Tools but by other applications as well and its removal may disrupt these applications.
Nevertheless, if you suppose your problems are SPTD releated you can remove it as specified in this thread


I'm using the old version (Daemon Tools 3.47) because of the stupid problems with SPTD.. and I've no problems whatsoever with that old version.

P.S. When you run just EAC, you just run EAC, REACT is not started then.

P.P.S. Only write to either here or in my email, not both.. preferably here. Thanks.
Title: REACT 2 Released
Post by: Akkurat on 2009-04-27 11:48:12
With regard to UPC/ISRC: Uncheck the relevant (uppermost) checkbox on the "Tools" tab of the "EAC Options" dialogue (F9 to open).

@ElephantTLK: Or change to my mod (http://wiki.hydrogenaudio.org/index.php?title=REACT:Mods#Akkurat.27s_Mod) (if you like) which fixes this problem (unable to move cuesheet) and you can keep the UPC/ISRC setting on.

When EAC is trying to rip cd... It runs everal time through UPC/ISRC...

This is due to the fact that all 4 cuesheets are generated with ssb mod, in my mod you can choose to create only one you need and the UPC/ISRC check is ran only once.

EDIT: And since you're using Windows 7, check this out (in case you are lazy to read the notes/manual ): my mod notes about Windows Vista (http://wiki.hydrogenaudio.org/index.php?title=REACT:Mods#Windows_Vista) (AFAIK applies also to Win7).
Title: REACT 2 Released
Post by: ElephantTLK on 2009-04-27 12:49:48
Now its working but with one new problem. There is NO artwork (cover) created...

Edit:

@Akkurat

i will try your mod right now to see difference. Thnx.
Title: REACT 2 Released
Post by: ElephantTLK on 2009-04-27 13:09:52
Its working fine.    Thanks Akkurat. 

Edit: still one problem.  Why does REACT now dont create in FLAC folder image with this naming: $artist$ - [$year$] $album$. It creates only $artist" - $album$ with no year...

(http://img10.imageshack.us/img10/8577/43781709.th.jpg) (http://img10.imageshack.us/my.php?image=43781709.jpg)

My old files look like this:

(http://img527.imageshack.us/img527/7539/80206020.th.jpg) (http://img527.imageshack.us/my.php?image=80206020.jpg)
Title: REACT 2 Released
Post by: Synthetic Soul on 2009-04-27 14:03:01
I don't understand what's the problem here. There is a "REM" line above that line, why it's like that, I dunno. Synthetic Soul, do you have information about this?
IIRC, the commented out line uses ID3v2 v2.4 syntax, but metamp3 is v2.3 compatible. I left it there in case metamp3 went on to support v2.4.
Title: REACT 2 Released
Post by: Martin H on 2009-04-27 14:21:02
Actually it's not REACT which reads/uses the "ActualPath" value when starting ripping, it's EAC itself and it's stupid mess of using two regkeys in different situations (tracks vs. image mode).

Edit: Removed passage, as i realized that i was a moron!
Quote
The synching of these 2 regkey values are still present, it just that the synching does take place only when configuring REACT (just like in the original REACT), and after the "DirectorySpecification" value has been changed. EAC itself synchs these when you close EAC/REACT.. so no need to manually edit the registry.

Reg-editing is needed because when i press CTRL+F2 and then restart REACT and sets my ripping directory to 'D:\Temp', then REACT(because of your new scheme) will rip to My Music still! I can only fix this by editing the registry directly with your mod. That's not a problem for me at all, but just wanted to report it nonetheless...
Quote
REACT needs to set a default directory (for the temp files) because the EAC standard directory can't be set to "ask every time" and a valid directory must be then used in EAC settings, and the users my music directory is a safe choice. Believe me, it MUCH easier to do it like this (vs. looking for the current setting and verifying that it's a valid directory etc. problems)..
Well, i still prefer the old way, though(Neil's way), but of course it's your choise. Your mod allready warns the user if the ripping directory in EAC hasen't been configured when launching REACT, so i don't see the problem in using the users own choise, rather than overwritng your own choise with a default value...
Quote
I don't understand what's the problem here. There is a "REM" line above that line, why it's like that, I dunno. Synthetic Soul, do you have information about this?

My point where that the --frame "TXXX[foo]:bar" syntax is the syntax of the newest metamp3 beta which isn't included in the REACT distro and that command isn't backwards compatible with the included metamp3 version...

Again, no problem for me, as i'm using the new beta and have ammended the CFG accordingly, but i just wanted to report it nonetheless...

Thanks for your reply, mate
Title: REACT 2 Released
Post by: ElephantTLK on 2009-04-28 06:57:59
Edit: still one problem.  Why does REACT now dont create in FLAC folder image with this naming: $artist$ - [$year$] $album$. It creates only $artist" - $album$ with no year...

(http://img10.imageshack.us/img10/8577/43781709.th.jpg) (http://img10.imageshack.us/my.php?image=43781709.jpg)

My old files look like this:

(http://img527.imageshack.us/img527/7539/80206020.th.jpg) (http://img527.imageshack.us/my.php?image=80206020.jpg)


Anyone? Why REACT now dont create flac image filename as: artist - [year] album?

My config in REACT for image naming is:

Quote
ImageNaming=$artist$ - [$year$] $album$
Title: REACT 2 Released
Post by: gsa999 on 2009-04-28 08:39:19
I believe that it's the DTools SPTD (SCSI Pass Through Direct) driver. It's not uninstalled when you uninstall DTools normally.

Brilliant - thanks Akkurat. I am up and running again now. Apologies for the double post.
G
Title: REACT 2 Released
Post by: Akkurat on 2009-04-28 12:48:37
Anyone? Why REACT now dont create flac image filename as: artist - [year] album?

Ok, you just bumped into one rarely occurring problem with my mod, the AutoIt version I'm using to compile REACT (newer than in ssb mod) has some strange problems dealing with controls in EAC windows. I've a 99% ready fix for this, needs just final test and tidy up the code.. would you like to test/use a special version before I get out the next public version? PM me your email and I'll get in touch with you soon (I'm very very busy this week), sorry.

@Martin H: I'll reply to your post as soon as I get more time.
Title: REACT 2 Released
Post by: Akkurat on 2009-04-29 17:03:40
Actually it's not REACT which reads/uses the "ActualPath" value when starting ripping, it's EAC itself and it's stupid mess of using two regkeys in different situations (tracks vs. image mode).

Edit: Removed passage, as i realized that i was a moron!

I was maybe oversimplifying it and I meant it from our (REACT) POV.. sorry if I confused you.

Reg-editing is needed because when i press CTRL+F2 and then restart REACT and sets my ripping directory to 'D:\Temp', then REACT(because of your new scheme) will rip to My Music still! I can only fix this by editing the registry directly with your mod.

I was partly  wrong, EAC doesn't always sync the regkey values when closing EAC (go figure). But, if I CTRL+F2 (EAC/REACT closes) -> start REACT -> F9 and set folder -> close EAC/REACT -> start REACT -> F10, the files are going in the path I set. So, like I said, no registry editing needed if you restart after changing the folder.

Your mod allready warns the user if the ripping directory in EAC hasen't been configured when launching REACT, so i don't see the problem in using the users own choise, rather than overwritng your own choise with a default value...

The warning is there to warn users who might set the option to "ask every time" after configuring REACT. It's much easier for the not-so-advanced users to configure & start using REACT from the get go using just CTRL+F2, rather than pestering them with warning messages. And besides, the "my music" folder is very much used, aaaannnd what does it matter where the temp files (from REACT POV) go? You're the first one to dislike (publicly) this feature. Users are free to change it (and with the future fix, it's going to work with image rips also without restarting first) and I made a note of it in my "manual". And in the end, how many times do you have to press the CTRL+F2?? I've done it once (counting out the times when developing/testing). Anyways, your voice has been heard..

My point where that the --frame "TXXX[foo]:bar" syntax is the syntax of the newest metamp3 beta which isn't included in the REACT distro and that command isn't backwards compatible with the included metamp3 version...

Yes yes, now I see it, you're absolutely right, how very perceptive of you.. thanks. Funny how long this have been in the config files without anyone noticing. Synthetic Soul should've used --user-text switch instead.. an easy mistake to make if the ID3v2 v2.4 TSST frame was there first and then in the end going with 2.3 TXXX frame (EDIT: especially if Synthetic Soul was already using the 0.92beta5 version privately back then). This will be corrected automatically when I update the metamp tool. It's good that there's now even bigger pressure to release a new version, "forces" me to hurry.
Title: REACT 2 Released
Post by: Synthetic Soul on 2009-04-30 10:47:50
Apologies for any confusion.

The script in question was originally submitted as part of an upgrade article in the wiki, "Adding Support For Disc Information (http://wiki.hydrogenaudio.org/index.php?title=REACT:Adding_Support_For_Disc_Information)", in which, under "Requirements", I did state that the beta version is required.

I think the configs were updated to include this update (and others) just before I ceased developing, when perhaps more thought should have been applied.

Edit: Yes, it looks like the configs were updated for 2.0.ssb16n.
Title: REACT 2 Released
Post by: Martin H on 2009-05-01 11:27:22
@Akkurat

Just wanted to say thanks for your reply, mate

CU, Martin.
Title: REACT 2 Released
Post by: Akkurat on 2009-05-01 14:59:40
@Synthetic Soul: ah, ok it happened that way, I should have guessed that my guess would be totally wrong.

@Martin H: no problem, thanks for your feedback. I'm off to watch the Germany-Denmark match right now, I hope you win.
Title: REACT 2 Released
Post by: Martin H on 2009-05-02 04:12:56
But, if I CTRL+F2 (EAC/REACT closes) -> start REACT -> F9 and set folder -> close EAC/REACT -> start REACT -> F10, the files are going in the path I set. So, like I said, no registry editing needed if you restart after changing the folder.

I've just tried this, and it still dosen't work, even with the extra shutdown...

Btw, i don't have any My Music folder(i'm using Win2k with FDV's IE/Junk Removal Fileset), and so REACT sets '\' as default ripping directory, and hence, %systemdrive% is now used, even though 'D:\Temp' is defined...

Again, i have fixed this through registry editing(which is the only way with your mod), but just wanted to let you know nonetheless...

CU, Martin.
Title: REACT 2 Released
Post by: Akkurat on 2009-05-02 18:54:20
I've just tried this, and it still dosen't work, even with the extra shutdown...

How I'm not so surprised (it works in my pc but not in yours).. shows exactly how stupid that EAC setting/regkey mess is. Quote from EAC options: "Standard directory for extraction" (label), "You can specify a directory to where all extractions are targeted" ("Use this directory" tooltip).. all extractions.. really?!
Title: REACT 2 Released
Post by: bardoo on 2009-05-09 17:22:51
Hi people,

REACT suddenly started to complain about "Unable to move cuesheet. File does not exist......". When I hit F4 I can see that EAC is creating a cuesheet file (album_title.cue), but when I look in the debugging.txt REACT says the following:

2009-05-09 18:15:04  Waiting for the cuefile to appear
2009-05-09 18:15:04  Waiting for the cuefile to appear
2009-05-09 18:15:04  Unable to move 'X:\musikk\.CUE'. File does not exist

Ini settings:
CreateCuesheet=m|mg|s (I tried without creating cuesheets as well, still the same error)
OutRoot=x:\musikk

Running Windows 7 beta and EAC 0.99b5/Akku.b03

Have anyone experienced this issue before? And could tell me how to fix it?

Title: REACT 2 Released
Post by: Akkurat on 2009-05-09 21:18:55
Well it seems that Andre changed the cuesheet generation in the latest version. Use EAC prebeta 4.. I'll fix this problem in the next mod version.
EDIT: removed horsesh#t.
Title: REACT 2 Released
Post by: Akkurat on 2009-05-11 15:12:54
REACT suddenly started to complain about "Unable to move cuesheet. File does not exist......".

Sorry, I misread (or rather my brains fudged up totally) your post a bit, for some reason the album_title.cue you wrote messed up my thinking, I thought that Andre changed the filename (the underscore probably messed me), but he did not. I just tested with the prebeta5 and I didn't have this problem you're having.

Did you try with prebeta4? Did that work? Have you recently installed "Sony Ericsson PC suite"? If yes, try closing the program from the systray icon and try REACT again.


@everybody:
Do NOT use EAC prebeta5 with REACT (any mod)!!! Andre has changed (without notifying about this in the changelog ) the command line switches so that %s and %d doesn't have full filenames (drive+path+filename) anymore! Use prebeta4 or earlier for the time being!
Title: REACT 2 Released
Post by: bardoo on 2009-05-12 21:34:23
Quote from: Akkurat link=msg=0 date=
Did you try with prebeta4? Did that work? Have you recently installed "Sony Ericsson PC suite"? If yes, try closing the program from the systray icon and try REACT again.


Yes, I did get the same error with the prebeta4. However, I also recently installed "Sony Ericsson PC Suite". And you were right, closing the systray icon solved the problem 

That's really a strange problem, isn't it? Anyway, thank you so much for quick reply and solving my problem.
Title: REACT 2 Released
Post by: Akkurat on 2009-05-12 21:54:28
However, I also recently installed "Sony Ericsson PC Suite". And you were right, closing the systray icon solved the problem 

That's really a strange problem, isn't it? Anyway, thank you so much for quick reply and solving my problem.

Yes it is! Very strange indeed. You're the 3rd user to confirm something like this happening. I've known this peculiarity for couple of months now, unfortunately I haven't had any time to look in to this issue.. yet. I just have started the work for next mod release (finally) and I might check out this problem.. but it seems to be a problem between AutoIt (language used to code REACT) and Sony Ericsson PC Suite, I fear that all I can do is to investigate and report to AutoIt team.
Title: REACT 2 Released
Post by: difool on 2009-05-13 07:55:40
Hi,
i'm not using Sony Ericsson PC Suite, still i had the Problems. Changing back to 4 solved the problem. All i could see from debug was that the temp file could not be found. you know, after extracting the wav it is moved to a temporary file name. This could not be found.

Greetings
difool
Title: REACT 2 Released
Post by: Akkurat on 2009-05-13 13:01:22
Changing back to 4 solved the problem. All i could see from debug was that the temp file could not be found. you know, after extracting the wav it is moved to a temporary file name. This could not be found.

Yes? Two days ago I warned not to use pb5.. did you miss that big red warning couple of post back?
Title: REACT 2 Released
Post by: difool on 2009-05-14 06:32:20
Akkurat:
First:
i had the 5 installed two days before you left your RED WARNING
second:
perhaps i have problems with my english but tihs

. but it seems to be a problem between AutoIt (language used to code REACT) and Sony Ericsson PC Suite, I fear that all I can do is to investigate and report to AutoIt team.

hints to me that you think the problems occurs between AutoIt and the Sony Ericcson Suite _ALONE_.

Well, i'm not using the Suite and still have the Problems. Perhaps i didn't see that the command line switches and the Suite are two separate issues concerning REACT.

Greetings
difool
Title: REACT 2 Released
Post by: Synthetic Soul on 2009-05-14 09:25:13
The red warning message is purely regarding the new prebeta.  There are two completely separate issues here:



Until a new release of REACT you will need to roll back to prebeta 4, or not use REACT.
Title: REACT 2 Released
Post by: difool on 2009-05-14 09:38:26
Sorry if i have seem to overreact and thanks for the clarification.

Yes, that is what i wanted to tell, two issues concering react.

I'd rather stick with prebeta 4 then not using REACT 
Title: REACT 2 Released
Post by: Akkurat on 2009-05-14 10:43:24
i had the 5 installed two days before you left your RED WARNING

Ok, it seems that the issue is cleared now.. but, I always expect people to read at least couple of previous posts before posting their problems. That's why I wrote the "did you miss the warning" question, it doesn't matter if it was before or after you installed pb5. Too bad that REACT doesn't have its own forum, it would be easier to search topics instead, still, reading couple of posts back should not be a problem. Anyways, pb5 support is coming..
Title: REACT 2 Released
Post by: gsa999 on 2009-05-28 12:56:38
Hi
Couple of questions:

1. I want to add the ALBUMSORTORDER tag to my MP3's populated with the album year, so that the albums sort by year (rather than alphabetically) on my iPod. What should I add to the MP3 section of the REACT2 file to do this please.

2. Will REACT2 work on a Vista machine or are there problems. My XP machine has finally died on me and I need to continue my ripping on my newer Vista machine. Are there any particular problems I should be aware off.

Thanks
Title: REACT 2 Released
Post by: Akkurat on 2009-05-28 14:21:06
1. I want to add the ALBUMSORTORDER tag to my MP3's populated with the album year, so that the albums sort by year (rather than alphabetically) on my iPod. What should I add to the MP3 section of the REACT2 file to do this please.

I'm very noobie with lame tags, but I googled something (also your old sort problems from 2007 ), ID3v2.3.0 standard (http://www.id3.org/id3v2.3.0) doesn't have dedicated frame for this but ID3v2.4.0 standard (http://www.id3.org/id3v2.4.0-frames) has TSOA frame. AND, then there is the "iTunes id3 implementation" (http://www.id3.org/iTunes) with "Support of the (theoretically »illegal«) fields TSOA, TSOP and TSOT within ID3v2.3 tags" (http://forums.musicip.com/index.php?showtopic=3983).  You also might want to read this: Sorting tags in iTunes (http://forums.mp3tag.de/index.php?showtopic=6117). For more information, googlerator is your friend.

Now my suggestion is to try tagging both, if that doesn't work, try both individually.

Were you using the image mode? Try adding these:

--user-text $q[albumsortorder]@year@$q

--frame TSOA:$q@year@$q

The metamp3 could croak with the TSOA frame..

P.S. Any "--user-text" commands need to be changed to TXXX frames in the upcoming REACT mod with the updated metamp3! (it's coming, I already have fixed some bugs/issues (incl. EAC0.99pb5 issue))

2. Will REACT2 work on a Vista machine or are there problems. My XP machine has finally died on me and I need to continue my ripping on my newer Vista machine. Are there any particular problems I should be aware off.

AFAIK, only this (http://wiki.hydrogenaudio.org/index.php?title=REACT:Mods#Windows_Vista).
Title: REACT 2 Released
Post by: ElephantTLK on 2009-05-29 19:56:06
One problem. Why react writes in the filename .wav extension?
(http://img11.imageshack.us/img11/3388/88430653.th.jpg) (http://img11.imageshack.us/my.php?image=88430653.jpg)

REACT config file:

Code: [Select]
[Settings]
Version=2.0.akku.b03
ImageExt=flac
ImageNaming=$artist$ - [$year$] $album$
ImageHotKey={F10}
TracksHotKey={F4}
TracksHotVal=+{F5}
VA=Various Artists
CreateCuesheet=mg
RunCoverDownloader=1
CoverDownloader=C:\Programs\AlbumArtDownloader\albumart.exe
CoverDownloaderXUI=0
CoverDownloaderLocalPath=@OutRoot@
OpenAddMetaDataDiag=0
EAC=C:\Programs\Exact Audio Copy\EAC.exe
Tools=C:\Programs\REACT2\tools
MinimizeCompressionWindow=1
ProcessPriority=1
Sla_Bks_Col_Qst_Bar_Quo_Ast_Lt_Gt=-|-|-||!|'|#|[|]
Test=0

[UserTrackFormats]
Flac=0
Wavpack=0
LameMP3=1
NeroAac=0
iTunesAac=0
OggEnc2=0
Tak=0

[UserOutputNames]
OutRoot=m:\music
ImageDir_Flac=@OutRoot@\FLAC\$cdartist$\[$year$] $album$
ImageDir_Wavpack=@OutRoot@\WV Images\$cdartist$\[$year$] $album$
ImageDir_MP3=@OutRoot@\MP3 Images\$cdartist$\[$year$] $album$
ImageDir_Tak=@OutRoot@\TAK Images\$cdartist$\[$year$] $album$
TrackDir_Flac=@OutRoot@\FLAC\$cdartist$\[$year$] $album$
TrackDir_Wavpack=@OutRoot@\WV\$cdartist$\[$year$] $album$
TrackDir_MP3=@OutRoot@\MP3\$cdartist$\[$year$] $album$
TrackDir_AAC=@OutRoot@\AAC\$cdartist$\[$year$] $album$
TrackDir_OGG=@OutRoot@\OGG\$cdartist$\[$year$] $album$
TrackDir_Tak=@OutRoot@\TAK\$cdartist$\[$year$] $album$
TrackName_SA=$track$ - $title$
TrackName_VA=$track$ - $title$ [$artist$]
TrackName_SA_acdir=$n - $~t
TrackName_VA_acdir=$n - $~t [$~a]

[UserSettings]
DebugMode=0
Debug=0
Comment=Created with EAC/@reactversion@, @curdate@
EmbedCover=1
ReplayGain=0
ApplyAlbumGain=0
AdjustAlbumGain_dB=+3.0
AddCuesheetAG=0
UseWaveGainAG=0
Opt_Flac=-8 -f
Opt_Wavpack=-hmy
Opt_LameMP3=-V0 --vbr-new --noreplaygain --nohist
Opt_NeroAac=-lc -q 0.21
Opt_iTunesAac=-d -s 2000
Opt_OggEnc2=-q 3.0
Opt_Tak=-pN -overwrite
Ver_Flac=1.2.1
Ver_Wavpack=4.40
Ver_LameMP3=3.98.2
Ver_NeroAac=1.0.0.2
Ver_OggEnc2=2.83 Lancer aoTuV b5
Ver_Tak=1.0.1

[DefaultMetaData]
discnumber=1
totaldiscs=1
discname=
Title: REACT 2 Released
Post by: Akkurat on 2009-05-29 22:33:49
One problem. Why react writes in the filename .wav extension?

Huh, hard to say. Did a bit of testing and couldn't reproduce, what a surprise.

1) Was that album really ripped with pressing F10?
2) Did you happen to notice that the filenames do NOT have the year as configured in ImageNaming INI setting? (now, I know that this is a problem for few users in Vista, the fix for it comes in the next release which is under work, I just wanted to know if you knew about this problem and/or noticed the missing year)
3) Does this happen with every rip?
4) Have you recently done some changes to your OS? REACT? (options, installed programs, etc.)
5) Are you using the newest EAC 0.99prebeta5?
6) You're using Vista or Win7? Try putting on the "file name extensions" (http://windowshelp.microsoft.com/Windows/en-US/help/a0b4607a-6fa8-42ab-aef6-7418183389da1033.mspx) and rip again, did that fix it?
7) If nothing helps, put DebugMode=1 in INI, rip once and post the debugging.txt file contents here.

Let's start with these.
Title: REACT 2 Released
Post by: ElephantTLK on 2009-05-30 08:53:30
One problem. Why react writes in the filename .wav extension?

Huh, hard to say. Did a bit of testing and couldn't reproduce, what a surprise.

1) Was that album really ripped with pressing F10?
2) Did you happen to notice that the filenames do NOT have the year as configured in ImageNaming INI setting? (now, I know that this is a problem for few users in Vista, the fix for it comes in the next release which is under work, I just wanted to know if you knew about this problem and/or noticed the missing year)
3) Does this happen with every rip?
4) Have you recently done some changes to your OS? REACT? (options, installed programs, etc.)
5) Are you using the newest EAC 0.99prebeta5?
6) You're using Vista or Win7? Try putting on the "file name extensions" (http://windowshelp.microsoft.com/Windows/en-US/help/a0b4607a-6fa8-42ab-aef6-7418183389da1033.mspx) and rip again, did that fix it?
7) If nothing helps, put DebugMode=1 in INI, rip once and post the debugging.txt file contents here.

Let's start with these.


1. Yes. Every album is ripped with F10. Actually i am going to re-rip my entire collection.
2. Yes. It was problem before. Its not so important as i dont need this.
3. Yes in every rip.
4. Yes. Installed new, fresh system. Completely formatted drive and created new partitions. Clean install. Vista SP2. Because of problems with EAC under W7. Or should i go with XP SP3? I can have for now dual boot if i must go this way for now. I would like to rip my entire collection this way so EAC & REACT are must have tools.
5. No i am using REACT with EAC  0.95 beta 4.
6. As said Vista SP2. i will try that. Under Windows 7 RC EAC crash.
7. Will do


Title: REACT 2 Released
Post by: ElephantTLK on 2009-05-30 09:08:05
Ok it seems that changing to show filename extension in explorer did work. I enabled "show filename extensions" and rip one cd. It seems to be ok.

One more question: can i somehow create that MP3 folder would have playlist created as in FLAC image folder?
Title: REACT 2 Released
Post by: Akkurat on 2009-05-30 10:51:41
Ok it seems that changing to show filename extension in explorer did work. I enabled "show filename extensions" and rip one cd. It seems to be ok.

Hmm, I tested this with my WinXPSP3 before I posted the advice and couldn't reproduce. And after studying the REACT code, I'm baffled what could be the cause of this. I suspect that the problem I mentioned in the 2nd question earlier is the one to blame.. but I'm not sure. Care to help me test this? It shouldn't take too much of your time, about 10-15 minutes. PM me your email address and I'll get back to you with instructions.

can i somehow create that MP3 folder would have playlist created as in FLAC image folder?

Default REACT doesn't create playlists. Here's a guide: REACT:Creating A Playlist (http://wiki.hydrogenaudio.org/index.php?title=REACT:Creating_A_Playlist). It's for track.cfg but you can do it for the image.cfg too. Remember to download Tag.exe and put in REACT Tools folder.
Title: REACT 2 Released
Post by: rohangc on 2009-06-03 05:54:18
Hello Akkurat.

Can you please tell me if you plan to release an updated version of your REACT2 mod soon? There are four CDs in my collection that are problematic, and I want to rip them using EAC 0.99 Prebeta5, but I just can't do that without REACT2 and your mod.
If not, then can you please do us all a favour and release an update that fixes the compatibility issue?

Thanks.
Title: REACT 2 Released
Post by: Synthetic Soul on 2009-06-03 09:17:47
I guess this is only useful for image ripping; however, to rip my new "Hombre Lobo" CD I fired up EAC as normal (no REACT) and ripped to uncompressed image with cue sheet.  I then ran REACT from the command line using:

Code: [Select]
REACT "<path to cue sheet>"

This is functionality that I added in 2.0.ssb16g.
Title: REACT 2 Released
Post by: rohangc on 2009-06-03 10:09:13
Thanks Synthetic Soul!!!

This is exactly what I am looking for. Will try this tonight.
Title: REACT 2 Released
Post by: Akkurat on 2009-06-03 12:01:57
A user asked the following by PM and I thought that it would be useful to post it and my reply here too.

Quote
I was just trying to download the REACT 2.0.ssb16p file, but my firewall won't let me.
It says that the file is infected with AutoIt.I (Worm).
Is there anywhere where I can download this without the virus?

First, that's not my mod, it's Synthetic Soul's mod. He has dropped updating his mod a while ago (though the latest update to my mod is also very old). Check this (http://wiki.hydrogenaudio.org/index.php?title=REACT:Mods) wiki page for the latest info on all mods.

2nd, I'm almost 100% sure that your firewall/antivirus is marking the file as False Positive (check the meaning from web if you don't know what it means). I've seen this with my mod as well. It seems that many lazy AV-vendors are marking ALL programs made with AutoIt (http://www.autoitscript.com/autoit3/index.shtml) language (see the FP infected name) as worm/trojan/whatever malware. This is most unfortunate and your AV-vendor and others should correct this. I've emailed many vendors already with this problem, hopefully they'll correct this problem.. but what I've seen so far, I wouldn't expect miracles.
Title: REACT 2 Released
Post by: Akkurat on 2009-06-03 12:32:06
Can you please tell me if you plan to release an updated version of your REACT2 mod soon? There are four CDs in my collection that are problematic, and I want to rip them using EAC 0.99 Prebeta5, but I just can't do that without REACT2 and your mod.
If not, then can you please do us all a favour and release an update that fixes the compatibility issue?

I posted this last Thursday: "the upcoming REACT mod with the updated metamp3! (it's coming, I already have fixed some bugs/issues (incl. EAC0.99pb5 issue))" My initial "launch date" was last weekend but, here comes the excuses , in the course of fixing couple of bugs/problems, I ran into new bugs/problems which slowed down the process (I had to test and learn why something was done in a way it was).. and then I got sick on Sunday (and I'm still sick), high fever and other influenza type of symptoms (stupid WHO and media which planted a fear of H1N1 swine flu into me). I've tried to code it further this week a bit (it's hard to concentrate when there's a constant "woo" in my head starting from the morning) and I'm positive that it comes out this weekend.. at the latest. So, it's coming soon. If you can't wait to test the new EAC, just install pb5 over pb4 (you can easily install pb4 back over pb5, I've tested) and rip your problematic CD's without REACT.. I doubt that the new version would be any better than pb4 (could be but the changelog doesn't look promising).
Title: REACT 2 Released
Post by: rohangc on 2009-06-04 05:41:37
Code: [Select]
REACT "<path to cue sheet>"

This is functionality that I added in 2.0.ssb16g.

This works beautifully! Thanks Synthetic Soul.

...So, it's coming soon. If you can't wait to test the new EAC, just install pb5 over pb4 (you can easily install pb4 back over pb5, I've tested) and rip your problematic CD's without REACT.. I doubt that the new version would be any better than pb4 (could be but the changelog doesn't look promising).

Akkurat, hope you get better soon! I think that this new version of EAC is better than the old one. I have two more troublesome CDs (for the old v0.99pb4) to rip. I will post confirmed results in the EAC thread as soon as I finish doing this.
Title: REACT 2 Released
Post by: Akkurat on 2009-06-07 21:03:25
Finally, as promised (one hour before the day changes ), here it is!

CHANGELOG:

2.0.akku.b04 (7th June 2009)
--------------------------------
Changed files: REACT.exe, REACT.ini, REACT-image.cfg & REACT-track.cfg.
Added files - Tools: flac.exe, lame.exe, metaflac.exe & metamp3.exe.

- Fixed REACT to work with the changed EAC 0.99pb5 command line switches.
- Fixed a bug with image filenames saved sometimes incorrectly (again for the 3rd time!) in Windows Vista. The method was changed and the procedure is slightly slower now; filename will appear "one letter at a time" to the save dialog.
- Fixed cuesheet generation again; the indices and gaps detection windows were detected in wrong order. This made REACT error with CD's that had lots of track indices.
- Fixed left behind glean cuesheet file not deleted in track mode when creating normal cuesheet(s) with the INI setting.
- Fixed a tricky problem with EAC not using the changed "Use this directory" setting in image mode in certain situations. If you see REACT inserting drive+path+filename "one letter at a time" to the save dialog in image mode, don't fret, it's this fix at work.
- Fixed bad file naming scheme settings not detected by REACT in certain situations.
- Fixed a bug where long lasting and/or failing freedb query made REACT fail to "hook" to the EAC window.

- Added "check for EAClog" to track config.
- Changed the bat file delete command so that there is no quick flash of error message at the very end of both configs.
- Changed Mp3 tagging switches for the updated MetaMP3 in both configs.
- Added the fix for MetaMP3 "wildcard parse bug with filenames ending with any multiples of 2 consecutive period chars" to both configs.
- Changed disc related tagging so that both "discname" and "discnumber"/"totaldiscs" tags are written if supplied. Changed also the way the folder structure is created when both are supplied; the "discname" is in parenthesis after the "discnumber": <path>\<discnumber> (<discname>).

- REACT.ini
   - "Version" updated.
   - Changed default "UserTrackFormats" to "Flac" and "LameMP3".
   - "Opt_LameMP3" updated. Removed "--vbr-new" because it's default VBR routine with the updated LAME encoder.
   - "Ver_LameMP3" updated.
   - "Ver_Flac" updated.

- Updated FLAC to 1.2.1b (flac.exe & metaflac.exe).
- Updated LAME to 3.98.2 (lame.exe).
- Updated MetaMP3 to 0.92 beta 5 (metamp3.exe).
   - Fixes a bug with zero-padded track numbers when using only "tracknumber" in tagging.
   - Updating to this version automatically fixes the "discname" tagging bug in REACT configs.

- Changed REACT configuring (Ctrl-F2):
   - EAC "Use CD-Text information in CUE sheet generation" setting is set ON (needed with track encoding in image mode).
   - EAC "Create '.m3u' playlist on extraction" setting is set OFF.
   - EAC "Use various artist naming scheme" setting is always set ON.
   - EAC "On unknown CDs," and "automatically access online freedb database" settings are always set ON.
   - REACT now waits for the EAC process to close completely before configuring.
      - Added splash window while closing the process because it could take some time.
   - REACT will now always restart after configuring.

- Added EAC Compression Queue not supported text to the "Notes" section of the documentation.
- Added "Tools" section to documentation. Lists all updated tools used in this mod.


Download and read the manual: REACT:Mods (http://wiki.hydrogenaudio.org/index.php?title=REACT:Mods)

EDIT: Forgot to mention, CAT-QuickHeal and VBA32 antivirus programs detected the new REACT.exe as trojan (scanned in virustotal.com).. not true, false positives.. I've contacted both of these vendors and hopefully they'll fix the FPs.
Title: REACT 2 Released
Post by: lipidicman on 2009-06-09 00:02:51
I see the hard work on REACT and the mods are still ongoing.  Good to see

It has been a while for me.  My ripping machine suffered a boot drive failure and after a repair I have mostly abandoned MS for Linux.

I understand that EAC works under wine.  Any chance I might get REACT to do the same?  Or is there a similar tool/script?
Title: REACT 2 Released
Post by: Akkurat on 2009-06-09 17:46:10
I haven't heard anyone using REACT under Wine.. try it..? And tell us if it's working. Remember that there are many tools included in REACT, some of them could fail to work. Good luck.
Title: REACT 2 Released
Post by: lipidicman on 2009-06-12 10:32:27
Cheers.  It might help me learn about wine.

If some of the tools fall over maybe we can find alternatives.  This could be a challenge.
Title: REACT 2 Released
Post by: ElephantTLK on 2009-06-15 18:04:59
@Akkurat

Where to put code for creating playlist (MP3 files) in REACT-track.cfg?

So where to put this?
Quote
@tools@\Tag.exe --playlist --sort track --a-artist "@cdartist@" --a-title "@album@" --plname temp.m3u *.flac
REM ** Workaround for %-chars disappearing from the playlist filename when using tag.exe.
REN temp.m3u "$cdartist$ - $album$.m3u"
Title: REACT 2 Released
Post by: ElephantTLK on 2009-06-15 19:38:02
I managed to setup it right way. It works now. 
Title: REACT 2 Released
Post by: Ole_Brun on 2009-06-18 08:21:23
Thanks Akkurat!

Finally I can get started with ripping all my CD-s in FLAC and mp3 format 
For the most of the time it is working perfectly.
There is only one thing that I can't figure out how to use correctly; the CoverDownloaderLocalPath setting.
I have configured it to be D:\Music\EAC\AlbumArt\$artist$\$album$\folder.jpg, but whenever XUI opens, it is using the working path of EAC instead.
Is this a problem with the latest version of XUI, or am I doing something wrong here?

Cheers!
-Ole_Brun
Title: REACT 2 Released
Post by: Akkurat on 2009-06-18 10:57:12
When the XUI opens, is the working path of EAC in the "save images to:" field? Nothing wrong here. In case the "CoverDownloaderLocalPath" doesn't contain image for the CD you're ripping, the value is used in the "Local Files" source in XUI (check the last source in the list). But, I reckon that since you have not used any wildcard chars in the setting (i.e. you're searching for specific file), the XUI "local files" source will not show anything.. if there's an image match, the XUI wouldn't open. I take it that you've read this: [Settings] CoverDownloaderLocalPath (http://wiki.hydrogenaudio.org/index.php?title=REACT:Mods#.5BSettings.5D_CoverDownloaderLocalPath)

I haven't upgraded to newest XUI yet, I've been busy and I want to test with time how the new XUI upgrade system might spoil REACT rips.
Title: REACT 2 Released
Post by: Ole_Brun on 2009-06-18 11:18:14
When the XUI opens, is the working path of EAC in the "save images to:" field? Nothing wrong here. In case the "CoverDownloaderLocalPath" doesn't contain image for the CD you're ripping, the value is used in the "Local Files" source in XUI (check the last source in the list). But, I reckon that since you have not used any wildcard chars in the setting (i.e. you're searching for specific file), the XUI "local files" source will not show anything.. if there's an image match, the XUI wouldn't open. I take it that you've read this: [Settings] CoverDownloaderLocalPath (http://wiki.hydrogenaudio.org/index.php?title=REACT:Mods#.5BSettings.5D_CoverDownloaderLocalPath)

I haven't upgraded to newest XUI yet, I've been busy and I want to test with time how the new XUI upgrade system might spoil REACT rips.


Ok, so it is working as intended then.
However, what happens is, if REACT doesn't find the image in the CoverDownloaderLocalPath folder, I need to type this path everytime in XUI for the application to find it.
I was hoping there was an automated way to do this. My work-around now is to use a temp path for the image, and delete the folder.jpg file each time.
Then it works.
Title: REACT 2 Released
Post by: Akkurat on 2009-06-18 11:53:54
I'm completely lost as what you're trying to do.

Do you have the cover image ready ALWAYS before starting a rip? In that case, which is similar to mine, just set e.g. CoverDownloaderLocalPath=D:\Music\RIPPED\EAC\folder.jpg and copy/move the folder image to there before starting a rip. I'm using that folder as the working dir of EAC, so it means that the moved image gets used in REACT and it's deleted after rip. EDIT: removed horse#%it.

If you already have the cover images in \$artist$\$album$\folder.jpg or whatever folder system, use that in the "CoverDownloaderLocalPath" setting. If the XUI starts, it's an indication of that you do NOT have the cover image and XUI will search the net. If you have all the covers in one place AND you'd like to use XUI GUI () to select the correct one, then set the "CoverDownloaderLocalPath" to open that folder everytime, e.g. ...\images_are_in_this_folder\*.jpg. I don't understand why you insist that you have to type the path in XUI (to "Local Files" source?).

Are you by any chance trying to say that some of the covers are in \$artist$\$album$\folder.jpg and some are not? And you don't like the fact that REACT/XUI combo can't guess where your cover images are hiding?

Hope this is of some use.
Title: REACT 2 Released
Post by: Ole_Brun on 2009-06-18 12:22:55
I'm completely lost as what you're trying to do.

Do you have the cover image ready ALWAYS before starting a rip? In that case, which is similar to mine, just set e.g. CoverDownloaderLocalPath=D:\Music\RIPPED\EAC\folder.jpg and copy/move the folder image to there before starting a rip. I'm using that folder as the working dir of EAC, so it means that the moved image gets used in REACT and it's deleted after rip. EDIT: removed horse#%it.

If you already have the cover images in \$artist$\$album$\folder.jpg or whatever folder system, use that in the "CoverDownloaderLocalPath" setting. If the XUI starts, it's an indication of that you do NOT have the cover image and XUI will search the net. If you have all the covers in one place AND you'd like to use XUI GUI () to select the correct one, then set the "CoverDownloaderLocalPath" to open that folder everytime, e.g. ...\images_are_in_this_folder\*.jpg. I don't understand why you insist that you have to type the path in XUI (to "Local Files" source?).

Are you by any chance trying to say that some of the covers are in \$artist$\$album$\folder.jpg and some are not? And you don't like the fact that REACT/XUI combo can't guess where your cover images are hiding?

Hope this is of some use.

Sorry if I'm not explaining my problem properly 
This is what I am trying to do:
1. Put in some CD in the tray
2. Open REACT
3. Press F4
4. Select album cover art in XUI, and press Save
5. Sit down and relax while REACT is ripping and compressing tracks
6. Expect the album art to be embedded into the resulting files

I do not have any album art on my PC, so I rely on XUI to find it for me each time I make a new rip.
After all I am not ripping the same CD's more than once.
Actually I think this is more of a XUI issue than REACT issue.
I would like the folder path in XUI to always be the same as the one I'm using for CoverDownloaderLocalPath so that REACT finds the image after downloading.

Hope this makes it clearer...


Rgds,
Ole_Brun
Title: REACT 2 Released
Post by: Akkurat on 2009-06-18 12:53:36
Now I understand.

I do not have any album art on my PC

Did you read the [Settings] CoverDownloaderLocalPath (http://wiki.hydrogenaudio.org/index.php?title=REACT:Mods#.5BSettings.5D_CoverDownloaderLocalPath)? Quote from the start: "If RunCoverDownloader is set, and you set this to the path of your existing artwork". Leave the setting empty if you do not have any existing covers.

I would like the folder path in XUI to always be the same as the one I'm using for CoverDownloaderLocalPath so that REACT finds the image after downloading.

What "folder path" are you talking about? Anyways, REACT will start XUI so that the cover you select is saved to the correct place. You don't have to worry about it. CoverDownloaderLocalPath setting has got nothing to do with this at all.. it's only used to define where you've LOCAL existing cover images.

Happy REACTing.
Title: REACT 2 Released
Post by: Ole_Brun on 2009-06-18 13:20:18
Now I understand.

I do not have any album art on my PC

Did you read the [Settings] CoverDownloaderLocalPath (http://wiki.hydrogenaudio.org/index.php?title=REACT:Mods#.5BSettings.5D_CoverDownloaderLocalPath)? Quote from the start: "If RunCoverDownloader is set, and you set this to the path of your existing artwork". Leave the setting empty if you do not have any existing covers.

I would like the folder path in XUI to always be the same as the one I'm using for CoverDownloaderLocalPath so that REACT finds the image after downloading.

What "folder path" are you talking about? Anyways, REACT will start XUI so that the cover you select is saved to the correct place. You don't have to worry about it. CoverDownloaderLocalPath setting has got nothing to do with this at all.. it's only used to define where you've LOCAL existing cover images.

Happy REACTing.


Ahh, now I get it...
I guess I didn't read the section where I should leave CoverDownloaderLocalPath empty if I didn't have any cover art on my PC.
Note to self: Read the manual thoroughly!   
Thank you for helping me!
Now I've got some hundred CD-s to rip...

Ole_Brun
Title: REACT 2 Released
Post by: Tronar on 2009-06-23 19:15:04
Finally, as promised (one hour before the day changes ), here it is!

CHANGELOG:

2.0.akku.b04 (7th June 2009)
--------------------------------
Changed files: REACT.exe, REACT.ini, REACT-image.cfg & REACT-track.cfg.
Added files - Tools: flac.exe, lame.exe, metaflac.exe & metamp3.exe.


Great! Since an automatic Update crashed my Windows Vista and my Backup from my system partition was some months old, I used this opportunity to upgrade to EAC V0.99 prebeta 5 and REACT2 akku.b04. So thank you for putting everything together. I could have used that some months ago, when I was manually wading through putting all the pieces together and updating the .cfgs to match the metamp3 beta5 changes. 

Now everything works out perfectly, except the AlbumArt Download. For some strange reason, REACT2 does not start AlbumArt.exe

I doublechecked every setting and am now totally clueless.

The path, where the File lies is (copied from the explorer window):
C:\Program Files\REACT2\AlbumArtDownloader
In that directory lies the AlbumArt.exe. When I doubleclick that exe, AlbumArt starts up fine and without any problems!

The respective settings in the REACT.INI are (directly copied from the ini-file):
-----------------------snip-----------------------------
[Settings]
Version=2.0.akku.b04
ImageExt=wav
ImageNaming=$artist$ - $year$ - $album$
ImageHotKey={F10}
TracksHotKey={F4}
TracksHotVal=+{F5}
VA=Various Artists
CreateCuesheet=mg|s|m|mc
RunCoverDownloader=1
CoverDownloader=C:\Program Files\REACT2\AlbumArtDownloader\AlbumArt.exe
CoverDownloaderXUI=1
CoverDownloaderLocalPath=F:\GRAB
OpenAddMetaDataDiag=1
EAC=C:\Program Files\Exact Audio Copy\EAC.exe
Tools=C:\Program Files\REACT2\tools
MinimizeCompressionWindow=0
ProcessPriority=1
Sla_Bks_Col_Qst_Bar_Quo_Ast_Lt_Gt=-|-|-||!|'|#|[|]
Test=0

-----------------------snip-----------------------------

But when I start an Extraction with F10, the AlbumArt.exe does not come up, even if no albumname.jpg can be found.
In addition, when I hit Alt-F10 with the focus on EAC (and no task for EAC) NOTHING happens. NOTHING! That is really weird. I can hit ALT-F10 ten times and still no reaction. No error message, just silence.

I am using Windows Vista SP2 and have manually adjusted all the directories mentioned in the WIKI so that all users have full access rights those
directories. I even manually checked, if the rights in the subdirectories (i.e. AlbumArtDownloader) are set correctly and they are.

ANY IDEAS?

I can live with that bug, since everything works fine, as long as a file named albumname.jpg is located in the Folder specified there: CoverDownloaderLocalPath=F:\GRAB

Then the albumart is included in the process. But in case I don't have an album file ready, it would be great to be automatically reminded by the AlbumArt Downloader popping up before an extraction process is started without the necessary jpeg-File.


Another little issues, that is also a bit strange:
When I start an Extraction with F10 after detecting the Gaps, the message "Detecting UPC/ISRC" appears 3 times before finally the dialog opens, where the filename.wav dialog starts to fill in the name and save automatically. After that, another run is done again "Detecting UPC/ISRC". And only after that run, the extraction finally begins. I had a similar phenomenon with the EAC V0.99 Prebeta4 and the akkurat mod.b03, but with fewer runs (I think only 2).

Any ideas why that happens? Anybody else with that phenomenon?

I can also live with it, since it doesn't interrupt the process. But of course it's quite a waste of time, since each detection pass alone needs quite some seconds adding up to a lot more than a minute.

Again thanks for your great work, Akkurat. But as usual with Computers, nothing runs without an additional run of debugging.

Any hints are greatly appreciated.

Cheers,

Tronar

Title: REACT 2 Released
Post by: Akkurat on 2009-06-23 21:17:06
CoverDownloaderLocalPath=F:\GRAB

This setting is wrong. Please check the manual (again?): [Settings] CoverDownloaderLocalPath (http://wiki.hydrogenaudio.org/index.php?title=REACT:Mods#.5BSettings.5D_CoverDownloaderLocalPath). Please point it to a file (or to set of files (wildcard char)), not to a folder.

If you're curious as to why it behaves like it does; the reason why it doesn't start is because AutoIt (the language used to code REACT) function (FileExists) used to detect if the file exists or not before starting AAD also can check if the target is a folder. And since it exists (there's no way of knowing which is it with this function.. and there's no dedicated function for just folders or files) REACT thinks that there's an image ready and tries to copy it to the "working dir" (but fails of course). Neat, isn't it.

When I start an Extraction with F10 after detecting the Gaps, the message "Detecting UPC/ISRC" appears 3 times...

This can't be controlled by REACT. Every cuesheet generation when "UPC/ISRC" setting in EAC is turned on, makes EAC detect those again for some reason (ask Andre, I don't know why.. gaps are detected only once so why isn't UPC/ISRC, dunno). Aaaand, since you're creating all cuesheets (CreateCuesheet=mg|s|m|mc) for some reason (remember that you only need one, probably the MG one, [Settings] CreateCuesheet (http://wiki.hydrogenaudio.org/index.php?title=REACT:Mods#.5BSettings.5D_CreateCuesheet), check the two guide links in that link) AND you're ripping in image mode (creates additional cuesheet), in fact the "UPC/ISRC" detection is ran 5 times! If you use track mode and only 1 cuesheet, there will be only one "UPC/ISRC" detection.

P.S. Any reason why are you ripping in image mode (F10) if you don't save any images (ImageExt=wav)? I advice you to use the track mode (F4), it's a bit faster IMHO because with "multithreading" on in EAC (EAC options -> Tools -> On extraction, start external compressors...), track encoding starts right after the track has been ripped (in image mode you have to rip whole CD first) while next track is being extracted at the same time. In addition the "illegal" chars in filenames in track mode are correctly changed respecting the "Sla_Bks_Col_Qst_Bar_Quo_Ast_Lt_Gt=" INI setting.

But as usual with Computers, nothing runs without an additional run of debugging.

Yeah, tell me about it.  Or should it be  "Additional" is too mild word to use.. infinite is better.
Title: REACT 2 Released
Post by: Tronar on 2009-06-24 18:26:04
CoverDownloaderLocalPath=F:\GRAB

This setting is wrong. Please check the manual (again?): [Settings] CoverDownloaderLocalPath (http://wiki.hydrogenaudio.org/index.php?title=REACT:Mods#.5BSettings.5D_CoverDownloaderLocalPath). Please point it to a file (or to set of files (wildcard char)), not to a folder.

Ok. That was it! Thanks for pointing that out.
I actually only rushed through the manual this time while setting up EAC 0.99 Prebeta5 and REACT2 mod b.04, since I thought I'd still know it all from my last configuration session, when I was setting up EAC 0.99 Prebeta4 and REACT2 mod b.03. And since the variable is named "CoverDownloaderLocalPATH" I automatically assumed, that a regular Windows PATH to the AlbumArt JPEGs would be sufficient. 

If you're curious as to why it behaves like it does; the reason why it doesn't start is because AutoIt (the language used to code REACT) function (FileExists) used to detect if the file exists or not before starting AAD also can check if the target is a folder. And since it exists (there's no way of knowing which is it with this function.. and there's no dedicated function for just folders or files) REACT thinks that there's an image ready and tries to copy it to the "working dir" (but fails of course). Neat, isn't it.

Yep. That also explains, why REACT had included the wrong AlbumArt.jpg the last time. I had two cover files lying around in that folder and it obviously chose the (alphabetically) first one.

The weird thing though is, that ALT-F10 doesn't start AlbumArt.exe manually, if a matching Album.jpg has been found.
For example: I have the CD "Controversy" from Prince in the CD-Drive and a file named Controversy.jpg lying in the folder F:\Grab\
I can hit ALT-F10 ten times and nothing happens. Personally I think this is a slightly unexpected behaviour, since I might want to replace the existing Controversy.jpg by a new one and use AlbumArt to look for a better (bigger) alternative. Hence I press ALT-F10 in REACT/EAC to start looking for the alternative. I can of course start AlbumArt manually, but why do I need the Option ALT-F10 then in REACT? Obviously only, if I would want to manually look for AlbumArt, when I don't already have any. But in that case, AlbumArt.exe would be started automatically by REACT anyways. So I also don't really need the manual ALT-F10 option...
I hope you understand what I mean and didn't write that too complicated. 
It's not a big issue anyways, but IMHO slightly suboptimal program behaviour.

When I start an Extraction with F10 after detecting the Gaps, the message "Detecting UPC/ISRC" appears 3 times...

This can't be controlled by REACT. Every cuesheet generation when "UPC/ISRC" setting in EAC is turned on, makes EAC detect those again for some reason (ask Andre, I don't know why.. gaps are detected only once so why isn't UPC/ISRC, dunno). Aaaand, since you're creating all cuesheets (CreateCuesheet=mg|s|m|mc) for some reason (remember that you only need one, probably the MG one, [Settings] CreateCuesheet (http://wiki.hydrogenaudio.org/index.php?title=REACT:Mods#.5BSettings.5D_CreateCuesheet), check the two guide links in that link) AND you're ripping in image mode (creates additional cuesheet), in fact the "UPC/ISRC" detection is ran 5 times! If you use track mode and only 1 cuesheet, there will be only one "UPC/ISRC" detection.

I am creating all cuesheets simply for the fact, that I want to rip my CD Collection only ONCE and for good. Indeed "MG" is obviously currently the most attractive choice (especially if I would use EAC to rebuild a ripped CD using my FLAC-Files), but since I don't know what tools might be used several years in the future, I don't want to put all my money on an "noncompliant" cuesheet standard. And I want to avoid the necessity to manually touch my CD Collection for Re-Ripping at all cost, especially if it is just a certain type of cuesheet that is missing. So I rather accept the additional wait time for extracting all 4 types of cuesheets and be on the safe side.

But it is good to know, that this is not some weird behaviour on my machine (or even the result of a misconfiguration or bug of REACT/EAC). So thanks for providing me with that information.

P.S. Any reason why are you ripping in image mode (F10) if you don't save any images (ImageExt=wav)? I advice you to use the track mode (F4), it's a bit faster IMHO because with "multithreading" on in EAC (EAC options -> Tools -> On extraction, start external compressors...), track encoding starts right after the track has been ripped (in image mode you have to rip whole CD first) while next track is being extracted at the same time. In addition the "illegal" chars in filenames in track mode are correctly changed respecting the "Sla_Bks_Col_Qst_Bar_Quo_Ast_Lt_Gt=" INI setting.

Hmmm. Actually the main reason is, that after reading all the threads and wikis and other documentation spread out here at hydrogenaudio (and possible other sources), I was under the impression, that the IMAGE MODE would be the more robust of the two alternatives (I think somewhere in this forum there even is a quote from a serious forum member saying exactly that). I also thought, receiving the necessary cuesheets and the opportunity to recreate an EXACT copy of the original CD out of the cuesheet and the FLAC-Files would require to rip in image mode and not track mode. With EXACT I mean including all the little pauses (or NON-pauses!) between the tracks etc.  Interesting, that I was wrong with that assumption.

But to be honest, the full picture (I mean the total of Wikis, helpfiles, special forum-threads like this one etc.) is not really easy to find and the bits & pieces are often outdated and even contradicting. This thread alone with its over 60 pages takes quite some time just to read it (not to mention to understand it, if you are new to the matter). And if you don't know the thread, you don't know that it might be totally sufficient to only read the last two pages of it. 

Actually by your great work of updating REACT2 mod b.04 and including the latest releases for example of metamp 0.92 beta 5 you probably made this whole thread obsolete (of course except for the first and the last two pages). But newbies don't know that. 
Please don't get me wrong. I don't EXPECT a perfect documentation for something, that is the result of the voluntary work of many great people. And the result is still outstanding. To be able to fully rip your CD collection and put it into FLACs and MP3s (or other personally preferred formats), have the AlbumArt included in the files and the directories, have everything perfectly tagged and even the ReplayGain perfectly applied, and all this in only one pass, is really awesome. But if you are a long time Audiograbber user (who was for example just dissatisfied with the missing SecureMode  ) and switch to the EAC universe for the first time, you are really overwhelmed by all the new stuff like SecureRipping Modes, AccurateRip, Cuesheet formats, ReplayGain application styles, losless codecs, perfect settings for all of them etc. etc.).

REACT2 mod b.04 definitely makes all this a lot easier for newbies (or at least would have for me), since it is already including to the latest codec versions, has the settings set to MP3 and FLAC as the two default codecs and has been cleared of some minor, but annoying bugs.

BTW: Why aren't the "illegal" chars in filenames corrected in IMAGE MODE also?

But as usual with Computers, nothing runs without an additional run of debugging.

Yeah, tell me about it.  Or should it be  "Additional" is too mild word to use.. infinite is better.

Well, tell me a single software project, that
a) has been released according to the planned (and announced) schedule
b) has been totally finished
 

Even Microsoft, who should have the ressources, failes to do so after over 25 years of experience in that field. 

Again thanks for your help and effort with setting up mod b.04.
Title: REACT 2 Released
Post by: greynol on 2009-06-24 18:37:21
I am creating all cuesheets simply for the fact, that I want to rip my CD Collection only ONCE and for good.

I try to stay out of this thread, but the idea that more than one cue sheet might be useful to you is completely ill-conceived.

There are 5 different types of cue sheets to go with 5 ways of creating images.  For each way there is only one appropriate cue sheet.

See this link for details:
http://www.hydrogenaudio.org/forums/index....st&p=555384 (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=62134&view=findpost&p=555384)
Title: REACT 2 Released
Post by: Tronar on 2009-06-24 18:56:23
I am creating all cuesheets simply for the fact, that I want to rip my CD Collection only ONCE and for good.

I try to stay out of this thread, but the idea that more than one cue sheet might be useful to you is completely ill-conceived.

There are 5 different types of cue sheets to go with 5 ways of creating images.  For each way there is only one appropriate cue sheet.

See this link for details:
http://www.hydrogenaudio.org/forums/index....st&p=555384 (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=62134&view=findpost&p=555384)

I read that thread, thanks. I can also see, what you are aiming at.
But still I don't know today, what kind of application I might use 5 or 10 years ahead to play/burn/do whatever with my ripped CD-Collection. And if I would go for the now most appropiate option MG, I'd bet on a non-compliant cuesheet. Of course you are right, having the wrong cuesheet messing up your re-written CD by inserting pauses at the wrong places (or the opposite), doesn't make any sense at all.

But some of my CDs have strange pauses (Prince is a good (or rather bad?) example for producing such CDs), and many are plain vanilla "2 second pauses" between each track. So according to your statement I would need to use MG in the one case and another cuesheet type for the standard cases. That would require me all the time to re-configure REACT/EAC before each rip. Which is
a) cumbersome (because I have to check which type applies for each CD before the rip)
b) dangerous, because I might forget to do that and then end up only with the wrong type

On the other hand, if I should ever consider re-burning a CD from my FLACs, I can THEN check the MG cuesheet, if it shows any other gaps between the tracks than the usual 2 seconds and if so try to make sure to use only an application being able to deal with this non-compliant cuesheet.
This way I save NOW a lot of time and hassle and still have THEN the full choice between all the alternatives and definitely avoid having to RE-RIP my CDs.

P.S.: is it possible that Andre changed the task behaviour of EAC from prebeta4 to prebeta5? If I shrink REACT2/EAC to the taskbar while it is ripping and then reopen it, the window does not refresh itself anymore until the rip is complete and REACT is starting the FLAC compression in the DOS window in the background.
Task priority is set to "normal" in EAC and to "1" in the REACT.INI.
At first I thought REACT had crashed (since the typical windows message appeared when I clicked into the unrefreshed window), but after some patience it always comes back to life eventually. Weird.

Title: REACT 2 Released
Post by: greynol on 2009-06-24 19:11:15
I'm not suggesting you use any particular type of gap handling and I'm certainly not suggesting that you mix different types; I'm merely saying that with each type of gap handling there is only one appropriate type of cue sheet, even when all the gaps are two seconds.  The only exception is when there are no gaps in which case telling EAC to produce all different types of multiple wave file cues will produce exactly the same thing.

Perhaps you might want to have a look at CUE Tools if you're concerned about a future-proof (IMO fear-based) solution.  It can re-write your files and provide the proper CUE sheet in order to accommodate different gap placement methods.

Again, it makes no sense to create more than one type of cue sheet when only one type is correct and this is solely determined by how EAC was configured to handle gaps at the time of ripping.  I am not entertaining the idea that a cue sheet may be treated like a playlist.
Title: REACT 2 Released
Post by: difool on 2009-06-24 22:29:45
Hi,
i'm having the problem that my mg cue sheet is created but not moved to the flac directory. I've used the debug options and i can see that the chesheet is generated, glean cue sheet is also generated. But i can't see a copy or a moved cue sheet?

Any help, hints appreciated.

difool
Title: REACT 2 Released
Post by: Akkurat on 2009-06-25 13:18:03
The weird thing though is, that ALT-F10 doesn't start AlbumArt.exe manually, if a matching Album.jpg has been found.

The shorcut was previously "hidden", was it used in debugging and left there in the code by accident, dunno, but I "revealed" that shortcut in my manual without thinking about it further. I made a note about this in my ToDo, with low priority. Thanks.

But to be honest, the full picture (I mean the total of Wikis, helpfiles, special forum-threads like this one etc.) is not really easy to find and the bits & pieces are often outdated and even contradicting.

Like everywhere else, not just in HA. Not an excuse but that's how it is, there's always misinformation for everything.

...switch to the EAC universe for the first time, you are really overwhelmed by all the new stuff like SecureRipping Modes, AccurateRip, Cuesheet formats, ReplayGain application styles, losless codecs, perfect settings for all of them etc. etc..

Yes indeed, it's very hard to understand all aspects of DAE.. there are many things that I don't understand very well.

BTW: Why aren't the "illegal" chars in filenames corrected in IMAGE MODE also?

Because the tracks are picked from the ripped wav image with ACDIR program which has its own char substitution system.

is it possible that Andre changed the task behaviour of EAC from prebeta4 to prebeta5? If I shrink REACT2/EAC to the taskbar while it is ripping and then reopen it, the window does not refresh itself anymore until the rip is complete and REACT is starting the FLAC compression in the DOS window in the background.

There's definitely a change because EAC doesn't try to "steal" the focus anymore when switching to other windows (and back), maybe that is responsible of what you're seeing. Does it affect REACT? Is there a problem? I've never minimized the window, I just don't see a reason to do so (I don't use desktop shortcuts at all, IMHO that's a very stupid idea in the first place, to have to minimize all other windows just to start a new program/whatever is just silly.. I use my custom made auto-hide "launchbar" instead). Do not minimize if that's a problem, and/or write to EAC forum about this problem.


@greynol: I was thinking about linking to that same post about cuesheets.. I haven't forgotten how you swept the floor with me with that answer.  Thanks for stepping in.
Title: REACT 2 Released
Post by: Akkurat on 2009-06-25 13:42:02
i'm having the problem that my mg cue sheet is created but not moved to the flac directory. I've used the debug options and i can see that the chesheet is generated, glean cue sheet is also generated. But i can't see a copy or a moved cue sheet?

Unfortunately REACT is not "perfect" and still lacks certain features and/or the .cfg files are a bit messy IMO, e.g. there's no copy commands for copying the cuesheet(s) to destination folders in track config. I suggest that you follow these instructions: REACT:Amending Cuesheet File References (http://wiki.hydrogenaudio.org/index.php?title=REACT:Amending_Cuesheet_File_References). Use the GSAR "method" and in the end you've "file ref corrected" cuesheet in your destination folder.
Title: REACT 2 Released
Post by: difool on 2009-06-25 13:53:28
me again,

i forgot that i have to do this myself with gsar...

bye
Title: REACT 2 Released
Post by: Tronar on 2009-06-25 18:24:58
i'm having the problem that my mg cue sheet is created but not moved to the flac directory. I've used the debug options and i can see that the chesheet is generated, glean cue sheet is also generated. But i can't see a copy or a moved cue sheet?

Unfortunately REACT is not "perfect" and still lacks certain features and/or the .cfg files are a bit messy IMO, e.g. there's no copy commands for copying the cuesheet(s) to destination folders in track config. I suggest that you follow these instructions: REACT:Amending Cuesheet File References (http://wiki.hydrogenaudio.org/index.php?title=REACT:Amending_Cuesheet_File_References). Use the GSAR "method" and in the end you've "file ref corrected" cuesheet in your destination folder.

Which is a good reason to use the image mode of REACT by pressing F10 instead. Because in that case all (4 if you wish) cuesheets are in the destination folder of your FLAC files after the REACT extraction process is totally finished. I consider this quite handy, because my result looks like this:
F:\GRAB\FLAC\Prince - 1981 - Controversy
Controversy.[mg].cue
Controversy.[mc].cue
Controversy.[m].cue
Controversy..cue
EAClog.txt
folder.jpg
Prince - 01 - Controversy.flac
etc.etc.
Prince - 08 - Jack U Off.flac

and then
F:\GRAB\MP3\Prince - 1981 - Controversy
folder.jpg
Prince - 01 - Controversy.mp3
etc. etc.
Prince - 08 - Jack U Off.mp3

So everything is in place and named how it should be. Albumart is included in the FLAC and MP3 files and additionally saved as folder.jpg. The FLAC Files in combination with a cuesheet can be used to reproduce the CD or re-compress with a lossy codec and the Logfile can be checked any time.

I know other people like it differently, but that is the beauty of REACT/EAC. Everybody can configure it how he likes it and then shove the CD collection through that system once and enjoy the convenient result.
Title: REACT 2 Released
Post by: Tronar on 2009-06-25 18:47:00
The weird thing though is, that ALT-F10 doesn't start AlbumArt.exe manually, if a matching Album.jpg has been found.

The shorcut was previously "hidden", was it used in debugging and left there in the code by accident, dunno, but I "revealed" that shortcut in my manual without thinking about it further. I made a note about this in my ToDo, with low priority. Thanks.

Yeah, nothing really bad, just a bit unexpected. Thanks for correcting that in b.05. 

But to be honest, the full picture (I mean the total of Wikis, helpfiles, special forum-threads like this one etc.) is not really easy to find and the bits & pieces are often outdated and even contradicting.

Like everywhere else, not just in HA. Not an excuse but that's how it is, there's always misinformation for everything.

That is unfortunately so true. Although EAC/REACT is definitely one of the harder cases.

BTW: Why aren't the "illegal" chars in filenames corrected in IMAGE MODE also?

Because the tracks are picked from the ripped wav image with ACDIR program which has its own char substitution system.

I didn't run into any troubles with name-handling so far. And I am now quite used to the IMAGE MODE. Any real important reason, why a change to the TRACK MODE might make sense? Time is not an issue for me and obviously the cuesheet-handling would make some manual involvement necessary again, which is actually a big "NO" for me.

is it possible that Andre changed the task behaviour of EAC from prebeta4 to prebeta5? If I shrink REACT2/EAC to the taskbar while it is ripping and then reopen it, the window does not refresh itself anymore until the rip is complete and REACT is starting the FLAC compression in the DOS window in the background.

There's definitely a change because EAC doesn't try to "steal" the focus anymore when switching to other windows (and back), maybe that is responsible of what you're seeing. Does it affect REACT? Is there a problem? I've never minimized the window, I just don't see a reason to do so (I don't use desktop shortcuts at all, IMHO that's a very stupid idea in the first place, to have to minimize all other windows just to start a new program/whatever is just silly.. I use my custom made auto-hide "launchbar" instead). Do not minimize if that's a problem, and/or write to EAC forum about this problem.

It's neither a problem in the long-run (since the window will be refreshed at the end of the extraction process) nor seems it to have an influence on the quality of the extracted soundfiles (I double checked with UltraCompare in addition to AccurateRIP!).
But it's of course weird and a bit disturbing to have a process on your desktop for several minutes where you don't know for sure, if it has crashed this time or is just showing it's usual (bad  ) behaviour.

I may make a post in the EAC forum, although I generally hate registering at another place for many reasons.
Title: REACT 2 Released
Post by: Akkurat on 2009-06-26 22:58:12
Thanks for correcting that in b.05.

Can't promise.

Any real important reason, why a change to the TRACK MODE might make sense?

No! If you're not bothered with the fact that it takes longer to rip, ACDIR's own substitution of "illegal" chars in track filenames nor with not having "file reference corrected" cuesheet(s), no.

The reason why I asked in the first place was that there has been some misunderstandings about the two modes, mainly that only using the image mode one could achieve perfect copies... which is not true.

I may make a post in the EAC forum, although I generally hate registering at another place for many reasons.

I don't like it either but your voice will not be heard.
Title: REACT 2 Released
Post by: gsa999 on 2009-07-04 20:59:30
Just noticed that the window in Vista when REACT script is running has title of Adminstrator: Track/Total Tracks "Album Title"

This did not happen in XP and its annoying becuase all you can see in the task bar is the word Adminstrator so you have to open it up to see how far the encoding has got. Can this be removed somehow?

Title: REACT 2 Released
Post by: Akkurat on 2009-07-05 14:50:18
Hmm, have you set REACT.exe to run as administrator? That might explain it. AFAIK the prepended "Adminstrator:" text can't be removed from the title (at least not easily). Now, I'm not an expert on this whole UAC/user rights/etc. topic, but I was under the impression that all that you have to do is make sure that couple of directories has proper read+write permissions as instructed in the manual (http://wiki.hydrogenaudio.org/index.php?title=REACT:Mods#Windows_Vista).
Title: REACT 2 Released
Post by: gsa999 on 2009-07-06 07:44:38
Hi Akkurat
I am the only user on my machine and my user account is setup as Adminstrator by default. I have not done anything special to 'run' REACT as administrator, becuase I am an Adminstrator by default. Looks like I am stuck with this then, becuase I don't want to change my user account to not being an Adminstrator becuase it makes life so much simpler when trying to do things in Vista
Title: REACT 2 Released
Post by: elroy111 on 2009-07-07 02:35:32
Hi,

my eac/react is working fine - only the cover downloader fails.

i'm using the new eac/react/accus under windows 2000, witch is running as a virtual mashine under mac os 10.6 on a macbook pro (it is working great and properly!). XUI is not working under win2k, so i'm using the default cover art downloader and microsoft .net framework 2.2.

the default react-downloader starts correctly after F4 or F10 with correct names and paths. after a few seconds in the cue appears a failure at amazon and amazon-de: "the remote server returnd an error: (410) Gone." walmart returns everytime "0/0) no cover art will be download! the same, if i start a cover search with the albumart.exe manually.

i don't know what to do now.

best regards from good old germany and thank you for the "accus",
martin
Title: REACT 2 Released
Post by: elroy111 on 2009-07-07 06:33:30
@accurat

... and there is annother problem:

F4 works only properly, if at least the last track is selected. in other cases the batch file stops before post processing and the cover will not be embedded (i hope you are able to understand - my english ist very bad, i'm sorry about this).

are there be a bugfix sometime?

br, martin

Title: REACT 2 Released
Post by: Akkurat on 2009-07-07 09:42:51
XUI is not working under win2k, so i'm using the default cover art downloader and microsoft .net framework 2.2.

I'm sorry but the old cover art downloader is not working anymore, and it has been abandoned. So there will not be any updates to that program. And I see that .NET Framework 3.5 SP1, which is required by XUI, is not supported in win2000. I guess your only options are either to move to WinXP (or newer) and use XUI, or acquire the cover images other way before ripping (you can use the CoverDownloaderLocalPath= setting in INI to use existing artwork).

F4 works only properly, if at least the last track is selected. in other cases the batch file stops before post processing and the cover will not be embedded

Yep, that's the way it should work. Quote from REACT (http://wiki.hydrogenaudio.org/index.php?title=REACT): "REACT is designed to work only with whole album extraction/ripping", so no, it's not a bug, and no, there will not be a change/bugfix to this.

I just noticed that the comment about the post-processing in REACT-track.cfg is rubbish, the current post-processing in default REACT-track.cfg at the moment does only ReplayGain calculations.. I'll fix the comment in the future versions. I.e. your embedded & folder artwork is being added even if the post-processing is not run. But, I suggest that you use REACT as it's meant to be used, for full album ripping.
Title: REACT 2 Released
Post by: elroy111 on 2009-07-07 13:02:07
thanks a lot @akkurat for the quick answer. i can live with it.

1. as long as i'm working with win2k i'm able to download the albumart with "album cover art downloder". i made a test yesterday and it is working satisfactory. but it's a pity for me that i have to migrate to XP only for a little better workflow because i have a 10 years old dell-notebook that works very good with win2k and office-programs and i looked forward to use it as a special ripping mashine for my CDs. i can't do it now because i need a most automatic workflow to save time with the XUI tool.

2. your information about "REACT is designed to work only with whole album extraction/ripping"  is new for me. i'm a DJ and often i need only one or a few tracks for one CD. a additional track-based tool or function like F4 working properly only with 1 oder 2 tracks would be more in my interest, but i can certainly delete the files i do not need after REACTs work is done.

the main thng is that there is now the possibility to bring my music on harddisk with professional high quality and low cost via EAC/REACT. i'm deeply greatful about.

Title: REACT 2 Released
Post by: Akkurat on 2009-07-07 16:07:06
1. as long as i'm working with win2k i'm able to download the albumart with "album cover art downloder"

I tried that app years ago (made by a Finnish fellow), it was quite ok, though it crashed a LOT back then. I see that it was last updated back in August 2008. And it has only 3 IMHO poor sources, but if you're not hell-bent on getting big and very good cover images, maybe it's enough for you.

2. your information about "REACT is designed to work only with whole album extraction/ripping"  is new for me.
...
a additional track-based tool or function like F4 working properly only with 1 oder 2 tracks would be more in my interest, but i can certainly delete the files i do not need after REACTs work is done.

Are you a new REACT user? Then you obviously missed it in the "introduction" text when you read the REACT wiki page (http://wiki.hydrogenaudio.org/index.php?title=REACT).

You can use REACT without ripping all the tracks if you wish, but then you'd miss out the ReplayGain stuff made in the post-processing (if that matters).. + the temporary files are not deleted at the end. Note though that in future versions of my mod there will be more things in the post-processing section.

BTW. are you sure that REACT is what you need? I mean if the cover art stuff isn't working out for you and you obviously are not interested in making backup copies of your albums (edit: nor audio files in different formats?), then why use REACT in the first place? Just a thought.
Title: REACT 2 Released
Post by: elroy111 on 2009-07-07 19:00:07
1. as long as i'm working with win2k i'm able to download the albumart with "album cover art downloder"

...it has only 3 IMHO poor sources, but if you're not hell-bent on getting big and very good cover images, maybe it's enough for you.

yes, for the next 2-3 weeks. meanwhile i'm shure using XUI under XP, as soon as my xp-virtual mashine runs and i have time to install EAC/REACT/XUI on this mashine.

Are you a new REACT user? ... BTW. are you sure that REACT is what you need? I mean if the cover art stuff isn't working out for you and you obviously are not interested in making backup copies of your albums (edit: nor audio files in different formats?), then why use REACT in the first place? Just a thought.

yes, i use EAC/REACT since 4 days and nights, all the stuff as to rip and tag music is completely new for me and my workflow is aborning. at this time i'm NOT shure that REACT is what i need, but my CD-collection comprised 50% CDs that i want to backup in flac-images with cuesheets AND make audio files from it in itunes-aac, lame-mp3 or both in high quality *). cover art in the files would be fine, but that´s not the first intention. the three things why i'm looking for more possibilities to rip apart itunes, nero etc. is the "akkurat" and uppermost quality on one hand, on the other is a good time-saving workflow to make many steps automaticly and all that things without paying a lot of money 

from the other 50% of my CDs i need only 1, 2 or 3 tracks and i'm not interested in backup the whole CDs. but i have more than 1.000 CDs, so that it is no question to make it with a time-saving workflow.

would you recommend REACT for my intentions? other idea?

----------------------------------------
*) now i'm not shure, what is the best compressed format for me, i will try it out in the next few weeks. all my friends and so as well i uses itunes for private purposes and native instruments traktor scratch pro for playing music to the crowds. traktor is able to use both aac without drm, mp3 and flac, itunes unfortunately no flac. my main intention is a way to play my music all over the world without great circumstands (notebook and tagged music files) and in highest possible music quality, not the ultimatest small-sized file. my subjective impression as a result of some trials (aac-options = default how in the INI-file, mp3 with -V2, studio-headphone) is, that mp3 sounds a little bit personalble in my ears. in forums and magazines people tells the opposite. => do you have a recommendation for me?
Title: REACT 2 Released
Post by: Akkurat on 2009-07-07 22:19:38
would you recommend REACT for my intentions?

YES. Absolutely. With over 1000 CD's and about 50% of them to archive (+to lossy format), I think that REACT will serve you fine. You've a big job ahead, happy REACTing!

do you have a recommendation for me?

No, I'm using only FLAC at the moment and since it's lossless I don't have to bother with the quality/compression levels/etc., sorry. But I guess that you can't go wrong with FLAC and Mp3, lossless & lossy, both have good hardware & software support. And in case you need the music in another lossy format at some point later, you've the lossless copy for transcoding, no need to rip the CD's again.

If you compare encoded music with different options, you might like to check this out: What is a blind ABX test ? (http://www.hydrogenaudio.org/forums/index.php?showtopic=16295).
Title: REACT 2 Released
Post by: elroy111 on 2009-07-08 11:27:19
... I think that REACT will serve you fine. You've a big job ahead, happy REACTing!

yes, definitly it will be a BIG job.

thnks for your time. perhaps we will meet here again later.
with kind regards
martin.
Title: REACT 2 Released
Post by: lipidicman on 2009-07-13 12:47:13
Hiya, with the latest mod, is there still a restriction on which version of EAC I should use.  Read about it further back but I'm not sure
Title: REACT 2 Released
Post by: Akkurat on 2009-07-13 13:01:23
No. My latest mod supports EAC up to the latest version 0.99 prebeta 5.
Title: REACT 2 Released
Post by: lipidicman on 2009-07-20 11:21:01
Thanks Akkurat.  I'd seen the old warnings, but couldn't confirm the "all clear"

Cheers again
Title: REACT 2 Released
Post by: gsa999 on 2009-07-24 20:06:04
Hi Akkurat
Do you know if it would be possible to run the react batch file on an existing flac image file. At some point in the future I would like to recreate both my flac tracks and mp3 tracks using an updated encoder and I don't want to have to go via EAC again since the lossless image is already on the hard disk.

Rgds
Title: REACT 2 Released
Post by: dag0 on 2009-07-25 12:08:21
For somewhat reason my REACT-Installation latterly reacts in the following way: I press F10 or F4, the wav, cue-sheet and log will be created, and then: nothing. I get the message from EAC like: "passing to external compressor", but no DOS-Box will be opened. I already did an Ctrl-F2 and tried a totally new installation, but the behaviour didn't change! The external compressor won't be started. I can not remember to have changed anything - well I must have changed something, but don't know what. Aren't  there normally created batch-Files in my output-directory? This is not the case. Any hints appreciated!
Title: REACT 2 Released
Post by: dag0 on 2009-07-25 14:26:19
For somewhat reason my REACT-Installation latterly reacts in the following way: I press F10 or F4, the wav, cue-sheet and log will be created, and then: nothing.


Problem resolved by installing newest akkurat mod! What ever went wrong there...
Title: REACT 2 Released
Post by: Akkurat on 2009-07-31 15:39:54
Sorry for the late answer. Holiday season.

Do you know if it would be possible to run the react batch file on an existing flac image file. At some point in the future I would like to recreate both my flac tracks and mp3 tracks using an updated encoder and I don't want to have to go via EAC again since the lossless image is already on the hard disk.
No. Not from FLAC file directly. And no, I'm not warming up to the idea of making REACT work as an "all-around" converting tool. REACT has a focus on ripping and it's complicated enough tool already.

However, there's a semi-hidden "Start From Cuesheet" feature; quote from 2.0.ssb16g changelog (http://wiki.hydrogenaudio.org/index.php?title=REACT:Mods#Changelog_2): "You can now process an existing wav/cue/log(/jpg) file-set by passing the full cuesheet path to REACT as a single parameter. This will treat the files as if they had just been created by EAC as per normal execution."

Some things to consider using this feature (could be more):

1) Currently there's 2 bugs in this feature:
1a) A small typo in the code which puts an extra space at the start of the GENRE value. (will be fixed in the next release)
1b) A major design flaw/bug which makes additional metadata to fail.. REACT loads metadata of last ripped album from meta.ini! I.e. all additional metadata present in the cuesheet of your original rip is lost not transferred to new rip! This could affect directory structure and your tags. (I've studied the code and I've a very rough pseudo-code solution ready.. most probably is fixed too in the next release)
2) No additional cuesheets for track files (if you need those at all). Can be copied from the original folders.
3) Remember that the wav/cue/log/cover files are deleted when REACT finishes.
4) If you only want FLAC & Mp3 tracks, you have to edit the INI.

I personally would use a batch script or something like that, IF I'm forced to do the encoding again with an updated version. Otherwise I wouldn't bother at all with re-encoding if everything works.

You'll be safe using these file names when starting the "Start From Cuesheet" feature:
   cover: <album>.<imageExtension>
   cue: <INI ImageNaming>.cue ("INI ImageNaming" default: $artist$ - [$year$] $album$.. if various artists album, replace the $artist$ with the "INI VA")
   log: <INI ImageNaming>.log
   wav: <INI ImageNaming>.wav

And fire up the feature like this: "C:\Program Files\REACT2\REACT.exe" "<PATH TO THE FILE>\<INI ImageNaming>.cue" (you have to use the FULL path to the cuesheet file... I learned that the hard way; I spent couple of hours hunting down a bug which was not there. I even started to worry that the newer AutoIt version I use compared to Synthetic Soul's mod, had broken one function in AutoIt language. RTFM (ssmod) carefully was the solution.    )

HTH
Title: REACT 2 Released
Post by: Akkurat on 2009-07-31 15:46:27
Problem resolved by installing newest akkurat mod! What ever went wrong there...

Glad to hear that you got it to work. You probably upgraded to EAC 0.99pb5 which is only supported by my latest mod.
Title: REACT 2 Released
Post by: lipidicman on 2009-08-02 10:41:05
Right, trying REACT with wine on Ubuntu 9.04.

Linux already uses Ctrl-F2 (to change to desktop 2).  So I cannot get EAC to configure for REACT.  Is there a way to change this?

Also Alt-F5 does not work to get the Additional Meta Data dialogue
Title: REACT 2 Released
Post by: zilexa on 2009-08-02 13:39:10
Hi there, I've read about REACT years ago I think, and now I am actually using it to copy audioCDs in FLAC (for backup, home audio, mp3player), OGG (for portable, mp3player), AAC (for portable e.g. iPod, mobile phone).

All is working well but I do have 2 questions:

1
The default AAC setting in the REACT.ini file doesn't tag the AAC (m4a) files! I am using Nero AAC and the tag executable is present in the TOOLS folder.
I assume I have to edit the AAC setting. Is that correct? Or is the post processing (tagging) not configured in this INI? Because OGG and FLAC do get tagged but also do not have the tag setting in REACT.INI.

So how do I enable tagging for AAC?

2
Currently, in my outputfolder (D:\Music\Albums) there are 3 folders created: FLAC, OGG, AAC. And all of my cds are ripped to those folders.
For archiving purposes, I would like to see it the other way: in D:\Music I simply want 1 folder for each album (ALBUM ARTIST - ALBUM TITLE) and 3 subfolders (FLAC, OGG, AAC) containing the tracks.
Would this be possible by editing one of the config files?
Title: REACT 2 Released
Post by: Akkurat on 2009-08-02 15:31:59
Linux already uses Ctrl-F2 (to change to desktop 2).  So I cannot get EAC to configure for REACT. Is there a way to change this?
Change the shortcut used in REACT? No.

1) Ask for help: Ubuntu Forums (http://ubuntuforums.org/) (e.g. Is it possible to assign a particular key combo to perform an action on an explicit window? Or rather: is it possible to exclude system wide shortcuts for a specific window/application?)
2) Try this (I'm not a linux expert, not even a noob, not using any distro, so it might not work for REACT): Assign Custom Shortcut Keys on Ubuntu Linux (http://www.howtogeek.com/howto/ubuntu/assign-custom-shortcut-keys-on-ubuntu-linux/)
3) Move the INI file out of the REACT folder and start REACT, this will cause the config to start. After that, move the original INI back.

Also Alt-F5 does not work to get the Additional Meta Data dialogue
One solution is to put the "OpenAddMetaDataDiag" on in INI.

P.S. Is REACT working under wine? Have you tested thoroughly?
Title: REACT 2 Released
Post by: Akkurat on 2009-08-02 15:53:34
So how do I enable tagging for AAC?

It should be working. I just tested (for the first time ever) and it works. Dropped neroAacEnc.exe (v1.3.3.0) to TOOLS folder and ran track rip in debug mode. No errors with AtomicParsley.exe (does the tagging). Then listened the files in Winamp. All tags are shown properly (inc. cover image). Tried Mp3tag, it shows only cover image in the "tag panel" and in "Extended tags" dialog. Dunno why it doesn't show all tags properly.

Can you give more information what doesn't seem to work for you?

I simply want 1 folder for each album (ALBUM ARTIST - ALBUM TITLE) and 3 subfolders (FLAC, OGG, AAC) containing the tracks.

Have you checked the INI "TrackDir_*" settings? Here's an example for AAC tracks:

Code: [Select]
TrackDir_AAC=@OutRoot@\$cdartist$ - $album$\AAC

But I suggest the following:
Code: [Select]
TrackDir_AAC=@OutRoot@\$cdartist$\[$year$] $album$\AAC

This way your root folder doesn't get overloaded with folders. Added year token so that the albums are sorted "properly".
Title: REACT 2 Released
Post by: zilexa on 2009-08-02 16:25:00
AAC tags are indeed added properly!
My default musicplayer (besides mediaportal) is AIMP2. It seems AIMP doesn't read the AAC tags. Just tested with Winamp and the tags are there.

Thanks for the suggestions for the folder parameters!

I want my computer to play the flac files and not add ogg/aac/mp3 versions to the music database, so I've chosen to put FLAC files in Music\Albums and lossy versions in Music\Albums\PORTABLE\AAC and Music\Albums\PORTABLE\OGG and Music\Albums\PORTABLE\MP3. The Portable folder is excluded in my mediaplayers databases.
Title: REACT 2 Released
Post by: Akkurat on 2009-08-02 17:44:34
More on AtomicParsley..

Now I remember that there has been talk about this earlier. Check out various posts:

- NeroAacTag to replace AtomicParsley (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=50273&view=findpost&p=522348)
- tag reading issues, post #1383 (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=50273&view=findpost&p=608124)-1389
- Atomic Parsley writes "broken" Nero tags aswell as Apple tags? (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=50273&view=findpost&p=610464)

And finally my last post about the subject (got no answers):

From what I understand, Atomic Parsley writes "broken" Nero tags aswell as Apple tags. Foobar reads the bad Nero tags, and doesn't fall back on the Apple tags as it already has read the Nero tags. There apparently is a "--foobar2000Enema" which fixes this, haven't tried it yet.

I quickly read the threads and got the same impression.. thanks for the links. But, I still don't understand the whole situation.

1) Why was the AP chosen to REACT as a tool?
1.1) Only (aac) tool to be freely distributed with REACT?
1.2) Only (free) tool to tag iTunes tags?
2) What exactly does the "--foobar2000Enema" switch do? Does it remove iTunes tags? I.e. is it safe to use? Should this be used in REACT default configs?
3) Would the NeroAacTag be enough for all aac tagging needs? I.e. does it produce tags which would work in iTunes & fb2k & Winamp & the rest?

I hope that anybody who knows the technical details of this would speak out. Otherwise, I can't make a rational decision to amend the REACT configs.. that is, if the current situation is not good and configs should be amended.

If somebody has something to add to this, please speak out. Thank you.
Title: REACT 2 Released
Post by: zilexa on 2009-08-03 12:09:19
Hmm ok maybe I could try create tags with NeroAacTag and see if AIMP2 shows them... but I think its a AIMP bug.
I dont have an iPod myself so can't test on an ipod.

I do have one final question.

The track filenames look like this:

01 - [tracktitle].ogg

I do not want the [ and the ].
But when I check the ini file, I don't understand why [] is added!

Code: [Select]
[UserOutputNames]
OutRoot=@mymusic@
ImageDir_Flac=@OutRoot@\Albums\FLAC-images\$cdartist$
ImageDir_Wavpack=@OutRoot@\Albums\WV-images\$cdartist$
ImageDir_MP3=@OutRoot@\Albums\MP3-images\$cdartist$
ImageDir_Tak=@OutRoot@\Albums\TAK-images\$cdartist$
TrackDir_Flac=@OutRoot@\Albums\$cdartist$ - $album$
TrackDir_Wavpack=@OutRoot@\Albums\$cdartist$ - $album$
TrackDir_MP3=@OutRoot@\Albums\!Portable\MP3\$cdartist$ - $album$
TrackDir_AAC=@OutRoot@\Albums\!Portable\AAC\$cdartist$ - $album$
TrackDir_OGG=@OutRoot@\Albums\!Portable\OGG\$cdartist$ - $album$
TrackDir_Tak=@OutRoot@\Albums\!Portable\TAK\$cdartist$ - $album$
TrackName_SA=$track$ - $title$
TrackName_VA=$track$ - $title$ [$artist$]
TrackName_SA_acdir=$n - $~t
TrackName_VA_acdir=$n - $~t [$~a]

Only $artist$ and $~a have [ and ]. Not title! So why does title have []? BTW I only tested with Various Artist albums.
Title: REACT 2 Released
Post by: Synthetic Soul on 2009-08-03 13:06:46
Ensure that you are using proper VA track format in EAC.

Quote
When submitting a sampler or compilation, you should include the track-artist in the track-name, using the syntax "artist / track-title" and set the CD-artist to "Various"
Title: REACT 2 Released
Post by: zilexa on 2009-08-03 14:18:24
Well I can hardly make a mistake there, I use the checkbox "Various artist", enter a CD title manually and enter every track title manually (because the cd wasn't in the freedb database).
Title: REACT 2 Released
Post by: Akkurat on 2009-08-03 14:28:56
I could try create tags with NeroAacTag and see if AIMP2 shows them... but I think its a AIMP bug.

Using the NeroAacTag for tagging probably shows the tags in AIMP, but it's not AIMP bug, I think the AAC tagging situation is screwed, i.e. no clear specs and different apps use different "methods" for tagging(?).

I'm going to spend the rest of the week in our cottage, I've to paint our new shithouse (outside WC).  So, I'm not listening to your REACT worries this week. Take care.
Title: REACT 2 Released
Post by: Synthetic Soul on 2009-08-03 14:29:19
Did you enter the track titles in the format "<artist> / <title>"?
Title: REACT 2 Released
Post by: zilexa on 2009-08-03 22:56:42
I was suprised by all those quick responses, good to know you don't live behind your pc
Title: REACT 2 Released
Post by: zilexa on 2009-08-04 09:02:52
Did you enter the track titles in the format "<artist> / <title>"?




OOOOOOO I understand what went wrong duhh

I've put a check in the checkbox Various Artist, typed the Album title, then typed the track title for each track.
I did NOT type the artist for each track (since I don't know them). Now I understand what went wrong I modified the INI.
Thanks for all the help.
Title: REACT 2 Released
Post by: Synthetic Soul on 2009-08-04 09:17:36
I would not adapt the INI, but rather enter the track titles in the correct format.

If you can't find the track artists online maybe just use "Unknown" or something.

Still, each to his own I suppose.
Title: REACT 2 Released
Post by: joeyjoey on 2009-08-04 14:29:40
EDIT:  Ok, ignore my below post.  It was apparently an install problem and there must have been an instance of react running when I unzipped or something.  Can't believe I'd do that... but it must have been something.  Looks like I'm still having other problems though.. so will likely post again.

New user here.  My .flac files have names "@trackname@.flac", so that's not good.

It seems there could be a problem with the REACT-track.cfg file, in that it does not specify the variable @trackname@ anywhere.  In the REACT-image.cfg file, there is a section right near the top that has:

IF @various@==0 SET TrackName=@TrackName_SA_acdir@
IF @various@==1 SET TrackName=@TrackName_VA_acdir@

But, there is nothing of the sort in the track-cfg file (would be without "acdir" of course).  All it has is a line later on that says:

SET TrackName=@trackname@

I realize that this is possibly specified in the src files, and after a cursory glance I saw an IF statement regarding various artists and a string replacement following that, but for whatever reason my tracks are being named as stated above, "@trackname@.flac", so somehow @trackname@ isn't specified.

I'm using all the latest downloads.  0.99pb5 and the akku.b04.  Is there possibly an install problem of some sort so that the wrong REACT file is being used?  (I followed instructions on wiki and just unzipped to REACT folder, replacing orginal files.  I've started from scratch and done the Ctrl-F2 thing, too.)


Thanks for you help.

Also... I'm having a hard time with the program knowing where it put the .wav files so it can convert to flac and mp3.  I discovered I can manually tell EAC to use the same album folder where the flac files will eventually reside, and then it starts to work, but this would be a pain to do every time when I start going through all my discs.  I'm saving this problem for later though, first thigns first...
Title: REACT 2 Released
Post by: joeyjoey on 2009-08-04 18:24:30
Ok, I've figured everything out.  I'm ripping to both flac tracks and mp3 tracks in different folders, with each folder getting an appropriate m3u playlist with the right extensions and the flac folder also getting an appropriate .cue file with the correct extensions within it as well.  This is GREAT!

The only thing left for me to figure out really is how to get artwork embedding, and if there is going to be any way to do this automatically (finding the images online) or if that just isn't possible anymore. (I noticed amazon, itunes, walmart, etc are all returning errors at the moment.)  Does neither the old albumart nor the XUI work now over the internet?  (Or does XUI work online and I'm just losing out because I'm on Win2k on this machine?)

Once I figure the artwork out and decide on the best file naming and filetree schemes it's time to start ripping!
Title: REACT 2 Released
Post by: joeyjoey on 2009-08-04 20:32:12
Well, after a few hours trying to find info, I have to ask:

1) Is there a currently working album art downloader for REACT 2 and EAC?

2) If so, what is the recommended size/resolution of images to be relatively "future-proof"?

3) Is there any chance embedded images are becoming obsolete, because they could be downloaded on the fly by most devices using tag info?  I only ask because of the seeming lack of information anywhere on this subject.  Nothing is clear.

Thanks.
Title: REACT 2 Released
Post by: Synthetic Soul on 2009-08-04 21:25:26
1. http://www.hydrogenaudio.org/forums/index....showtopic=57392 (http://www.hydrogenaudio.org/forums/index.php?showtopic=57392)

I'm afraid I'm a bit out of touch, and don't know how this fits in with the latest mod.  That's the application to be using though.

2. I tend to go for the Album Art Exchange images, as they are good quality.  600px square.  Possibly larger than required, but it's nice to know that I'm not stretching images.

3.  Who knows.  I only started using album art recently, when I was given an iPod Nano.  I love cover flow.  Basic answer: if you have it locally you can view it when offline, and in apps that aren't as clever as you suggest.
Title: REACT 2 Released
Post by: zilexa on 2009-08-04 23:29:11
I would not adapt the INI, but rather enter the track titles in the correct format.

If you can't find the track artists online maybe just use "Unknown" or something.

Still, each to his own I suppose.


Ofcourse! thats what I will do, enter the track titles correctly, with their artist or just unknown. But I also do not want the artist to look like this: [artist]. I just want: artist. So that's what I've changed in the ini for VA and SA.
Title: REACT 2 Released
Post by: joeyjoey on 2009-08-06 00:22:55

Where is the actual source .au3 code for the akkurat mod???????????/

I have the src folder in the zip archive I downloaded, and I have unzipped it and converted it to .exe using AutoIt, but it is definitely NOT the same code that compiled the REACT.exe that I also downloaded in that same archive.

The REACT.exe file is 535KB, but the .exe file compiled from REACT 2.0.akku.b04.au3 (in the src folder) is only about 305KB, and roughly the same size as the other mods and the original.

It does NOT behave the same as the 535 REACT.exe file, of course.


I'm asking because I was making a few changes that would allow things to run more smoothly on my specific system, particular the artwork, but I need/want to use the source code that created the actual 535KB REACT.exe mod.

Thanks to anyone with info.
Title: REACT 2 Released
Post by: ElephantTLK on 2009-08-06 10:35:50
Hot to get EAC & React to work under Windows 7 RC, RTM? Everything works fine until it starts ripping CD. I got message: Unable to move cuesheet. Does not exists?
I checked all settings but everything seems fine. I also have WinXP and there everything is working fine.
Title: REACT 2 Released
Post by: Synthetic Soul on 2009-08-06 10:49:27
The REACT.exe file is 535KB, but the .exe file compiled from REACT 2.0.akku.b04.au3 (in the src folder) is only about 305KB, and roughly the same size as the other mods and the original.
When compiling you can choose to compress using UPX, IIRC.  This should be the difference that you are seeing.

I can't remember how the files are organised, but I know that I have a copy of Akkurat's source, and line 49 has the line:

Code: [Select]
Global $g_version = "2.0.akku.b04"
Title: REACT 2 Released
Post by: joeyjoey on 2009-08-06 22:17:18
Yeah, the UPX compression probably had something to do with it... but it actually still doesn't behave quite the same as the REACT.exe file that was in the akkurat zip archive.

Maybe akkurat, or whoever, changed some settings before putting the REACT.exe file in the archive, because it just doesn't start with all of the same setting and dialogue and everything, no matter what setting I use or if I ctrl-f2 it.

Also, without the UPX compression I still get between 617KB-620KB or so, choosing the various levels of compression.  This doesn't match the 535KB from the REACT.exe file standalone file.

BUT... it's ok.  I've got everything working how I wanted it to after making some of my own mods... just stuff like letting me use a smaller jpg for mp3s and a larger one for flac, and making sure there was nothing that had to be manually done regarding cue sheets and playlists, etc.  Everything comes out as it should, where it should, so I'm happy.
Title: REACT 2 Released
Post by: Akkurat on 2009-08-08 16:28:18
Or does XUI work online and I'm just losing out because I'm on Win2k on this machine?

You got it right there.

2) If so, what is the recommended size/resolution of images to be relatively "future-proof"?
3) Is there any chance embedded images are becoming obsolete, because they could be downloaded on the fly by most devices using tag info?

2) IMHO get as big as you can (with good quality).. they're still relatively small compared to the music files you embed them to. I just don't understand why you, and some others, bother with some KB's, or MB's heaven forbid, per one ripped album ("letting me use a smaller jpg for mp3s and a larger one for flac").. well, each to their own.
3) No way, not in the near future.

Where is the actual source .au3 code for the akkurat mod???????????/

In the src folder of the downloaded zip file!

it is definitely NOT the same code that compiled the REACT.exe that I also downloaded in that same archive.

Definitely.. you're wrong. Making claims like these requires you to explain why you came to those conclusions! In the end it would have been more nice to ASK about the issue rather than rave about it here while I was on holiday painting our new cottage shithouse.

but it actually still doesn't behave quite the same as the REACT.exe file that was in the akkurat zip archive.
...
Maybe akkurat, or whoever, changed some settings before putting the REACT.exe file in the archive, because it just doesn't start with all of the same setting and dialogue and everything, no matter what setting I use or if I ctrl-f2 it.

Have you read the comments in the main source file? Lines #27-29: "This file has been edited by Akkurat. Use AutoIt v3.2.12.1 to compile. Newer AutoIt versions might not be compatible with this script."

Using the next version after 3.2.12.1 (3.3.0.0) already has script-breaking changes (http://www.autoitscript.com/autoit3/docs/script_breaking_changes.htm). "RegRead() and RegWrite() no longer use hex strings for REG_BINARY types - native binary datatypes are enforced." Also the normal changelog (http://www.autoitscript.com/autoit3/docs/history.htm) could reveal some changes which could affect REACT. Updating dev tools are not an easy and quick job, you HAVE TO check out what the update changes.. I do that with every app though, not just with dev tools.

What AutoIt version are you using?

Also, without the UPX compression I still get between 617KB-620KB or so, choosing the various levels of compression.  This doesn't match the 535KB from the REACT.exe file standalone file.

The compression levels apply ONLY to UPX compression, i.e. when you turn off the UPX, changing the levels do nothing! Why are you seeing the small difference? Take a look how big is the REACT.ico file. 3,18 KB. You have compiled with and without the .ico file, and compared the results.

The difference in file sizes is probably explained by the fact that you're using a different AutoIt version to compile the source. Also, I'm not sure about this but, the different hardware in your 'puter could have an effect too (hardware optimizations, if AutoIt does it).

I've got everything working how I wanted it to

I wonder how you managed to do that when you complained how the compiled source doesn't work like the distributed .exe.. and if you're using a newer AutoIt version which has script breaking changes.
Title: REACT 2 Released
Post by: Akkurat on 2009-08-08 16:31:43
Hot to get EAC & React to work under Windows 7 RC, RTM?

Have you tried this: Akkurat's Mod - Documentation - Notes - Windows Vista (http://wiki.hydrogenaudio.org/index.php?title=REACT:Mods#Windows_Vista)?
Title: REACT 2 Released
Post by: ElephantTLK on 2009-08-10 19:01:01
@Akkurat

I have one problem with REACT again. Yesterday everything worked normally. I ripped few albums normally. But today nothing is working right. I didnt change any settings in my config.
Now REACT behaves strange again. I did backup settings few day ago. Just in case if that happens. And copied backup files to original folders. Nothing changed. I even reinstalled EAC. But with no success. This errors i get in both Windows XP & Windows 7.

(http://img216.imageshack.us/img216/1459/44814756.th.jpg) (http://img216.imageshack.us/i/44814756.jpg/)

So Album ArtDownloader does not have album artist and album in fields. And also there is problem with cuesheet...

React.ini that worked until now:

Code: [Select]
[Settings]
Version=2.0.akku.b04
ImageExt=flac
ImageNaming=$artist$ - [$year$] $album$
ImageHotKey={F10}
TracksHotKey={F4}
TracksHotVal=+{F5}
VA=Various Artists
CreateCuesheet=mg
RunCoverDownloader=1
CoverDownloader=C:\Programs\AlbumArtDownloader\albumart.exe
CoverDownloaderXUI=0
CoverDownloaderLocalPath=@OutRoot@
OpenAddMetaDataDiag=0
EAC=C:\Program Files\Exact Audio Copy\EAC.exe
Tools=C:\Program Files\REACT2\tools
MinimizeCompressionWindow=1
ProcessPriority=1
Sla_Bks_Col_Qst_Bar_Quo_Ast_Lt_Gt=-|-|-||!|'|#|[|]
Test=0

[UserTrackFormats]
Flac=0
Wavpack=0
LameMP3=1
NeroAac=0
iTunesAac=0
OggEnc2=0
Tak=0

[UserOutputNames]
OutRoot=M:\Music
ImageDir_Flac=@OutRoot@\FLAC\$cdartist$\[$year$] $album$
ImageDir_Wavpack=@OutRoot@\WV Images\$cdartist$\[$year$] $album$
ImageDir_MP3=@OutRoot@\MP3 Images\$cdartist$\[$year$] $album$
ImageDir_Tak=@OutRoot@\TAK Images\$cdartist$\[$year$] $album$
TrackDir_Flac=@OutRoot@\FLAC\$cdartist$\[$year$] $album$
TrackDir_Wavpack=@OutRoot@\WV\$cdartist$\[$year$] $album$
TrackDir_MP3=@OutRoot@\MP3\$cdartist$\[$year$] $album$
TrackDir_AAC=@OutRoot@\AAC\$cdartist$\[$year$] $album$
TrackDir_OGG=@OutRoot@\OGG\$cdartist$\[$year$] $album$
TrackDir_Tak=@OutRoot@\TAK\$cdartist$\[$year$] $album$
TrackName_SA=$track$. $title$
TrackName_VA=$track$. $title$ [$artist$]
TrackName_SA_acdir=$n. $~t
TrackName_VA_acdir=$n. $~t [$~a]

[UserSettings]
DebugMode=0
Debug=0
Comment=Created with EAC/@reactversion@, @curdate@
EmbedCover=1
ReplayGain=0
ApplyAlbumGain=0
AdjustAlbumGain_dB=+3.0
AddCuesheetAG=0
UseWaveGainAG=0
Opt_Flac=-8 -f
Opt_Wavpack=-hmy
Opt_LameMP3=-V0 --noreplaygain --nohist
Opt_NeroAac=-lc -q 0.21
Opt_iTunesAac=-d -s 2000
Opt_OggEnc2=-q 3.0
Opt_Tak=-pN -overwrite
Ver_Flac=1.2.1b
Ver_Wavpack=4.40
Ver_LameMP3=3.98.2
Ver_NeroAac=1.0.0.2
Ver_OggEnc2=2.83 Lancer aoTuV b5
Ver_Tak=1.0.1

[DefaultMetaData]
discnumber=1
totaldiscs=1
discname=
Title: REACT 2 Released
Post by: Akkurat on 2009-08-11 00:04:58
Can't open the image at all, "HTTP gateway timed out".

Are you using AAD XUI? If yes, then put CoverDownloaderXUI=1

What are you trying to do with this? CoverDownloaderLocalPath=@OutRoot@

You can't use tokens in [Settings] part of the INI.

Please read this (again?): [Settings] CoverDownloaderLocalPath (http://wiki.hydrogenaudio.org/index.php?title=REACT:Mods#.5BSettings.5D_CoverDownloaderLocalPath)

I think this should fix the AAD problems (hopefully).

Can't say anything about the cuesheet thing yet since I can't open the image.

Anything else? You wrote that nothing works.
Title: REACT 2 Released
Post by: ElephantTLK on 2009-08-11 09:47:21
Here is image again.
(http://www.shrani.si/t/f/lp/4kgWEqyp/untitled.jpg) (http://www.shrani.si/?f/lp/4kgWEqyp/untitled.jpg)

But CoverDownloaderLocalPath=@OutRoot@ worked few days back. Without a problem. I ripped with this settings about 150 cds without problem. Now its not working.
Title: REACT 2 Released
Post by: Akkurat on 2009-08-11 15:33:49
The @OutRoot@ and AAD XUI not working properly are different issues. I reiterate, you can't use tokens in [Settings] part of the INI.

Did you read the link I posted? The CoverDownloaderLocalPath setting is used when you have existing cover image(s) and it has two "modes":
If you don't have existing cover images, leave that setting empty.

Here's couple of instructions and questions:
Title: REACT 2 Released
Post by: lipidicman on 2009-08-29 17:21:03
**LINUX & WINE RELATED POST**
Linux already uses Ctrl-F2 (to change to desktop 2).  So I cannot get EAC to configure for REACT. Is there a way to change this?
Change the shortcut used in REACT? No.

1) Ask for help: Ubuntu Forums (http://ubuntuforums.org/) (e.g. Is it possible to assign a particular key combo to perform an action on an explicit window? Or rather: is it possible to exclude system wide shortcuts for a specific window/application?)
2) Try this (I'm not a linux expert, not even a noob, not using any distro, so it might not work for REACT): Assign Custom Shortcut Keys on Ubuntu Linux (http://www.howtogeek.com/howto/ubuntu/assign-custom-shortcut-keys-on-ubuntu-linux/)
3) Move the INI file out of the REACT folder and start REACT, this will cause the config to start. After that, move the original INI back.

Also Alt-F5 does not work to get the Additional Meta Data dialogue
One solution is to put the "OpenAddMetaDataDiag" on in INI.

P.S. Is REACT working under wine? Have you tested thoroughly?

Sorry been away!  Thanks for the above!  removing the ini did the initial config fine.  I've got the Add Meta Data dialog up by changing the ini as you said.  Must I leave it up or will this configuration make it appear with a new disc insertion?

No, I haven't tested thoroughly.  I gave EAC a good trial, then ground to a halt with REACT.  With these tips I am back on track.  Great help as ever.  I'll report issues, but I don't want to confuse people with WINE issues so I will label my posts as this one
Title: REACT 2 Released
Post by: lipidicman on 2009-08-29 20:38:34
**LINUX & WINE RELATED POST**
Ah, it's not going well.  Detects the pre-track gaps then.....nothing
Perhaps I should make this easy on myself and rip in windows.
Title: REACT 2 Released
Post by: Akkurat on 2009-08-30 02:43:15
I've got the Add Meta Data dialog up by changing the ini as you said.  Must I leave it up or will this configuration make it appear with a new disc insertion?

It only works when opening REACT.

Perhaps I should make this easy on myself and rip in windows.

If you can, do it, saves your time.  Also considering how many different tools REACT is actually using, there could easily be problems.
Title: REACT 2 Released
Post by: lipidicman on 2009-08-30 11:16:33
Thanks Akkurat.

I was thinking about using EAC under WINE, then doing all the tasks with a linux script.  Haven't come up with a solution as neat as REACT though

So REACT under my XP partition it is
Title: REACT 2 Released
Post by: lipidicman on 2009-09-19 01:44:43
OK, I'm getting on with this.  It has been a long time, but like riding a bike you never forget.

One small observation. It seems strange to me that you have to edit the cfg file to even get the standard cuesheets copied to the destination directory. Why did this stuff: http://wiki.hydrogenaudio.org/index.php?ti...File_References (http://wiki.hydrogenaudio.org/index.php?title=REACT:Amending_Cuesheet_File_References) never make it into the standard mod?  I would have thought that a lot of people want the cue sheet to be adjusted to go with their FLAC tracks.

While on the subject thanks for the GSAR solution.  I finished my last ripping batch before the ampersand problem with SED was discovered
Title: REACT 2 Released
Post by: RBI Champ on 2009-09-20 07:20:53
Hi Akkurat, I've recently reformatted my PC and changed from Vista 32-bit to Vista 64-bit. My old REACT setup was functioning right up to the point of the OS change. I'm trying to determine if I have a simple configuration error or if the 64-bit version of Windows is an issue.

I have installed version 0.99 prebeta 5 of EAC (which I was not using in my 32-bit setup) to \Program Files (x86). I have copied my previous REACT/FLAC folders also to \Program Files (x86). I then edited react.ini to reflect the new paths (see code box below). I read about 2.0.akku.b04 and installed it as well. In my react.ini I think I only updated the version line after the 2.0.akku.b04 install. What's shown in the code box below was done before the b04 changes.

When I open EAC via react.exe and press F4, nothing seems to happen. Occasionally my old setup would experience pauses of 10+ seconds before the cue sheet generation started, but with this, it never starts. Maybe I am not waiting long enough, though I have tried 15 minutes already. If I press the compression button on the left side of the EAC window, extraction, compression to FLAC, and then file movement does work.

Any advice would be appreciated.

Code: [Select]
CoverDownloader=C:\Program Files (x86)\FLAC\albumart.exe
EAC=C:\Program Files (x86)\Exact Audio Copy\EAC.exe -usefua
Tools=C:\Program Files (x86)\FLAC
Title: REACT 2 Released
Post by: RBI Champ on 2009-09-20 22:30:01
When I open EAC via react.exe and press F4, nothing seems to happen.

Any advice would be appreciated.


At the risk of losing any respect, I must report the simplicity of my resolve. I have a multimedia keyboard and the "F Lock" key had deactivated my Function keys.  I stumbled across this today when Ctrl-F2, Alt-F10, Alt-F5, etc. also did nothing.
Title: REACT 2 Released
Post by: Akkurat on 2009-09-25 16:18:34
It seems strange to me that you have to edit the cfg file to even get the standard cuesheets copied to the destination directory.

Dunno why it wasn't included in other mods.. err, well in THE other mod. Why it isn't in my mod? Time & priority. The Wiki solution as it is, is not suitable for the mod. Especially not for tracks in the image mode. That needs work. I've had this in my ToDo list and I've a pseudo/abstract solution ready which would not use any external apps (GSAR/SED). Unfortunately REACT isn't perfect and needs some work, but since it's freeware, and it's quite stable, I say that it's a helluva good app.

My life situation has changed a bit and I'm really struggling to find time to develop REACT.. but, I haven't deserted it yet.. otherwise I wouldn't have been so active in the AAD XUI topic lately.

EDIT: Sorry for the late reply.
Title: REACT 2 Released
Post by: Gehirnmaehung on 2009-10-03 20:18:57
I was using EAC 0.99pb4 with REACT and the required mod a few month ago (windows xp 32bit) and everything worked fine. Now i had to download the latest version of each component and tried it with windows 7 64bit - i can not get it back working again. My goal is to rip a cd into a single flac file with a cue sheet (with replaygain_albumgain entry in it) and the cover art.
I reached a point where the cue sheet is created (looks very differently to what i want), but maybe it gets rewritten during the process. The extraction does not start, it seems that REACT can not create the neccessary folders: there is an error popping up telling me the specified folder does not exist, which is perfectly correct, but REACT is not able to create it. I granted every user i could imagine full access to the react folder and the extraction base folder. I use a domain user, so the domain user, the domain admin, the local admin, system and everyone have full access to the folders.
Is this some sort of security issue? Is some inheritance feature doing stuff i don't understand? Is it my 64bit win7?

I hope someone can help, i just want to continue ripping my cds as i started.
Title: REACT 2 Released
Post by: Akkurat on 2009-10-03 23:58:59
First, which mod are you using, and what version? EAC 0.99pb5 is only supported by my latest mod BTW.

Have you read my mod notes about Vista (& Win7) (http://wiki.hydrogenaudio.org/index.php?title=REACT:Mods#Windows_Vista)?

Also, what's the (perfectly correct??) error message? From EAC or REACT?

Can you shortly describe (steps) what you do when you use REACT to rip? And what error messages or any oddities you see.

Let's start with these.
Title: REACT 2 Released
Post by: Gehirnmaehung on 2009-10-04 13:26:02
I have b04 of your mod, i hope that's the latest. I'd gladly switch back to what i had a few month ago, but i can't find the 0.99pb4 anymore. For reasons of simplicity i use "c:\eac\" as my root directory, because i don't know if the folder structure of win 7 is 100% supported and because the user folders are mapped to a network drive (i wanted to eliminate possible sources of errors, and "c:\eac\" sounds simple enough).
The dialog i get want's to store a file named the way i want to name the image, the ending is ".eac". The path is as i defined it (artist\cdtitle), and it starts below my root (c:\eac\). The only problem is, that neither EAC nor REACT can create that directory automatically, i have to create it manually. I gave every user that could possible access the folder full access. The user i start can not use REACT, i get the windows dialog asking for admin rights (domain controller admin, in my case). I assume the problem is somewhere connected to win7 and/or the domain user, but i could not figure it out yet. If i had another good plextor drive i'd set up a "ripping station" with windows xp ... The moment i get the dialog there's a cuesheet in my root ("s" type cue), and it is missing the replaygain entries, which is probably normal, because the process of reading the tracks has not started yet.

Title: REACT 2 Released
Post by: Akkurat on 2009-10-05 21:01:21
I still don't fully understand what you're doing, you didn't describe the steps you take when using REACT to rip.. BUT it seems that you should first solve the problem with user rights. I'll take it that if you start just EAC and try to rip an image, you'd get the same problems..? I quickly looked at EAC forum and there's some problems with Win7 and/or x64 when using EAC.. dunno if related though.

I'm not an expert with Win7 and user rights, all I can say is that follow the instructions described here: mod notes about Vista (& Win7) (http://wiki.hydrogenaudio.org/index.php?title=REACT:Mods#Windows_Vista). I can help with REACT problems after you solve the user rights problem.

I think that there's some HA users who use Win7 and REACT, can you help out here?
Title: REACT 2 Released
Post by: zilexa on 2009-10-14 18:08:09
How come Album Art Downloader XUI doesn't start when I press F4? Here is my ini, the settings part:

Code: [Select]
[Settings]
Version=2.0.akku.b04
ImageExt=wav
ImageNaming=$artist$ - $album$
ImageHotKey={F10}
TracksHotKey={F4}
TracksHotVal=+{F5}
VA=Various Artists
CreateCuesheet=
CoverDownloaderXUI=1
RunCoverDownloader=1
CoverDownloaderXUI=C:\Program Files\AlbumArtDownloader\AlbumArt.exe
CoverDownloaderLocalPath=
OpenAddMetaDataDiag=0
EAC=C:\Program Files\Exact Audio Copy\EAC.exe
Tools=C:\Program Files\REACT2\tools
MinimizeCompressionWindow=1
ProcessPriority=1
Sla_Bks_Col_Qst_Bar_Quo_Ast_Lt_Gt=-|-|-||!|'|#|[|]
Test=0
Title: REACT 2 Released
Post by: Akkurat on 2009-10-14 23:30:23
Code: [Select]
CoverDownloaderXUI=C:\Program Files\AlbumArtDownloader\AlbumArt.exe

That should be:

Code: [Select]
CoverDownloader=C:\Program Files\AlbumArtDownloader\albumart.exe
Title: REACT 2 Released
Post by: Snash on 2009-10-16 15:36:26
Is there a way to pass the lowpass parameter to LAME while using REACT?

Do I add "--lowpass <frequency in Hz>" to the "Additional Command Line Options" in EAC?
Title: REACT 2 Released
Post by: Akkurat on 2009-10-16 15:58:24
Amending the Opt_LameMP3 setting in REACT.ini file!?
Title: REACT 2 Released
Post by: roloff on 2009-10-28 19:07:04
Hi! And good evening from germany.
Before I do start to ask for help/support, I would like to say "thanks" to those who developed REACT 2.0 + for those who spend their time in this forum to support other people.

Well, I guess I am doing something wrong, but I do not know what; so I'll try to explain what I am doing and whats not working the way I think it should do:

1. Insert Audio CD.
2. Push "F10" for FLAC image and MP3 tracks
=> After appro. 15 sec.: Pop Up:
"Unable to move cuesheet. File does not exist.Canceling will abort the rip."
I can choose (in german language): "wiederholen" or "abbrechen" = "retry" or "abort".

When I choose "retry" the same msg. will appear again, after approx. 25 sec. and so on.

With other words: Nothing started.

If I choose "abort", well, nothing starts.

Some details:

OS: Windows XP Professional
EAC: V0.99 prebeta 5 from 4. Mai 2009
REACT 2.0: v2.0.akku.b03

react.ini
Code: [Select]
[Settings]
Version=2.0.akku.b03
ImageExt=flac
ImageNaming=$artist$ - [$year$] $album$
ImageHotKey={F10}
TracksHotKey={F4}
TracksHotVal=+{F5}
VA=Various Artists
CreateCuesheet=mg
RunCoverDownloader=0
CoverDownloader=C:\Programme\AlbumArtDownloader\Albumart.exe
CoverDownloaderXUI=1
CoverDownloaderLocalPath=
OpenAddMetaDataDiag=0
EAC=C:\Programme\Exact Audio Copy\EAC.exe
Tools=C:\Programme\Exact Audio Copy\REACT 2.0\tools
MinimizeCompressionWindow=1
ProcessPriority=1
Sla_Bks_Col_Qst_Bar_Quo_Ast_Lt_Gt=-|-|-||!|'|#|[|]
Test=0

[UserTrackFormats]
Flac=0
Wavpack=0
LameMP3=1
NeroAac=0
iTunesAac=0
OggEnc2=0
Tak=0

[UserOutputNames]
OutRoot=F:\01 Musik\00 EAC
ImageDir_Flac=@OutRoot@\FLAC-images\$cdartist$
ImageDir_Wavpack=@OutRoot@\WV-images\$cdartist$
ImageDir_MP3=@OutRoot@\MP3-images\$cdartist$
ImageDir_Tak=@OutRoot@\TAK-images\$cdartist$
TrackDir_Flac=@OutRoot@\FLAC\$cdartist$\$year$.$album$
TrackDir_Wavpack=@OutRoot@\WV\$cdartist$\[$year$] $album$
TrackDir_MP3=@OutRoot@\MP3\$cdartist$\$year$.$album$
TrackDir_AAC=@OutRoot@\AAC\$cdartist$\[$year$] $album$
TrackDir_OGG=@OutRoot@\OGG\$cdartist$\[$year$] $album$
TrackDir_Tak=@OutRoot@\TAK\$cdartist$\[$year$] $album$
TrackName_SA=$track$ - $title$
TrackName_VA=$track$ - $title$ [$artist$]
TrackName_SA_acdir=$n - $~t
TrackName_VA_acdir=$n - $~t [$~a]

[UserSettings]
DebugMode=1
Debug=1
Comment=Created with EAC/@reactversion@, @curdate@
EmbedCover=1
ReplayGain=1
ApplyAlbumGain=1
AdjustAlbumGain_dB=+3.0
AddCuesheetAG=0
UseWaveGainAG=0
Opt_Flac=-5 -f
Opt_Wavpack=-hmy
Opt_LameMP3=-V2 --vbr-new --noreplaygain --nohist
Opt_NeroAac=-lc -q 0.21
Opt_iTunesAac=-d -s 2000
Opt_OggEnc2=-q 3.0
Opt_Tak=-pN -overwrite
Ver_Flac=1.1.3
Ver_Wavpack=4.40
Ver_LameMP3=3.97
Ver_NeroAac=1.0.0.2
Ver_OggEnc2=2.83 Lancer aoTuV b5
Ver_Tak=1.0.1

[DefaultMetaData]
discnumber=1
totaldiscs=1
discname=
What did I wrong?

Hope to get some hints were to look ...

Regards

roloff
Title: REACT 2 Released
Post by: Snash on 2009-10-28 20:26:16
Hi! And good evening from germany.


Greetings and welcome to HA.

Try unchecking  "Retrieve UPC/ISRC code in CUE sheet generation" in EAC.

I found a reference to it here:

http://www.hydrogenaudio.org/forums/index....st&p=555081 (http://www.hydrogenaudio.org/forums/index.php?showtopic=62134&view=findpost&p=555081)
Title: REACT 2 Released
Post by: roloff on 2009-10-28 20:43:44
Try unchecking  "Retrieve UPC/ISRC code in CUE sheet generation" in EAC.


Thanks, but it was unchecked from the very first beginning. :-(
Title: REACT 2 Released
Post by: Akkurat on 2009-10-28 20:55:49
REACT 2.0: v2.0.akku.b03

Always try the newest version before reporting problems. There's a 2.0.akku.b04 (http://wiki.hydrogenaudio.org/index.php?title=REACT:Mods#Changelog) version (check the full changelog) which has one fix* to the very problematic cuesheet generation part of REACT, hopefully that will fix your problem. (Boy, I hope so.. )

EDIT: Just noticed that you've DebugMode and Debug on in your INI, you can turn them off if you don't have problems.

* "Fixed cuesheet generation again; the indices and gaps detection windows were detected in wrong order. This made REACT error with CD's that had lots of track indices."

Try unchecking  "Retrieve UPC/ISRC code in CUE sheet generation" in EAC.

That's VERY old information, there's NO need to turn off that setting with my mod (2.0.akku.b03 or newer).
Title: REACT 2 Released
Post by: roloff on 2009-10-28 21:00:46
Here the content of the debugging.txt:


Code: [Select]
2009-10-28 21:55:38  Creating [mg] cuesheet
2009-10-28 21:55:38  Waiting for the Indices Detection 'Analyzing' window to disappear
2009-10-28 21:55:38  Waiting for the Indices Detection 'Analyzing' window to disappear
2009-10-28 21:55:38  Waiting for the Indices Detection 'Analyzing' window to disappear
2009-10-28 21:55:38  Waiting for the Indices Detection 'Analyzing' window to disappear
2009-10-28 21:55:38  Waiting for the Indices Detection 'Analyzing' window to disappear
2009-10-28 21:55:38  Waiting for the Indices Detection 'Analyzing' window to disappear
2009-10-28 21:55:39  Waiting for the Indices Detection 'Analyzing' window to disappear
2009-10-28 21:55:39  Waiting for the Indices Detection 'Analyzing' window to disappear
2009-10-28 21:55:39  Waiting for the Indices Detection 'Analyzing' window to disappear
2009-10-28 21:55:39  Waiting for the Indices Detection 'Analyzing' window to disappear
2009-10-28 21:55:39  Waiting for the Indices Detection 'Analyzing' window to disappear
2009-10-28 21:55:39  Waiting for the Indices Detection 'Analyzing' window to disappear
2009-10-28 21:55:39  Waiting for the Indices Detection 'Analyzing' window to disappear
2009-10-28 21:55:39  Waiting for the Indices Detection 'Analyzing' window to disappear
2009-10-28 21:55:40  Waiting for the Indices Detection 'Analyzing' window to disappear
2009-10-28 21:55:40  Waiting for the Indices Detection 'Analyzing' window to disappear
2009-10-28 21:55:40  Waiting for the Indices Detection 'Analyzing' window to disappear
2009-10-28 21:55:40  Waiting for the Indices Detection 'Analyzing' window to disappear
2009-10-28 21:55:40  Waiting for the Indices Detection 'Analyzing' window to disappear
2009-10-28 21:55:40  Waiting for the Indices Detection 'Analyzing' window to disappear
2009-10-28 21:55:40  Waiting for the Indices Detection 'Analyzing' window to disappear
2009-10-28 21:55:40  Waiting for the Gap Detection 'Analyzing' window to disappear
2009-10-28 21:55:41  Waiting for the Gap Detection 'Analyzing' window to disappear
2009-10-28 21:55:42  Waiting for the Gap Detection 'Analyzing' window to disappear
2009-10-28 21:55:44  Waiting for the Gap Detection 'Analyzing' window to disappear
2009-10-28 21:55:45  Waiting for the Gap Detection 'Analyzing' window to disappear
2009-10-28 21:55:46  Waiting for the Gap Detection 'Analyzing' window to disappear
2009-10-28 21:55:47  Waiting for the UPC/ISRC Detection 'Analyzing' window to disappear
2009-10-28 21:55:47  Waiting for the UPC/ISRC Detection 'Analyzing' window to disappear
2009-10-28 21:55:48  Waiting for the UPC/ISRC Detection 'Analyzing' window to disappear
2009-10-28 21:55:49  Waiting for the UPC/ISRC Detection 'Analyzing' window to disappear
2009-10-28 21:55:49  Waiting for the UPC/ISRC Detection 'Analyzing' window to disappear
2009-10-28 21:55:50  Waiting for the UPC/ISRC Detection 'Analyzing' window to disappear
2009-10-28 21:55:50  Waiting for the UPC/ISRC Detection 'Analyzing' window to disappear
2009-10-28 21:55:51  Waiting for the cuefile to appear
2009-10-28 21:55:51  Waiting for the cuefile to appear
2009-10-28 21:55:51  Waiting for the cuefile to appear
2009-10-28 21:55:52  Waiting for the cuefile to appear
2009-10-28 21:55:52  Waiting for the cuefile to appear
2009-10-28 21:55:52  Waiting for the cuefile to appear
2009-10-28 21:55:52  Waiting for the cuefile to appear
2009-10-28 21:55:53  Waiting for the cuefile to appear
2009-10-28 21:55:53  Waiting for the cuefile to appear
2009-10-28 21:55:53  Waiting for the cuefile to appear
2009-10-28 21:55:54  Waiting for the cuefile to appear
2009-10-28 21:55:54  Waiting for the cuefile to appear
2009-10-28 21:55:54  Waiting for the cuefile to appear
2009-10-28 21:55:54  Waiting for the cuefile to appear
2009-10-28 21:55:55  Waiting for the cuefile to appear
2009-10-28 21:55:55  Waiting for the cuefile to appear
2009-10-28 21:55:55  Waiting for the cuefile to appear
2009-10-28 21:55:55  Waiting for the cuefile to appear
2009-10-28 21:55:56  Waiting for the cuefile to appear
2009-10-28 21:55:56  Waiting for the cuefile to appear
2009-10-28 21:55:56  Unable to move 'F:\01 Musik\00 EAC\Trouble No More.CUE'. File does not exist
2009-10-28 21:55:59  Aborting (cuefile doesn't exist)...
2009-10-28 21:55:59  Tried to delete all other cuefiles from 'F:\01 Musik\00 EAC\' directory

2009-10-28 21:55:59  - END - MoveCuesheet -

Any ideas?

Regards,

Roloff
Title: REACT 2 Released
Post by: roloff on 2009-10-28 21:51:34
Hei! Akkurat

Always try the newest version before reporting problems.

Ymmärrän. Done. :-) Kiitos!

B u t:

... , hopefully that will fix your problem. (Boy, I hope so.. )


No, sorry. Still the same.

_______________

Additional information: if I do set CreateCuesheet=  (so, no value is set. space is empty) and press F10, than EAC starts, working ... and I do have:

...\FLAC-images\artistname\CUE + FLAC
...\FLAC\artistname\[year] album\*.flac (no CUE)
...\MP3\artistname\[year] album\*.MP3 (no CUE)

En ymmärrä. Why is the CUE in the folder?

Thats all I need, or????

Good night,
Hyvää yötä

Regards

Roloff
Title: REACT 2 Released
Post by: Akkurat on 2009-10-28 23:48:47
No, sorry. Still the same.

Still "Unable to move cuesheet.." errors?? Can you see the normal EAC "Detecting Pre-Track Gaps", "Detecting Track Indices" and "Detecting UPC/ISRC" (if you have that setting on) windows when you start to rip? Can you post the debugging.txt output for the new b04 version? Also, do you see the "F:\01 Musik\00 EAC\Trouble No More.CUE" (or whatever album you have) file although REACT gives you the error? And finally, does this "Unable to move cuesheet.." error happen with every CD? (don't have to test EVERYTHING )

Why is the CUE in the folder?

When ripping in image mode (F10), EAC automatically creates a cuesheet for the image. The process is different when using REACT CreateCuesheet setting to produce cuesheet(s) for the tracks. REACT doesn't have to track the cuesheet generation process with image cuesheets.

The default REACT currently doesn't move cuesheets created with CreateCuesheet setting to the target folder(s). That's a bummer, I know, it's on my Todo list. Fortunately, with a bit of tinkering of the .cfg files, one can get file reference corrected cuesheets to the target folder(s); here's the Wiki guide: Amending Cuesheet File References (http://wiki.hydrogenaudio.org/index.php?title=REACT:Amending_Cuesheet_File_References).

EDIT: Oh, forgot to add that that guide is only for track mode (F4).

Thats all I need, or????

Well, it depends.. if you're making/keeping the FLAC images as a backup, then you don't need the cuesheet for the FLAC tracks (no point of saving a cuesheet for lossy Mp3 tracks).

Off topic: do you really need both FLAC image & tracks?

Toivottavasti tämä auttaa. HTH. Suomalainen? Finnish?
Title: REACT 2 Released
Post by: pompon on 2009-10-29 01:28:15
Just for info ... With win7 my React was not working properly.

I had to download and install in my windows\system32\ the file "msvcr71.dll".

This file is required for "acdir" cmd file (that .exe take a cue sheet and split to multiple file ...).
Before that, the result was only log in my destination directory.
Title: REACT 2 Released
Post by: roloff on 2009-10-29 07:37:17
Good morning!

No, sorry. Still the same.
Still "Unable to move cuesheet.." errors??
Yes, still unable to move cuesheet..."

Can you see the normal EAC "Detecting Pre-Track Gaps", "Detecting Track Indices" and "Detecting UPC/ISRC" (if you have that setting on) windows when you start to rip?
Nothing starts. F10 - waiting ... waiting ... (even the CD is not spinning) => Error msg appears.

And finally, does this "Unable to move cuesheet.." error happen with every CD? (don't have to test EVERYTHING )
Yes. Tested a few. Same result for all.
(I am happy that I do not have to test all CDs, very kind of you :-))

Can you post the debugging.txt output for the new b04 version?

Code: [Select]
2009-10-29 08:28:02  Version: 2.0.akku.b04
2009-10-29 08:28:02  INI version: 2.0.akku.b04
2009-10-29 08:28:02  FileNamingConvention: %D - %C - %N - %T
2009-10-29 08:28:02  VariousFileNamingConvention: %D - %C - %N - %T (%A)
2009-10-29 08:28:05  EAC handle: 0x00090702

2009-10-29 08:28:08  Creating [mg] cuesheet
2009-10-29 08:28:08  Waiting for the Gap Detection 'Analyzing' window to disappear
2009-10-29 08:28:09  Waiting for the Gap Detection 'Analyzing' window to disappear
2009-10-29 08:28:10  Waiting for the Gap Detection 'Analyzing' window to disappear
2009-10-29 08:28:11  Waiting for the Gap Detection 'Analyzing' window to disappear
2009-10-29 08:28:12  Waiting for the Gap Detection 'Analyzing' window to disappear
2009-10-29 08:28:13  Waiting for the Gap Detection 'Analyzing' window to disappear
2009-10-29 08:28:14  Waiting for the Gap Detection 'Analyzing' window to disappear
2009-10-29 08:28:15  Waiting for the Gap Detection 'Analyzing' window to disappear
2009-10-29 08:28:16  Waiting for the Indices Detection 'Analyzing' window to disappear
2009-10-29 08:28:16  Waiting for the UPC/ISRC Detection 'Analyzing' window to disappear
2009-10-29 08:28:17  Waiting for the UPC/ISRC Detection 'Analyzing' window to disappear
2009-10-29 08:28:17  Waiting for the UPC/ISRC Detection 'Analyzing' window to disappear
2009-10-29 08:28:18  Waiting for the UPC/ISRC Detection 'Analyzing' window to disappear
2009-10-29 08:28:18  Waiting for the UPC/ISRC Detection 'Analyzing' window to disappear
2009-10-29 08:28:19  Waiting for the UPC/ISRC Detection 'Analyzing' window to disappear
2009-10-29 08:28:19  Waiting for the UPC/ISRC Detection 'Analyzing' window to disappear
2009-10-29 08:28:20  Waiting for the cuefile to appear
2009-10-29 08:28:20  Waiting for the cuefile to appear
2009-10-29 08:28:20  Waiting for the cuefile to appear
2009-10-29 08:28:20  Waiting for the cuefile to appear
2009-10-29 08:28:21  Waiting for the cuefile to appear
2009-10-29 08:28:21  Waiting for the cuefile to appear
2009-10-29 08:28:21  Waiting for the cuefile to appear
2009-10-29 08:28:21  Waiting for the cuefile to appear
2009-10-29 08:28:22  Waiting for the cuefile to appear
2009-10-29 08:28:22  Waiting for the cuefile to appear
2009-10-29 08:28:22  Waiting for the cuefile to appear
2009-10-29 08:28:22  Waiting for the cuefile to appear
2009-10-29 08:28:23  Waiting for the cuefile to appear
2009-10-29 08:28:23  Waiting for the cuefile to appear
2009-10-29 08:28:23  Waiting for the cuefile to appear
2009-10-29 08:28:23  Waiting for the cuefile to appear
2009-10-29 08:28:24  Waiting for the cuefile to appear
2009-10-29 08:28:24  Waiting for the cuefile to appear
2009-10-29 08:28:24  Waiting for the cuefile to appear
2009-10-29 08:28:24  Waiting for the cuefile to appear
2009-10-29 08:28:25  Unable to move 'F:\01 Musik\1 überarbeiten\4 selbst gerippt\01 EAC\Little Rock to Leipzig.CUE'. File does not exist
2009-10-29 08:28:26  Aborting (cuefile doesn't exist)...
2009-10-29 08:28:26  Tried to delete all other cuefiles from 'F:\01 Musik\1 überarbeiten\4 selbst gerippt\01 EAC\' directory

2009-10-29 08:28:26  - END - MoveCuesheet -


Thats all I need, or????
Well, it depends.. if you're making/keeping the FLAC images as a backup, then you don't need the cuesheet for the FLAC tracks (no point of saving a cuesheet for lossy Mp3 tracks).
I'll keep the FLAC images as a backup, so its fine as it is.

Off topic: do you really need both FLAC image & tracks?
No, I changed it.

Toivottavasti tämä auttaa. HTH. Suomalainen? Finnish?
German. Found just some finnish words. Thanks a lot for your help so far.
Title: REACT 2 Released
Post by: rohangc on 2009-10-29 08:19:08
Roloff, did you abort/interrupt EAC while it was ripping a disc? Try going back to the directory set to '@OutRoot' in your REACT.ini file (and sub-folders), and delete all files related to incomplete rips that you find there. It might also help taking a look at "My Document -> My Music -> EAC" and its sub-folders. Of course, all this applies to Windows XP.  I don't know how the Windows 7 file system is organized.

It is possible that REACT2 expects a specific CUESheet file name, but EAC renamed your current CUESheet to something else since an old one already existed there. You may have to get rid of the files that are confusing REACT2. Try this and tell us if it works.
Title: REACT 2 Released
Post by: roloff on 2009-10-29 10:00:16
Rohangc, thanks, here my result:

Roloff, did you abort/interrupt EAC while it was ripping a disc?

No. F10 ... wait ... wait... EAC did not even start doing anything visual ... msg appears => I pressed "Abort".
If I press "retry" the debugging.txt will be longer ... But EAC will not start doing someting visual to me.
Msg. appears again and again until I press "abort".

Try going back to the directory set to '@OutRoot' in your REACT.ini file (and sub-folders), and delete all files related to incomplete rips that you find there. It might also help taking a look at "My Document -> My Music -> EAC" and its sub-folders.

I deleted all files in '@OutRoot@'. I deleted all files in "My Document -> My Music -> EAC" and its sub-folders.
Nothing changed. Msg. still apears.

What else can I do?
Title: REACT 2 Released
Post by: Akkurat on 2009-10-29 16:12:12
Can you see the normal EAC "Detecting Pre-Track Gaps", "Detecting Track Indices" and "Detecting UPC/ISRC" (if you have that setting on) windows when you start to rip?

Nothing starts. F10 - waiting ... waiting ... (even the CD is not spinning) => Error msg appears.

That's weird. You wrote that you got image+cue when not using CreateCuesheet, perfectly normal, but you should see the EAC "detecting" windows then. Weird.

What happens if you select "Action -> Create CUE Sheet -> Multiple WAV Files With Gaps...  (Noncompliant)" menu item?

Could it be that you're in a beginner mode ("EAC Options -> Tools -> Activate beginner mode...") and that menu is not available? That would explain why EAC does nothing.. not even spinning the CD.

Try going back to the directory set to '@OutRoot' in your REACT.ini file (and sub-folders), and delete all files related to incomplete rips that you find there. It might also help taking a look at "My Document -> My Music -> EAC" and its sub-folders.
...
It is possible that REACT2 expects a specific CUESheet file name, but EAC renamed your current CUESheet to something else since an old one already existed there. You may have to get rid of the files that are confusing REACT2. Try this and tell us if it works.

REACT does "left behind" cleaning before creating the cuesheets (+it cleans old log files & processing
Title: REACT 2 Released
Post by: roloff on 2009-10-29 23:34:21
Can you see the normal EAC "Detecting Pre-Track Gaps", "Detecting Track Indices" and "Detecting UPC/ISRC" (if you have that setting on) windows when you start to rip?

Nothing starts. F10 - waiting ... waiting ... (even the CD is not spinning) => Error msg appears.

That's weird. You wrote that you got image+cue when not using CreateCuesheet, perfectly normal, but you should see the EAC "detecting" windows then. Weird.

Before I changed the "beginner mode":
If I didn't use CreateCuesheet i would have seen the EAC "detecting" window.

If I did use the CreateCuesheet I wouldn't have seen any window / action on the screen.

What happens if you select "Action -> Create CUE Sheet -> Multiple WAV Files With Gaps...  (Noncompliant)" menu item?

I will get a CUEsheet.

Could it be that you're in a beginner mode ("EAC Options -> Tools -> Activate beginner mode...") and that menu is not available? That would explain why EAC does nothing.. not even spinning the CD.

Yes, I was. Now I am not. And now its working. Thats the solution: Because I was in "beginner mode"?? I thought beginner mode means I cannot see all menu details!?!?!?
Thanks a lot. If that was the reason, "problem" solved!
Kaikki hyvin! Hyvää yötä. 

Kiitos paljon,

roloff
Title: REACT 2 Released
Post by: Akkurat on 2009-10-30 01:06:08
Good to hear that the problem was solved.

I thought beginner mode means I cannot see all menu details!?!?!?

Yes*, +EAC warns that some settings are turned to default when activating the beginner mode. I advice you to configure REACT again (Ctrl+F2) just in case. Remember that the EAC "Use this directory" setting will be changed to default user "My Music" directory when you configure REACT (http://wiki.hydrogenaudio.org/index.php?title=REACT:Mods#EAC_.22Use_this_directory.22). You can change the setting after configuring (not needed though).

* but it seems that this also removes/disables shortcuts (if any available) for the hidden items. Also, when creating a "mg" cuesheet, REACT needs to have an "access" to the "Multiple WAV Files With Gaps... (Noncompliant)" menu item (doesn't have a shortcut in expert mode). Funny that this issue hasn't come up earlier. Next version of my mod will set the expert mode on when configuring.
Title: REACT 2 Released
Post by: Hydroballou on 2009-11-02 08:03:19
Good to hear that the problem was solved.

I thought beginner mode means I cannot see all menu details!?!?!?

Yes*, +EAC warns that some settings are turned to default when activating the beginner mode. I advice you to configure REACT again (Ctrl+F2) just in case. Remember that the EAC "Use this directory" setting will be changed to default user "My Music" directory when you configure REACT (http://wiki.hydrogenaudio.org/index.php?title=REACT:Mods#EAC_.22Use_this_directory.22). You can change the setting after configuring (not needed though).

* but it seems that this also removes/disables shortcuts (if any available) for the hidden items. Also, when creating a "mg" cuesheet, REACT needs to have an "access" to the "Multiple WAV Files With Gaps... (Noncompliant)" menu item (doesn't have a shortcut in expert mode). Funny that this issue hasn't come up earlier. Next version of my mod will set the expert mode on when configuring.


Hello Akkurat, seems that I have a similiar issue with your mod. Everything works fine, except the creating of the cuesheets does not work. I am using the "CreateCuesheet=mg" version in the ini-file but there is no cuesheet saved in the FLAC-folder after the compression is done.  After pressing F4 the Album Art starts and Detecting of gaps works but the cue sheets are not saved. I am in Expert Mode. What is wrong with my configuration? Thanks for your help!
Title: REACT 2 Released
Post by: Akkurat on 2009-11-02 09:24:34
Welcome to HA Hydroballou.

Quoting myself: the default REACT currently doesn't move cuesheets created with CreateCuesheet setting to the target folder(s). That's a bummer, I know, it's on my Todo list. Fortunately, with a bit of tinkering of the REACT-track.cfg file, one can get file reference corrected cuesheets to the target folder(s); here's the Wiki guide: Amending Cuesheet File References (http://wiki.hydrogenaudio.org/index.php?title=REACT:Amending_Cuesheet_File_References). Remember to download the GSAR tool and put it in REACT tools folder.

HTH
Title: REACT 2 Released
Post by: _qualm_ on 2009-11-07 21:57:09
I am having trouble installing Akkurat's latest release to get REACT 2.0 to work with EAC V0.99 PB5.  I downloaded and installed EAC V0.99 PB5 on my D drive along with REACT 2.0.  Now I downloaded the REACT_2.0.ssb16p and extracted it to my desktop.  Now when I try to run the .EXE all I get is Couldn't start C:\program files\exact audio copy\eac.exe.  Is there a way to make it look on the D drive?


Also how do you uninstall previous versions of REACT?

Thanks
Qualm
Title: REACT 2 Released
Post by: _qualm_ on 2009-11-07 22:20:17
I am having trouble installing Akkurat's latest release to get REACT 2.0 to work with EAC V0.99 PB5.  I downloaded and installed EAC V0.99 PB5 on my D drive along with REACT 2.0.  Now I downloaded the REACT_2.0.ssb16p and extracted it to my desktop.  Now when I try to run the .EXE all I get is Couldn't start C:\program files\exact audio copy\eac.exe.  Is there a way to make it look on the D drive?


Also how do you uninstall previous versions of REACT?

Thanks
Qualm




Nevermind I changed it in the .ini file and now it works.

Also I extracted the REACT_2.0.ssb16p.zip in the REACT2 folder replacing the other files is this OK?
Title: REACT 2 Released
Post by: Akkurat on 2009-11-07 22:21:42
Hello _qualm_, welcome to HA.

I am having trouble installing Akkurat's latest release to get REACT 2.0 to work with EAC V0.99 PB5.  I downloaded and installed EAC V0.99 PB5 on my D drive along with REACT 2.0.  Now I downloaded the REACT_2.0.ssb16p and extracted it to my desktop.  Now when I try to run the .EXE all I get is Couldn't start C:\program files\exact audio copy\eac.exe.  Is there a way to make it look on the D drive?

First, REACT_2.0.ssb16p is not my mod. I suggest that you check the REACT:Mods (http://wiki.hydrogenaudio.org/index.php?title=REACT:Mods) wiki page again.

You have to extract the mod zip where you "installed" REACT. And since you don't have EAC in the default install folder, you've to edit REACT.ini file (most probably you want to edit that anyways); there is an EAC= setting that you have to amend. Check REACT Wiki (http://wiki.hydrogenaudio.org/index.php?title=REACT) page for more information.

Also how do you uninstall previous versions of REACT?

You can't. Since there's no "real" installer. Just delete the files.

HTH

EDIT: you were a bit faster than me.
Title: REACT 2 Released
Post by: _qualm_ on 2009-11-07 22:59:30
Thanks I just went and downloaded REACT_2.0.akku.b04.zip and replaced the existing REACT 2.0, After I deleted the old files that I installed above.

How do I output FLAC?

Sorry really new at this.
Title: REACT 2 Released
Post by: _qualm_ on 2009-11-07 23:33:03
Thanks I just went and downloaded REACT_2.0.akku.b04.zip and replaced the existing REACT 2.0, After I deleted the old files that I installed above.

How do I output FLAC?

Sorry really new at this.



Never mind it does it automatically.  I feel like a tard. 

Is there a way to get no mp3s just FLAC? 
Also I can't get the Cover Art Downloader to work.  I get "the remote server returned an error: (410) gone"
Title: REACT 2 Released
Post by: _qualm_ on 2009-11-08 00:17:18
Thanks I just went and downloaded REACT_2.0.akku.b04.zip and replaced the existing REACT 2.0, After I deleted the old files that I installed above.

How do I output FLAC?

Sorry really new at this.



Never mind it does it automatically.  I feel like a tard. 

Is there a way to get no mp3s just FLAC? 
Also I can't get the Cover Art Downloader to work.  I get "the remote server returned an error: (410) gone"



Never mind about the MP3 thing I just changed to 0 in the .ini file.

I still can't get the Cover Art Downloader to work though.

Can I use AlbumArtDownloader XUI Version 0.31 (2009-09-26) instead?  If so how do I tell the .ini to use this?

Title: REACT 2 Released
Post by: _qualm_ on 2009-11-08 00:37:02
All right i figured out to use the AlbumArtDownloader XUI Version 0.31 (2009-09-26) instead.  I kept changing the location of this in the .ini, but did not reset REACT so it did not take effect.


Thanks
Title: REACT 2 Released
Post by: Akkurat on 2009-11-08 17:14:59
Nice that you found solutions yourself. Next time you've a problem (with whatever app), keep reading the manuals and try learning how to use the app instead of instantly "spamming" with questions.  (you posted 6 times within ~3 hours)

BTW, did you notice to change the CoverDownloaderXUI setting on?

Happy REACTing.
Title: REACT 2 Released
Post by: Flasshe on 2009-11-09 03:31:01
I'm a noob here and I have a question about sound levels.  I've searched around and haven't seen this discussed before, so forgive me if it's been brought up and I didn't catch it.  I've been using EAC v0.99b3 /REACT2 with the Akkurat mod (v2.0.akku.b04) to rip my huge CD collection.  I'm doing an Image rip to FLAC and MP3.  I use FLAC for archiving and MP3 for listening in iTunes and on my iPods.  REACT is a fantastic tool and I love it.  One reason that I wanted to use the tool is that I want the sound levels to be consistent across my entire MP3 library.  However, it seems like the levels of the ripped CDs (when played in iTunes and on an iPod) are generally lower than on the MP3 files I download from eMusic, Amazon, etc, though they are consistent across the ripped CDs.

Here are the settings I'm using in REACT.ini for ReplayGain etc:

ReplayGain=1
ApplyAlbumGain=1
AdjustAlbumGain_dB=+3.0
AddCuesheetAG=0
UseWaveGainAG=0

From what I understand from reading up on this, the MP3 files generated actually have gain added to them at the conversion stage, as well as having the ReplyGain tags set.  Is that correct?  I can see the album gain being applied when watching the conversion in the DOS window.  However, for most CDs it seems like the gain applied is negative rather than positive, resulting in an even lower sound level than when I was just doing straight rips.  Most of my CDs are pretty old and the sound levels are low compared to more recent ones, and it doesn't seem like I'm getting the needed boost on those.

So is there anything I should be doing different?  Note that I do not have Soundcheck enabled in iTunes (nor have I copied the ReplayGain values to COMMENT ITUNESNORM), but from what I understand, I shouldn't have to if the sound levels in the files are already directly altered.  And I understand that the gain is being applied equally to all tracks on an album based on album analysis as a whole (which is what I want) rather than on individual tracks, but it still seems like I should be getting overall boosts rather than volume lowering.  Should I increase AdjustAlbumGain_dB even more to get my desired result?  Has anyone else encountered this issue?

Any advice would be appreciated.  Thanks!

Title: REACT 2 Released
Post by: pdq on 2009-11-09 11:32:46
If your downloaded files are too loud then apply replaygain to them as well. Then they should be consistent with the files that you rip.
Title: REACT 2 Released
Post by: ESP85 on 2009-11-15 16:12:57
I'm having problems getting REACT 2 to work in Windows 7.

I've been using the same REACT setup for 3 years now on XP, just upgraded to Windows 7 a few days ago, and can't get it to work anymore.  EAC rips the entire CD to a wave file but after the ripping process is finished, the REACT encoding window doesn't pop up and encode anymore.  I've tried XP compatibility mode for EAC, REACT, LAME, etc.. and it still doesn't work.  Also ran those as Administrator but still no difference.

BTW, I am using EAC 0.95b4 with the original REACT 2.  I never got around to upgrading EAC or REACT as my REACT images config file is heavily modified and I wasn't sure if it would work with the new mods that have come out in the past 3 years.

Anybody know what might cause this to not work in Windows 7?
Title: REACT 2 Released
Post by: Akkurat on 2009-11-15 16:37:23
ESP85, your custom config most probably won't work with the newest versions of REACT mods. Still it might be worth to bite the bullet and upgrade & customize again (use diff app? like WinMerge). Anyways, back to your problem, here's couple of recent posts quoted:

I'm not an expert with Win7 and user rights, all I can say is that follow the instructions described here: mod notes about Vista (& Win7) (http://wiki.hydrogenaudio.org/index.php?title=REACT:Mods#Windows_Vista).


Just for info ... With win7 my React was not working properly.

I had to download and install in my windows\system32\ the file "msvcr71.dll".

This file is required for "acdir" cmd file (that .exe take a cue sheet and split to multiple file ...).
Before that, the result was only log in my destination directory.

Title: REACT 2 Released
Post by: ESP85 on 2009-11-17 08:26:13
Ok, just wanted to let people know I got this to work on Windows 7 64-bit.

I upgraded to EAC 0.99pb5 and REACT v2.0.akku.b04, copied the msvcr71.dll from my old XP installation, and installed the following mods:

http://www.hydrogenaudio.org/forums/index....st&p=460080 (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=50273&view=findpost&p=460080)
http://wiki.hydrogenaudio.org/index.php?ti...Short_Filenames (http://wiki.hydrogenaudio.org/index.php?title=REACT:Using_Short_Filenames)

And it works just like it did before.

I'm not sure if REACT can run without msvcr.dll but I'm not going to mess with my setup since it works.  You might want to put some of this stuff in your next readme file since more people will eventually upgrade to Win7.

Thanks for the mod BTW Akkurat.  What features are planned for the next release?

Also, do you think it would be worth it to modify the REACT-image file to work with this multi-core LAME mp3 encoder:
http://www.hydrogenaudio.org/forums/index....showtopic=73790 (http://www.hydrogenaudio.org/forums/index.php?showtopic=73790)
Title: REACT 2 Released
Post by: Akkurat on 2009-11-18 01:13:27
Ok, just wanted to let people know I got this to work on Windows 7 64-bit.
...
and installed the following mods:
http://www.hydrogenaudio.org/forums/index....st&p=460080 (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=50273&view=findpost&p=460080)
http://wiki.hydrogenaudio.org/index.php?ti...Short_Filenames (http://wiki.hydrogenaudio.org/index.php?title=REACT:Using_Short_Filenames)

Good to hear that you got it to work again. However, are you saying that it was absolutely necessary to implement the above 2 amends in order to make REACT work in Win7? Just bringing this up so that other users don't get the wrong idea.

You might want to put some of this stuff in your next readme file since more people will eventually upgrade to Win7.

Of course, was already in my ToDo list. Though, I think that I'll add the msvcr71.dll to the mod download file. There seems to be lots of discussion whether it is redistributable or not. I wasn't able to find a definitive answer (especially for my situation).. maybe MS doesn't care too much.

What features are planned for the next release?

Who knows.  I've lots of ideas, very little time ATM.. so don't expect any releases soon.

Also, do you think it would be worth it to modify the REACT-image file to work with this multi-core LAME mp3 encoder

No idea. Depends on many things. Do you mean my REACT mod, or just your REACT config?
Title: REACT 2 Released
Post by: ESP85 on 2009-11-18 13:09:56
Ok, just wanted to let people know I got this to work on Windows 7 64-bit.
...
and installed the following mods:
http://www.hydrogenaudio.org/forums/index....st&p=460080 (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=50273&view=findpost&p=460080)
http://wiki.hydrogenaudio.org/index.php?ti...Short_Filenames (http://wiki.hydrogenaudio.org/index.php?title=REACT:Using_Short_Filenames)

Good to hear that you got it to work again. However, are you saying that it was absolutely necessary to implement the above 2 amends in order to make REACT work in Win7? Just bringing this up so that other users don't get the wrong idea.


Oh no, I just meant that was how I personalized my setup.  It now works the same as it did before for me.  I didn't mean that people need those two mods for it to work on Win7.  They're optional of course.

Also, do you think it would be worth it to modify the REACT-image file to work with this multi-core LAME mp3 encoder

No idea. Depends on many things. Do you mean my REACT mod, or just your REACT config?


Either one.  I was just wondering what your thoughts were on how compatible that multi-core mp3 encoder would be with REACT.
Title: REACT 2 Released
Post by: Akkurat on 2009-11-19 01:42:47
Either one.  I was just wondering what your thoughts were on how compatible that multi-core mp3 encoder would be with REACT.

I haven't tested it and I don't know the details of that app, but I don't see why that wouldn't work with REACT. However AFAIU, it doesn't suit REACT's diverse user base (don't have actual data though..) because basically it seems that it needs new multi-core x64 CPU's (and x64 OS's).

Anyways, I'm not interested to integrate completely new apps to REACT before I address old problems (outdated album art app, inconsistent features (create cuesheet but don't copy it to target folders), etc.) which bother me a lot. Also, like I've said before, I don't like the way the documentation is spread across forum/Wiki. I guess I've (somewhat) big ideas about where I'd like to go next with REACT. Since everybody seems to be relatively happy about the current situation, I haven't stressed (well a little ) about the fact that I don't have much time to put into it.. now. I guess I'm trying to say out loud to all of you that I'm still "active" (feeling a bit guilty of not releasing new versions lately, huh?). My ToDo list is over 1000 lines long currently.
Title: REACT 2 Released
Post by: Frank vZ on 2009-12-01 21:20:48
I have an addition to my old, old post here (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=50273&view=findpost&p=486587):
Using windows powershell instead of sed, it looks similar to this:
Code: [Select]
IF @various@==0 powershell.exe "(Get-Content -LiteralPath '@albumfile@.[mg].cue') | ForEach-Object { $_ -replace '$cdartist$ - $album$ - $track$ - $title$.wav', '%TrackName%.flac'} | Set-Content -LiteralPath '@albumfile@.[mg].cue'"

IF @various@==1 powershell.exe "(Get-Content -LiteralPath '@albumfile@.[mg].cue') | ForEach-Object { $_ -replace 'Various - $album$ - $track$ - $title$.wav', '%TrackName%.flac'} | Set-Content -LiteralPath '@albumfile@.[mg].cue'"   

Just in case someone should be interested ;-)
Title: REACT 2 Released
Post by: dobo on 2009-12-05 14:41:24
I'm using react to rip to wv and mp3 to tracks using ssb16p mod and the ripping, encoding & album art work well however it does not automatically create a log file or cue file.

ideally i would like to put these 2 files in a location of my choice. log file in both mp3 and wv directories and the cue file in a separate dir incase i want to burn to CD.

Is this possible with this mod? any work arounds?

I'm using eac 0.95 beta4

thanks
Title: REACT 2 Released
Post by: Akkurat on 2009-12-05 15:24:16
Dobo, you have to amend your cfg file; image.cfg if ripping with F10, or tracks.cfg if ripping with F4.

I suggest that you keep your cuesheet with your lossless rip, that's your "backup", right? Follow the Amending Cuesheet File References (http://wiki.hydrogenaudio.org/index.php?title=REACT:Amending_Cuesheet_File_References) Wiki guide in order to save file reference corrected cuesheet. Remember to download GSAR and put it in your tools folder.

For the log files, you've to amend the config. Say if you need specific instructions.

Any reasons why you aren't using the latest EAC 0.99pb5? Note that if you upgrade, my mod is the only one that supports that version. And in addition, my mod has many fixes/enhancements, so you might want to check it out from the REACT:Mods (http://wiki.hydrogenaudio.org/index.php?title=REACT:Mods) Wiki page.
Title: REACT 2 Released
Post by: Frank vZ on 2009-12-05 19:04:08
Remember to download GSAR and put it in your tools folder.

As I mentioned before, you can alternatively use sed or powershell. With the latest EAC and Akkurat's mod, the following line works fine:
Code: [Select]
powershell.exe "(Get-Content -LiteralPath '@albumfile@.[mg].cue') | ForEach-Object { $_ -replace '$cdartist$ - $album$ - $track$ - $title$.wav', '%TrackName%.flac'} | Set-Content -LiteralPath '@albumfile@.[mg].cue'"

Edit:
You may want to replace .flac by .wv ;-)
Title: REACT 2 Released
Post by: Akkurat on 2009-12-05 20:59:23
Frank vZ, I wouldn't advertise using SED, it has problems with some special chars (also mentioned in the wiki guide). Synthetic Soul and I discussed this some time ago in this thread.

About the powershell, have you thoroughly tested it? Especially with special chars? And, does it work in image mode as well?

I recommend using the GSAR method mentioned in Amending Cuesheet File References (http://wiki.hydrogenaudio.org/index.php?title=REACT:Amending_Cuesheet_File_References) Wiki guide if one is ripping in F4 mode (track.cfg). I'm going to implement this feature (both modes.. without external tools) to my REACT mod.
Title: REACT 2 Released
Post by: Frank vZ on 2009-12-06 07:44:07
About the powershell, have you thoroughly tested it? Especially with special chars? And, does it work in image mode as well?

You're right, Akkurat, I'm a user and not a developer. Therefore, I have tested the powershell in track mode with the CDs that caused sed to fail, and with the ones I have bought since I started using the powershell. This is not too much testing, all in all. Actually, I didn't know about GSAR and I was just looking for a command line tool which can search and replace better than sed can 
I'm going to implement this feature (both modes.. without external tools) to my REACT mod.

This is VERY good news!
Title: REACT 2 Released
Post by: Akkurat on 2009-12-06 15:13:52
I'm a user and not a developer.

That doesn't mean that you can't come up with great solutions. I was just curious of your powershell method and tests. Though your suggestion to use SED raised a flag.

Jeez, your answer kind of put me in a pedestal, a magic knowitall developer pedestal.. I hope you don't have that kind of image in your head.
Title: REACT 2 Released
Post by: Frank vZ on 2009-12-06 19:08:10
Jeez, your answer kind of put me in a pedestal, a magic knowitall developer pedestal.. I hope you don't have that kind of image in your head.

Don't panic - I've been working for too long in software engineering to no longer have an image of godlike monster brains - probably I never did 
I just wanted to say that I did not test it the way it should be tested before releasing. But sometimes these user-given solutions work fine for some people. Therefore I wanted to share the idea.
Title: REACT 2 Released
Post by: dobo on 2009-12-07 19:10:57
Quote
Any reasons why you aren't using the latest EAC 0.99pb5? Note that if you upgrade, my mod is the only one that supports that version. And in addition, my mod has many fixes/enhancements, so you might want to check it out from the REACT:Mods Wiki page.


Only reason i'm not using the latest EAC is because the version i have installed works, i then just picked a mod at random. It would seem now that Akurat mod might have been the better choice. It was not obvious at the time which mod if any is the recommended one to use as there is soo much info to consider when ripping.

Hopefully tonight i'll install the other mod and latest eac and give it all a go again and i'll have a choice of setups..
Title: REACT 2 Released
Post by: dobo on 2009-12-08 01:00:54
Installed eac 0.99pb5 and akku.b04 and ripping, encoding and art works as expected, followed the wiki guide and got cue files to be created too which is good news however i'm lost on how to get a log file created automatically.
can someone point me in the right direction.
Thanks
Title: REACT 2 Released
Post by: Akkurat on 2009-12-08 01:15:39
Open REACT-track.cfg and find the post-processing wavpack section in the end (starts with IF @Wavpack@==1 (). Just remove the REM from the REM COPY /Y "@eaclog@" "EAClog.txt" line and you're set. If you're using the wavpack as a backup, IMO there's no need to copy the same log file to the mp3 folder.
Title: REACT 2 Released
Post by: David Currie on 2010-01-02 22:45:08
Using EAC 0.99pb5 and akku.b04 I'm having trouble getting up and running on Windows 7 Pro 64 bit. As per previous thread posts, I've added read/write permission for the REACT directory and also tried downloading the msvcr71.dll to Windows/System32 but I still get the following error when trying to rip FLAC images and MP3 tracks:

"REACT failed to set the correct image filename to the save dialog.

The correct image filename has been copied to the clipboard.

Click OK to close this window, enter the correct filename manually or by pasting it from the clipboard (CTRL+V) and click the save button."

If I click OK then there is only the cover art window left open. It's a while since I ran REACT under XP and I'm trying to remember whether the main EAC window should still be open at this point. Is it just keeling over somewhere which is why REACT is then failing? Despite enabling debug I don't see any log files anywhere.

TIA for any assistance anyone can offer with this problem.

Regards,
David
Title: REACT 2 Released
Post by: Akkurat on 2010-01-02 23:06:51
Quote
trying to remember whether the main EAC window should still be open at this point.

Most definitely yes. It seems that EAC is crashing on your OS. There's lots of discussion regarding this problem (mostly in EAC forum). Here's one (http://www.digital-inn.de/exact-audio-copy-english/39055-fix-windows-7-incompatibilities-bug-report.html), check it out if that helps. Also, it would be wise to try using EAC without REACT and verify that e.g. ripping an image (from the Action menu) works.

Also check my notes about Vista (and Win7) (http://wiki.hydrogenaudio.org/index.php?title=REACT:Mods#Windows_Vista) regarding the user rights.
Title: REACT 2 Released
Post by: Snash on 2010-01-03 19:16:45
Quote
trying to remember whether the main EAC window should still be open at this point.

Most definitely yes. It seems that EAC is crashing on your OS. There's lots of discussion regarding this problem (mostly in EAC forum). Here's one (http://www.digital-inn.de/exact-audio-copy-english/39055-fix-windows-7-incompatibilities-bug-report.html), check it out if that helps. Also, it would be wise to try using EAC without REACT and verify that e.g. ripping an image (from the Action menu) works.

Also check my notes about Vista (and Win7) (http://wiki.hydrogenaudio.org/index.php?title=REACT:Mods#Windows_Vista) regarding the user rights.



I think I have a fix for Win7 - 64bit.

[blockquote]Right click on the icon for EAC (not REACT).

Go to Properties

Click on the Compatibility tab.

Select Run This program in compatibility mode for - Windows XP (Service Pack 3)

Select Disable visual themes.  (this one is the selection that makes it not fail when trying to display Browse Folder dialog)

Select Run this program as an administrator.

Select OK and you should be good to go.[/blockquote]

Title: REACT 2 Released
Post by: David Currie on 2010-01-03 21:13:36
Select OK and you should be good to go.[/indent]

Indeed I was!    Thanks Snash. Only addition was to also set react.exe to "Run this program as an administrator" so that it could call EAC.

Many thanks,
Dave
Title: REACT 2 Released
Post by: Akkurat on 2010-01-04 15:08:58
Good info Snash. Thanks. Can I just confirm from both of you (or from others) that ALL of the following things HAVE to be done in order to run EAC+REACT in Win7? (Vista too?)

- user account they are logged in has read+write permissions for the following folders... (http://wiki.hydrogenaudio.org/index.php?title=REACT:Mods#Windows_Vista) advice
- EAC: Run This program in compatibility mode for - Windows XP (Service Pack 3) *
- EAC: Disable visual themes *
- EAC: Run this program as an administrator *
- react.exe: Run this program as an administrator

* these might change for newer EAC versions in the future.

All required? I'll update the manual once I get verification. Thanks.
Title: REACT 2 Released
Post by: Snash on 2010-01-04 19:58:47
- user account they are logged in has read+write permissions for the following folders... advice - UNSURE - *
- EAC: Run This program in compatibility mode for - Windows XP (Service Pack 3) - NOT REQUIRED
- EAC: Disable visual themes - REQUIRED

- EAC: Run this program as an administrator - NOT REQUIRED FOR ME - *
- react.exe: Run this program as an administrator - NOT REQUIRED FOR ME - *

* - I messed around a lot with my authorities trying to make it work, so I am not sure what the original state of the the computer was.  For these items we need input from others.

I do not have a Vista machine to test on so my input is for Win7 64bit only.
Title: REACT 2 Released
Post by: gsa999 on 2010-01-08 08:52:03
Hi
I am trying to change what is populated into a FLAC file for the album title so it shows in the format

YEAR: ALBUM TITLE

I did this a while back with the MP3 files and it worked fine using

--album $q@year@: $T$q

However I can't get it to work properly on the FLACS. Currently I have

-T album=$q@year@: $#T$q

But this is not working correctly and no flacs are being generated at all

Any ideas what I am doing wrong?
Thanks
Title: REACT 2 Released
Post by: Step666 on 2010-01-10 01:06:30
I've never used REACT before and have a few questions about how I go about getting it set-up to do what I want but I don't want to be 'that guy', asking the same basic questions that have been asked so many times before.
So I was just wondering if someone could point me in the direction of a really basic tutorial or something similar?

I've tried the readme and the wiki but, whilst I kinda understand bits of it, it's just information that I'm unsure how to utilise.

If anyone knows of a suitable guide, then I'd really appreciate it.
Thanks.
Title: REACT 2 Released
Post by: Akkurat on 2010-01-10 15:49:19

Thanks for the input! Others didn't bother. I wrote down your notes and I'll be doing my own tests (when I've time and a copy of Win7/Vista.. anyone got a spare license to donate? ).
Title: REACT 2 Released
Post by: Akkurat on 2010-01-10 15:58:16
-T album=$q@year@: $#T$q

Why the hash char before T? According to ACDIR command line help:
- optional character '#' quotes the value with " for command line
- %q      Double-quotation character, "

P.S. sorry for the late response, had some urgent family matters to tend to (nothing serious). Mailing me privately doesn't speed up the answer process, if I'm busy, I'm busy.
Title: REACT 2 Released
Post by: Johnnymag on 2010-01-10 15:59:11
I've never used REACT before and have a few questions about how I go about getting it set-up to do what I want but I don't want to be 'that guy', asking the same basic questions that have been asked so many times before.
So I was just wondering if someone could point me in the direction of a really basic tutorial or something similar?

I've tried the readme and the wiki but, whilst I kinda understand bits of it, it's just information that I'm unsure how to utilise.

If anyone knows of a suitable guide, then I'd really appreciate it.
Thanks.


Just so you don't feel on your own Step, I'm in exactly the same situation - I previously installed React 2 + Akkurat's Mod but I was only getting WAV files (want FLAC plus MP3 for new rips + cover art +cue sheets for recordings though this not crucial as I could live with buying replacement CD's occasionally) so I de-installed and am just using EAC bare for FLACs (working perfectly if a little slow). I takes a long time to discover it's not worked unless you have any 2 track CDs (I don't!). Have got 700 plus to back up too!!
Having read an awful lot of the posts in the 67 pages and the guides I still don't feel confident to install REACT + akku.b04.
I guess I can be a bit more specific about issues though.

1) Is React 2.0 Akku.b04 ready to roll on installation to produce FLAC and MP3 in diffferent folders with coverart or do I have to delve into the INI file and set the toggles to exactly what I want.
2) Do I have to download any newer components or does Akkurats Mod encapsulate them?
3) Why before did I get the "error 410 Gone" like Qualm and how exactly did he get AlbumArtDownloader XUI Version 0.31 to work (Nov 8th post).

I'm not sure any more reading of the threads will clear up the confusion so I just hope someone will take pity!!

Here's hoping.

Thanks
Johnnymag
Title: REACT 2 Released
Post by: Snash on 2010-01-10 16:26:45

Thanks for the input! Others didn't bother. I wrote down your notes and I'll be doing my own tests (when I've time and a copy of Win7/Vista.. anyone got a spare license to donate? ).


Wow, Akkurat, Thank You for the work you do here.  I was just happy to give back a little.
Title: REACT 2 Released
Post by: Snash on 2010-01-10 16:33:34
I've never used REACT before and have a few questions about how I go about getting it set-up to do what I want but I don't want to be 'that guy', asking the same basic questions that have been asked so many times before.
So I was just wondering if someone could point me in the direction of a really basic tutorial or something similar?

I've tried the readme and the wiki but, whilst I kinda understand bits of it, it's just information that I'm unsure how to utilise.

If anyone knows of a suitable guide, then I'd really appreciate it.
Thanks.


Start out by learning EAC.  REACT runs on top of EAC.  EAC is pretty complicated due to all the settings, but you set it up once, and run with it.  REACT is complex too, but again, you set it up once.

Trying to learn both at the same time is daunting, especially if something isn't working right.

If you already know EAC, then all the info is in the REACT wiki, just try it out and post questions.
Title: REACT 2 Released
Post by: Step666 on 2010-01-10 16:40:33
Start out by learning EAC.  REACT runs on top of EAC.  EAC is pretty complicated due to all the settings, but you set it up once, and run with it.  REACT is complex too, but again, you set it up once.

Trying to learn both at the same time is daunting, especially if something isn't working right.

If you already know EAC, then all the info is in the REACT wiki, just try it out and post questions.


I've been using EAC for a while, a good 2-3 years at least.

I have also, up until recently, been using MAREO but I had terrible problems trying to get it to deal with Various Artists albums and then when I read that REACT supports album artwork as well, I figured it was time for a change.
But, whereas MAREO's ini files are relatively simple, almost intuitive, I just can't grasp what I'm reading about REACT.

Certainly, I'll give things a shot but don't be surprised if I reappear asking some fairly dumb questions.
Title: REACT 2 Released
Post by: Akkurat on 2010-01-10 17:30:35
Step666, Johnnymag,

AFAIK, there's no "tutorial" to REACT.

REACT is not for everybody, it takes a bit (or a lot, depends) of learning and setting up, just like bare EAC. Unfortunately DAE (http://en.wikipedia.org/wiki/Digital_audio_extraction) is not easy, and when you add REACT to the soup with many different external tools/encoders, it's bound to baffle many users. Then again, REACT could be better, though not ready-to-use-out-of-the-box for the common man. The current situation with original REACT2.0 and the mods hinder the progress a bit (I've thought of couple of solutions to this, but nothing to announce yet).. and the fact that I've little time to tinker with REACT.

Here's my attempt of short guide:

I'm open for suggestions to amend this guide.

HTH

EDIT: gramammar

EDIT2: This guide has been copied and upgraded to the Akkurat's mod documentation Wiki page under "Getting started" (http://wiki.hydrogenaudio.org/index.php?title=REACT:Mods#Getting_started) header.
Title: REACT 2 Released
Post by: Step666 on 2010-01-10 17:40:14
REACT is not for everybody, it takes a bit (or a lot, depends) of learning and settings up...

Well, if you know of a simpler way of ripping to multiple formats simultaneously and adding album art, I'm all ears

Thanks for the introduction, I'll try and work my way through it and see how I go.
Title: REACT 2 Released
Post by: Johnnymag on 2010-01-10 23:28:05
[quote name='Akkurat' date='Jan 10 2010, 18:30' post='679076']
Step666, Johnnymag,

"AFAIK, there's no "tutorial" to REACT."

Akkurat,
Just finished manually importing Album Art into ITunes (yeah I know.....) and saw the post - off to bed as its a school day tomorrow but will get down to it tomorrow night.

Many many thanks for taking the time - do you ever sleep btw?

Will make notes to add to the guide if anythin occurs during my travails.

Best

Johnnymag
Title: REACT 2 Released
Post by: Golden-Orb on 2010-01-12 11:41:46
I need some help with ripping a "Various Artists" CD to FLAC.  I'm using React2 with the Akkurat mod and am using the ini and cfg files without any changes.  The EAC option selected is Action/Copy Image & Create Cue Sheet/Compressed.  Everything seems to process okay with the FLAC tracks being set up in the folder My Documents\My Music\EAC\FLAC\Various Artists\Album Title\ and the MP3 tracks being set up in the folder My Documents\My Music\EACMP3\Various Artists\Album Title\.

When these are loaded into my WMP 12 library I note that the FLAC tracks are grouped into a number of albums corresponding to the artists on the CD whereas if I load the mP3 tracks into my library they are all grouped under the Album Title.  There is no problem playing the FLAC tracks.

When the Album tags are displayed using Mp3tag I note that for the MP3 Album the tag "Album Artist" is filled with "Various Artists" whereas "Album Artist" is blank for the FLAC version.

I am assuming that the absence of "Various Artists" from the "Album Artist" tag for the FLAC albums is what is causing the problem for me.  I've got no idea as to whether REACT2, EAC, FLAC or some other process is the culprit.

What setting do I need and where do I need to make it to ensure that my FLAC files get listed under one Album Title by WMP 12?

Standard albums are not causing any problems at all.

FYI I'm running Windows 7 Pro (x64).

This is my first attempt at ripping CDs to FLAC and MP3 - I'm struggling a little with all these rippers, Compressors, Tags, Codecs, etc.

Any help or guidance would be much appreciated.
Title: REACT 2 Released
Post by: Synthetic Soul on 2010-01-12 12:15:08
The default config should definitely add an "album artist" tag to your FLAC files.  Certainly metaflac, Case's Tag, and foobar all report successful tagging.  I'm not familiar with MP3Tag.

I did read (in an old article, mind you) that Media Centre expects "AlbumArtist", so you could try amending the following line in REACT-image.cfg:

Code: [Select]
IF @various@==1 SET VA_tag=-T $qalbum artist=@VA@$q

... to:

Code: [Select]
IF @various@==1 SET VA_tag=-T $qAlbumArtist=@VA@$q

... and see if that helps with WMP12.

NB: Is there any reason why you are ripping to image rather than tracks straight off?  Not that it matters, I suppose.

Edit: OK, after a little Googling, it looks like MP3Tag uses the tag "band" as the Album Artist field.  You can create your own mapping, to map "album artist" to "band", by following the instructions (http://help.mp3tag.de/main_tags.html), and then you'll see the info in the list (Tag: VorbisComment; Source: ALBUM ARTIST; Target: BAND).  Of course, if you do amend the config to use "AlbumArtist" then map that instead.
Title: REACT 2 Released
Post by: Akkurat on 2010-01-12 12:25:33
The EAC option selected is Action/Copy Image & Create Cue Sheet/Compressed.

Before continuing with your problem, do you manually select that? Note that ONLY F4 (track mode) and F10 (image mode) keys should be used when ripping with REACT.

EDIT: Are you using WMP Tag Plus? If so, found something here in HA (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=75123&view=findpost&p=661979) (through google, should always first search HA ). Problem introduced in that post.. read the authors answer (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=75123&view=findpost&p=662202).
Title: REACT 2 Released
Post by: Golden-Orb on 2010-01-13 11:18:54
I did read (in an old article, mind you) that Media Centre expects "AlbumArtist", so you could try amending the following line in REACT-image.cfg:

Code: [Select]
IF @various@==1 SET VA_tag=-T $qalbum artist=@VA@$q

... to:

Code: [Select]
IF @various@==1 SET VA_tag=-T $qAlbumArtist=@VA@$q

... and see if that helps with WMP12.


I read where the author of 'WMP Tag Plus' said that 'WMP Tag Plus' now caters for both "Album Artist" and "AlbumArtist".  Using MP3Tag, I changed the "Album Artist" tag from blank to "Various Artists" for all my FLAC files and WMP12 then saw only one album in the library relating to the particular "Various Artists" CD instead of multiple albums.

While I could use MP3Tag to set the "Album Artist" tag to "Various Artists" for all my FLAC files that I create from "Various Artist" CDs I would prefer to have REACT 2 set the tags for both my FLAC and MP3 files.

Thus this leaves me with my problem that FLAC (I assume) does not fill the "Album Artist" tag with "Various Artists" whereas LAME (I assume) does.  Maybe my problem lies with REACT 2 and its associated ini or cfg files.

With regard to ripping to image rather than tracks I read on a HA forum 'Uploads' by Tycho (16Nov06) that it was preferable to use image mode 'as it may be used for creating both an image and tracks, and is a little more robust. With Nyaochi's excellent ACDIR, it will split the image to tracks while encoding.'
Title: REACT 2 Released
Post by: Synthetic Soul on 2010-01-13 11:36:44
It certainly did with my test.

Looking at the forum thread that Akkurat linked to, it looks like 1.1 will support "ALBUM ARTIST" as well as "ALBUMARTIST".

Do you know if you have 1.0 or 1.1?  The change to support "ALBUM ARTIST" was made in 1.1, according to the changelog.

http://bmproductions.fixnum.org/index.htm?...org/wmptagplus/ (http://bmproductions.fixnum.org/index.htm?http://bmproductions.fixnum.org/wmptagplus/)

It may be interesting to check exactly what tags your FLAC files have - both pre- and post-MP3Tag editing - by using a command line app like metaflac or Tag (http://www.synthetic-soul.co.uk/files/tag_2.0.52.zip).

Code: [Select]
metaflac --list "myflac.flac"

Code: [Select]
tag "myflac.flac"

I'd be very interested to see the results of either of these posted.
Title: REACT 2 Released
Post by: Akkurat on 2010-01-13 11:45:15
About using the "--list", you might want to run just the following, the bare --list lists all info:

Code: [Select]
metaflac.exe --list --block-type=VORBIS_COMMENT "<myfile>.flac"


@Synthetic Soul: Jeez you're fast.

EDIT:

With regard to ripping to image rather than tracks I read on a HA forum 'Uploads' by Tycho (16Nov06) that it was preferable to use image mode 'as it may be used for creating both an image and tracks, and is a little more robust. With Nyaochi's excellent ACDIR, it will split the image to tracks while encoding.'

That is very old information. Try the track mode, you might be surprised how fast it actually is. Also, you might want to put "F9 -> Tools ->  On extraction, start external compressors queued in the background" ON and to 1-2 (for single core CPU) in EAC. IIRC, there was also an old recommendation to use the image mode because track mode couldn't handle enhanced CD's (data track) properly. That has been fixed long time ago.
Title: REACT 2 Released
Post by: Golden-Orb on 2010-01-13 11:56:40
Quote
something here in HA[/url] (through google, should always first search HA ). Problem introduced in that post.. read the authors answer (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=75123&view=findpost&p=662202).


Yes, I'm using WMP Tag Plus and I was aware of the references you mentioned.  I noted that Tim De Baets, the author, stated that 'WMP Tag Plus does support the "album artist" field of FLAC files, but only when it's stored as a Vorbis tag. FLAC files can contain both ID3 and Vorbis tags'.  To be honest, I would not know whether my FLAC files have Vorbis tags or ID3 tags.

Following through on the second reference Tim De Baets indicates that he's modified WMP Tag Plus to cater for both "Album Artist" and AlbumArtist".

As mentioned in my reply to 'Synthetic Soul' when I changed the "Album Artist" tag from blank to "Various Artists" for all my FLAC files (using MP3Tag) WMP 12 happily treated my ripped 'Various Artists' FLAC files as belonging to a single album instead of multi-albums.
Title: REACT 2 Released
Post by: Synthetic Soul on 2010-01-13 11:57:25
FYI: Here's what Tag reports for my two test tracks.  Note the inclusion of the "album artist" tag.

Code: [Select]
C:\Documents and Settings\Neil\My Documents\My Music\Flac\Various Artists\Album
Title>tag *.flac
Tag - Automatic Tag from filename
Copyright © 2002-2003 Case.  Minor additions by Neil Popham, 2004-2007
Version 2.0.53b1, Compiled 2007-05-07

C:\Documents and Settings\Neil\My Documents\My Music\Flac\Various Artists\Album
Title\01 - Track 1 (Artist 1).flac
Format:  FLAC
Details: 44100 Hz Stereo, 1025 kbps, playtime 04:03
Tag:    FLAC
Title:  Track 1
Artist:  Artist 1
Album:  Album Title
Year:    2006
Track:  01/02
Genre:  Synthpop
Comment: XX
album artist=Various Artists
encoded-by=neil
encoding=Flac 1.2.1b -5 -f

C:\Documents and Settings\Neil\My Documents\My Music\Flac\Various Artists\Album
Title\02 - Track 2 (Artist 1).flac
Format:  FLAC
Details: 44100 Hz Stereo, 756 kbps, playtime 02:29
Tag:    FLAC
Title:  Track 2
Artist:  Artist 1
Album:  Album Title
Year:    2006
Track:  02/02
Genre:  Synthpop
Comment: XX
album artist=Various Artists
encoded-by=neil
encoding=Flac 1.2.1b -5 -f
@Akkurat: Yeah, I just thought --list was shorter to write!

Edit: OK, on testing, it seems that MP3Tag writes a BAND tag, as suspected:

Code: [Select]
C:\Documents and Settings\Neil\My Documents\My Music\Flac\Various Artists\Album
Title>tag *.flac
Tag - Automatic Tag from filename
Copyright © 2002-2003 Case.  Minor additions by Neil Popham, 2004-2007
Version 2.0.53b1, Compiled 2007-05-07

C:\Documents and Settings\Neil\My Documents\My Music\Flac\Various Artists\Album
Title\01 - Track 1 (Artist 1).flac
Format:  FLAC
Details: 44100 Hz Stereo, 1025 kbps, playtime 04:03
Tag:    FLAC
Title:  Track 1
Artist:  Artist 1
Album:  Album Title
Year:    2006
Track:  01/02
Genre:  Synthpop
Comment: XX
album artist=Various Artists
encoded-by=neil
encoding=Flac 1.2.1b -5 -f
BAND=Various Artists

C:\Documents and Settings\Neil\My Documents\My Music\Flac\Various Artists\Album
Title\02 - Track 2 (Artist 1).flac
Format:  FLAC
Details: 44100 Hz Stereo, 756 kbps, playtime 02:29
Tag:    FLAC
Title:  Track 2
Artist:  Artist 1
Album:  Album Title
Year:    2006
Track:  02/02
Genre:  Synthpop
Comment: XX
album artist=Various Artists
encoded-by=neil
encoding=Flac 1.2.1b -5 -f
BAND=Various Artists
So, perhaps, if BAND is working for you, you could change the line to:

Code: [Select]
IF @various@==1 SET VA_tag=-T $qBAND=@VA@$q
Title: REACT 2 Released
Post by: Akkurat on 2010-01-13 12:06:51
Quote
Yeah, I just thought --list was shorter to write!

But possibly outputs thousands of lines.. have you ever tried that command with a flac file that has embedded artwork?

@Golden-Orb: I think that, as Synthetic Soul pointed out, you might have an old version of the WMP Tag Plus app. Try updating that first, if the VA tags doesn't work, then report back to the author of that program, and/or amend your REACT config file with the "BAND" as Synthetic Soul advised.
Title: REACT 2 Released
Post by: Golden-Orb on 2010-01-13 12:07:14
Looking at the forum thread that Akkurat linked to, it looks like 1.1 will support "ALBUM ARTIST" as well as "ALBUMARTIST".

Do you know if you have 1.0 or 1.1?  The change to support "ALBUM ARTIST" was made in 1.1, according to the changelog.


I'm using version 1.1.

Quote
Tag[/url].

Code: [Select]
metaflac --list "myflac.flac"

Code: [Select]
tag "myflac.flac"

I'd be very interested to see the results of either of these posted.


Thanks, I'll give that a shot and let you know the results.
Title: REACT 2 Released
Post by: Synthetic Soul on 2010-01-13 12:11:25
But possibly outputs thousands of lines.. have you ever tried that command with a flac file that has embedded artwork?
No, I don't really use FLAC.  Fair enough.

Thanks, I'll give that a shot and let you know the results.
If MP3Tag writing a BAND tag is working for you then I'm 99% sure that this should end in success.  I am a little curious why "ALBUMARTIST" and "ALBUM ARTIST" are reported to work and don't, but "BAND" does, but hey!
Title: REACT 2 Released
Post by: deltadave on 2010-01-24 20:17:11
I just installed REACT 2.0akku.b04 onto the latest EAC and am having problems setting up multi disc sets.  React doesn't seem to find the disc set info.  I've looked at the processing bat files and the totalDiscs and discNumber fields don't seem to be reading from either the react.ini or meta.ini files.  In fact, the meta.ini file is never created automatically.

Any help troubleshooting would be greatly appreciated.

Dave

Edit - Running on Windows 7 32bit.  Had to install in a non standard path to get the program to run at all.  I've changed the ini file to point to the correct places for react tools and eac. everything works fine until I try to do a multi disc set.
Title: REACT 2 Released
Post by: Akkurat on 2010-01-24 22:02:28
deltadave, check this post (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=50273&view=findpost&p=677389).. and the next one after that.

If you find a working combination, let me know.
Title: REACT 2 Released
Post by: deltadave on 2010-01-25 02:59:37
deltadave, check this post (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=50273&view=findpost&p=677389).. and the next one after that.

If you find a working combination, let me know.



I figured it out - combination of logic error in my cfg file and using Alt f5 to start the rip.  Switching to f4 fixed the meta.ini problem and my logic error is now fixed.  All seems to be working.
Title: REACT 2 Released
Post by: brycemc on 2010-01-27 08:05:24
I'm working to get REACT setup for ripping to both flac and mp3, and I think I've about got it.  However, after looking at the replaygains on the same file in flac vs mp3, they seem to be different.  I am using the following options in the REACT.ini:
Code: [Select]
ReplayGain=1
ApplyAlbumGain=1
AdjustAlbumGain_dB=0

From fb2k:

flac file:
Code: [Select]
On the metadata tab:
<REPLAYGAIN_REFERENCE_LOUDNESS> : 89.0 dB

On the properties tab:
Track Gain : -2.76 dB
Track Peak : 0.960754
Album Gain : -4.21 dB
Album Peak : 1.000000

mp3 file:
Code: [Select]
On metadata tab: 
<ENCODING SETTINGS> : LAME 3.98.2 -V2 --noreplaygain --nohist
<MP3GAIN_UNDO> : +003,+003,N

From properties tab:
Track Gain : +1.69 dB
Track Peak : 0.567902
Album Gain : +0.28 dB
Album Peak : 0.608132

Shouldn't they be the same, or am I missing something obvious?  I'm a bit of newb to this stuff.

Thanks,
Bryce
Title: REACT 2 Released
Post by: greynol on 2010-01-27 08:08:50
No, this is correct.  Your mp3 files have had -4.5 dB of gain applied to them while your flac files have been left alone.

If you were to play them back with RG enabled, they will have essentially the same level.  If you undo the gain applied to the mp3 file, the RG values will be essentially the same as the flac files (assuming that those RG values are stored in such a way that mp3gain is aware of them and can change them back, otherwise you will need to rescan).
Title: REACT 2 Released
Post by: brycemc on 2010-01-29 07:36:46
Thanks for the response greynol, I appreciate it.

I think I didn't completely understand the implementations of track/album gain completely when I asked that.

Let me see if I have this straight now:

mp3 files:
Album gain normalizes perceived loudness of an album as close as it can get 89dB in 1.5dB steps, maintaining relative (intra-album) loudness differences.  To do this, it adjusts every mp3 file within an album by the same amount, which will be some positive or negative multiple of 1.5dB, by adjusting the per-frame gain values within the mp3 file. 

It then stores the mp3gain undo info in the tag (I'd guess it looks like +3, +3, N due to it having something to raising the per frame gain value by 3 bits *1.5dB/bit making it original again?).  It also stores the "remainder" of the album gain in the tag to get it exactly to 89dB if playing it in a player that can read those tags, as well as storing the track replay gain.


flac files:
Both album and track gains are stored as exact values in the tag for fb2k to use for playback.

---
Assuming I've got it right, one more question: If I rip in image mode for the flacs, where do album gain and track gain get stored?  I assume album gain can go in the tag structure somewhere, but does trackgain info get stored at all?  I guess it doesn't really matter though, since I don't think you can randomize tracks when inside an image in fb2k(?)

----
Finally, is there a "best" cuesheet type if I chose to rip flacs in image mode, with the intent to be able to burn bit-perfect copies, as well as play back nicely in fb2k?  I had everything setup to do flac and mp3 tracks, but I think I'd rather have flac images and mp3 tracks.


Thanks,
Bryce
Title: REACT 2 Released
Post by: Akkurat on 2010-01-29 08:31:16
If I rip in image mode for the flacs ... does trackgain info get stored at all?

No.

Finally, is there a "best" cuesheet type if I chose to rip flacs in image mode

Cuesheet is automatically created for images, you don't have to use the "CreateCuesheet=" INI setting.

About RG: a bit wrong topic for this.. anyways, I think that you got it right (I'm not into the technical side of it), greynol (or somebody else) can verify this.
Title: REACT 2 Released
Post by: brycemc on 2010-01-30 22:49:22
If I rip in image mode for the flacs ... does trackgain info get stored at all?
No.

Finally, is there a "best" cuesheet type if I chose to rip flacs in image mode
Cuesheet is automatically created for images, you don't have to use the "CreateCuesheet=" INI setting.

About RG: a bit wrong topic for this.. anyways, I think that you got it right (I'm not into the technical side of it), greynol (or somebody else) can verify this.

Thanks Akkurat, and thanks a ton for all your hard work on the mod and answering all the questions us newbies ask .

Sorry for drifting off topic a bit. 

Couple more quick questions:

1) The EAC extended info (like if I click database -> disc info - > extended) is just for the EAC database correct?  Is there anyway to get this info into the tagging or the .cue easily?

2) I'd like to rename the logfile to something other than EAClog.txt, so that Cuetools can find it...would replacing the "EAClog.txt" in the config with something like "$cdartist$ - $album$.log" work?  I'm not sure where various varibiles are defined yet.  It seems like this might work, so I tried it and am ripping a disc right now to see if it does. I just did this and it seems to have worked perfectly, so I think I've got it .

Thanks again!
Title: REACT 2 Released
Post by: Akkurat on 2010-01-31 00:23:17
The EAC extended info (like if I click database -> disc info - > extended) is just for the EAC database correct?  Is there anyway to get this info into the tagging or the .cue easily?
No. What info is there? Sometimes a YEAR info, very rarely EAN/UPC and/or cat#. It varies and most of the time it's information that is already present (year) or nothing at all.. IME. It's in Freedb and it's submitted by various users = no conformity. Hard to rely on that.. sure you could automate that to tags/cue somehow but there's no point IMHO.

If you want extra info, learn to use the "additional metadata dialog/system (http://wiki.hydrogenaudio.org/index.php?title=REACT:Mods#Synthetic_Soul.27s_Mod)". In example, I use the following add. metadata (taken from the INI):

Code: [Select]
[DefaultMetaData]
discnumber=1
totaldiscs=1
discname=
barcode=
catnum=
madein=
value=
trackcomment[1]=
trackcomment[2]=
trackcomment[3]=
trackcomment[4]=
trackcomment[5]=
trackcomment[6]=
trackcomment[7]=
trackcomment[8]=
trackcomment[9]=
trackcomment[10]=
trackcomment[11]=
trackcomment[12]=
trackcomment[13]=
trackcomment[14]=
trackcomment[15]=
trackcomment[16]=
trackcomment[17]=
trackcomment[18]=
trackcomment[19]=
trackcomment[20]=
I always enter values to "barcode, catnum, madein & value" when ripping, others if needed. Remember that those "track tokens" require a bit of extra knowledge how to amend the configs (=batch programming). E.g. in order to avoid tagging values with tag names (e.g. you might get trackcomment=@trackcomment@ (tag name=tag value)). Here's an example how to avoid that.. from my custom track config:

Code: [Select]
REM ** Check that "literal" trackcomment tokens are not written to tags.
REM ** This could happen if there's more tracks than defined in INI DefaultMetaData settings,
REM ** e.g. 20 trackcomments in INI, CD has 25 tracks = last 5 tracks would have "@trackcomment@" strings in tags.
SET trackcomment=trackcomment
REM ** REACT token substitution workaround.
SET trackcomment=@%trackcomment%@
IF "@trackcomment@" EQU "%trackcomment%" (
SET trackcomment=""
) ELSE (
SET trackcomment="@trackcomment@"
)
(and then use %trackcomment% variable..)


When it comes to metadata for tagging music, any metadata, coming from anywhere, you really can't trust it (if you want it to be 100% perfect/the way you want it). So, if you are hellbent to get perfect metadata, especially additional, you have to enter it manually. Using e.g. freedb as a helper, as in: get data, check it and amend if needed (+ enter any add. data from scratch).

EDIT: P.S. no need to quote when answering to previous post. Also, avoid full quotes, especially long quotes. Welcome to HA btw, I hope you enjoy the ride
Title: REACT 2 Released
Post by: brycemc on 2010-02-01 05:58:49
Thanks again . 

I was attempting to use that extended dialog to type my own comments in with the expectation of getting them into the tags somehow.  I'll see what I can manage with the additional metadata system...I'd been aware of it's existence, but hadn't tried to use it yet; somehow I'd missed that section of the wiki despite reading the top half of that page at least a few times.  I want to add things like performer info for mixed classical cds, BWV and the like, maybe other info on a per track basis, as well as specific release disc info for some of my rarer releases. 

Now to read up on flac tagging and the scripting to make it work

Thanks a ton!

-Bryce
Title: REACT 2 Released
Post by: ElephantTLK on 2010-02-23 19:28:32
Why do i get TWO albums ripped in ONE folder? This only happens in FLAC image folder. Mp3 folder is empty? Only cover art inside.

Example:

First i ripped Romantic Warrior. It was ok.

G:\Music\FLAC\Return to Forever\Romantic Warrior
G:\Music\MP3\Return to Forever\Romantic Warrior

But then i ripped disc1 of Anthology of RTF.

And whole image and cuesheet was ripped to the SAME directory (Romantic Warrior disc).

Mp3 folder is EMPTY. Only cover art is inside.

(http://www.shrani.si/t/o/Bc/2RomxXoS/mp3.jpg) (http://www.shrani.si/?o/Bc/2RomxXoS/mp3.jpg)

(http://www.shrani.si/t/3z/PH/QyN141m/flac.jpg) (http://www.shrani.si/?3z/PH/QyN141m/flac.jpg)

WHY?


Title: REACT 2 Released
Post by: Akkurat on 2010-02-27 06:08:49
Sorry for the late reply.

I've no idea what is going on. Hard to tell only from looking at the end result. Could it be related to your old problem here (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=50273&view=findpost&p=629899)? I see from your post history that you've had too many problems with/setting up REACT, sorry to see that.

1) Does this happen every time with the same disc?
2) I see that you're ripping/encoding straight to external HD, could that be the cause? (I doubt it but..)
3) Have you changed REACT/Win settings lately? And have you ever amended REACT config files yourself?
4) Can you reproduce this? (steps) Also put DebugMode and Debug to 1 and try to check out the output of the console window if there's errors or any oddness while encoding. Paste the contents of the debugging.txt from REACT folder here.

EDIT: It seems that the "Anthology" disc was ripped to wav only, with no encoding/etc. done after that. Also, is the "folder.jpg" in the "music" folder or in the "Anthology" subfolder? Hard to tell from that 1st picture. Anyways, try again and see if you can reproduce it with steps.

EDIT2: Does it work if you don't use the "discnumber/totaldiscs" additional metadata feature?
Title: REACT 2 Released
Post by: ElephantTLK on 2010-02-27 14:49:24
Sorry for the late reply.

I've no idea what is going on. Hard to tell only from looking at the end result. Could it be related to your old problem here (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=50273&view=findpost&p=629899)? I see from your post history that you've had too many problems with/setting up REACT, sorry to see that.

1) Does this happen every time with the same disc?
2) I see that you're ripping/encoding straight to external HD, could that be the cause? (I doubt it but..)
3) Have you changed REACT/Win settings lately? And have you ever amended REACT config files yourself?
4) Can you reproduce this? (steps) Also put DebugMode and Debug to 1 and try to check out the output of the console window if there's errors or any oddness while encoding. Paste the contents of the debugging.txt from REACT folder here.

EDIT: It seems that the "Anthology" disc was ripped to wav only, with no encoding/etc. done after that. Also, is the "folder.jpg" in the "music" folder or in the "Anthology" subfolder? Hard to tell from that 1st picture. Anyways, try again and see if you can reproduce it with steps.

EDIT2: Does it work if you don't use the "discnumber/totaldiscs" additional metadata feature?



Its internal hard drive.

I reinstalled operating system and configured REACT again.
Yes every time with same disc

I also tried to leave all setting default and it was not better.

I will try without disc number. Why?

My os is Win 7 64bit. I have too many problems with REACT. I dont know why...
Title: REACT 2 Released
Post by: ElephantTLK on 2010-02-28 10:33:36
Now i really dont know what is with REACT. Yesterday i reinstalled EAC, REACT, Albumartdownloader and configured everything again. And copied from my backup REACT.ini and only changed path to my music directory...
Now everything WORKS. WTF?
Title: REACT 2 Released
Post by: Akkurat on 2010-02-28 21:07:09
Maybe it's not REACT?  Anyways, good to hear that everything works again.
Title: REACT 2 Released
Post by: Step666 on 2010-03-17 21:48:25
I don't like the idea of asking this but can someone tell me how to make REACT do this (http://www.hydrogenaudio.org/forums/index.php?showtopic=79515)?

My gut reaction is that REACT is not for me as I cannot make head nor tail of it but since the only alternative anyone can suggest needs me to pay $36 to get the full use of it, I figured I may as well have one last shot at this before giving up.
Title: REACT 2 Released
Post by: Akkurat on 2010-03-17 23:05:19
Quote
I don't like the idea of asking this but can someone tell me how to make REACT do this?

Like greynol told you in the other topic, definitely yes.

This might not be what you want to hear but given that my past effort at a small guide (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=50273&view=findpost&p=679076) to get you started didn't yield any results, REACT might just be too difficult for you... though I disagree about your definition of it being a "learning brick wall", many users have learned to use it, some on their own, some with help (of course there's the ones that give up without posting here though).

What is it that goes wrong with REACT? You saying that it just doesn't work doesn't leave much room for helping you out. Check the guide and then come back with detailed steps of what you do when something goes wrong. Ok?
Title: REACT 2 Released
Post by: Akkurat on 2010-03-17 23:11:12
Forgot to add: include your INI file contents in CODEBOX tags if/when you report problems.
Title: REACT 2 Released
Post by: Step666 on 2010-03-17 23:13:36
You're right, it may just be too difficult for me, in which case I would say my 'brick wall' analogy is correct - not necessarily for everyone, quite possibly just for me.

I did try following your guide previously, with minimal success.
Unfortunately I haven't had enough free time in a single block to be able to dedicate to this, I've just been going back to it on and off over time, which can't have helped.

I'm going to start following the guide from scratch again and see if I can make a better go of it but if past form is anything to go by then I may be destined for failure.
Title: REACT 2 Released
Post by: Akkurat on 2010-03-17 23:20:49
Quote
I'm going to start following the guide from scratch again and see if I can make a better go of it but if past form is anything to go by then I may be destined for failure

Don't say that, think positive.

I had an idea: maybe you could just follow the guide and do not do anything else before trying to rip with "vanilla" settings. Start easy.. it's easier to decipher what might be wrong if you haven't fiddled with the INI yet. Baby steps (from which movie by the way?) to successful REACT ripping.

EDIT: added quote because of page break. I'm off to bed, good luck.. don't flood the topic while I'm off dreaming about perfect ripping.
Title: REACT 2 Released
Post by: Step666 on 2010-03-17 23:41:18
Ok, in the spirit of starting out small, I've followed steps 1-3 in the guide and am skipping step 4 because that's all about customisation.

First time I run EAC/REACT, I get the following message on startup:

Code: [Select]
---------------------------
REACT v2.0.akku.b04
---------------------------
EAC naming schemes must start with '%D -' and not contain '\'

Please, press Ctrl-F2 to configure EAC for use with REACT.
---------------------------
OK  
---------------------------

Followed immediately by:

Code: [Select]
---------------------------
REACT v2.0.akku.b04
---------------------------
EAC must use 'Use this directory' setting for REACT to work.

Please, press Ctrl-F2 to configure EAC for use with REACT.
---------------------------
OK  
---------------------------

Then:

Code: [Select]
---------------------------
REACT v2.0.akku.b04
---------------------------
Couldn't start C:\Program Files\Exact Audio Copy\EAC.exe
---------------------------
OK  
---------------------------



Trying to stay positive but that was not the most reassuring of starts...

So I can at least work out that I need to change some settings but, let me get this straight, these aren't the ones in the REACT.ini file, right?
I also tried running EAC without REACT and Ctrl+F2 does nothing.

I'm sorry for the clueless questions, I'm just feeling completely lost just now.
Title: REACT 2 Released
Post by: Akkurat on 2010-03-18 00:02:26
Dang, I should have gone straight to bed, was tempted to catch up news topics, well, I saw your post and I can make a quick answer, after this you'll have to wait until (fairly) late tomorrow.

It seems that you have EAC installed but not in "C:\Program Files\Exact Audio Copy\" folder? If that's the case you have to tell REACT where EAC is if it's not in the default install folder; amend the "EAC" setting under [Settings] section in the INI file and try running again. The Ctrl-F2 is a REACT shortcut, not EAC, so obviously it does nothing when REACT is not running. Hope this gets you going a bit further.
Title: REACT 2 Released
Post by: deltadave on 2010-03-18 00:09:34
Dang, I should have gone straight to bed, was tempted to catch up news topics, well, I saw your post and I can make a quick answer, after this you'll have to wait until (fairly) late tomorrow.

It seems that you have EAC installed but not in "C:\Program Files\Exact Audio Copy\" folder? If that's the case you have to tell REACT where EAC is if it's not in the default install folder; amend the "EAC" setting under [Settings] section in the INI file and try running again. The Ctrl-F2 is a REACT shortcut, not EAC, so obviously it does nothing when REACT is not running. Hope this gets you going a bit further.


I've also found, when using Windows 7, that installing EAC and REACT in the Program Files directory doesn't work.  So instead I install it into my user directory. Modify the ini file to point at the new install directory and off you go.
Title: REACT 2 Released
Post by: Step666 on 2010-03-18 00:44:19
I'm using XP x64, which is why it wasn't picking up right - so it was in the "Program Files (x86)" folder instead.

So I adjusted the ini file, got REACT running, pressed F4, waited an age for it to detect gaps (I'll work out how to kill that bit later) then got this message:

Code: [Select]
---------------------------
REACT v2.0.akku.b04
---------------------------
Unable to move cuesheet. File does not exist. Canceling will abort the rip.
---------------------------
Retry   Cancel  
---------------------------


I'm a little confused (ok, I admit it, more than a little - try bewildered) because I've checked and the 'CreateCuesheet= ' line in the ini file is left blank, as per the instructions here (http://wiki.hydrogenaudio.org/index.php?title=REACT:Mods#.5BSettings.5D_CreateCuesheet)
Title: REACT 2 Released
Post by: Synthetic Soul on 2010-03-18 09:55:32
I'm a little confused ([!--sizeo:1--][span style=\"font-size:8pt;line-height:100%\"][!--/sizeo--]ok, I admit it, more than a little - try bewildered[/size]) because I've checked and the 'CreateCuesheet= ' line in the ini file is left blank, as per the instructions here (http://wiki.hydrogenaudio.org/index.php?title=REACT:Mods#.5BSettings.5D_CreateCuesheet)
Yeah, I can see how you have become frustrated with REACT.  However, just remember that this only needs to be done once.

Even though you do not require a cue sheet, REACT does,  to determine the correct number of audio tracks (in order to know when ripping has completed).  Unfortunately I cannot suggest why this has happened, but hopefully Akkurat has seen this numerous times and can pinpoint it immediately.

Akkurat's suggestion to start with the vanilla settings is a good one; however as I feel partly responsible for bringing you to this thread I thought I'd try to help out and post an updated INI for you, which I believe fits your requirements.  Please don't replace your current INI with this one until you are up and running still.  While you're waiting for a more useful response you may want to just double check the lines that I have changed.

Code: [Select]
[Settings]
Version=2.0.akku.b04
ImageExt=wav
ImageNaming=$artist$ - [$year$] $album$
ImageHotKey={F10}
TracksHotKey={F4}
TracksHotVal=+{F5}
VA=Various Artists
CreateCuesheet=
RunCoverDownloader=1
CoverDownloader=C:\Program Files (x86)\REACT2\coverdownloader\albumart.exe
CoverDownloaderXUI=1
CoverDownloaderLocalPath=
OpenAddMetaDataDiag=0
EAC=C:\Program Files (x86)\Exact Audio Copy\EAC.exe
Tools=C:\Program Files (x86)\REACT2\tools
MinimizeCompressionWindow=1
ProcessPriority=1
Sla_Bks_Col_Qst_Bar_Quo_Ast_Lt_Gt=-|-|-||!|'|#|[|]
Test=0

[UserTrackFormats]
Flac=1
Wavpack=0
LameMP3=1
NeroAac=0
iTunesAac=0
OggEnc2=0
Tak=0

[UserOutputNames]
OutRoot=E:\
ImageDir_Flac=@OutRoot@\FLAC-images\$cdartist$
ImageDir_Wavpack=@OutRoot@\WV-images\$cdartist$
ImageDir_MP3=@OutRoot@\MP3-images\$cdartist$
ImageDir_Tak=@OutRoot@\TAK-images\$cdartist$
TrackDir_Flac=@OutRoot@\$cdartist$\$album$
TrackDir_Wavpack=@OutRoot@\WV\$cdartist$\[$year$] $album$
TrackDir_MP3=@OutRoot@\Mp3\$cdartist$\$album$
TrackDir_AAC=@OutRoot@\AAC\$cdartist$\[$year$] $album$
TrackDir_OGG=@OutRoot@\OGG\$cdartist$\[$year$] $album$
TrackDir_Tak=@OutRoot@\TAK\$cdartist$\[$year$] $album$
TrackName_SA=$artist$ - $title$
TrackName_VA=$artist$ - $title$
TrackName_SA_acdir=$~a - $~t
TrackName_VA_acdir=$~a - $~t

[UserSettings]
DebugMode=0
Debug=0
Comment=Created with EAC/@reactversion@, @curdate@
EmbedCover=1
ReplayGain=1
ApplyAlbumGain=1
AdjustAlbumGain_dB=+3.0
AddCuesheetAG=0
UseWaveGainAG=0
Opt_Flac=-5 -f
Opt_Wavpack=-hmy
Opt_LameMP3=-V5 --noreplaygain --nohist
Opt_NeroAac=-lc -q 0.21
Opt_iTunesAac=-d -s 2000
Opt_OggEnc2=-q 3.0
Opt_Tak=-pN -overwrite
Ver_Flac=1.2.1b
Ver_Wavpack=4.40
Ver_LameMP3=3.98.2
Ver_NeroAac=1.0.0.2
Ver_OggEnc2=2.83 Lancer aoTuV b5
Ver_Tak=1.0.1

[DefaultMetaData]
discnumber=1
totaldiscs=1
discname=

Also, some good news: it seems that REACT will embed cover art as part of the core code (been there since year dot and I just didn't remember).  So, your requirements really are very simple, and the new INI should do all you want.  If only we can get REACT running smoothly for you.
Title: REACT 2 Released
Post by: Akkurat on 2010-03-18 18:13:19
So I adjusted the ini file, got REACT running, pressed F4, waited an age for it to detect gaps

So EAC gap detection dialog pops up but "hangs"? Maybe we should back up a bit and make sure that EAC works ok with your drive. Open just EAC, push F10 and select "Gap Detection" tab. Set accuracy to secure and test all detection methods A-C (= select method, save settings, try to create a cuesheet (action menu->create cuesheet (any)). If the cuesheet generation goes well, a cue file should appear in your "my music"\EAC folder. One of the 3 methods should work. In the end select the fastest. If none of them work, try lowering the accuracy in "Gap Detection" tab and go through all the methods again. Hopefully this gets us further. We can do this.

---

Thanks Synthetic Soul for your help.
Title: REACT 2 Released
Post by: Step666 on 2010-03-19 01:04:22
No, sorry, I wasn't very clear. The gap detection doesn't hang, it's just really slow.
EAC definitely work with my drive as I've used it before both on it's own and with MAREO.

Do I have to have gap detection at all?
I've never used it before and never had any issues, so can I not just disable it entirely?
Title: REACT 2 Released
Post by: greynol on 2010-03-19 01:09:49
REACT apparently uses a CUE sheet in order to determine the total number of tracks (I'm guessing this is because the information cannot be reliably obtained from the log file in the case of a disc with a data track).  A CUE sheet cannot be created without EAC performing gap detection.  So your best fastest solution is to configure the detection accuracy to inaccurate and choose the method that works the fastest (probably A or B assuming neither hang).

EDIT: I cannot understand why you think this is over your head.

Fact: REACT needs a CUE sheet from EAC
Fact: Creating a CUE sheet in EAC requires gap detection

Logical deduction dictates that REACT requires gap detection.
Title: REACT 2 Released
Post by: Step666 on 2010-03-19 01:13:13
The faint whooshing noise was most of that going over my head...
But, never fear, I don't need to understand, just follow the instructions!

I'll try the gap detection options and see if I have any luck.


edit: ok, nothing's happening.
Doesn't seem to matter what combination of detection methods and accuracy I choose or which type of cuesheet I try and create, nothing whatsoever is being produced.
Title: REACT 2 Released
Post by: Bill02888 on 2010-03-19 02:32:58
Baby steps (from which movie by the way?) to successful REACT ripping.

Contact. I saw it during its run at the theaters. About half way through the intro (zooming away from Earth) the audience started to giggle and burst into spontaneous laughter; an odd but fitting response I think.
Title: REACT 2 Released
Post by: Akkurat on 2010-03-20 01:29:46
Doesn't seem to matter what combination of detection methods and accuracy I choose or which type of cuesheet I try and create, nothing whatsoever is being produced.

Really? Hmm, let's double check that this is true. Open EAC, push F9, goto "Directories" tab, take note of the folder (or copy it) set in the "use this directory", open either Windows Explorer or "My computer", navigate to the folder you got from EAC. Then delete all *.cue files you find there (if any), now goto EAC and try to create a cuesheet again. Does a cue file pop up in that folder you have open?

If you want to use REACT, this (gap detection&/cue sheet generation) has to work as others have already pointed out.

Baby steps (from which movie by the way?)

Contact.

Contact?! I've seen it several times and can't connect "baby steps" and it together.  To end the OT, here's the movie trivia answer: Bill Murray in "What About Bob?". For some reason I found the quote quite fitting here. [/size]
Title: REACT 2 Released
Post by: Step666 on 2010-03-20 01:38:06
Ok, that's the root of the problem - in the 'Use this directory' box, there was just "\", no folder selected.
I've set it to C:\Temp which is my preferred directory for dumping files that I'm unlikely to need for long and now it works, I have a cue sheet!

I've closed vanilla EAC, opened up REACT again, pressed F4 and it's now ripping.


edit: so I now have 12 wav files, 12 bat files and a log.
Title: REACT 2 Released
Post by: Akkurat on 2010-03-20 01:50:48
Aha! But I wonder why there was a backslash. Did you configure REACT (Ctrl-F2) after you corrected the EAC path to the REACT.ini file? Can you try it again? After configuring, the "Use this directory" path should point to your "my music" directory.
Title: REACT 2 Released
Post by: Step666 on 2010-03-20 01:53:22
Yeah, I did configure it.

I have just re-configured it and it is now ripping to my My Music folder.
Title: REACT 2 Released
Post by: Akkurat on 2010-03-20 02:03:44
So, is it working now? Or do you still end up with only wavs, bats? Did you already start using the INI Synthetic Soul posted?
Title: REACT 2 Released
Post by: Step666 on 2010-03-20 02:06:55
Still just getting bats, wavs and a log.

No, I haven't done anything to the ini to the best of my knowledge apart from adjust the EAC.exe path.
Here's the contents of the file:

Code: [Select]
[Settings]
Version=2.0.akku.b04
ImageExt=wav
ImageNaming=$artist$ - [$year$] $album$
ImageHotKey={F10}
TracksHotKey={F4}
TracksHotVal=+{F5}
VA=Various Artists
CreateCuesheet=
RunCoverDownloader=1
CoverDownloader=C:\Program Files\REACT2\coverdownloader\albumart.exe
CoverDownloaderXUI=1
CoverDownloaderLocalPath=
OpenAddMetaDataDiag=0
EAC=C:\Program Files (x86)\Exact Audio Copy\EAC.exe
Tools=C:\Program Files\REACT2\tools
MinimizeCompressionWindow=1
ProcessPriority=1
Sla_Bks_Col_Qst_Bar_Quo_Ast_Lt_Gt=-|-|-||!|'|#|[|]
Test=0

[UserTrackFormats]
Flac=1
Wavpack=0
LameMP3=1
NeroAac=0
iTunesAac=0
OggEnc2=0
Tak=0

[UserOutputNames]
OutRoot=@mymusic@\EAC
ImageDir_Flac=@OutRoot@\FLAC-images\$cdartist$
ImageDir_Wavpack=@OutRoot@\WV-images\$cdartist$
ImageDir_MP3=@OutRoot@\MP3-images\$cdartist$
ImageDir_Tak=@OutRoot@\TAK-images\$cdartist$
TrackDir_Flac=@OutRoot@\FLAC\$cdartist$\[$year$] $album$
TrackDir_Wavpack=@OutRoot@\WV\$cdartist$\[$year$] $album$
TrackDir_MP3=@OutRoot@\MP3\$cdartist$\[$year$] $album$
TrackDir_AAC=@OutRoot@\AAC\$cdartist$\[$year$] $album$
TrackDir_OGG=@OutRoot@\OGG\$cdartist$\[$year$] $album$
TrackDir_Tak=@OutRoot@\TAK\$cdartist$\[$year$] $album$
TrackName_SA=$track$ - $title$
TrackName_VA=$track$ - $title$ [$artist$]
TrackName_SA_acdir=$n - $~t
TrackName_VA_acdir=$n - $~t [$~a]

[UserSettings]
DebugMode=0
Debug=0
Comment=Created with EAC/@reactversion@, @curdate@
EmbedCover=1
ReplayGain=1
ApplyAlbumGain=1
AdjustAlbumGain_dB=+3.0
AddCuesheetAG=0
UseWaveGainAG=0
Opt_Flac=-5 -f
Opt_Wavpack=-hmy
Opt_LameMP3=-V5 --noreplaygain --nohist
Opt_NeroAac=-lc -q 0.21
Opt_iTunesAac=-d -s 2000
Opt_OggEnc2=-q 3.0
Opt_Tak=-pN -overwrite
Ver_Flac=1.2.1b
Ver_Wavpack=4.40
Ver_LameMP3=3.98.2
Ver_NeroAac=1.0.0.2
Ver_OggEnc2=2.83 Lancer aoTuV b5
Ver_Tak=1.0.1

[DefaultMetaData]
discnumber=1
totaldiscs=1
discname=


I don't think I've changed anything...
Title: REACT 2 Released
Post by: Akkurat on 2010-03-20 02:31:13
Oh dear , is REACT installed in "C:\Program Files\REACT2\" folder? If not, you've to edit "CoverDownloader" and "Tools" INI settings to point to the correct folder.. is it under "C:\Program Files (x86)"?

Still, the bats should have been deleted anyways.. I'm bit lost what is it this time. If the folder corrections don't make it work, change "DebugMode" setting to 1 and try to rip. Then post the contents of a "debugging.txt" file (found in REACT folder) and one of the bat file contents here in codebox tags. It seems that we have to debug everything.

P.S. change the CODE tags to CODEBOX tags with long listings.

EDIT: Do you see a cmd line console window pop up after a track is ripped in EAC? (the window is minimized initially) Does it do anything, i.e. is there any text in it, or does it just close right after it opens?
Title: REACT 2 Released
Post by: Step666 on 2010-03-20 03:02:44
Ok, so I adjusted the two folder paths in the ini and now it looks like this:

Code: [Select]
[Settings]
Version=2.0.akku.b04
ImageExt=wav
ImageNaming=$artist$ - [$year$] $album$
ImageHotKey={F10}
TracksHotKey={F4}
TracksHotVal=+{F5}
VA=Various Artists
CreateCuesheet=
RunCoverDownloader=1
CoverDownloader=C:\Program Files (x86)\Exact Audio Copy\REACT\coverdownloader\albumart.exe
CoverDownloaderXUI=1
CoverDownloaderLocalPath=
OpenAddMetaDataDiag=0
EAC=C:\Program Files (x86)\Exact Audio Copy\EAC.exe
Tools=C:\Program Files (x86)\Exact Audio Copy\REACT\tools
MinimizeCompressionWindow=1
ProcessPriority=1
Sla_Bks_Col_Qst_Bar_Quo_Ast_Lt_Gt=-|-|-||!|'|#|[|]
Test=0

[UserTrackFormats]
Flac=1
Wavpack=0
LameMP3=1
NeroAac=0
iTunesAac=0
OggEnc2=0
Tak=0

[UserOutputNames]
OutRoot=@mymusic@\EAC
ImageDir_Flac=@OutRoot@\FLAC-images\$cdartist$
ImageDir_Wavpack=@OutRoot@\WV-images\$cdartist$
ImageDir_MP3=@OutRoot@\MP3-images\$cdartist$
ImageDir_Tak=@OutRoot@\TAK-images\$cdartist$
TrackDir_Flac=@OutRoot@\FLAC\$cdartist$\[$year$] $album$
TrackDir_Wavpack=@OutRoot@\WV\$cdartist$\[$year$] $album$
TrackDir_MP3=@OutRoot@\MP3\$cdartist$\[$year$] $album$
TrackDir_AAC=@OutRoot@\AAC\$cdartist$\[$year$] $album$
TrackDir_OGG=@OutRoot@\OGG\$cdartist$\[$year$] $album$
TrackDir_Tak=@OutRoot@\TAK\$cdartist$\[$year$] $album$
TrackName_SA=$track$ - $title$
TrackName_VA=$track$ - $title$ [$artist$]
TrackName_SA_acdir=$n - $~t
TrackName_VA_acdir=$n - $~t [$~a]

[UserSettings]
DebugMode=1
Debug=0
Comment=Created with EAC/@reactversion@, @curdate@
EmbedCover=1
ReplayGain=1
ApplyAlbumGain=1
AdjustAlbumGain_dB=+3.0
AddCuesheetAG=0
UseWaveGainAG=0
Opt_Flac=-5 -f
Opt_Wavpack=-hmy
Opt_LameMP3=-V5 --noreplaygain --nohist
Opt_NeroAac=-lc -q 0.21
Opt_iTunesAac=-d -s 2000
Opt_OggEnc2=-q 3.0
Opt_Tak=-pN -overwrite
Ver_Flac=1.2.1b
Ver_Wavpack=4.40
Ver_LameMP3=3.98.2
Ver_NeroAac=1.0.0.2
Ver_OggEnc2=2.83 Lancer aoTuV b5
Ver_Tak=1.0.1

[DefaultMetaData]
discnumber=1
totaldiscs=1
discname=
I also ran it in debugging mode because I'm still not having any luck.
Here's the debugging file:

Code: [Select]
2010-03-20 02:52:19  Version: 2.0.akku.b04
2010-03-20 02:52:19  INI version: 2.0.akku.b04
2010-03-20 02:52:19  FileNamingConvention: %D - %C - %N - %T
2010-03-20 02:52:19  VariousFileNamingConvention: %D - %C - %N - %T (%A)
2010-03-20 02:52:22  EAC handle: 0x007203C6

2010-03-20 02:52:24  CoverDownloader command: "C:\Program Files (x86)\Exact Audio Copy\REACT\coverdownloader\albumart.exe" /artist "Mumford & Sons" /album "Sigh No More" /path "C:\Documents and Settings\Administrator\My Documents\My Music\Sigh No More.%extension%" /autoclose
2010-03-20 02:52:58  Creating a cuesheet to glean information
2010-03-20 02:52:58  Waiting for the Gap Detection 'Analyzing' window to disappear
2010-03-20 02:52:59  Waiting for the Gap Detection 'Analyzing' window to disappear
2010-03-20 02:53:00  Waiting for the Gap Detection 'Analyzing' window to disappear
2010-03-20 02:53:02  Waiting for the Gap Detection 'Analyzing' window to disappear
2010-03-20 02:53:04  Waiting for the Gap Detection 'Analyzing' window to disappear
2010-03-20 02:53:06  Waiting for the Gap Detection 'Analyzing' window to disappear
2010-03-20 02:53:09  Waiting for the Gap Detection 'Analyzing' window to disappear
2010-03-20 02:53:11  Waiting for the Gap Detection 'Analyzing' window to disappear
2010-03-20 02:53:13  Waiting for the Gap Detection 'Analyzing' window to disappear
2010-03-20 02:53:15  Waiting for the Gap Detection 'Analyzing' window to disappear
2010-03-20 02:53:17  Waiting for the Gap Detection 'Analyzing' window to disappear
2010-03-20 02:53:20  Waiting for the Gap Detection 'Analyzing' window to disappear
2010-03-20 02:53:22  Waiting for the Gap Detection 'Analyzing' window to disappear
2010-03-20 02:53:24  Waiting for the Gap Detection 'Analyzing' window to disappear
2010-03-20 02:53:25  Cuesheet 'C:\Documents and Settings\Administrator\My Documents\My Music\Sigh No More.CUE' moved to 'C:\Documents and Settings\Administrator\My Documents\My Music\REACT.cue'

2010-03-20 02:53:25  Copy Tracks Beginning...

2010-03-20 02:53:25  - END - TracksCopyCompressed -


2010-03-20 02:53:49  - START - Track: 1 -

2010-03-20 02:53:49  Various artist: No
2010-03-20 02:53:49  Rip mode: Tracks
2010-03-20 02:53:49  Command line: REACT "Mumford & Sons - Sigh No More - 01 - Sigh No More.wav" "Mtmp1!542.wav" "Mtmp1!542.eac" "Mumford & Sons" "Sigh No More" "Sigh No More" "01" "12" "2009" "Folk" "Track 1" "A10B690C" "88B7BB16" 128
2010-03-20 02:53:49  Source directory: C:\Documents and Settings\Administrator\My Documents\My Music
2010-03-20 02:53:49  Base name: Mumford & Sons - Sigh No More - 01 - Sigh No More
2010-03-20 02:53:49  Artist: Mumford & Sons
2010-03-20 02:53:49  Album: Sigh No More
2010-03-20 02:53:49  Title: Sigh No More
2010-03-20 02:53:49  Track: 1
2010-03-20 02:53:49  Total tracks: 12
2010-03-20 02:53:49  Year: 2009
2010-03-20 02:53:49  Genre: Folk
2010-03-20 02:53:49  Comment: Track 1
2010-03-20 02:53:49  FreeDB ID: A10B690C
2010-03-20 02:53:49  CRC: 88B7BB16
2010-03-20 02:53:49  Bitrate: 128
2010-03-20 02:53:49  Log: C:\Documents and Settings\Administrator\My Documents\My Music\Mumford & Sons - Sigh No More.log
2010-03-20 02:53:49  Album file: C:\Documents and Settings\Administrator\My Documents\My Music\Sigh No More
2010-03-20 02:53:49  Log file: Mumford & Sons - Sigh No More
2010-03-20 02:53:49  Cover file: C:\Documents and Settings\Administrator\My Documents\My Music\Sigh No More.jpg

2010-03-20 02:53:50  - END - Track: 1 -


2010-03-20 02:54:09  - START - Track: 2 -

2010-03-20 02:54:09  Various artist: No
2010-03-20 02:54:09  Rip mode: Tracks
2010-03-20 02:54:09  Command line: REACT "Mumford & Sons - Sigh No More - 02 - The Cave.wav" "Mtmp660-!.wav" "Mtmp660-!.eac" "Mumford & Sons" "Sigh No More" "The Cave" "02" "12" "2009" "Folk" "Track 2" "A10B690C" "3A5D6E4E" 128
2010-03-20 02:54:09  Source directory: C:\Documents and Settings\Administrator\My Documents\My Music
2010-03-20 02:54:09  Base name: Mumford & Sons - Sigh No More - 02 - The Cave
2010-03-20 02:54:09  Artist: Mumford & Sons
2010-03-20 02:54:09  Album: Sigh No More
2010-03-20 02:54:09  Title: The Cave
2010-03-20 02:54:09  Track: 2
2010-03-20 02:54:09  Total tracks: 12
2010-03-20 02:54:09  Year: 2009
2010-03-20 02:54:09  Genre: Folk
2010-03-20 02:54:09  Comment: Track 2
2010-03-20 02:54:09  FreeDB ID: A10B690C
2010-03-20 02:54:09  CRC: 3A5D6E4E
2010-03-20 02:54:09  Bitrate: 128
2010-03-20 02:54:10  Log: C:\Documents and Settings\Administrator\My Documents\My Music\Mumford & Sons - Sigh No More.log
2010-03-20 02:54:10  Album file: C:\Documents and Settings\Administrator\My Documents\My Music\Sigh No More
2010-03-20 02:54:10  Log file: Mumford & Sons - Sigh No More
2010-03-20 02:54:10  Cover file: C:\Documents and Settings\Administrator\My Documents\My Music\Sigh No More.jpg

2010-03-20 02:54:11  - END - Track: 2 -


2010-03-20 02:54:29  - START - Track: 3 -

2010-03-20 02:54:29  Various artist: No
2010-03-20 02:54:29  Rip mode: Tracks
2010-03-20 02:54:29  Command line: REACT "Mumford & Sons - Sigh No More - 03 - Winter Winds.wav" "Mtmp556)!.wav" "Mtmp556)!.eac" "Mumford & Sons" "Sigh No More" "Winter Winds" "03" "12" "2009" "Folk" "Track 3" "A10B690C" "677EB909" 128
2010-03-20 02:54:29  Source directory: C:\Documents and Settings\Administrator\My Documents\My Music
2010-03-20 02:54:29  Base name: Mumford & Sons - Sigh No More - 03 - Winter Winds
2010-03-20 02:54:29  Artist: Mumford & Sons
2010-03-20 02:54:29  Album: Sigh No More
2010-03-20 02:54:29  Title: Winter Winds
2010-03-20 02:54:29  Track: 3
2010-03-20 02:54:29  Total tracks: 12
2010-03-20 02:54:29  Year: 2009
2010-03-20 02:54:29  Genre: Folk
2010-03-20 02:54:29  Comment: Track 3
2010-03-20 02:54:29  FreeDB ID: A10B690C
2010-03-20 02:54:29  CRC: 677EB909
2010-03-20 02:54:29  Bitrate: 128
2010-03-20 02:54:29  Log: C:\Documents and Settings\Administrator\My Documents\My Music\Mumford & Sons - Sigh No More.log
2010-03-20 02:54:29  Album file: C:\Documents and Settings\Administrator\My Documents\My Music\Sigh No More
2010-03-20 02:54:29  Log file: Mumford & Sons - Sigh No More
2010-03-20 02:54:29  Cover file: C:\Documents and Settings\Administrator\My Documents\My Music\Sigh No More.jpg

2010-03-20 02:54:30  - END - Track: 3 -


2010-03-20 02:54:50  - START - Track: 4 -

2010-03-20 02:54:50  Various artist: No
2010-03-20 02:54:50  Rip mode: Tracks
2010-03-20 02:54:50  Command line: REACT "Mumford & Sons - Sigh No More - 04 - Roll Away Your Stone.wav" "Mtmp58)58.wav" "Mtmp58)58.eac" "Mumford & Sons" "Sigh No More" "Roll Away Your Stone" "04" "12" "2009" "Folk" "Track 4" "A10B690C" "D209B996" 128
2010-03-20 02:54:50  Source directory: C:\Documents and Settings\Administrator\My Documents\My Music
2010-03-20 02:54:50  Base name: Mumford & Sons - Sigh No More - 04 - Roll Away Your Stone
2010-03-20 02:54:50  Artist: Mumford & Sons
2010-03-20 02:54:50  Album: Sigh No More
2010-03-20 02:54:50  Title: Roll Away Your Stone
2010-03-20 02:54:50  Track: 4
2010-03-20 02:54:50  Total tracks: 12
2010-03-20 02:54:50  Year: 2009
2010-03-20 02:54:50  Genre: Folk
2010-03-20 02:54:50  Comment: Track 4
2010-03-20 02:54:50  FreeDB ID: A10B690C
2010-03-20 02:54:50  CRC: D209B996
2010-03-20 02:54:50  Bitrate: 128
2010-03-20 02:54:50  Log: C:\Documents and Settings\Administrator\My Documents\My Music\Mumford & Sons - Sigh No More.log
2010-03-20 02:54:50  Album file: C:\Documents and Settings\Administrator\My Documents\My Music\Sigh No More
2010-03-20 02:54:50  Log file: Mumford & Sons - Sigh No More
2010-03-20 02:54:50  Cover file: C:\Documents and Settings\Administrator\My Documents\My Music\Sigh No More.jpg

2010-03-20 02:54:51  - END - Track: 4 -


2010-03-20 02:55:09  - START - Track: 5 -

2010-03-20 02:55:09  Various artist: No
2010-03-20 02:55:09  Rip mode: Tracks
2010-03-20 02:55:09  Command line: REACT "Mumford & Sons - Sigh No More - 05 - White Blank Page.wav" "Mtmp-!)!3.wav" "Mtmp-!)!3.eac" "Mumford & Sons" "Sigh No More" "White Blank Page" "05" "12" "2009" "Folk" "Track 5" "A10B690C" "53F2EA7E" 128
2010-03-20 02:55:09  Source directory: C:\Documents and Settings\Administrator\My Documents\My Music
2010-03-20 02:55:09  Base name: Mumford & Sons - Sigh No More - 05 - White Blank Page
2010-03-20 02:55:09  Artist: Mumford & Sons
2010-03-20 02:55:09  Album: Sigh No More
2010-03-20 02:55:09  Title: White Blank Page
2010-03-20 02:55:09  Track: 5
2010-03-20 02:55:09  Total tracks: 12
2010-03-20 02:55:09  Year: 2009
2010-03-20 02:55:09  Genre: Folk
2010-03-20 02:55:09  Comment: Track 5
2010-03-20 02:55:09  FreeDB ID: A10B690C
2010-03-20 02:55:09  CRC: 53F2EA7E
2010-03-20 02:55:09  Bitrate: 128
2010-03-20 02:55:09  Log: C:\Documents and Settings\Administrator\My Documents\My Music\Mumford & Sons - Sigh No More.log
2010-03-20 02:55:09  Album file: C:\Documents and Settings\Administrator\My Documents\My Music\Sigh No More
2010-03-20 02:55:09  Log file: Mumford & Sons - Sigh No More
2010-03-20 02:55:09  Cover file: C:\Documents and Settings\Administrator\My Documents\My Music\Sigh No More.jpg

2010-03-20 02:55:10  - END - Track: 5 -


2010-03-20 02:55:27  - START - Track: 6 -

2010-03-20 02:55:27  Various artist: No
2010-03-20 02:55:27  Rip mode: Tracks
2010-03-20 02:55:27  Command line: REACT "Mumford & Sons - Sigh No More - 06 - I Gave You All.wav" "Mtmp!)(0(.wav" "Mtmp!)(0(.eac" "Mumford & Sons" "Sigh No More" "I Gave You All" "06" "12" "2009" "Folk" "Track 6" "A10B690C" "4C3D13FB" 128
2010-03-20 02:55:27  Source directory: C:\Documents and Settings\Administrator\My Documents\My Music
2010-03-20 02:55:27  Base name: Mumford & Sons - Sigh No More - 06 - I Gave You All
2010-03-20 02:55:27  Artist: Mumford & Sons
2010-03-20 02:55:27  Album: Sigh No More
2010-03-20 02:55:27  Title: I Gave You All
2010-03-20 02:55:27  Track: 6
2010-03-20 02:55:27  Total tracks: 12
2010-03-20 02:55:27  Year: 2009
2010-03-20 02:55:27  Genre: Folk
2010-03-20 02:55:27  Comment: Track 6
2010-03-20 02:55:27  FreeDB ID: A10B690C
2010-03-20 02:55:27  CRC: 4C3D13FB
2010-03-20 02:55:27  Bitrate: 128
2010-03-20 02:55:27  Log: C:\Documents and Settings\Administrator\My Documents\My Music\Mumford & Sons - Sigh No More.log
2010-03-20 02:55:27  Album file: C:\Documents and Settings\Administrator\My Documents\My Music\Sigh No More
2010-03-20 02:55:27  Log file: Mumford & Sons - Sigh No More
2010-03-20 02:55:27  Cover file: C:\Documents and Settings\Administrator\My Documents\My Music\Sigh No More.jpg

2010-03-20 02:55:28  - END - Track: 6 -


2010-03-20 02:55:43  - START - Track: 7 -

2010-03-20 02:55:43  Various artist: No
2010-03-20 02:55:43  Rip mode: Tracks
2010-03-20 02:55:43  Command line: REACT "Mumford & Sons - Sigh No More - 07 - Little Lion Man.wav" "Mtmp842(2.wav" "Mtmp842(2.eac" "Mumford & Sons" "Sigh No More" "Little Lion Man" "07" "12" "2009" "Folk" "Track 7" "A10B690C" "FE36FC53" 128
2010-03-20 02:55:43  Source directory: C:\Documents and Settings\Administrator\My Documents\My Music
2010-03-20 02:55:43  Base name: Mumford & Sons - Sigh No More - 07 - Little Lion Man
2010-03-20 02:55:43  Artist: Mumford & Sons
2010-03-20 02:55:43  Album: Sigh No More
2010-03-20 02:55:43  Title: Little Lion Man
2010-03-20 02:55:43  Track: 7
2010-03-20 02:55:43  Total tracks: 12
2010-03-20 02:55:43  Year: 2009
2010-03-20 02:55:43  Genre: Folk
2010-03-20 02:55:43  Comment: Track 7
2010-03-20 02:55:43  FreeDB ID: A10B690C
2010-03-20 02:55:43  CRC: FE36FC53
2010-03-20 02:55:43  Bitrate: 128
2010-03-20 02:55:44  Log: C:\Documents and Settings\Administrator\My Documents\My Music\Mumford & Sons - Sigh No More.log
2010-03-20 02:55:44  Album file: C:\Documents and Settings\Administrator\My Documents\My Music\Sigh No More
2010-03-20 02:55:44  Log file: Mumford & Sons - Sigh No More
2010-03-20 02:55:44  Cover file: C:\Documents and Settings\Administrator\My Documents\My Music\Sigh No More.jpg

2010-03-20 02:55:44  - END - Track: 7 -


2010-03-20 02:55:54  - START - Track: 8 -

2010-03-20 02:55:54  Various artist: No
2010-03-20 02:55:54  Rip mode: Tracks
2010-03-20 02:55:54  Command line: REACT "Mumford & Sons - Sigh No More - 08 - Timshel.wav" "Mtmp07!55.wav" "Mtmp07!55.eac" "Mumford & Sons" "Sigh No More" "Timshel" "08" "12" "2009" "Folk" "Track 8" "A10B690C" "BDF6CDBE" 128
2010-03-20 02:55:54  Source directory: C:\Documents and Settings\Administrator\My Documents\My Music
2010-03-20 02:55:54  Base name: Mumford & Sons - Sigh No More - 08 - Timshel
2010-03-20 02:55:54  Artist: Mumford & Sons
2010-03-20 02:55:54  Album: Sigh No More
2010-03-20 02:55:54  Title: Timshel
2010-03-20 02:55:54  Track: 8
2010-03-20 02:55:54  Total tracks: 12
2010-03-20 02:55:54  Year: 2009
2010-03-20 02:55:54  Genre: Folk
2010-03-20 02:55:54  Comment: Track 8
2010-03-20 02:55:54  FreeDB ID: A10B690C
2010-03-20 02:55:54  CRC: BDF6CDBE
2010-03-20 02:55:54  Bitrate: 128
2010-03-20 02:55:55  Log: C:\Documents and Settings\Administrator\My Documents\My Music\Mumford & Sons - Sigh No More.log
2010-03-20 02:55:55  Album file: C:\Documents and Settings\Administrator\My Documents\My Music\Sigh No More
2010-03-20 02:55:55  Log file: Mumford & Sons - Sigh No More
2010-03-20 02:55:55  Cover file: C:\Documents and Settings\Administrator\My Documents\My Music\Sigh No More.jpg

2010-03-20 02:55:56  - END - Track: 8 -


2010-03-20 02:56:12  - START - Track: 9 -

2010-03-20 02:56:12  Various artist: No
2010-03-20 02:56:12  Rip mode: Tracks
2010-03-20 02:56:12  Command line: REACT "Mumford & Sons - Sigh No More - 09 - Thistle & Weeds.wav" "Mtmp7)4)!.wav" "Mtmp7)4)!.eac" "Mumford & Sons" "Sigh No More" "Thistle & Weeds" "09" "12" "2009" "Folk" "Track 9" "A10B690C" "7C129773" 128
2010-03-20 02:56:12  Source directory: C:\Documents and Settings\Administrator\My Documents\My Music
2010-03-20 02:56:12  Base name: Mumford & Sons - Sigh No More - 09 - Thistle & Weeds
2010-03-20 02:56:12  Artist: Mumford & Sons
2010-03-20 02:56:12  Album: Sigh No More
2010-03-20 02:56:12  Title: Thistle & Weeds
2010-03-20 02:56:12  Track: 9
2010-03-20 02:56:12  Total tracks: 12
2010-03-20 02:56:12  Year: 2009
2010-03-20 02:56:12  Genre: Folk
2010-03-20 02:56:12  Comment: Track 9
2010-03-20 02:56:12  FreeDB ID: A10B690C
2010-03-20 02:56:12  CRC: 7C129773
2010-03-20 02:56:12  Bitrate: 128
2010-03-20 02:56:13  Log: C:\Documents and Settings\Administrator\My Documents\My Music\Mumford & Sons - Sigh No More.log
2010-03-20 02:56:13  Album file: C:\Documents and Settings\Administrator\My Documents\My Music\Sigh No More
2010-03-20 02:56:13  Log file: Mumford & Sons - Sigh No More
2010-03-20 02:56:13  Cover file: C:\Documents and Settings\Administrator\My Documents\My Music\Sigh No More.jpg

2010-03-20 02:56:13  - END - Track: 9 -


2010-03-20 02:56:27  - START - Track: 10 -

2010-03-20 02:56:27  Various artist: No
2010-03-20 02:56:27  Rip mode: Tracks
2010-03-20 02:56:27  Command line: REACT "Mumford & Sons - Sigh No More - 10 - Awake My Soul.wav" "Mtmp3--91.wav" "Mtmp3--91.eac" "Mumford & Sons" "Sigh No More" "Awake My Soul" "10" "12" "2009" "Folk" "Track 10" "A10B690C" "6FF67D70" 128
2010-03-20 02:56:27  Source directory: C:\Documents and Settings\Administrator\My Documents\My Music
2010-03-20 02:56:27  Base name: Mumford & Sons - Sigh No More - 10 - Awake My Soul
2010-03-20 02:56:27  Artist: Mumford & Sons
2010-03-20 02:56:27  Album: Sigh No More
2010-03-20 02:56:27  Title: Awake My Soul
2010-03-20 02:56:27  Track: 10
2010-03-20 02:56:27  Total tracks: 12
2010-03-20 02:56:27  Year: 2009
2010-03-20 02:56:27  Genre: Folk
2010-03-20 02:56:27  Comment: Track 10
2010-03-20 02:56:27  FreeDB ID: A10B690C
2010-03-20 02:56:27  CRC: 6FF67D70
2010-03-20 02:56:27  Bitrate: 128
2010-03-20 02:56:27  Log: C:\Documents and Settings\Administrator\My Documents\My Music\Mumford & Sons - Sigh No More.log
2010-03-20 02:56:27  Album file: C:\Documents and Settings\Administrator\My Documents\My Music\Sigh No More
2010-03-20 02:56:27  Log file: Mumford & Sons - Sigh No More
2010-03-20 02:56:27  Cover file: C:\Documents and Settings\Administrator\My Documents\My Music\Sigh No More.jpg

2010-03-20 02:56:28  - END - Track: 10 -


2010-03-20 02:56:43  - START - Track: 11 -

2010-03-20 02:56:43  Various artist: No
2010-03-20 02:56:43  Rip mode: Tracks
2010-03-20 02:56:43  Command line: REACT "Mumford & Sons - Sigh No More - 11 - Dust Bowl Dance.wav" "Mtmp--658.wav" "Mtmp--658.eac" "Mumford & Sons" "Sigh No More" "Dust Bowl Dance" "11" "12" "2009" "Folk" "Track 11" "A10B690C" "0DAA4999" 128
2010-03-20 02:56:43  Source directory: C:\Documents and Settings\Administrator\My Documents\My Music
2010-03-20 02:56:43  Base name: Mumford & Sons - Sigh No More - 11 - Dust Bowl Dance
2010-03-20 02:56:43  Artist: Mumford & Sons
2010-03-20 02:56:43  Album: Sigh No More
2010-03-20 02:56:43  Title: Dust Bowl Dance
2010-03-20 02:56:43  Track: 11
2010-03-20 02:56:43  Total tracks: 12
2010-03-20 02:56:43  Year: 2009
2010-03-20 02:56:43  Genre: Folk
2010-03-20 02:56:43  Comment: Track 11
2010-03-20 02:56:43  FreeDB ID: A10B690C
2010-03-20 02:56:43  CRC: 0DAA4999
2010-03-20 02:56:43  Bitrate: 128
2010-03-20 02:56:43  Log: C:\Documents and Settings\Administrator\My Documents\My Music\Mumford & Sons - Sigh No More.log
2010-03-20 02:56:43  Album file: C:\Documents and Settings\Administrator\My Documents\My Music\Sigh No More
2010-03-20 02:56:43  Log file: Mumford & Sons - Sigh No More
2010-03-20 02:56:43  Cover file: C:\Documents and Settings\Administrator\My Documents\My Music\Sigh No More.jpg

2010-03-20 02:56:44  - END - Track: 11 -


2010-03-20 02:56:56  - START - Track: 12 -

2010-03-20 02:56:56  Various artist: No
2010-03-20 02:56:56  Rip mode: Tracks
2010-03-20 02:56:56  Command line: REACT "Mumford & Sons - Sigh No More - 12 - After the Storm.wav" "Mtmp527!2.wav" "Mtmp527!2.eac" "Mumford & Sons" "Sigh No More" "After the Storm" "12" "12" "2009" "Folk" "Track 12" "A10B690C" "6935ED67" 128
2010-03-20 02:56:56  Source directory: C:\Documents and Settings\Administrator\My Documents\My Music
2010-03-20 02:56:56  Base name: Mumford & Sons - Sigh No More - 12 - After the Storm
2010-03-20 02:56:56  Artist: Mumford & Sons
2010-03-20 02:56:56  Album: Sigh No More
2010-03-20 02:56:56  Title: After the Storm
2010-03-20 02:56:56  Track: 12
2010-03-20 02:56:56  Total tracks: 12
2010-03-20 02:56:56  Year: 2009
2010-03-20 02:56:56  Genre: Folk
2010-03-20 02:56:56  Comment: Track 12
2010-03-20 02:56:56  FreeDB ID: A10B690C
2010-03-20 02:56:56  CRC: 6935ED67
2010-03-20 02:56:56  Bitrate: 128
2010-03-20 02:56:56  Log: C:\Documents and Settings\Administrator\My Documents\My Music\Mumford & Sons - Sigh No More.log
2010-03-20 02:56:56  Album file: C:\Documents and Settings\Administrator\My Documents\My Music\Sigh No More
2010-03-20 02:56:56  Log file: C:\Documents and Settings\Administrator\My Documents\My Music\Mumford & Sons - Sigh No More
2010-03-20 02:56:56  Cover file: C:\Documents and Settings\Administrator\My Documents\My Music\Sigh No More.jpg

2010-03-20 02:56:57  - END - Track: 12 -


2010-03-20 02:57:33  - END - MainLoop -


I just wanted to say thanks again to everyone who's helped out so far.


edit: the cmd window just disappears pretty much instantly when it appears.
I've never actually seen it, I just see the icon appear in the taskbar and it's gone again before I can even try and click on it.


I'm going to have to call it a night I'm afraid - I have to be at work in less than 6 hours.
Title: REACT 2 Released
Post by: Synthetic Soul on 2010-03-20 10:11:06
A post of the contents of one of the batch files may be interesting (inside a CODEBOX tag).  It's sometimes useful to execute the batch file from the command line so that you can see the response/error that it returns.

Have you tried with a different disc?  I assume we still don't have ampersand issues, but I thought I'd throw it our there.

I'm way out of practise to be much help here I'm afraid.
Title: REACT 2 Released
Post by: Akkurat on 2010-03-20 17:49:22
Ok, after hours of studying various things, a fear that REACT doesn't work well on 64bit systems is put in my mind. WoW64 subsystem filesystem and registry redirects, etc., and in the case of console ending abruptly, "a limitation of 64-bit Windows, which hides commands such as chcp from 32-bit applications.". The fact that the "Use this directory" setting was a backslash even after you 1st time configured REACT, is worrying.. of course it's a possibility that you botched it 1st time around but I've to believe what you told me.

Let's confirm that it is the CHCP that is giving us problems now.

1) Backup (copy) your "REACT-track.cfg" file to another folder.
2) Open the same file in your REACT folder and replace all text with the following:
Code: [Select]
ECHO. &ECHO BREAKPOINT 1 &ECHO. &PAUSE
@ECHO OFF
ECHO. &ECHO BREAKPOINT 2 &ECHO. &PAUSE
CHCP 1252 | PROMPT
ECHO. &ECHO BREAKPOINT 3 &ECHO. &PAUSE
TITLE @track@/@numtracks@ - "@album@"
ECHO. &ECHO BREAKPOINT 4 &ECHO. &PAUSE

REM Copyright © Tycho, 2006
REM
REM ** Create compressed audio tracks from ripped .wav tracks.
REM **
REM ** You may consider using image mode (F10)
REM ** as it supports creating tracks via acdir.exe,
REM ** and post-processing will always work (see below).
REM **
REM ** Flac requires flac.exe/metaflac.exe (v1.1.3)
REM ** NeroAac requires NeroAacEnc.exe/NeroAacTag.exe/AacGain.exe.
REM ** OggEnc2 requires OggEnc2.exe/VorbisGain.exe.
REM **
REM ** I prefer applying album gain 92dB to get a reasonable
REM ** volume for my DAP. The RG tags are still relative
REM ** to 89dB SPL, i.e. album gain will be about -3.0dB.


REM ============== Begin Main Script ==================


IF @Debug@==1 ECHO ON
ECHO. &ECHO BREAKPOINT 5 &ECHO. &PAUSE
REM ** Workaround for multi-processing, added by nago.
ECHO > processing[@track@].tmp
ECHO. &ECHO BREAKPOINT 6 &ECHO. &PAUSE
REM ** Create Disc-related tags if we have a set

SET discNumberInPath=0
ECHO. &ECHO BREAKPOINT 7 &ECHO. &PAUSE
REM ** Ensure that we have numeric values
SET /A discNumber = @discnumber@ + 0
SET /A totalDiscs = @totaldiscs@ + 0
ECHO. &ECHO BREAKPOINT 8 &ECHO. &PAUSE
REM ** If a valid disc number and total number of discs has been provided
IF %totalDiscs% LEQ 1 GOTO :end_discnumber
IF %discNumber% LEQ 0 GOTO :end_discnumber

    REM ** Set tagging switches
    SET Disc_Flac=-T "discnumber=@discnumber@" -T "totaldiscs=@totaldiscs@"
    SET Disc_Wavpack=-w "discnumber=@discnumber@" -w "totaldiscs=@totaldiscs@"
    SET Disc_MP3=--frame TPOS:"@discnumber@/@totaldiscs@"
    SET Disc_NeroAac=--disk "@discnumber@/@totaldiscs@"
    SET Disc_OggEnc2=-c "discnumber=@discnumber@" -c "totaldiscs=@totaldiscs@"
    SET Disc_Tak=-t "discnumber=@discnumber@" -t "totaldiscs=@totaldiscs@"

    REM ** Add disc number to folder path
    SET trackDir=%trackDir%\Disc @discnumber@
SET discNumberInPath=1

:end_discnumber
ECHO. &ECHO BREAKPOINT 9 &ECHO. &PAUSE
REM ** If a disc name has been provided
IF "@discname@" EQU "" GOTO end_discname
SET discName=discname
SET discName=@%discname%@
IF "@discname@" EQU "%discName%" GOTO end_discname

    REM ** Set tagging switches
    SET Disc_Flac=%Disc_Flac% -T "discname=@discname@"
    SET Disc_Wavpack=%Disc_Wavpack% -w "discname=@discname@"
    SET Disc_MP3=%Disc_MP3% --frame "TXXX[setsubtitle]:@discname@"
    SET Disc_OggEnc2=%Disc_OggEnc2% -c "discname=@discname@"
    SET Disc_Tak=%Disc_Tak% -t "discname=@discname@"

    REM ** Add disc name to folder path
IF %discNumberInPath%==0 SET trackDir=%trackDir%\$discname$
IF %discNumberInPath%==1 SET trackDir=%trackDir% ($discname$)

:end_discname
ECHO. &ECHO BREAKPOINT 10 &ECHO. &PAUSE

SET TrackDir_Flac="@TrackDir_Flac@%trackDir%"
SET TrackDir_Wavpack="@TrackDir_Wavpack@%trackDir%"
SET TrackDir_MP3="@TrackDir_MP3@%trackDir%"
SET TrackDir_AAC="@TrackDir_AAC@%trackDir%"
SET TrackDir_OGG="@TrackDir_OGG@%trackDir%"
SET TrackDir_Tak="@TrackDir_Tak@%trackDir%"
ECHO. &ECHO BREAKPOINT 11 &ECHO. &PAUSE

SET TrackName=@trackname@
ECHO. &ECHO BREAKPOINT 12 &ECHO. &PAUSE
SET have_cover=0
SET embed_cover=0

IF EXIST "@cover@" (
    SET have_cover=1
    SET embed_cover=@EmbedCover@
)
ECHO. &ECHO BREAKPOINT 13 &ECHO. &PAUSE


REM ---- Track ----


IF NOT @Flac@==1 GOTO end_flac_tracks
    IF NOT EXIST %TrackDir_Flac% MKDIR %TrackDir_Flac%
    ECHO. &ECHO BREAKPOINT 14 &ECHO. &PAUSE
    PUSHD %TrackDir_Flac%
        IF @various@==1 SET VA_tag=-T "album artist=@VA@"
        IF %embed_cover%==1 SET Cover_tag=--picture="|image/jpeg|||@cover@"
        ECHO ON
        @tools@\flac.exe @Opt_Flac@ %Cover_tag% %VA_tag% %Disc_Flac% -T artist="@artist@" -T album="@album@" -T tracknumber="@track@/@numtracks@" -T title="@title@" -T date="@year@" -T genre="@genre@" -T comment="@comment@" -T encoded-by="%USERNAME%" -T encoding="Flac @Ver_Flac@ @Opt_Flac@" "@source@" -o "%TrackName%.flac"
        @ECHO OFF
        ECHO. &ECHO BREAKPOINT 15 &ECHO. &PAUSE
IF @Debug@==1 ECHO ON
        IF %have_cover%==1 IF NOT EXIST folder.jpg COPY "@cover@" folder.jpg
        ECHO. &ECHO BREAKPOINT 16 &ECHO. &PAUSE
    POPD
:end_flac_tracks
ECHO. &ECHO BREAKPOINT 17 &ECHO. &PAUSE
3) Run REACT and rip a track (select just one track, no need to rip all tracks).
4) Report back after which "breakpoint" the console closes. My guess is after point 2.. if I'm not totally lost.

5) If it's really after 2nd point, try opening the console (start->run->type: cmd) and try the following command: CHCP 1252 | PROMPT, EDIT or rather just CHCP 1252 (I guess the prompt hides any output). What does it say?

Why like this? My studies hinted that "running from AutoIt programs", "running as a bat" or "running straight from console" might yield different results.
Title: REACT 2 Released
Post by: Step666 on 2010-03-20 18:42:40
Ok.


Firstly, here's the contents of one of the bat files:

Code: [Select]
@ECHO OFF
CHCP 1252 | PROMPT
TITLE 3/12 - "Sigh No More"

REM Copyright © Tycho, 2006
REM
REM ** Create compressed audio tracks from ripped .wav tracks.
REM **
REM ** You may consider using image mode (F10)
REM ** as it supports creating tracks via acdir.exe,
REM ** and post-processing will always work (see below).
REM **
REM ** Flac requires flac.exe/metaflac.exe (v1.1.3)
REM ** NeroAac requires NeroAacEnc.exe/NeroAacTag.exe/AacGain.exe.
REM ** OggEnc2 requires OggEnc2.exe/VorbisGain.exe.
REM **
REM ** I prefer applying album gain 92dB to get a reasonable
REM ** volume for my DAP. The RG tags are still relative
REM ** to 89dB SPL, i.e. album gain will be about -3.0dB.


REM ============== Begin Main Script ==================


IF 0==1 ECHO ON

REM ** Workaround for multi-processing, added by nago.
ECHO > processing[3].tmp

REM ** Create Disc-related tags if we have a set

SET discNumberInPath=0

REM ** Ensure that we have numeric values
SET /A discNumber = 1 + 0
SET /A totalDiscs = 1 + 0

REM ** If a valid disc number and total number of discs has been provided
IF %totalDiscs% LEQ 1 GOTO :end_discnumber
IF %discNumber% LEQ 0 GOTO :end_discnumber

    REM ** Set tagging switches
    SET Disc_Flac=-T "discnumber=1" -T "totaldiscs=1"
    SET Disc_Wavpack=-w "discnumber=1" -w "totaldiscs=1"
    SET Disc_MP3=--frame TPOS:"1/1"
    SET Disc_NeroAac=--disk "1/1"
    SET Disc_OggEnc2=-c "discnumber=1" -c "totaldiscs=1"
    SET Disc_Tak=-t "discnumber=1" -t "totaldiscs=1"

    REM ** Add disc number to folder path
    SET trackDir=%trackDir%\Disc 1
SET discNumberInPath=1

:end_discnumber

REM ** If a disc name has been provided
IF "" EQU "" GOTO end_discname
SET discName=discname
SET discName=@%discname%@
IF "" EQU "%discName%" GOTO end_discname

    REM ** Set tagging switches
    SET Disc_Flac=%Disc_Flac% -T "discname="
    SET Disc_Wavpack=%Disc_Wavpack% -w "discname="
    SET Disc_MP3=%Disc_MP3% --frame "TXXX[setsubtitle]:"
    SET Disc_OggEnc2=%Disc_OggEnc2% -c "discname="
    SET Disc_Tak=%Disc_Tak% -t "discname="

    REM ** Add disc name to folder path
IF %discNumberInPath%==0 SET trackDir=%trackDir%\
IF %discNumberInPath%==1 SET trackDir=%trackDir% ()

:end_discname


SET TrackDir_Flac="C:\Documents and Settings\Administrator\My Documents\My Music\EAC\FLAC\Mumford & Sons\[2009] Sigh No More%trackDir%"
SET TrackDir_Wavpack="C:\Documents and Settings\Administrator\My Documents\My Music\EAC\WV\Mumford & Sons\[2009] Sigh No More%trackDir%"
SET TrackDir_MP3="C:\Documents and Settings\Administrator\My Documents\My Music\EAC\MP3\Mumford & Sons\[2009] Sigh No More%trackDir%"
SET TrackDir_AAC="C:\Documents and Settings\Administrator\My Documents\My Music\EAC\AAC\Mumford & Sons\[2009] Sigh No More%trackDir%"
SET TrackDir_OGG="C:\Documents and Settings\Administrator\My Documents\My Music\EAC\OGG\Mumford & Sons\[2009] Sigh No More%trackDir%"
SET TrackDir_Tak="C:\Documents and Settings\Administrator\My Documents\My Music\EAC\TAK\Mumford & Sons\[2009] Sigh No More%trackDir%"


SET TrackName=03 - Winter Winds

SET have_cover=0
SET embed_cover=0

IF EXIST "C:\Documents and Settings\Administrator\My Documents\My Music\Sigh No More.jpg" (
    SET have_cover=1
    SET embed_cover=1
)



REM ---- Track ----


IF NOT 1==1 GOTO end_flac_tracks
    IF NOT EXIST %TrackDir_Flac% MKDIR %TrackDir_Flac%
    PUSHD %TrackDir_Flac%
        IF 0==1 SET VA_tag=-T "album artist=Various Artists"
        IF %embed_cover%==1 SET Cover_tag=--picture="|image/jpeg|||C:\Documents and Settings\Administrator\My Documents\My Music\Sigh No More.jpg"
        ECHO ON
        C:\PROGRA~2\EXACTA~1\REACT\tools\flac.exe -5 -f %Cover_tag% %VA_tag% %Disc_Flac% -T artist="Mumford & Sons" -T album="Sigh No More" -T tracknumber="3/12" -T title="Winter Winds" -T date="2009" -T genre="Folk" -T comment="Created with EAC/REACT v2.0.akku.b04, 2010-03-20" -T encoded-by="%USERNAME%" -T encoding="Flac 1.2.1b -5 -f" "C:\Documents and Settings\Administrator\My Documents\My Music\Mtmp556)!.wav" -o "%TrackName%.flac"
        @ECHO OFF
IF 0==1 ECHO ON
        IF %have_cover%==1 IF NOT EXIST folder.jpg COPY "C:\Documents and Settings\Administrator\My Documents\My Music\Sigh No More.jpg" folder.jpg
    POPD
:end_flac_tracks


IF NOT 0==1 GOTO end_wavpack_tracks
    IF NOT EXIST %TrackDir_Wavpack% MKDIR %TrackDir_Wavpack%
    PUSHD %TrackDir_Wavpack%
        IF 0==1 SET VA_tag=-w "album artist=Various Artists"
        ECHO ON
        C:\PROGRA~2\EXACTA~1\REACT\tools\wavpack.exe -hmy %VA_tag% %Disc_Wavpack% -w artist="Mumford & Sons" -w album="Sigh No More" -w track="3/12" -w title="Winter Winds" -w year="2009" -w genre="Folk" -w comment="Created with EAC/REACT v2.0.akku.b04, 2010-03-20" -w encodedby="%USERNAME%" -w encodersettings="Wavpack 4.40 -hmy" "C:\Documents and Settings\Administrator\My Documents\My Music\Mtmp556)!.wav" "%TrackName%.wv"
        @ECHO OFF
IF 0==1 ECHO ON
        IF %have_cover%==1 IF NOT EXIST folder.jpg COPY "C:\Documents and Settings\Administrator\My Documents\My Music\Sigh No More.jpg" folder.jpg
        TITLE 3/12 - "Sigh No More"
    POPD
:end_wavpack_tracks


IF NOT 0==1 GOTO end_tak_tracks
    IF NOT EXIST %TrackDir_Tak% MKDIR %TrackDir_Tak%
    PUSHD %TrackDir_Tak%
        IF 0==1 SET VA_tag=-t "album artist=Various Artists"
        ECHO ON
        C:\PROGRA~2\EXACTA~1\REACT\tools\takc.exe -e -overwrite -pN -overwrite "C:\Documents and Settings\Administrator\My Documents\My Music\Mtmp556)!.wav" "%TrackName%.tak"
        C:\PROGRA~2\EXACTA~1\REACT\tools\tag.exe %VA_tag% %Disc_Tak% -t artist="Mumford & Sons" -t album="Sigh No More" -t track="3/12" -t title="Winter Winds" -t year="2009" -t genre="Folk" -t comment="Created with EAC/REACT v2.0.akku.b04, 2010-03-20" -t encodedby="%USERNAME%" -t encodersettings="TAK 1.0.1 -pN -overwrite" "%TrackName%.tak"
        @ECHO OFF
IF 0==1 ECHO ON
        IF %have_cover%==1 IF NOT EXIST folder.jpg COPY "C:\Documents and Settings\Administrator\My Documents\My Music\Sigh No More.jpg" folder.jpg
        TITLE 3/12 - "Sigh No More"
    POPD
:end_tak_tracks


IF NOT 1==1 GOTO end_lame_tracks
    IF NOT EXIST %TrackDir_MP3% MKDIR %TrackDir_MP3%
    PUSHD %TrackDir_MP3%
        IF 0==1 SET VA_tag=--frame "TXXX[album artist]:Various Artists" --frame "TPE2:Various Artists"
        IF %embed_cover%==1 SET Cover_tag=--frame "APIC{3}:C:\Documents and Settings\Administrator\My Documents\My Music\Sigh No More.jpg"
        ECHO ON
        C:\PROGRA~2\EXACTA~1\REACT\tools\lame.exe -V5 --noreplaygain --nohist "C:\Documents and Settings\Administrator\My Documents\My Music\Mtmp556)!.wav" "%TrackName%.mp3"
        C:\PROGRA~2\EXACTA~1\REACT\tools\metamp3.exe %Cover_tag% %VA_tag% %Disc_MP3% --artist "Mumford & Sons" --album "Sigh No More" --track 3/12 --title "Winter Winds" --year "2009" --genre "Folk" --comment "Created with EAC/REACT v2.0.akku.b04, 2010-03-20" --frame TENC:"%USERNAME%" --frame TSSE:"LAME 3.98.2 -V5 --noreplaygain --nohist" "%TrackName%.mp3"
        @ECHO OFF
IF 0==1 ECHO ON
        IF %have_cover%==1 IF NOT EXIST folder.jpg COPY "C:\Documents and Settings\Administrator\My Documents\My Music\Sigh No More.jpg" folder.jpg
    POPD
:end_lame_tracks


IF NOT 0==1 GOTO end_itunes_aac_tracks
    IF NOT EXIST %TrackDir_AAC% MKDIR %TrackDir_AAC%
    PUSHD %TrackDir_AAC%
        IF %embed_cover%==1 SET Cover_tag=-r "C:\Documents and Settings\Administrator\My Documents\My Music\Sigh No More.jpg"
        ECHO ON
        C:\PROGRA~2\EXACTA~1\REACT\tools\iTunesEncode.exe -d -s 2000 -e "AAC Encoder" %Cover_tag% -x 0 -a "Mumford & Sons" -l "Sigh No More" -n "3" -m "12" -t "Winter Winds" -y "2009" -g "Folk" -c "Created with EAC/REACT v2.0.akku.b04, 2010-03-20" -i "C:\Documents and Settings\Administrator\My Documents\My Music\Mtmp556)!.wav" -o "%TrackName%.m4a"
        @ECHO OFF
IF 0==1 ECHO ON
        IF %have_cover%==1 IF NOT EXIST folder.jpg COPY "C:\Documents and Settings\Administrator\My Documents\My Music\Sigh No More.jpg" folder.jpg
    POPD
    GOTO end_nero_aac_tracks
:end_itunes_aac_tracks


IF NOT 0==1 GOTO end_nero_aac_tracks
    IF NOT EXIST %TrackDir_AAC% MKDIR %TrackDir_AAC%
    PUSHD %TrackDir_AAC%
        IF 0==1 SET VA_tag=--albumArtist "Various Artists" --compilation true
        IF %embed_cover%==1 SET Cover_tag=--artwork "C:\Documents and Settings\Administrator\My Documents\My Music\Sigh No More.jpg"
        ECHO ON
        C:\PROGRA~2\EXACTA~1\REACT\tools\neroAacEnc.exe -lc -q 0.21 -if "C:\Documents and Settings\Administrator\My Documents\My Music\Mtmp556)!.wav" -of "%TrackName%.m4a"
        C:\PROGRA~2\EXACTA~1\REACT\tools\AtomicParsley.exe "%TrackName%.m4a" -o REACT_tmp.m4a %Cover_tag% %VA_tag% %Disc_NeroAac% --artist "Mumford & Sons" --album "Sigh No More" --tracknum "3/12" --title "Winter Winds" --year "2009" --genre "Folk" --comment "Created with EAC/REACT v2.0.akku.b04, 2010-03-20" --encodingTool "neroAacEnc 1.0.0.2 -lc -q 0.21"
        @ECHO OFF
IF 0==1 ECHO ON
        MOVE /Y REACT_tmp.m4a "%TrackName%.m4a"
        IF %have_cover%==1 IF NOT EXIST folder.jpg COPY "C:\Documents and Settings\Administrator\My Documents\My Music\Sigh No More.jpg" folder.jpg
    POPD
:end_nero_aac_tracks


IF NOT 0==1 GOTO end_oggenc_tracks
    IF NOT EXIST %TrackDir_OGG% MKDIR %TrackDir_OGG%
    PUSHD %TrackDir_OGG%
        IF 0==1 SET VA_tag=-c "album artist=Various Artists"
        ECHO ON
        C:\PROGRA~2\EXACTA~1\REACT\tools\oggenc2.exe -q 3.0 %VA_tag% %Disc_OggEnc2% -c artist="Mumford & Sons" -c album="Sigh No More" -c tracknumber="3/12" -c title="Winter Winds" -c date="2009" -c genre="Folk" -c comment="Created with EAC/REACT v2.0.akku.b04, 2010-03-20" -c encoded-by="%USERNAME%" -c encoding="OggEnc 2.83 Lancer aoTuV b5 -q 3.0" "C:\Documents and Settings\Administrator\My Documents\My Music\Mtmp556)!.wav" -o "%TrackName%.ogg"
        @ECHO OFF
IF 0==1 ECHO ON
        IF %have_cover%==1 IF NOT EXIST folder.jpg COPY "C:\Documents and Settings\Administrator\My Documents\My Music\Sigh No More.jpg" folder.jpg
    POPD
:end_oggenc_tracks


REM ** Delete the source .wav
DEL "C:\Documents and Settings\Administrator\My Documents\My Music\Mtmp556)!.wav"

REM ** More multiprocessing workaround --nago
DEL processing[3].tmp


REM ---- Post-processing ----


REM ** Scan and compute ReplayGain and add cover picture for supported formats.
REM ** NB: The following will only work if at least the last track is selected.

IF NOT 3==12 GOTO end_post_process

    REM ** More multiprocessing. Last edit. --nago
    :checktmp
    IF NOT EXIST processing[*].tmp GOTO allProcsClear
      ECHO Waiting for all other processes to clear...
      ECHO If REACT hangs here and there are no other tracks being encoded,
      ECHO please delete all processing[#].tmp files in
      ECHO "C:\Documents and Settings\Administrator\My Documents\My Music"
      PING 1.1.1.1 -n 1 -w 10000 >NUL
    GOTO checktmp
    :allProcsClear

REM ** Ensure that the EAC log is available
:CheckForLog
IF NOT EXIST "C:\Documents and Settings\Administrator\My Documents\My Music\Mumford & Sons - Sigh No More.log" GOTO Pause

    SET add_rg=1
    SET aac_enc=0
    IF 0==1 SET aac_enc=1

    IF NOT 1==1 GOTO end_RG
        SET RG_MetaFlac=--add-replay-gain
        SET RG_MetaMP3=--replay-gain
    :end_RG

    IF NOT 1==1 GOTO end_apply_AG
        SET RG_MetaMP3=--apply-gain album+3.0
        SET RG_AacGain=/a /o /c /d +3.0
        SET add_rg=1
    :end_apply_AG


    REM ** Audio Formats:

    IF 1==1 (
        PUSHD %TrackDir_Flac%
            IF %add_rg%==1 C:\PROGRA~2\EXACTA~1\REACT\tools\Glob.exe -v -c C:\PROGRA~2\EXACTA~1\REACT\tools\metaflac.exe %RG_MetaFlac% *.flac
            REM COPY /Y "C:\Documents and Settings\Administrator\My Documents\My Music\Mumford & Sons - Sigh No More.log" "EAClog.txt"
        POPD
    )

    IF 0==1 (
        PUSHD %TrackDir_Wavpack%
            IF %add_rg%==1 C:\PROGRA~2\EXACTA~1\REACT\tools\wvgain.exe -a *.wv
            REM COPY /Y "C:\Documents and Settings\Administrator\My Documents\My Music\Mumford & Sons - Sigh No More.log" "EAClog.txt"
        POPD
    )

    IF 1==1 (
        PUSHD %TrackDir_MP3%
            IF %add_rg%==1 C:\PROGRA~2\EXACTA~1\REACT\tools\Glob.exe -v -c C:\PROGRA~2\EXACTA~1\REACT\tools\metamp3.exe %RG_MetaMP3% *.mp3
            REM COPY /Y "C:\Documents and Settings\Administrator\My Documents\My Music\Mumford & Sons - Sigh No More.log" "EAClog.txt"
        POPD
    )

    IF %aac_enc%==1 (
        PUSHD %TrackDir_AAC%
            IF %add_rg%==1 C:\PROGRA~2\EXACTA~1\REACT\tools\aacgain.exe %RG_AacGain% *.m4a > "gainlog.txt"
            REM COPY /Y "C:\Documents and Settings\Administrator\My Documents\My Music\Mumford & Sons - Sigh No More.log" "EAClog.txt"
        POPD
    )

    IF 0==1 (
        PUSHD %TrackDir_OGG%
            IF %add_rg%==1 C:\PROGRA~2\EXACTA~1\REACT\tools\vorbisgain.exe -a *.ogg
            REM COPY /Y "C:\Documents and Settings\Administrator\My Documents\My Music\Mumford & Sons - Sigh No More.log" "EAClog.txt"
        POPD
    )


    REM ** Cleanup

    DEL "C:\Documents and Settings\Administrator\My Documents\My Music\Mumford & Sons - Sigh No More.log"
    DEL "C:\Documents and Settings\Administrator\My Documents\My Music\Sigh No More.[*].cue"
    DEL "C:\Documents and Settings\Administrator\My Documents\My Music\Sigh No More.jpg"

:end_post_process


REM ================ End Main Script ===================


IF 0==1 (
    PAUSE
    EXIT
)

REM ** Delete this .bat file:
DEL %0 &EXIT


GOTO :EOF

REM ** Pause for 2000 milliseconds and return to :CheckForLog
:Pause
@ECHO Waiting for EAC log file...
PING 1.1.1.1 -n 1 -w 2000 >NUL
GOTO CheckForLog

Second, I tried a different album - same result.


Third up, on the subject of x64 compatibility, the only problems I have ever had are with emergeDesktop (which, being a shell, needed to be tailored for an x64 system) and programs that try and detect the OS before deciding whether they want to install or not - such as Windows Live Messenger or iTunes.
I have literally never had another problem, apart from drivers.


Lastly, using the new REACT-track.cfg file, it did indeed disappear after I pressed enter after breakpoint 2 appeared.
In the commend prompt, when I type in "CHCP 1252" and hit enter, it just says "Active code page: 1252".

Is that any help?
Title: REACT 2 Released
Post by: Akkurat on 2010-03-20 19:30:02
Ok, I might know what this is all about, not 100% sure as some things would need further studies, but nevertheless. REACT.exe is compiled as 32bit, and thus opens a cmd console in a 32bit "mode" which can't see CHCP in "system32" folder because the 64bit WoW64 subsystem redirecting "feature" is making it see "SysWOW64" folder as the "system32" folder. Why this is, I don't understand. Or should we use CHCP in 32bit cmd console at all. The reason it's working if you manually open the cmd console is that it's opened in 64bit "mode". Still I'm lost why the console closes instead of giving an error that the program is not recognized as a command/program.. (maybe the CHCP is found in 32bit too but crashes the cmd console?!).

One thing you could try is to copy the CHCP.com from "system32" folder to "SysWOW64" folder. This might work but I really can't take any responsibility that REACT works ok in your 64bit system. I mean, with the WoW64 subsystem redirecting "feature" which affects AFAIK both filesystem and registry, I wonder what else is affected. Sorry to seed this insecurity to you but I feel that you should know this.

I guess you're the first 64bit REACT user then as this is the first time anything like this has come up in this thread. EDIT: Or are there any 64bit REACT users already? Please tell us. Thanks.
Title: REACT 2 Released
Post by: Step666 on 2010-03-21 15:31:05
I copied CHCP.com to my SysWOW64 folder and now it works.

Though there is quite a pause between the album downloader closing and the gap detection starting, which is kinda annoying.
Title: REACT 2 Released
Post by: Akkurat on 2010-03-21 22:37:46
Ok. If the Synthetic Soul's INI works (remember to correct the 3 folder settings in INI), we're done. Mission Impossible complete.

About the AAD XUI: if you open the windows task manager, you can observe how slow the AlbumArt.exe closes itself. I guess more results, more RAM, slower closing.. at least that's what I've seen. It shouldn't be too long though. Patience is a virtue, remember what you are getting.. easy and for free.
Title: REACT 2 Released
Post by: Step666 on 2010-03-22 00:10:12
I've also edited the ini so that I get -v0 for the mp3s.
I'm just in the process of formatting my E drive, then I'll test out the new ini and hopefully that'll be that.

I have looked in task manager and, yeah, albumart.exe isn't the quickest process to close but even after it does, it still takes a wee while before the gap detection starts.
Title: REACT 2 Released
Post by: Akkurat on 2010-03-22 15:40:59
Wee while? Couple of seconds? I just tested it myself and my CD drive kicks into action exactly when the AAD process closes. How fast the drive "comes up" could add the pause in your case. Remember that it doesn't start until EAC window has focus back. The focus don't come back to EAC after AAD closes if you have opened or switched to other programs after AAD started. I'll make REACT to automatically focus to EAC after AAD closes in the next version. I might add a "splash" dialog too when starting/running AAD since AAD might take some time to open (I just witnessed a situation where after pushing F4, nothing happened for many many seconds (AAD was starting very slow without showing the GUI)). Not very ideal to have no GUI "response" when a user commands it to do something.
Title: REACT 2 Released
Post by: Step666 on 2010-03-22 20:41:01
Remember that it doesn't start until EAC window has focus back. The focus don't come back to EAC after AAD closes if you have opened or switched to other programs after AAD started.

Ah, that'd be it then.
One time I must've opened something else, causing EAC to lose focus then, after that, I kept opening up Task Manager to see if the problem was AAD not closing down and, in doing so, taking the focus away from EAC...

I just tried it again without taking the focus away and it was fine.



One last point though, is it possible to automatically delete the two folder.jpg files?
I have no use for them, I just wanted the album art embedded into the mp3s.



And, finally, thank you to everyone who's helped out, especially you Akkurat.
I owe a number of people a large drink.
Title: REACT 2 Released
Post by: Akkurat on 2010-03-22 23:03:44
You'll have to edit the "REACT-track.cfg" file. Open it up in notepad and push Ctrl-H, and then:
Find what:
Code: [Select]
IF %have_cover%==1 IF NOT EXIST folder.jpg COPY "@cover@" folder.jpg

Replace with:
Code: [Select]
REM IF %have_cover%==1 IF NOT EXIST folder.jpg COPY "@cover@" folder.jpg

And push "replace all" once. Then save the file and it's done, no folder images at all.

No problem, good to see a new REACT user. Happy REACTing.  No need to buy a drink, I just pampered myself with a good dosage of a peaty Lagavulin from the southeastern coast of Islay, the place where my favorite whiskeys are made, Laphroaig being #1.
Title: REACT 2 Released
Post by: Step666 on 2010-03-23 20:59:00
There's one of my CDs that doesn't seem to want to rip to flac.
I've tried three times now and whilst it creates the folder the songs should be placed into, the files never appear.

However, it does rip to mp3.

It's really weird and I can't understand why.
Title: REACT 2 Released
Post by: Akkurat on 2010-03-23 22:31:12
It seems that I celebrated too early. Everything else works but no FLAC files? Encoding problem perhaps? Can you catch what the cmd line console says? If not, open "REACT-track.cfg" and type PAUSE on the #111 line of that file (after a line that says: :end_flac_tracks). Now rip a single track again and see what the FLAC encoding part outputs to the console.
Title: REACT 2 Released
Post by: Step666 on 2010-03-23 22:40:37
Everything works for every other CD so far, the problem only affects this CD (the Blues Brothers OST album).


This is what the console says:

Code: [Select]
E:\The Blues Brothers\Music from the Soundtrack>C:\PROGRA~2\EXACTA~1\REACT\tools
\flac.exe -5 -f --picture="|image/jpeg|||C:\Documents and Settings\Administrator
\My Documents\My Music\Music from the Soundtrack.jpg"  -T artist="The Blues Bro
thers" -T album="Music from the Soundtrack" -T tracknumber="9/11" -T title="Minn
ie the Moocher" -T date="1980" -T genre="Blues" -T comment="Created with EAC/REA
CT v2.0.akku.b04, 2010-03-23" -T encoded-by="Administrator" -T encoding="Flac 1.
2.1b -5 -f" "C:\Documents and Settings\Administrator\My Documents\My Music\Ttmp1
!542.wav" -o "The Blues Brothers - Minnie the Moocher.flac"
ERROR: (--picture) unable to extract resolution and color info from file, user m
ust set explicitly
Type "flac" for a usage summary or "flac --help" for all options
Press any key to continue . . .


Does that mean I need to try using a different image in AAD?


edit: I don't know why but every file I tried downloading through AAD for this album refused to work.
So I manually downloaded and named an image of the album cover and it worked.

Odd and confusing but problem solved.
Title: REACT 2 Released
Post by: Akkurat on 2010-03-23 23:15:58
I kind of suspected this. It seems that the picture is not a proper jpg. You could open the image in some editor (GIMP?) and save it to jpg. Just put the image to "C:\Documents and Settings\Administrator\My Documents\My Music\Music from the Soundtrack.jpg" and REACT will automatically pick it from there when you start ripping (not launching AAD).

EDIT: didn't see your edit.. odd indeed, every image? I haven't heard of AAD XUI image saving problems. You seem to bump into lots of problems.

EDIT2: I just downloaded 10 images (same search parameters) and tried to encode FLAC's. 2 of those images failed like yours. Opened them in notepad and they start like this (1st row): ‰PNG. Case solved. Saved as png's but filenames changed to jpg's.
Title: REACT 2 Released
Post by: Ryushi on 2010-03-28 10:29:39
Quote from:  Changelog for REACT 2.0.akku.b04 link=msg=0 date=
Changed REACT configuring (Ctrl-F2):

    [...]
    * REACT now waits for the EAC process to close completely before configuring.
          o Added splash window while closing the process because it could take some time.


I tried to use REACT2.0.akku.b04 with EAC 0.99pb5 on Vista Business but there seems to be some problems:


Pressing Ctrl-F2 to configure EAC for use with REACT I get this message:

"Closing EAC process, please wait."

But after some time I get this message:

"Error! Cannot close EAC!"

REACT is closed after that. The EAC window is closed, too but there is still an EAC process running (using up a core).
Starting REACT once again and "Ctrl-F2" there are 2 processes left, next time 3 and so on ...
Same for running it as Admin or as restricted user ...

What can I do to fix this problem?
Running EAC directly and closing it, leaves an EAC process which has to be closed via task manager - so it seems to be an EAC problem ...
After uninstalling and reinstalling EAC this remaining EAC process problem is still there 

BTW When I tried it yesterday the first time, it worked and the EAC was configurated with "CTRL-F2" but today it doesn't work anymore. 

Thanks.
Ryushi
Title: REACT 2 Released
Post by: Akkurat on 2010-03-29 16:47:56
Quote
Running EAC directly and closing it, leaves an EAC process which has to be closed via task manager - so it seems to be an EAC problem

Without a doubt, an EAC problem running in your Vista. Sorry to say this but I've no idea why EAC acts like that. I always thought that I wouldn't (solely) suggest this but, have you tried rebooting? Aaargh, that sounds so stupid.  Do you know any Vista/general sites/forums where you could get help with your problem with EAC? Or try EAC forum. Sorry that I'm not able to help you out more.
Title: REACT 2 Released
Post by: Random987 on 2010-04-30 14:54:51
Hi All,

I spent all day yesterday delving through this thread and setting up my new Windows 7 machine.  I have EAC with REACT 2.0.akku.b04.  I am using it to copy my CD Collection and have configured it to copy MP3 files to my hard drive and then archive FLAC files to an external hard drive.  Everything is working fine, except I can't get it to create a Cue sheet.  Here is my .ini:
Code: [Select]
[Settings]
Version=2.0.akku.b04
ImageExt=wav
ImageNaming=$artist$ - [$year$] $album$
ImageHotKey={F10}
TracksHotKey={F4}
TracksHotVal=+{F5}
VA=Various Artists
CreateCuesheet=mg
RunCoverDownloader=1
CoverDownloader=C:\Users\Tim\Audio\REACT\coverdownloader\albumart.exe
CoverDownloaderXUI=0
CoverDownloaderLocalPath=
OpenAddMetaDataDiag=0
EAC=C:\Users\Tim\Audio\Exact Audio Copy\EAC.exe
Tools=C:\Users\Tim\Audio\REACT\tools
MinimizeCompressionWindow=1
ProcessPriority=1
Sla_Bks_Col_Qst_Bar_Quo_Ast_Lt_Gt=-|-|-||!|'|#|[|]
Test=0

[UserTrackFormats]
Flac=1
Wavpack=0
LameMP3=1
NeroAac=0
iTunesAac=0
OggEnc2=0
Tak=0

[UserOutputNames]
OutRoot=@mymusic@\EAC
ImageDir_Flac=G:\CD Collection\FLAC-images\$cdartist$
ImageDir_Wavpack=@OutRoot@\WV-images\$cdartist$
ImageDir_MP3=@OutRoot@\MP3-images\$cdartist$
ImageDir_Tak=@OutRoot@\TAK-images\$cdartist$
TrackDir_Flac=G:\CD Collection\FLAC\$cdartist$\[$year$] $album$
TrackDir_Wavpack=@OutRoot@\WV\$cdartist$\[$year$] $album$
TrackDir_MP3=@OutRoot@\MP3\$cdartist$\[$year$] $album$
TrackDir_AAC=@OutRoot@\AAC\$cdartist$\[$year$] $album$
TrackDir_OGG=@OutRoot@\OGG\$cdartist$\[$year$] $album$
TrackDir_Tak=@OutRoot@\TAK\$cdartist$\[$year$] $album$
TrackName_SA=$track$ - $title$
TrackName_VA=$track$ - $title$ [$artist$]
TrackName_SA_acdir=$n - $~t
TrackName_VA_acdir=$n - $~t [$~a]

[UserSettings]
DebugMode=0
Debug=0
Comment=Created with EAC/@reactversion@, @curdate@
EmbedCover=1
ReplayGain=1
ApplyAlbumGain=1
AdjustAlbumGain_dB=+3.0
AddCuesheetAG=0
UseWaveGainAG=0
Opt_Flac=-5 -f
Opt_Wavpack=-hmy
Opt_LameMP3=-V5 --noreplaygain --nohist
Opt_NeroAac=-lc -q 0.21
Opt_iTunesAac=-d -s 2000
Opt_OggEnc2=-q 3.0
Opt_Tak=-pN -overwrite
Ver_Flac=1.2.1b
Ver_Wavpack=4.40
Ver_LameMP3=3.98.2
Ver_NeroAac=1.0.0.2
Ver_OggEnc2=2.83 Lancer aoTuV b5
Ver_Tak=1.0.1

[DefaultMetaData]
discnumber=1
totaldiscs=1
discname=
Any ideas?
Title: REACT 2 Released
Post by: Akkurat on 2010-04-30 15:39:12
Random987, Tim, check this post (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=50273&view=findpost&p=679076), and concentrate on the following points:

- Whole 3. about Album Art Downloader XUI.. if you want to use the newest & best (and basically only working) tool.
- 4.3. about Amending Cuesheet File References, that guide has also necessary changes to copy the generated cues to target folders. (it works only in track mode)
- Pay attention to 5.3., with the limited info you gave it's hard to tell whether you used correct keys to rip or not, but I've a hunch that you didn't. Sorry if it's not the case.

HTH.
Title: REACT 2 Released
Post by: Random987 on 2010-04-30 16:16:05
I think I did everything correctly.  Now, I am having an additional problem....it is not saving the files in MyMusic/EAC, rather it is saving MP3 files directly in the MyMusic directory (for example - Toto - Past To Present 1977-1990 - 01 - Love Has The Power)  and it is not saving a .flac copy on my external drive.  Yesterday, I was able to get it to do this (without a cue sheet). 

I don't really care about the Album Art Downloader, so I switched that to 0. 

Thanks for your quick response. 




Random987, Tim, check this post (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=50273&view=findpost&p=679076), and concentrate on the following points:

- Whole 3. about Album Art Downloader XUI.. if you want to use the newest & best (and basically only working) tool.
- 4.3. about Amending Cuesheet File References, that guide has also necessary changes to copy the generated cues to target folders. (it works only in track mode)
- Pay attention to 5.3., with the limited info you gave it's hard to tell whether you used correct keys to rip or not, but I've a hunch that you didn't. Sorry if it's not the case.

HTH.

Title: REACT 2 Released
Post by: Akkurat on 2010-04-30 16:24:32
Quote
rather it is saving MP3 files directly in the MyMusic directory

I believe that those are WAV files, right? The "My music" folder is used to hold temporary files when REACT runs.

Quote
Yesterday, I was able to get it to do this (without a cue sheet).

That is odd. Were you logged in as an admin? Have you checked this (http://wiki.hydrogenaudio.org/index.php?title=REACT:Mods#Windows_Vista)? It applies to Win7 too of course.

And if you're using 64bit OS, copy the CHCP.com from "system32" folder to "SysWOW64" folder.

Sorry about this, REACT is a bit of a "mess" currently. It works ok, but it takes nerves & a while to set it up.
Title: REACT 2 Released
Post by: Random987 on 2010-04-30 16:32:43
You are correct, they are .wav files.  So it appears they aren't getting processed into MP3 and .flac files. 

I am logged in the same as I was yesterday. 

I tried copying the CHCP, but there was already one existing in SysWOW64. 


The frustrating thing was that it was working partly yesterday (without cue sheets).  Not it is only creating .wav files. 


Is there a new program out there that would be more beneficial?  I only want to archive my CD collection to MP3 files on the internal drive and flac files (with cue) on an external. 

Thanks again


Quote
rather it is saving MP3 files directly in the MyMusic directory

I believe that those are WAV files, right? The "My music" folder is used to hold temporary files when REACT runs.

Quote
Yesterday, I was able to get it to do this (without a cue sheet).

That is odd. Were you logged in as an admin? Have you checked this (http://wiki.hydrogenaudio.org/index.php?title=REACT:Mods#Windows_Vista)? It applies to Win7 too of course.

And if you're using 64bit OS, copy the CHCP.com from "system32" folder to "SysWOW64" folder.

Sorry about this, REACT is a bit of a "mess" currently. It works ok, but it takes nerves & a while to set it up.

Title: REACT 2 Released
Post by: Akkurat on 2010-04-30 16:45:07
Quote
I am logged in the same as I was yesterday.
And that was as an admin? If not, scrap that (I've a feeling that even with an admin login, it might not work.. this is totally feeling based, so please try not to mock me too much ), try the link (http://wiki.hydrogenaudio.org/index.php?title=REACT:Mods#Windows_Vista) I posted if you haven't tried it yet. Also, remember to set permissions for the external drive folder ("G:\CD Collection\", right?).

Does a cmd console window pop up after a track is ripped in EAC? Does it close instantly or do you see something happening in there? (the window is minimized by default)

Quote
Is there a new program out there that would be more beneficial?
Not that I'm aware of.

P.S. no need to quote whole posts..
Title: REACT 2 Released
Post by: Random987 on 2010-04-30 17:16:00
Mea culpa!  In trying to solve the .cue sheet issue, I installed EAC and react in my user directory (as opposed to program files (x86) directory).  EAC was still pointing its external compression to the old directory.  I can now copy to the requested directories. 

So, I am now back to the original problem, still no .cue sheet. 

I installed GSAR, but I am not sure what file/how I should edit the REACT files.  I am not a computer program, but I play one on the internet. 

Title: REACT 2 Released
Post by: Akkurat on 2010-04-30 17:35:47
I'm not totally following what you've done.. anyways, here's the modified config file for you, just select all below text in the codebox and replace all contents in the "REACT-track.cfg" file in your REACT install folder:

Code: [Select]
@ECHO OFF
CHCP 1252 | PROMPT
TITLE @track@/@numtracks@ - "@album@"

REM Copyright © Tycho, 2006
REM
REM ** Create compressed audio tracks from ripped .wav tracks.
REM **
REM ** You may consider using image mode (F10)
REM ** as it supports creating tracks via acdir.exe,
REM ** and post-processing will always work (see below).
REM **
REM ** Flac requires flac.exe/metaflac.exe (v1.1.3)
REM ** NeroAac requires NeroAacEnc.exe/NeroAacTag.exe/AacGain.exe.
REM ** OggEnc2 requires OggEnc2.exe/VorbisGain.exe.
REM **
REM ** I prefer applying album gain 92dB to get a reasonable
REM ** volume for my DAP. The RG tags are still relative
REM ** to 89dB SPL, i.e. album gain will be about -3.0dB.


REM ============== Begin Main Script ==================


IF @Debug@==1 ECHO ON

REM ** Workaround for multi-processing, added by nago.
ECHO > processing[@track@].tmp

REM ** Create Disc-related tags if we have a set

SET discNumberInPath=0

REM ** Ensure that we have numeric values
SET /A discNumber = @discnumber@ + 0
SET /A totalDiscs = @totaldiscs@ + 0

REM ** If a valid disc number and total number of discs has been provided
IF %totalDiscs% LEQ 1 GOTO :end_discnumber
IF %discNumber% LEQ 0 GOTO :end_discnumber

    REM ** Set tagging switches
    SET Disc_Flac=-T "discnumber=@discnumber@" -T "totaldiscs=@totaldiscs@"
    SET Disc_Wavpack=-w "discnumber=@discnumber@" -w "totaldiscs=@totaldiscs@"
    SET Disc_MP3=--frame TPOS:"@discnumber@/@totaldiscs@"
    SET Disc_NeroAac=--disk "@discnumber@/@totaldiscs@"
    SET Disc_OggEnc2=-c "discnumber=@discnumber@" -c "totaldiscs=@totaldiscs@"
    SET Disc_Tak=-t "discnumber=@discnumber@" -t "totaldiscs=@totaldiscs@"

    REM ** Add disc number to folder path
    SET trackDir=%trackDir%\Disc @discnumber@
SET discNumberInPath=1

:end_discnumber

REM ** If a disc name has been provided
IF "@discname@" EQU "" GOTO end_discname
SET discName=discname
SET discName=@%discname%@
IF "@discname@" EQU "%discName%" GOTO end_discname

    REM ** Set tagging switches
    SET Disc_Flac=%Disc_Flac% -T "discname=@discname@"
    SET Disc_Wavpack=%Disc_Wavpack% -w "discname=@discname@"
    SET Disc_MP3=%Disc_MP3% --frame "TXXX[setsubtitle]:@discname@"
    SET Disc_OggEnc2=%Disc_OggEnc2% -c "discname=@discname@"
    SET Disc_Tak=%Disc_Tak% -t "discname=@discname@"

    REM ** Add disc name to folder path
IF %discNumberInPath%==0 SET trackDir=%trackDir%\$discname$
IF %discNumberInPath%==1 SET trackDir=%trackDir% ($discname$)

:end_discname


SET TrackDir_Flac="@TrackDir_Flac@%trackDir%"
SET TrackDir_Wavpack="@TrackDir_Wavpack@%trackDir%"
SET TrackDir_MP3="@TrackDir_MP3@%trackDir%"
SET TrackDir_AAC="@TrackDir_AAC@%trackDir%"
SET TrackDir_OGG="@TrackDir_OGG@%trackDir%"
SET TrackDir_Tak="@TrackDir_Tak@%trackDir%"


SET TrackName=@trackname@

SET have_cover=0
SET embed_cover=0

IF EXIST "@cover@" (
    SET have_cover=1
    SET embed_cover=@EmbedCover@
)



REM ---- Track ----


IF NOT @Flac@==1 GOTO end_flac_tracks
    IF NOT EXIST %TrackDir_Flac% MKDIR %TrackDir_Flac%
    PUSHD %TrackDir_Flac%
        IF @various@==1 SET VA_tag=-T "album artist=@VA@"
        IF %embed_cover%==1 SET Cover_tag=--picture="|image/jpeg|||@cover@"
        ECHO ON
        @tools@\flac.exe @Opt_Flac@ %Cover_tag% %VA_tag% %Disc_Flac% -T artist="@artist@" -T album="@album@" -T tracknumber="@track@/@numtracks@" -T title="@title@" -T date="@year@" -T genre="@genre@" -T comment="@comment@" -T encoded-by="%USERNAME%" -T encoding="Flac @Ver_Flac@ @Opt_Flac@" "@source@" -o "%TrackName%.flac"
        @ECHO OFF
        SET trackCueFile="$cdartist$ - $album$.cue"
        IF NOT EXIST %trackCueFile% (
            COPY "@albumfile@.[mg].cue" %trackCueFile%
            ECHO CHCP 1252 ^| PROMPT>>update-cuesheet.bat
        )
        ECHO @tools@\GSAR.EXE "-s@basename@.wav" "-r%TrackName%.flac" -o %trackCueFile%>>update-cuesheet.bat
        IF @Debug@==1 ECHO ON
        IF %have_cover%==1 IF NOT EXIST folder.jpg COPY "@cover@" folder.jpg
    POPD
:end_flac_tracks


IF NOT @Wavpack@==1 GOTO end_wavpack_tracks
    IF NOT EXIST %TrackDir_Wavpack% MKDIR %TrackDir_Wavpack%
    PUSHD %TrackDir_Wavpack%
        IF @various@==1 SET VA_tag=-w "album artist=@VA@"
        ECHO ON
        @tools@\wavpack.exe @Opt_Wavpack@ %VA_tag% %Disc_Wavpack% -w artist="@artist@" -w album="@album@" -w track="@track@/@numtracks@" -w title="@title@" -w year="@year@" -w genre="@genre@" -w comment="@comment@" -w encodedby="%USERNAME%" -w encodersettings="Wavpack @Ver_Wavpack@ @Opt_Wavpack@" "@source@" "%TrackName%.wv"
        @ECHO OFF
IF @Debug@==1 ECHO ON
        IF %have_cover%==1 IF NOT EXIST folder.jpg COPY "@cover@" folder.jpg
        TITLE @track@/@numtracks@ - "@album@"
    POPD
:end_wavpack_tracks


IF NOT @Tak@==1 GOTO end_tak_tracks
    IF NOT EXIST %TrackDir_Tak% MKDIR %TrackDir_Tak%
    PUSHD %TrackDir_Tak%
        IF @various@==1 SET VA_tag=-t "album artist=@VA@"
        ECHO ON
        @tools@\takc.exe -e -overwrite @Opt_Tak@ "@source@" "%TrackName%.tak"
        @tools@\tag.exe %VA_tag% %Disc_Tak% -t artist="@artist@" -t album="@album@" -t track="@track@/@numtracks@" -t title="@title@" -t year="@year@" -t genre="@genre@" -t comment="@comment@" -t encodedby="%USERNAME%" -t encodersettings="TAK @Ver_Tak@ @Opt_Tak@" "%TrackName%.tak"
        @ECHO OFF
IF @Debug@==1 ECHO ON
        IF %have_cover%==1 IF NOT EXIST folder.jpg COPY "@cover@" folder.jpg
        TITLE @track@/@numtracks@ - "@album@"
    POPD
:end_tak_tracks


IF NOT @LameMP3@==1 GOTO end_lame_tracks
    IF NOT EXIST %TrackDir_MP3% MKDIR %TrackDir_MP3%
    PUSHD %TrackDir_MP3%
        IF @various@==1 SET VA_tag=--frame "TXXX[album artist]:@VA@" --frame "TPE2:@VA@"
        IF %embed_cover%==1 SET Cover_tag=--frame "APIC{3}:@cover@"
        ECHO ON
        @tools@\lame.exe @Opt_LameMP3@ "@source@" "%TrackName%.mp3"
        @tools@\metamp3.exe %Cover_tag% %VA_tag% %Disc_MP3% --artist "@artist@" --album "@album@" --track @track@/@numtracks@ --title "@title@" --year "@year@" --genre "@genre@" --comment "@comment@" --frame TENC:"%USERNAME%" --frame TSSE:"LAME @Ver_LameMP3@ @Opt_LameMP3@" "%TrackName%.mp3"
        @ECHO OFF
IF @Debug@==1 ECHO ON
        IF %have_cover%==1 IF NOT EXIST folder.jpg COPY "@cover@" folder.jpg
    POPD
:end_lame_tracks


IF NOT @iTunesAac@==1 GOTO end_itunes_aac_tracks
    IF NOT EXIST %TrackDir_AAC% MKDIR %TrackDir_AAC%
    PUSHD %TrackDir_AAC%
        IF %embed_cover%==1 SET Cover_tag=-r "@cover@"
        ECHO ON
        @tools@\iTunesEncode.exe @Opt_iTunesAac@ -e "AAC Encoder" %Cover_tag% -x @various@ -a "@artist@" -l "@album@" -n "@track@" -m "@numtracks@" -t "@title@" -y "@year@" -g "@genre@" -c "@comment@" -i "@source@" -o "%TrackName%.m4a"
        @ECHO OFF
IF @Debug@==1 ECHO ON
        IF %have_cover%==1 IF NOT EXIST folder.jpg COPY "@cover@" folder.jpg
    POPD
    GOTO end_nero_aac_tracks
:end_itunes_aac_tracks


IF NOT @NeroAac@==1 GOTO end_nero_aac_tracks
    IF NOT EXIST %TrackDir_AAC% MKDIR %TrackDir_AAC%
    PUSHD %TrackDir_AAC%
        IF @various@==1 SET VA_tag=--albumArtist "@VA@" --compilation true
        IF %embed_cover%==1 SET Cover_tag=--artwork "@cover@"
        ECHO ON
        @tools@\neroAacEnc.exe @Opt_NeroAac@ -if "@source@" -of "%TrackName%.m4a"
        @tools@\AtomicParsley.exe "%TrackName%.m4a" -o REACT_tmp.m4a %Cover_tag% %VA_tag% %Disc_NeroAac% --artist "@artist@" --album "@album@" --tracknum "@track@/@numtracks@" --title "@title@" --year "@year@" --genre "@genre@" --comment "@comment@" --encodingTool "neroAacEnc @Ver_NeroAac@ @Opt_NeroAac@"
        @ECHO OFF
IF @Debug@==1 ECHO ON
        MOVE /Y REACT_tmp.m4a "%TrackName%.m4a"
        IF %have_cover%==1 IF NOT EXIST folder.jpg COPY "@cover@" folder.jpg
    POPD
:end_nero_aac_tracks


IF NOT @OggEnc2@==1 GOTO end_oggenc_tracks
    IF NOT EXIST %TrackDir_OGG% MKDIR %TrackDir_OGG%
    PUSHD %TrackDir_OGG%
        IF @various@==1 SET VA_tag=-c "album artist=@VA@"
        ECHO ON
        @tools@\oggenc2.exe @Opt_OggEnc2@ %VA_tag% %Disc_OggEnc2% -c artist="@artist@" -c album="@album@" -c tracknumber="@track@/@numtracks@" -c title="@title@" -c date="@year@" -c genre="@genre@" -c comment="@comment@" -c encoded-by="%USERNAME%" -c encoding="OggEnc @Ver_OggEnc2@ @Opt_OggEnc2@" "@source@" -o "%TrackName%.ogg"
        @ECHO OFF
IF @Debug@==1 ECHO ON
        IF %have_cover%==1 IF NOT EXIST folder.jpg COPY "@cover@" folder.jpg
    POPD
:end_oggenc_tracks


REM ** Delete the source .wav
DEL "@source@"

REM ** More multiprocessing workaround --nago
DEL processing[@track@].tmp


REM ---- Post-processing ----


REM ** Scan and compute ReplayGain and add cover picture for supported formats.
REM ** NB: The following will only work if at least the last track is selected.

IF NOT @track@==@numtracks@ GOTO end_post_process

    REM ** More multiprocessing. Last edit. --nago
    :checktmp
    IF NOT EXIST processing[*].tmp GOTO allProcsClear
      ECHO Waiting for all other processes to clear...
      ECHO If REACT hangs here and there are no other tracks being encoded,
      ECHO please delete all processing[#].tmp files in
      ECHO "@sourcedir@"
      PING 1.1.1.1 -n 1 -w 10000 >NUL
    GOTO checktmp
    :allProcsClear

REM ** Ensure that the EAC log is available
:CheckForLog
IF NOT EXIST "@eaclog@" GOTO Pause

    SET add_rg=@ReplayGain@
    SET aac_enc=@NeroAac@
    IF @iTunesAac@==1 SET aac_enc=1

    IF NOT @ReplayGain@==1 GOTO end_RG
        SET RG_MetaFlac=--add-replay-gain
        SET RG_MetaMP3=--replay-gain
    :end_RG

    IF NOT @ApplyAlbumGain@==1 GOTO end_apply_AG
        SET RG_MetaMP3=--apply-gain album@AdjustAlbumGain_dB@
        SET RG_AacGain=/a /o /c /d @AdjustAlbumGain_dB@
        SET add_rg=1
    :end_apply_AG


    REM ** Audio Formats:

    IF @Flac@==1 (
        PUSHD %TrackDir_Flac%
            IF %add_rg%==1 @tools@\Glob.exe -v -c @tools@\metaflac.exe %RG_MetaFlac% *.flac
            REM COPY /Y "@eaclog@" "EAClog.txt"
            @tools@\GSAR.EXE -s%% -r%%%% -o update-cuesheet.bat
            CALL update-cuesheet.bat
            DEL update-cuesheet.bat
        POPD
    )

    IF @Wavpack@==1 (
        PUSHD %TrackDir_Wavpack%
            IF %add_rg%==1 @tools@\wvgain.exe -a *.wv
            REM COPY /Y "@eaclog@" "EAClog.txt"
        POPD
    )

    IF @LameMP3@==1 (
        PUSHD %TrackDir_MP3%
            IF %add_rg%==1 @tools@\Glob.exe -v -c @tools@\metamp3.exe %RG_MetaMP3% *.mp3
            REM COPY /Y "@eaclog@" "EAClog.txt"
        POPD
    )

    IF %aac_enc%==1 (
        PUSHD %TrackDir_AAC%
            IF %add_rg%==1 @tools@\aacgain.exe %RG_AacGain% *.m4a > "gainlog.txt"
            REM COPY /Y "@eaclog@" "EAClog.txt"
        POPD
    )

    IF @OggEnc2@==1 (
        PUSHD %TrackDir_OGG%
            IF %add_rg%==1 @tools@\vorbisgain.exe -a *.ogg
            REM COPY /Y "@eaclog@" "EAClog.txt"
        POPD
    )


    REM ** Cleanup

    DEL "@eaclog@"
    DEL "@albumfile@.[*].cue"
    DEL "@cover@"

:end_post_process


REM ================ End Main Script ===================


IF @Debug@==1 (
    PAUSE
    EXIT
)

REM ** Delete this .bat file:
DEL %0 &EXIT


GOTO :EOF

REM ** Pause for 2000 milliseconds and return to :CheckForLog
:Pause
@ECHO Waiting for EAC log file...
PING 1.1.1.1 -n 1 -w 2000 >NUL
GOTO CheckForLog
Title: REACT 2 Released
Post by: Random987 on 2010-04-30 17:45:14
Everything works perfectly!  Thanks for the help.
Title: REACT 2 Released
Post by: Akkurat on 2010-04-30 17:59:56
Phew! You're welcome. 
Title: REACT 2 Released
Post by: dag0 on 2010-05-22 14:54:50
Hello!
Please excuse me if this has been answered before, but: How can I rip a CD creating single flac-files per track plus corresponding cue-sheet?
Or do you have a workaround for foobar, which always displays the cue-sheet (single tracks) plus the flac-image (whole cd) at the same time, when having both in the directory? I can exclude cue-sheets from showing up in foobar, but then I need the per-track flac-files.
Bye,
dag0
Title: REACT 2 Released
Post by: Akkurat on 2010-05-23 08:10:10
How can I rip a CD creating single flac-files per track plus corresponding cue-sheet?

I take it that it's the cuesheet part that you want to get working, right? You already know how to rip tracks with REACT, right? Ok, check this post (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=50273&view=findpost&p=679076), and specifically point 4.3. about Amending Cuesheet File References, that has also necessary changes to copy the generated cues to target folders. (NOTE! it works only in track mode)

Or do you have a workaround for foobar, which always displays the cue-sheet (single tracks) plus the flac-image (whole cd) at the same time, when having both in the directory? I can exclude cue-sheets from showing up in foobar, but then I need the per-track flac-files.

Is this question really connected to the first question? I've to admit that I don't fully understand. You have FLAC-image and a cuesheet, not FLAC tracks? And foobar shows it in some odd way that you don't like? Maybe you should ask in the foobar forum, I don't know much about it.
Title: REACT 2 Released
Post by: dag0 on 2010-05-25 10:33:00
Hi!
Sorry for my broken english...  and thanks for your link to "amending cuesheet references". I'm trying to get this to work, but after ripping I only have the "update-cuesheet.bat" in my output-directory. During the rip I have a REACT.cue in my working-dir, but there never appears a "$cdartist$ - $album$.cue" nor in the working neither in the output dir.
The cleanup-process after replaygaining tries to delete a "$album$.cue" in the working-directory, which can't be found. debugging.txt says it has been moved to EAC.log (same dir) right at the beginning.

The flac-part in my REACT-track.cfg now looks like that after inserting the part mentioned in your link (http://wiki.hydrogenaudio.org/index.php?title=REACT:Amending_Cuesheet_File_References).

Code: [Select]
IF NOT @Flac@==1 GOTO end_flac_tracks
    IF NOT EXIST %TrackDir_Flac% MKDIR %TrackDir_Flac%
    PUSHD %TrackDir_Flac%
        IF @various@==1 SET VA_tag=-T "album artist=@VA@"
        IF %embed_cover%==1 SET Cover_tag=--picture="|image/jpeg|||@cover@"
        ECHO ON
        @tools@\flac.exe @Opt_Flac@ %Cover_tag% %VA_tag% %Disc_Flac% -T artist="@artist@" -T album="@album@" -T tracknumber="@track@/@numtracks@" -T title="@title@" -T date="@year@" -T genre="@genre@" -T comment="@comment@" -T encoded-by="%USERNAME%" -T encoding="Flac @Ver_Flac@ @Opt_Flac@" "@source@" -o "%TrackName%.flac"
        @ECHO OFF
        SET trackCueFile="$cdartist$ - $album$.cue"
        IF NOT EXIST %trackCueFile% (
        COPY "@albumfile@.[mg].cue" %trackCueFile%
        ECHO CHCP 1252 ^| PROMPT>>update-cuesheet.bat
)
        ECHO @tools@\GSAR.EXE "-s@basename@.wav" "-r%TrackName%.flac" -o %trackCueFile%>>update-cuesheet.bat
        IF @Debug@==1 ECHO ON
        IF %have_cover%==1 IF NOT EXIST folder.jpg COPY "@cover@" folder.jpg
    POPD
:end_flac_tracks
Title: REACT 2 Released
Post by: dag0 on 2010-05-25 12:32:46
OK, I forgot to put the code for the execution of the "update-cuesheet.bat". Now this batch-file is deleted at the end, but I still have no cue-sheet. 
Title: REACT 2 Released
Post by: Akkurat on 2010-05-26 23:09:14
Sorry for the late reply. Have you amended your INI file "CreateCuesheet" setting to "CreateCuesheet=mg"? And just double-checking, did you remember to copy the GSAR application to "REACT\tools" folder as instructed in the wiki guide?
Title: REACT 2 Released
Post by: dag0 on 2010-05-27 00:10:22
When I set "CreateCuesheet=mg" in my REACT.ini and presse F4 I get a "unable to move cuesheet. File does not exist" after a little break. Yes: gsar.exe exists in my tools-directory.
Title: REACT 2 Released
Post by: Akkurat on 2010-05-27 16:38:16
That's odd, you said that REACT.cue appeared in your previous attempts to rip, that was created the same way the "mg" now fails. You had "DebugMode" on, right? Can you post the "debugging.txt" file contents here inside CODEBOX tags?

WAIT, try the following first: disable "EAC Options -> Tools -> Activate beginner mode..." if it's on. After that it might be best to configure REACT again (Ctrl+F2) just in case since EAC warns that some settings are turned to default using that setting.
Title: REACT 2 Released
Post by: dag0 on 2010-05-28 13:17:29
WAIT, try the following first: disable "EAC Options -> Tools -> Activate beginner mode..." if it's on. After that it might be best to configure REACT again (Ctrl+F2) just in case since EAC warns that some settings are turned to default using that setting.

You are my GOD!  I don't know, why this was turned on, but now it works! Thank you, Akkurat! 
Title: REACT 2 Released
Post by: kmnr89.7 on 2010-10-27 19:52:03
Hi guys,

Is there a list and explanation for what the Encoder options are for EAC? Here's what I have so far; I'm hoping to get a full list of all available variables.

%o  .WAV file
%s  ??
%d  ??
%a  Album artist
%g  CD title
%t  Track title
%n  Track number
%x  CD number (or total track number in CD)
%y  Year released
%m  Genre
%e  ??
%f  FreeDB ID
%b  CRC value for track
%r  ??

Is there a variable for track length? Specific track artist? Boolean value for whether or not the Various Artists option is checked on EAC?

Thanks for REACT! I'm trying to mess with the .cfg files to get more info into the files and possible into my database.
Title: REACT 2 Released
Post by: dv1989 on 2010-10-27 19:57:19
From the EAC FAQ (http://www.exactaudiocopy.de/en/index.php/support/faq/), and copied to the EAC Compression Options (http://wiki.hydrogenaudio.org/index.php?title=EAC_Compression_Options) wiki article:
Quote
In the field “Additional command line options” you could use replacements for the selectable options :
%s – Source filename
%d – Destination filename
%h…%h – Text “…” only when “High quality” selected
%l…%l -Text “…” only when “Low quality” selected
%c…%c – Text “…” only when “CRC checksum” selected
%r – Bitrate (“32″..”320″)
%a – CD artist
%g – CD title
%t – Track title
%y – Year
%n – Track number
%m – MP3 music genre
%o – Original filename (without temporary renaming)
%e – Comment (as selected in EAC)
%b – CRC of extracted track
%f – freedb ID
%x – Number of tracks on album
I agree there should be a placeholder for track artist; if there indeed isn’t (i.e. %a always maps to CD artist) that seems to me to be a considerable omission.
Title: REACT 2 Released
Post by: kmnr89.7 on 2010-10-27 19:59:05
Thanks! I found the FAQ just after I posted that question.
Title: REACT 2 Released
Post by: dv1989 on 2010-10-27 20:07:19
Always happens!  I hadn’t realised that (apparently) %a always maps to album artist; that isn’t a good idea to me. I’d have thought it would map to track artist (if different), and there would be a separate album artist placeholder; even if only the former was true, at least it would create less work for the user.
Title: REACT 2 Released
Post by: greynol on 2010-10-27 20:23:29
What you're saying is not correct, dv1989.  Despite what is in the documentation, when various artists is chosen, %a does indeed map to the track artist.
Title: REACT 2 Released
Post by: dv1989 on 2010-10-27 20:25:58
I wondered if that might be the case (I couldn’t remember from my own past usage of EAC), hence my inclusion of “apparently”, but thanks for clarifying!
Title: REACT 2 Released
Post by: greynol on 2010-10-27 20:37:07
When in doubt, try it out. Seeing that I rarely rip VA compilations, this is exactly what I did.
Title: REACT 2 Released
Post by: Akkurat on 2010-10-27 21:07:43
I'm trying to mess with the .cfg files to get more info into the files and possible into my database.

Then you better use the REACT "tokens" (http://wiki.hydrogenaudio.org/index.php?title=REACT#Editing_the_CFG_files_.28advanced.29), not EAC command line options.
Title: REACT 2 Released
Post by: MyNameIsHomer on 2010-10-28 00:53:07
Hello everybody.

i just installed react 2.0 and the mod made by Akkurat.

I configured everything, but there are a few things i didn't figure out to configure well.

1.)
I want that compilations and cds with more than 1 disc are named that way {discNumber}{Tracknumber} - {Trackname}
there are many things i tried, but i did not success. My idea was:
Code: [Select]
IF @discnumber@ GTR 1 (
SET TrackName=@discnumber@@trackname@
) else (
SET TrackName=@trackname@
)
But this does not work propperly.
@discnumber@ is always 1. even when i change the value in the ALT+F5 "Additional Meta Data Field" (yes i did klick "update" after changing)

2.)
When i create a disc-image (mp3 + cue) the folder is named correctly. But the mp3tag does not contain all data: The "title" is nothing. There is nothing stored inside that string  It would be great if the title == album name, when i create disc-images...How can i fix this problem?

3.) if i select create a disc-image: react creates this image, but afterwards he creates separated files, too.
Only if i disable everything in
Code: [Select]
[UserTrackFormats]
Flac=0
Wavpack=0
LameMP3=0
NeroAac=0
iTunesAac=0
OggEnc2=0
Tak=0

no separated files will be created. Is there a fix for that?

4.) coverdownloader does not work. Does it work on your machine? If i start an mo3+cue-job a msgbox pops up, saying "must be that format <artist> <album> blabla..." But if i start the albumart.exe manually and fill out artist and album i get an ERROR 401: no connection to host / Host not found

Please help me! Thx a lot!

p.s. i did not find a link to attach files. Is there noone?

here's my react.ini:
Code: [Select]
[Settings]
Version=2.0.akku.b04
ImageExt=mp3
ImageNaming=$artist$ - $album$\$artist$ - $album$
ImageHotKey={F10}
TracksHotKey={F4}
TracksHotVal=+{F5}
VA=Various Artists
CreateCuesheet=m|mg|mc
RunCoverDownloader=1
CoverDownloader=C:\Programme\Exact Audio Copy\react20\coverdownloader\albumart.exe
CoverDownloaderXUI=1
CoverDownloaderLocalPath=@mymusic@\EAC\$cdartist$ - $album$\cover.jpg
OpenAddMetaDataDiag=1
EAC=C:\Programme\Exact Audio Copy\EAC.exe
Tools=C:\Programme\Exact Audio Copy\react20\tools
MinimizeCompressionWindow=0
ProcessPriority=4
Sla_Bks_Col_Qst_Bar_Quo_Ast_Lt_Gt=-|-|-||!|'|#|[|]
Test=0

[UserTrackFormats]
Flac=0
Wavpack=0
LameMP3=1
NeroAac=0
iTunesAac=0
OggEnc2=0
Tak=0


[UserOutputNames]
OutRoot=@mymusic@\EAC
ImageDir_Flac=@OutRoot@\$cdartist$ - $album$\flac
ImageDir_Wavpack=@OutRoot@\$cdartist$ - $album$\wav
ImageDir_MP3=@OutRoot@\$cdartist$ - $album$
ImageDir_Tak=@OutRoot@\$cdartist$ - $album$\TAK
TrackDir_Flac=@OutRoot@\$cdartist$ - $album$\flac
TrackDir_Wavpack=@OutRoot@\$cdartist$ - $album$\wv
TrackDir_MP3=@OutRoot@\$cdartist$ - $album$
TrackDir_AAC=@OutRoot@\$cdartist$ - $album$\AAC
TrackDir_OGG=@OutRoot@\$cdartist$ - $album$\OGG
TrackDir_Tak=@OutRoot@\$cdartist$ - $album$\TAK
TrackName_SA=$track$ - $title$
TrackName_VA=$track$ - $artist$ $title$
TrackName_SA_acdir=$n - $~t
TrackName_VA_acdir=$n - $~t [$~a]

[UserSettings]
DebugMode=0
Debug=0
Comment=Created by me [EAC/@reactversion@, @curdate@]
EmbedCover=1
ReplayGain=1
ApplyAlbumGain=1
AdjustAlbumGain_dB=+3.0
AddCuesheetAG=1
UseWaveGainAG=1
Opt_Flac=-5 -f
Opt_Wavpack=-hmy
Opt_LameMP3=-V5 --noreplaygain --nohist
Opt_NeroAac=-lc -q 0.21
Opt_iTunesAac=-d -s 2000
Opt_OggEnc2=-q 3.0
Opt_Tak=-p4M -overwrite
Ver_Flac=1.2.1b
Ver_Wavpack=4.60b
Ver_LameMP3=3.98.4
Ver_NeroAac=1.5.1
Ver_OggEnc2=2.83 sse3mt_lancer20061110
Ver_Tak=1.5.5

[DefaultMetaData]
discnumber=1
totaldiscs=1
discname=


the others are as they are the default ones. The changes (see above) i made i've there undone, because they did not work
Title: REACT 2 Released
Post by: Akkurat on 2010-10-28 02:48:56
MyNameIsHomer, I've some troubles following what you're doing (are you ripping images or tracks.. or both.. and using which "mode"..), hence I suggest that you read the REACT Wiki page (http://wiki.hydrogenaudio.org/index.php?title=REACT) and my short guide (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=50273&view=findpost&p=679076). Pay attention especially to the "3. Album Art Downloader XUI" part and to the "5.3. ONLY use F4 or F10 keys when ripping...". I believe that this should at least fix your problems 1* & 4.. and possibly 2.

* Partly, the "@discnumber@ is always 1" problem.. let's not tackle "compilation disc number" stuff yet, let's solve other things first.

3) F4 is used to rip in "track mode", F10 is "image mode" but it can create tracks as well from the ripped image. Creating an image is set in "ImageExt" setting (other than wav), tracks can be selected from under the [UserTrackFormats] section. There is no bug and thus there will not be a fix.

Quote
ImageNaming=$artist$ - $album$\$artist$ - $album$

You can't put directory specs here, only the filename (http://wiki.hydrogenaudio.org/index.php?title=REACT#Settings_Section). Use "ImageDir_*" settings under [UserOutputNames].

Quote
CreateCuesheet=m|mg|mc

There's no point creating many cuesheets. If you haven't changed the gaps settings (default "append to previous track"), then create only "mg" cuesheet.

Quote
CoverDownloaderLocalPath=@mymusic@\EAC\$cdartist$ - $album$\cover.jpg

Can't use tokens under [Settings] section (except few in "ImageNaming"). This setting is used to point cover images already in your HD to be used in REACT instead of running AlbumArtDownloader. Check the setting help (http://wiki.hydrogenaudio.org/index.php?title=REACT:Mods#.5BSettings.5D_CoverDownloaderLocalPath). I.e. if you don't have covers already, leave this setting empty. It is NOT used to set where REACT saves the cover in the end (common mistake).


I see that you've updated some of the encoders; note that there might be some changes to them that could break REACT functionality. Most probably they won't, but it's something to be aware of and possibly test everything before starting ripping your CD's.


P.S. Use CODEBOX tags instead of CODE tags when posting long listings.
Title: REACT 2 Released
Post by: MyNameIsHomer on 2010-10-28 21:12:14
Hi Akkurat, thx for your reply.

i didn't know that is is necessary to use the hotkeys (F4+F10) to get EAC working.
Anyway i got solutions for the following problems right now:

1.) working
2.) working

3.) not solved now:
    - when i rip normal album-cds i want flac AND mp3 files to be created.
    - when i rip an DJ-SET mix i want to rip this as a "all-in-one" image file (.mp3 and maybe .flac, too)

to get this like i want it to be by now i have to select/deselect the filetypes everytime (set them 0 or 1)
Code: [Select]
[UserTrackFormats]
Flac=0
Wavpack=0
LameMP3=0
NeroAac=0
iTunesAac=0
OggEnc2=0
Tak=0

Is there a better/easier solution? for that so i don't have to work in the configs everytime?

4.) coverdownloader is now working.
i downloaded CoverDownloaderXUI and integrated this instead of that what comes along with your pack.
But the cover is named "folder.jpg". Is there an easy config-way to change that name? Or do i have to search-and-replace all "folder.jpg" in the tracks.cfg and the image.cfg?

New question: is something like
Code: [Select]
ImageExt=mp3|flac
in a way possible?

Here is my up to date react.cfg
Code: [Select]
[Settings]
Version=2.0.akku.b04
ImageExt=mp3
ImageNaming=$artist$ - $album$
ImageHotKey={F10}
TracksHotKey={F4}
TracksHotVal=+{F5}
VA=Various Artists
CreateCuesheet=mg
RunCoverDownloader=1
CoverDownloader=C:\Programme\Exact Audio Copy\react20\CoverDownloaderXUI\AlbumArt.exe
CoverDownloaderXUI=1
CoverDownloaderLocalPath=
OpenAddMetaDataDiag=1
EAC=C:\Programme\Exact Audio Copy\EAC.exe
Tools=C:\Programme\Exact Audio Copy\react20\tools
MinimizeCompressionWindow=0
ProcessPriority=5
Sla_Bks_Col_Qst_Bar_Quo_Ast_Lt_Gt=-|-|-||!|'|#|[|]
Test=0

[UserTrackFormats]
Flac=1
Wavpack=0
LameMP3=1
NeroAac=0
iTunesAac=0
OggEnc2=0
Tak=0


[UserOutputNames]
OutRoot=@mymusic@\EAC
ImageDir_Flac=@OutRoot@\$cdartist$ - $album$\flac
ImageDir_Wavpack=@OutRoot@\$cdartist$ - $album$\wav
ImageDir_MP3=@OutRoot@\$cdartist$ - $album$
ImageDir_Tak=@OutRoot@\$cdartist$ - $album$\TAK
TrackDir_Flac=@OutRoot@\$cdartist$ - $album$\flac
TrackDir_Wavpack=@OutRoot@\$cdartist$ - $album$\wv
TrackDir_MP3=@OutRoot@\$cdartist$ - $album$
TrackDir_AAC=@OutRoot@\$cdartist$ - $album$\AAC
TrackDir_OGG=@OutRoot@\$cdartist$ - $album$\OGG
TrackDir_Tak=@OutRoot@\$cdartist$ - $album$\TAK
TrackName_SA=$track$ - $title$
TrackName_VA=$track$ - $artist$ $title$
TrackName_SA_acdir=$n - $~t
TrackName_VA_acdir=$n - $~t [$~a]

[UserSettings]
DebugMode=0
Debug=0
Comment=Created with EAC/@reactversion@, @curdate@
EmbedCover=1
ReplayGain=1
ApplyAlbumGain=1
AdjustAlbumGain_dB=+3.0
AddCuesheetAG=0
UseWaveGainAG=0
Opt_Flac=-0 -f
Opt_Wavpack=-hmy
Opt_LameMP3=-V9 --noreplaygain --nohist
Opt_NeroAac=-lc -q 0.21
Opt_iTunesAac=-d -s 2000
Opt_OggEnc2=-q 3.0
Opt_Tak=-p4M -overwrite
Ver_Flac=1.2.1b
Ver_Wavpack=4.60b
Ver_LameMP3=3.98.4
Ver_NeroAac=1.5.1
Ver_OggEnc2=2.83 sse3mt_lancer20061110.zip
Ver_Tak=2.0.0

[DefaultMetaData]
discnumber=1
totaldiscs=1
discname=
Title: REACT 2 Released
Post by: Akkurat on 2010-10-29 00:40:27
- when i rip normal album-cds i want flac AND mp3 files to be created.
- when i rip an DJ-SET mix i want to rip this as a "all-in-one" image file (.mp3 and maybe .flac, too)

to get this like i want it to be by now i have to select/deselect the filetypes everytime (set them 0 or 1)
Is there a better/easier solution? for that so i don't have to work in the configs everytime?

No. Though, why are you ripping "DJ-SET mix" CD's as images? Worried about gapless playing? You shouldn't. Tracks work equally the same. I believe that this forum is full of this same topic in case you want to know more.. just search.

the cover is named "folder.jpg". Is there an easy config-way to change that name? Or do i have to search-and-replace all "folder.jpg" in the tracks.cfg and the image.cfg?

No "INI config-way", but it seems that you already found a super easy way to change them to your liking.

BTW. my mod doesn't come with any cover downloader, it's the old old original REACT 2.0 which has that old, not working cover downloader app.

New question: is something like ImageExt=mp3|flac in a way possible?

No.
Title: REACT 2 Released
Post by: MyNameIsHomer on 2010-10-29 01:03:10
- when i rip normal album-cds i want flac AND mp3 files to be created.
- when i rip an DJ-SET mix i want to rip this as a "all-in-one" image file (.mp3 and maybe .flac, too)

to get this like i want it to be by now i have to select/deselect the filetypes everytime (set them 0 or 1)
Is there a better/easier solution? for that so i don't have to work in the configs everytime?

No. Though, why are you ripping "DJ-SET mix" CD's as images? Worried about gapless playing? You shouldn't. Tracks work equally the same. I believe that this forum is full of this same topic in case you want to know more.. just search.


Hi Akkurat. thx for your reply.

Well, all my mp3-hardware create a second of silence between 2 tracks. I'm not able to tell them they shouldn't do that.  That's the reason.
Can you give me a hint how to fix it?  Searching all over the forum (or this 72 page topic) is very hard for me, because my english is sort of bad

EDIT: what does this whole "REM ---- Tracks ----"-Section inside react-IMAGE.cfg do? Does this whole part create the seperated tracks? Maybe it's a solution to youst delete this part or comment it out?What do you think about this?

Well, i did not know that this coverdownloader is from someone else then from you. I guessed it, but as an part of this package i thought it works fine with all the rest.
Maybe you should replace it with the XUI-version in your next release.

Another question: is it in a way possible to set up new config vars in the react.cfg (like "create_m3u=1") and access them in the other 2 .cfg, just like u did with your vars?

Thanks a lot for your help!
Title: REACT 2 Released
Post by: Akkurat on 2010-10-29 01:52:26
Well, all my mp3-hardware create a second of silence between 2 tracks

Whoops, seems like I'm talking (partly) horse manure. I didn't think about hardware stuff.. and it seems that I'm/was a bit uninformed/misguided about this topic (http://www.hydrogenaudio.org/forums/index.php?showtopic=65754&hl=gapless++hardware++mp3). Sorry. Can't know everything.

Maybe you should replace it with the XUI-version in your next release.

Sure, it has been in my todo list for a while, but it's not just that easy as copying the files to my mod package. There's actually some things that need to be worked out/changed before I'm ready to "officially" support XUI in my mod.

is it in a way possible to set up new config vars in the react.cfg (like "create_m3u=1") and access them in the other 2 .cfg, just like u did with your vars?

Yes. In the INI file, e.g. under the [UserSettings] section, create whatever you like and you can use them in both .cfg's.

what does this whole "REM ---- Tracks ----"-Section inside react-IMAGE.cfg do? Does this whole part create the seperated tracks? Maybe it's a solution to youst delete this part or comment it out?

Yes, if you want to make a very customized configs, sure. Keep the "ImageExt=mp3" and remove all the track sections out (or just FLAC & Mp3). Now you won't have to edit INI, just rip gapless images with F10, and tracks with F4. Or leave the FLAC tracks in image config, and get Mp3 image & FLAC tracks with same rip.
Title: REACT 2 Released
Post by: MyNameIsHomer on 2010-10-29 02:02:39
hey Akkurat, thank you very much.

as i integrated the XUI-version now, i can tell you, it just works fine

now i will integrate a variable like "create_m3u=1" in the user section. Reason. added some funktionality to create m3u playlists.

To the image.problem: i won't  delete the "create-tracks"-stuff. I got another idea. I added
Code: [Select]
[DefaultMetaData]
createImageONLY=0

and inside the "REACT-image.cfg" i check the status of this var to weather process single tracks or not. That's cool and more flexible i think

Feel free to grap this ideas to your mod.

Again thank you very much for your helping hand

Title: REACT 2 Released
Post by: Akkurat on 2010-10-29 02:20:49
Quote
as i integrated the XUI-version now, i can tell you, it just works fine

Just make sure to save/select only jpg images ((at least) FLAC encoding/tagging fails otherwise). My experience is that 99.9% of images retrieved by XUI scripts are jpg's. Additionally I've seen once a png image saved with a .jpg extension.

Quote
Again thank you very much for your helping hand

No problem.
Title: REACT 2 Released
Post by: BM29759 on 2010-11-24 11:32:57
Anyone test with Exact Audio Copy V1.0 beta 1?
Title: REACT 2 Released
Post by: Akkurat on 2010-11-24 11:44:22
With 99% certainty, it won't work. And unfortunately for you, talk about nice coincidence, I'm just starting a move to a new house (renovate the new, move stuff, paperworks, clean out both houses, etc., LOTS of work). So, it takes at least a month before I could even start _testing_ it out. But, IMO there's nothing in the new EAC that absolutely requires you to upgrade immediately.
Title: REACT 2 Released
Post by: zilexa on 2010-11-25 23:31:59
Is there a new site/version of React that supports the final version, Exact Audio Copy 1.0 ?
Title: REACT 2 Released
Post by: Akkurat on 2010-11-26 07:58:47
You didn't bother to read at least few last posts before posting?

And, as usual, early birds catches the bugs (http://www.digital-inn.de/exact-audio-copy-english/40213-eac-1-0-beta-1-now-released-post149389.html).
Title: REACT 2 Released
Post by: Noah Jenda on 2010-11-30 18:47:41
Anyone test with Exact Audio Copy V1.0 beta 1?


Yes, and as Akkurat predicted, it doesn't work.

Wish I'd looked at this forum before I spent a few hours, but at least we can say it's been thoroughly tested now.

Fell back to an earlier version of EAC, and the REACT mod is working fine again.

Guess we'll have to be patient and hope Akkurat's move goes smoothly so he can start testing the new beta of EAC.
Title: REACT 2 Released
Post by: rumpel_stiel on 2010-12-21 16:25:13
First of all, thanks a lot for REACT and the mods. I was using the akku.b03 mod for all of my CDs and was very happy with it until ...

... I bought a new computer using win7/64.

Until it comes to compression everything works out fine (Album Art XUI starts and saves the chosen file correctly, EAC reads the CD and saves the .wav files, the folders get created), but when compression starts, I end up with empty folders - no files. I uninstalled, and re-installed, following the list in post 1668 (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=50273&view=findpost&p=679076), but the result is still the same. Any ideas?
Title: REACT 2 Released
Post by: Akkurat on 2010-12-21 17:45:21
Few quick tips to try out (I don't have time to do "full" debug/helping ATM, moving still takes time.. and it's almost Christmas):

- Install EAC (and possibly REACT) somewhere else than "program files", e.g. root C:\eac (related to EAC & Win7(&/64bit)).
- Using 64bit OS; copy "CHCP.com" file from your OS "system32" folder to "SysWOW64" folder.
- Read the mod note about restricted user rights in newer Windows' (http://wiki.hydrogenaudio.org/index.php?title=REACT:Mods#Windows_Vista).

HTH.

EDIT: There's a newer b04 version available (EAC 0.99pb5 works only with b04 version!, don't use the EAC 1.0beta, it's not supported, yet).
Title: REACT 2 Released
Post by: rumpel_stiel on 2010-12-21 17:51:32
Great! Thanks for the very quick reply! I'll try out your tips.

Merry Christmas
Title: REACT 2 Released
Post by: BM29759 on 2010-12-21 18:11:42
First of all, thanks a lot for REACT and the mods. I was using the akku.b03 mod for all of my CDs and was very happy with it until ...

... I bought a new computer using win7/64.

Until it comes to compression everything works out fine (Album Art XUI starts and saves the chosen file correctly, EAC reads the CD and saves the .wav files, the folders get created), but when compression starts, I end up with empty folders - no files. I uninstalled, and re-installed, following the list in post 1668 (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=50273&view=findpost&p=679076), but the result is still the same. Any ideas?


I've been using ract2 Win7 x64 for over a year...  Below is what I had to do to get it to work.

I had to mod my react.ini as follows
Code: [Select]
EAC=C:\Program Files (x86)\Exact Audio Copy\EAC.exe
Tools=C:\Program Files (x86)\REACT2\tools

Additionally on the react2 shortcut on the compatibility tab I had to select "run this program as an administrator"
Title: REACT 2 Released
Post by: Tarondor on 2010-12-29 11:54:12
First of all, thanks a lot for REACT and the mods. I was using the akku.b03 mod for all of my CDs and was very happy with it until ...

... I bought a new computer using win7/64.

Until it comes to compression everything works out fine (Album Art XUI starts and saves the chosen file correctly, EAC reads the CD and saves the .wav files, the folders get created), but when compression starts, I end up with empty folders - no files. I uninstalled, and re-installed, following the list in post 1668 (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=50273&view=findpost&p=679076), but the result is still the same. Any ideas?

I had the same problem - empty folders. Try to start the acdir.exe from the tools-folder of your react-installation. I got the error, that msvcr71.dll was missing. I downloaded and copied it to C:\Windows\SysWOW64 and everything is fine now.
Title: REACT 2 Released
Post by: uk2000 on 2011-01-03 14:42:07
Hello,

I am a newbie to REACT. However I was searching in the last days through this forum for a solution of a problem. I´ve found multiple hints and tried them all but without success.

I am running REACT on Win 7 64 bit. The REACT.INI is listed below. Whenever I am pressing the F4 key, I am getting every time a message "Unable to move cuesheet. File does not exist...."
I´ve already done the following:
The debugging.txt shows the following

Code: [Select]
2011-01-03 15:14:40  CoverDownloader command: "C:\Program Files\AlbumArtDownloader\AlbumArt.exe"
 /artist "The Best Of" /album "1" /path "C:\Users\uli\Music\1.%extension%" /autoclose
2011-01-03 15:14:48  Creating a cuesheet to glean information
2011-01-03 15:14:54  Waiting for the Gap Detection 'Analyzing' window to disappear
2011-01-03 15:14:55  Waiting for the Gap Detection 'Analyzing' window to disappear
2011-01-03 15:14:56  Waiting for the Indices Detection 'Analyzing' window to disappear
2011-01-03 15:14:59  Waiting for the UPC/ISRC Detection 'Analyzing' window to disappear
2011-01-03 15:15:00  Waiting for the UPC/ISRC Detection 'Analyzing' window to disappear
2011-01-03 15:15:05  Waiting for the cuefile to appear
2011-01-03 15:15:05  Unable to move 'C:\Users\uli\Music\1.CUE'. File does not exist
2011-01-03 15:15:08  Aborting (cuefile doesn't exist)...
2011-01-03 15:15:08  Tried to delete all other cuefiles from 'C:\Users\uli\Music\' directory

2011-01-03 15:15:08  - END - MoveCuesheet -
When looking for a cuesheet, I can see that it generates one, but the name is containing artist, album name, etc.. However the debugging seems to say, that it looks for a file named 1.cue.

Code: [Select]
[Settings]
Version=2.0.akku.b04
ImageExt=flac
ImageNaming=$artist$ - [$year$] $album$
ImageHotKey={F10}
TracksHotKey={F4}
TracksHotVal=+{F5}
VA=Various Artists
CreateCuesheet=
RunCoverDownloader=1
CoverDownloader=C:\Program Files\AlbumArtDownloader\AlbumArt.exe
CoverDownloaderXUI=1
CoverDownloaderLocalPath=
OpenAddMetaDataDiag=0
EAC=C:\Program Files (x86)\Exact Audio Copy\EAC.exe
Tools=C:\Program Files (x86)\REACT2\tools
MinimizeCompressionWindow=1
ProcessPriority=1
Sla_Bks_Col_Qst_Bar_Quo_Ast_Lt_Gt=-|-|-||!|'|#|[|]
Test=0

[UserTrackFormats]
Flac=1
Wavpack=0
LameMP3=1
NeroAac=0
iTunesAac=0
OggEnc2=0
Tak=0

[UserOutputNames]
OutRoot=@mymusic@\EAC\
ImageDir_Flac=@OutRoot@\FLAC-images\$cdartist$
ImageDir_Wavpack=@OutRoot@\WV-images\$cdartist$
ImageDir_MP3=@OutRoot@\MP3-images\$cdartist$
ImageDir_Tak=@OutRoot@\TAK-images\$cdartist$
TrackDir_Flac=@OutRoot@\FLAC\$cdartist$\[$year$]$album$
TrackDir_Wavpack=@OutRoot@\WV\$cdartist$\[$year$]$album$
TrackDir_MP3=@OutRoot@\MP3\$cdartist$\[$year$]$album$
TrackDir_AAC=@OutRoot@\AAC\$cdartist$\[$year$]$album$
TrackDir_OGG=@OutRoot@\OGG\$cdartist$\[$year$]$album$
TrackDir_Tak=@OutRoot@\TAK\$cdartist$\[$year$]$album$
TrackName_SA=$track$-$title$
TrackName_VA=$track$-$title$[$artist$]
TrackName_SA_acdir=$n-$~t
TrackName_VA_acdir=$n-$~t [$~a]

[UserSettings]
DebugMode=1
Debug=1
Comment=Created with EAC/@reactversion@,@curdate@
EmbedCover=1
ReplayGain=1
ApplyAlbumGain=1
AdjustAlbumGain_dB=+3.0
AddCuesheetAG=0
UseWaveGainAG=0
Opt_Flac=-5 -f
Opt_Wavpack=-hmy
Opt_LameMP3=-V2 --noreplaygain --nohist
Opt_NeroAac=-lc -q 0.21
Opt_iTunesAac=-d -s 2000
Opt_OggEnc2=-q 3.0
Opt_Tak=-pN -overwrite
Ver_Flac=1.2.1b
Ver_Wavpack=4.60
Ver_LameMP3=3.98.2
Ver_NeroAac=1.0.0.2
Ver_OggEnc2=2.83 Lancer aoTuV b5
Ver_Tak=1.0.1

[DefaultMetaData]
discnumber=1
totaldiscs=1
discname=
Any ideas what is going wrong??

Thanks in advance for recommendation.
Title: REACT 2 Released
Post by: Tanguero on 2011-01-05 11:35:33
message "Unable to move cuesheet. File does not exist...."

Accidentally I was working on the same problem yesterday. There are several threads mentioning this problem again and again. And I worked it out ...     

If you are able to recompile the au3-script, then you can amend it yourself (but be sure to use the right version of AutoIt v3.2.12.1)
The problem is a faulty reference to textboxes of the EAC-window, where the information about album, artist, ... is coming from.

You have to do the following steps:
* Open 'src\REACT 2.0.akku.b04.au3'
* Search and replace every occurence of 'myedit1', 'myedit2' and 'myedit3' with 'MYEdit1', 'MYEdit2', 'MYEdit3', most important in the following code section:

Code: [Select]
605   	$gui_album = ControlGetText($g_eacTitle, $g_eacText, "MYEdit1")
606  $gui_artist = ControlGetText($g_eacTitle, $g_eacText, "MYEdit2")
607  $gui_year = ControlGetText($g_eacTitle, $g_eacText, "MYEdit3")
* Now you have to recompile the file with AutoIt v3.2.12.1 and put it back in the REACT program directory.
That's all.

If you are not able to perform the above steps, then you should ask AKKURAT to make a bug fix.

@AKKURAT: I am using EAC v0.99prebeta5/REACT v2.0.akku.b04 on Windows Vista. All configuration has been properly set. The debugging file specifies, that REACT tries to move a file with no name (Unable to move 'C:\Windows\Temp\EAC\.CUE'. File does not exist). I checked the outcomes of ControlGetText in lines 605-607 and they were all empty. Renaming the text box refs with case sensitivity solved the problem rightaway.

Good luck, Tanguero
Title: REACT 2 Released
Post by: Synthetic Soul on 2011-01-05 13:52:02
Firstly, I would like to say how great it is to see a user being so pro-active. 

However, users should note that in XP the controls appear (using Window Info) to have the class names "myedit1", "myedit2" and "myedit3", so flatly changing those lines may cause issues.  Whether there would be a class name case issue on XP, or whether Window Info is reporting correctly, is another question...

It's possible that @OSVersion (http://www.autoitscript.com/autoit3/docs/macros.htm) needs to be used to detect the Windows version, and act accordingly.  Alternatively - and probably better - ControlGetText could use an alternative method (http://www.autoitscript.com/autoit3/docs/intro/controls.htm) of referring to the controls, e.g.: ID.  NB: MY controls have the IDs 992, 993 and 995.

Did you use AutoIt's Window Info to retrieve the class names?  Maybe someone on Windows 7 should try the same.
Title: REACT 2 Released
Post by: hanning on 2011-01-05 15:50:00
I am running REACT on Win 7 64 bit. The REACT.INI is listed below. Whenever I am pressing the F4 key, I am getting every time a message "Unable to move cuesheet. File does not exist...."

Any ideas what is going wrong??

It is an issue with the new EAC 1.0b1, in two ways. First, it now stores all its registry entries under a different key. Second, some UI element class names have changed. On top of that it also now uses Unicode format for its log file. I ran into this a two days ago when trying to setup REACT and EAC after not having had it installed for a year or so.

I have solved this issue on my Win7 64bit PC by patching the REACT 2.0.akku.b04.au3 file and regenerating a new REACT.exe file. I also downloaded WavPack 4.60.2a to be able to embed the new Unicode enabled log files into my .wv images.

The only other issues that I have found so far that I don't have a solution for is that ACDIR doesn't honor the Sla_Bks_Col_Qst_Bar_Quo_Ast_Lt_Gt setting when generating track files in image mode and that EAC and REACT are also mismatched in this area in terms of naming the cue sheets (leading to "Cuesheet not found" errors if there are illegal characters in the album title). For now I have set EAC's (new?) character replacement settings to all spaces (to match REACT's current internals) and I'm manually renaming the affected track files after encoding has completed. It seems to be working so far. If I have time I'll see about adding an extra command line option to ACDIR to be able to specify the character replacement settings.

The changes made to the .au3 file were to:
* change references to the VA checkbox from "mybutton16" to "mybutton18"
* change references to the Album, Artist and Year text fields from "myedit1", "myedit2" and "myedit3" to "myedit2", "myedit3" and "myedit4"
* change any registry activity on keys containing "AWSoftware\EAC" to "AWSoftware\EACU"
* change any "REG_BINARY" registry writes (and reads) of strings like "FF" to Char(255, 1) and strings like "14000000" to Char(20, 1) & Char(0, 1) & Char(0, 1) & Char(0, 1). There's probably a more elegant way to do this but I haven't done a whole lot of AutoIt work to date. The reason for the need for this is that the new EAC seems to now write e.g. 0xFF to the registry instead of 0x46 0x46, like the old EAC did when encountering "FF".

If you download and install AutoIt you'll be able to make these same changes and get by until there's a new officially released version. Please also note that these changes could break REACT for non Win 7 PCs and/or older versions of EAC.

@Tanguero: I was able to compile with the latest AutoIt on my Win 7 64bit PC without any other modifications than those described above. It's been working well so far.
Title: REACT 2 Released
Post by: Tanguero on 2011-01-05 16:56:17
Did you use AutoIt's Window Info to retrieve the class names?


Yes, Au3Info was the tool to retrieve the information.
Title: REACT 2 Released
Post by: Synthetic Soul on 2011-01-05 17:08:54
If you download and install AutoIt you'll be able to make these same changes and get by until there's a new officially released version. Please also note that these changes could break REACT for non Win 7 PCs and/or older versions of EAC.
There no reason why you could not upload your EXE either to the Uploads forum (http://www.hydrogenaudio.org/forums/index.php?showforum=35) or some other webspace.  It may be useful to get others testing with the latest EAC.  Change the version string though, in a similar way that Akkurat and I did, to stop any confusion.

Yes, Au3Info was the tool to retrieve the information.
Thanks for the info.  I guess hanning's findings mean that perhaps the next REACT version will have to make changes in this area anyway, if control class names have changed.
Title: REACT 2 Released
Post by: Akkurat on 2011-01-06 00:04:56
Any ideas what is going wrong??

Like others reminded, REACT doesn't work yet with the latest EAC 1.0 beta1. Are you using it?
Title: REACT 2 Released
Post by: Akkurat on 2011-01-06 00:05:12
message "Unable to move cuesheet. File does not exist...."

There are several threads mentioning this problem again and again.

Where? Any recent? AFAIK, I've dealt every cuesheet generation problem (in my mod) raised here in HA, and I can't even remember when was the last time.

I am using EAC v0.99prebeta5/REACT v2.0.akku.b04 on Windows Vista. All configuration has been properly set. The debugging file specifies, that REACT tries to move a file with no name (Unable to move 'C:\Windows\Temp\EAC\.CUE'. File does not exist). I checked the outcomes of ControlGetText in lines 605-607 and they were all empty. Renaming the text box refs with case sensitivity solved the problem rightaway.

I've to say that I'm really surprised, and as far as I understand, there are other Vista users happily(?) REACTing, i.e. this is the first time anything like this has come up. I wonder if this is again related to the "Sony Ericsson PC suite" causing mysterious problems to AutoIt compiled programs. If you have that running, try closing it from the systray and try REACT again.
Title: REACT 2 Released
Post by: Akkurat on 2011-01-06 00:28:14
It is an issue with the new EAC 1.0b1, in two ways. First, it now stores all its registry entries under a different key. Second, some UI element class names have changed. On top of that it also now uses Unicode format for its log file.

I believe that there are more things that break REACT (can't remember exactly, but wasn't there at least new log/cue filenaming convention.. and I don't have my desktop PC set up yet where all my info is stored.. would you believe it, it seems that I've "lost" something during the house move, almost all computer cables are lost.. at least for now, still have boxes to unpack (and sh#%load of other things to do, like putting the kitchen up to a working condition so I don't have to eat microwave stuff every day), though I've checked "every" one already.)

The only other issues that I have found so far that I don't have a solution for is that ACDIR doesn't honor the Sla_Bks_Col_Qst_Bar_Quo_Ast_Lt_Gt setting when generating track files in image mode

ACDIR has its own replacement system, IIRC, it gleans the data from cuesheet. At some point I thought of a bubblegum system to use REACT replacement chars (and IIRC, it was partly (or mainly) about getting "filename corrected cuesheet references" for image mode tracks too), but it never materialized.. maybe because it was in the pseudo-code state and there were few big problems attached to it. This is one of the major reasons why I don't like the image mode in REACT.

* change any "REG_BINARY" registry writes (and reads) of strings

Script breaking change (http://www.autoitscript.com/autoit3/docs/script_breaking_changes.htm) after 3.2.12.x version:
[blockquote]
Quote
RegRead() and RegWrite() no longer use hex strings for REG_BINARY types - native binary datatypes are enforced.
[/blockquote]

@Tanguero: I was able to compile with the latest AutoIt on my Win 7 64bit PC without any other modifications than those described above. It's been working well so far.

A really quick glance over the Script breaking changes (http://www.autoitscript.com/autoit3/docs/script_breaking_changes.htm) page tells me that the following things might also do havoc:
[blockquote]
Quote
  • ProcessWait() now returns a PID instead of 1 on success.
  • WinWait(), WinWaitActive(), WinActivate(), WinActive() and WinMove() now return an HWND instead of 1 on success.
[/blockquote]
I think that I wouldn't update AutoIt at the same time when doing other changes to the code. There was this one problem that took my and one user's time testing it out; it was some odd change (I still don't know what it is) in one AutoIt version (version between AutoIt version Synthetic Soul used and the version I used/use) that, IIRC, made reading OR was it writing strings to some EAC window controls fail. There's nothing in the changelogs/script breaking changes documentation that would have explained it. This is one of the reason why I like to do a small change and test it properly before doing another one (when it's possible). I've witnessed that this method produces less-buggy code.
Title: REACT 2 Released
Post by: Vhagar on 2011-01-28 15:47:41
Hi,

I still got problems with the VA naming in imaging mode.

This is the entry in my react.ini:

TrackName_VA_acdir=$A - $~t ($T - $r{DATE} - Track $n)

But it is always beeing named "Various Artists - blahsong.flac (blahcd - 28.01.2011 - Track 03)" instead of "blahartist - blahsong.flac (blahcd - 28.01.2011 - Track 03)".

And somehow it seems like the cuesheet ist not beeing generated properly. This is what I've got. Is ist normal that most of the songs have "INDEX 01 00:00:00"? Shouldn't there be gap informations?

Code: [Select]
REM DISCNUMBER 1
REM TOTALDISCS 1
REM GENRE Metal
REM DATE 2008
REM DISCID AD0C1D0D
REM COMMENT "ExactAudioCopy v0.99pb5"
PERFORMER "Legion Of The Damned"
TITLE "Feel the Blade"
FILE "Legion Of The Damned - Feel the Blade - 01 - Nuclear Torment.wav" WAVE
  TRACK 01 AUDIO
    TITLE "Nuclear Torment"
    PERFORMER "Legion Of The Damned"
    INDEX 01 00:00:00
FILE "Legion Of The Damned - Feel the Blade - 02 - Nocturnal Predator.wav" WAVE
  TRACK 02 AUDIO
    TITLE "Nocturnal Predator"
    PERFORMER "Legion Of The Damned"
    INDEX 01 00:00:00
FILE "Legion Of The Damned - Feel the Blade - 03 - Slaughtering The Pigs.wav" WAVE
  TRACK 03 AUDIO
    TITLE "Slaughtering The Pigs"
    PERFORMER "Legion Of The Damned"
    INDEX 01 00:00:00
FILE "Legion Of The Damned - Feel the Blade - 04 - Slut Of Sodom.wav" WAVE
  TRACK 04 AUDIO
    TITLE "Slut Of Sodom"
    PERFORMER "Legion Of The Damned"
    INDEX 01 00:00:00
FILE "Legion Of The Damned - Feel the Blade - 05 - Feel The Blade.wav" WAVE
  TRACK 05 AUDIO
    TITLE "Feel The Blade"
    PERFORMER "Legion Of The Damned"
    INDEX 01 00:00:00
  TRACK 06 AUDIO
    TITLE "Expire"
    PERFORMER "Legion Of The Damned"
    INDEX 00 04:18:52
FILE "Legion Of The Damned - Feel the Blade - 06 - Expire.wav" WAVE
    INDEX 01 00:00:00
FILE "Legion Of The Damned - Feel the Blade - 07 - Warbeast.wav" WAVE
  TRACK 07 AUDIO
    TITLE "Warbeast"
    PERFORMER "Legion Of The Damned"
    INDEX 01 00:00:00
FILE "Legion Of The Damned - Feel the Blade - 08 - Disturbing The Dead.wav" WAVE
  TRACK 08 AUDIO
    TITLE "Disturbing The Dead"
    PERFORMER "Legion Of The Damned"
    INDEX 01 00:00:00
FILE "Legion Of The Damned - Feel the Blade - 09 - Obsessed By The Grave.wav" WAVE
  TRACK 09 AUDIO
    TITLE "Obsessed By The Grave"
    PERFORMER "Legion Of The Damned"
    INDEX 01 00:00:00
FILE "Legion Of The Damned - Feel the Blade - 10 - Reapers Call.wav" WAVE
  TRACK 10 AUDIO
    TITLE "Reapers Call"
    PERFORMER "Legion Of The Damned"
    INDEX 01 00:00:00
FILE "Legion Of The Damned - Feel the Blade - 11 - Last Command.wav" WAVE
  TRACK 11 AUDIO
    TITLE "Last Command"
    PERFORMER "Legion Of The Damned"
    INDEX 01 00:00:00
FILE "Legion Of The Damned - Feel the Blade - 12 - Mask Of Terror.wav" WAVE
  TRACK 12 AUDIO
    TITLE "Mask Of Terror"
    PERFORMER "Legion Of The Damned"
    INDEX 01 00:00:00
FILE "Legion Of The Damned - Feel the Blade - 13 - Chronic Infection.wav" WAVE
  TRACK 13 AUDIO
    TITLE "Chronic Infection"
    PERFORMER "Legion Of The Damned"
    INDEX 01 00:00:00

Here's my react-image.cfg

Code: [Select]
@ECHO OFF
CHCP 1252 | PROMPT
TITLE "@album@"

REM Copyright © Tycho, 2006
REM
REM ** Ripping to .wav image.
REM **
REM ** To archive a CD as one large "image", you must SET
REM ** ImageExt=... in the REACT.ini file (Press Alt-F2).
REM ** This will set the @ImageExt@ variable. Extensions
REM ** currently supported:  flac, wv, mp3. Set to 'wav'
REM ** for no image archiving (default).
REM **
REM ** Also creates tracks by encoding directly to tracks, using ACDIR.
REM **
REM ** Flac requires flac.exe/metaflac.exe (v1.1.3)
REM ** NeroAac requires NeroAacEnc.exe/NeroAacTag.exe/AacGain.exe.
REM ** OggEnc2 requires OggEnc2.exe/VorbisGain.exe.
REM **
REM ** I prefer applying album gain 92dB to get a reasonable
REM ** volume for my DAP. The RG tags are still relative
REM ** to 89dB SPL, i.e. album gain will be about -3.0dB.

REM ============== Begin Main Script ==================


IF @Debug@==1 ECHO ON

IF @various@==0 SET TrackName=@TrackName_SA_acdir@
IF @various@==1 SET TrackName=@TrackName_VA_acdir@

SET add_rg=@ReplayGain@
SET have_cover=0
SET embed_cover=0

IF NOT @ReplayGain@==1 GOTO end_RG
    SET RG_Flac=--replay-gain
    SET RG_MetaFlac=--add-replay-gain
    SET RG_MetaMP3=--replay-gain
:end_RG

IF NOT @ApplyAlbumGain@==1 GOTO end_apply_AG
    SET ApplyAG_MetaMP3=--apply-gain album@AdjustAlbumGain_dB@
    SET ApplyAG_AacGain=/a /o /c /d @AdjustAlbumGain_dB@
    SET add_rg=1
:end_apply_AG

IF EXIST "@cover@" (
    SET have_cover=1
    SET embed_cover=@EmbedCover@
)

IF @various@==0 (
SET ArtistField=artist
SET MP3Artist=--artist "@artist@"
) else (
SET ArtistField=album artist
SET MP3Artist=--frame "TXXX[album artist]:@VA@" --frame "TPE2:@VA@"
)


REM ** Create Disc-related tags if we have a set

SET discNumberInPath=0

REM ** Ensure that we have numeric values
SET /A discNumber = @discnumber@ + 0
SET /A totalDiscs = @totaldiscs@ + 0

REM ** If a valid disc number and total number of discs has been provided
IF %totalDiscs% LEQ 1 GOTO :end_discnumber
IF %discNumber% LEQ 0 GOTO :end_discnumber

    REM ** Set tagging switches
    SET Disc_Flac=-T "discnumber=@discnumber@" -T "totaldiscs=@totaldiscs@"
    SET Disc_Wavpack=-w "discnumber=@discnumber@" -w "totaldiscs=@totaldiscs@"
    SET Disc_MP3=--frame TPOS:"@discnumber@/@totaldiscs@"
    SET Disc_NeroAac=--disk "@discnumber@/@totaldiscs@"
    SET Disc_OggEnc2=-c "discnumber=@discnumber@" -c "totaldiscs=@totaldiscs@"
    SET Disc_Tak=-t "discnumber=@discnumber@" -t "totaldiscs=@totaldiscs@"
    SET Disc_Flac_acdir=-T $qdiscnumber=@discnumber@$q -T $qtotaldiscs=@totaldiscs@$q
    SET Disc_Wavpack_acdir=-w $qdiscnumber=@discnumber@$q -w $qtotaldiscs=@totaldiscs@$q
    SET Disc_MP3_acdir=--frame TPOS:$q@discnumber@/@totaldiscs@$q
    SET Disc_NeroAac_acdir=--disk $q@discnumber@/@totaldiscs@$q
    SET Disc_OggEnc2_acdir=-c $qdiscnumber=@discnumber@$q -c $qtotaldiscs=@totaldiscs@$q
    SET Disc_Tak_acdir=-t $qdiscnumber=@discnumber@$q -t $qtotaldiscs=@totaldiscs@$q

    REM ** Add disc number to image and track folder paths
    SET imageDir=%imageDir%\Disc @discnumber@
    SET trackDir=%trackDir%\Disc @discnumber@
SET discNumberInPath=1

:end_discnumber

REM ** If a disc name has been provided
IF "@discname@" EQU "" GOTO end_discname
SET discName=discname
SET discName=@%discname%@
IF "@discname@" EQU "%discName%" GOTO end_discname

    REM ** Set tagging switches
    SET Disc_Flac=%Disc_Flac% -T "discname=@discname@"
    SET Disc_Wavpack=%Disc_Wavpack% -w "discname=@discname@"
    SET Disc_MP3=%Disc_MP3% --frame "TXXX[setsubtitle]:@discname@"
    SET Disc_OggEnc2=%Disc_OggEnc2% -c "discname=@discname@"
    SET Disc_Tak=%Disc_Tak% -t "discname=@discname@"
    SET Disc_Flac_acdir=%Disc_Flac_acdir% -T $qdiscname=@discname@$q
    SET Disc_Wavpack_acdir=%Disc_Wavpack_acdir% -w $qdiscname=@discname@$q
    SET Disc_MP3_acdir=%Disc_MP3_acdir% --frame $qTXXX[setsubtitle]:@discname@$q
    SET Disc_OggEnc2_acdir=%Disc_OggEnc2_acdir% -c $qdiscname=@discname@$q
    SET Disc_Tak_acdir=%Disc_Tak_acdir% -t $qdiscname=@discname@$q

    REM ** Add disc name to image and track folder paths
    IF %discNumberInPath%==0 SET imageDir=%imageDir%\$discname$
    IF %discNumberInPath%==0 SET trackDir=%trackDir%\$discname$

IF %discNumberInPath%==1 SET imageDir=%imageDir% ($discname$)
IF %discNumberInPath%==1 SET trackDir=%trackDir% ($discname$)

:end_discname


SET run_wavegain=@UseWaveGainAG@
IF @AddCuesheetAG@==1 SET run_wavegain=1

IF %run_wavegain%==0 GOTO end_wavegain
    SET wg_tmp=wg_%RANDOM%
    @tools@\WaveGain.exe --album "@source@" --exec ECHO '%%ALBUM_GAIN%%'%%ALBUM_PEAK%%'%%ALBUM_NEW_PEAK%%'%%ALBUM_SCALE%%'> %wg_tmp%.txt
    FOR /F "usebackq tokens=1-6 delims='" %%a IN (%wg_tmp%.txt) DO (
        SET album_gain=%%b
        SET album_peak=%%c
        SET album_new_peak=%%d
        SET album_scale=%%e
    )
    ECHO REM REPLAYGAIN_ALBUM_GAIN %album_gain% dB> %wg_tmp%.cue
    ECHO REM REPLAYGAIN_ALBUM_PEAK %album_peak%>> %wg_tmp%.cue
    ECHO REM REPLAYGAIN_ALBUM_SCALE %album_scale%>> %wg_tmp%.cue
    DEL %wg_tmp%.txt
    TYPE "@cuesheet@" >> %wg_tmp%.cue
    MOVE /Y %wg_tmp%.cue "@cuesheet@"
:end_wavegain


REM ** Transfer RG values from Wavgain calculations, instead of recalculation.
IF @UseWaveGainAG@==1 IF %add_rg%==1 (
    SET RG_Flac=-T "replaygain_album_gain=%album_gain% dB" -T "replaygain_album_peak=%album_peak%"
    SET RG_MetaFlac=--set-tag="replaygain_album_gain=%album_gain% dB" --set-tag="replaygain_album_peak=%album_peak%"
    SET RG_Wavpack=-w "replaygain_album_gain=%album_gain% dB" -w "replaygain_album_peak=%album_peak%"
    SET RG_Wavpack_acdir=-w $qreplaygain_album_gain=%album_gain% dB$q -w $qreplaygain_album_peak=%album_peak%$q
    SET RG_Tak=-t "replaygain_album_gain=%album_gain% dB" -t "replaygain_album_peak=%album_peak%"
    SET RG_Tak_acdir=-t $qreplaygain_album_gain=%album_gain% dB$q -t $qreplaygain_album_peak=%album_peak%$q
    SET RG_MetaMP3=--frame "TXXX[replaygain_album_gain]:%album_gain% dB" --frame "TXXX[replaygain_album_peak]:%album_peak%"
    SET RG_OggEnc2_acdir=-c $qreplaygain_album_gain=%album_gain% dB$q -c $qreplaygain_album_peak=%album_peak%$q
)

REM ** Apply AlbumGain by using --scale <factor> computed from WaveGain. Only for MP3 and OGG.
IF @UseWaveGainAG@==1 IF @ApplyAlbumGain@==1 (
    SET ApplyAG_Lame=--scale %album_scale%
    SET ApplyAG_MetaMP3=--apply-gain @AdjustAlbumGain_dB@
    SET RG_MetaMP3=--frame "TXXX[replaygain_album_gain]:0.0 dB" --frame "TXXX[replaygain_album_peak]:%album_new_peak%"
    SET RG_OggEnc2_acdir=--scale %album_scale% -c $qreplaygain_album_gain=0.0 dB$q -c $qreplaygain_album_peak=%album_new_peak%$q
)


REM ---- Image ----


REM ** Ensure that the EAC log is available
:CheckForLog
IF NOT EXIST "@eaclog@" GOTO Pause


IF NOT @ImageExt@==flac GOTO end_flac_image
    SET dest="@ImageDir_Flac@%imageDir%"
    IF NOT EXIST %dest% MKDIR %dest%
    IF %embed_cover%==1 SET Cover_tag=--picture="|image/jpeg|||@cover@"
    @tools@\flac.exe @Opt_Flac@ %RG_Flac% %Cover_tag% %Disc_Flac% -T "%ArtistField%=@cdartist@" -T album="@album@" -T totaltracks="@numtracks@" -T date="@year@" -T genre="@genre@" -T comment="@comment@" -T encoded-by="%USERNAME%" -T encoding="Flac @Ver_Flac@ @Opt_Flac@" --tag-from-file="cuesheet=@cuesheet@" --tag-from-file="eaclog=@eaclog@" "@source@" -o "@image@"
    MOVE /Y "@image@" %dest%
    MOVE /Y "@cuesheet@" %dest%
    IF %have_cover%==1 COPY /Y "@cover@" %dest%\"@basename@.jpg"
:end_flac_image


IF NOT @ImageExt@==wv GOTO end_wavpack_image
    SET dest="@ImageDir_Wavpack@%imageDir%"
    IF NOT EXIST %dest% MKDIR %dest%
    @tools@\wavpack.exe @Opt_Wavpack@ %RG_Wavpack% %Disc_Wavpack% -w "%ArtistField%=@cdartist@" -w album="@album@" -w totaltracks="@numtracks@" -w year="@year@" -w genre="@genre@" -w comment="@comment@" -w encodedby="%USERNAME%" -w encodersettings="Wavpack @Ver_Wavpack@ @Opt_Wavpack@" -w cuesheet="@@cuesheet@" -w eaclog="@@eaclog@" "@source@" "@image@"
    IF @ReplayGain@==1 IF @UseWaveGainAG@==0 @tools@\wvgain.exe -a "@image@"
    TITLE "@album@"
    MOVE /Y "@image@" %dest%
    MOVE /Y "@cuesheet@" %dest%
    IF %have_cover%==1 COPY /Y "@cover@" %dest%\"@basename@.jpg"
:end_wavpack_image


IF NOT @ImageExt@==tak GOTO end_tak_image
    SET dest="@ImageDir_Tak@%imageDir%"
    IF NOT EXIST %dest% MKDIR %dest%
    @tools@\takc.exe -e @Opt_Tak@ "@source@" "@image@"
    @tools@\tag.exe %RG_Tak% %Disc_Tak% -t "%ArtistField%=@cdartist@" -t album="@album@" -t totaltracks="@numtracks@" -t year="@year@" -t genre="@genre@" -t comment="@comment@" -t encodedby="%USERNAME%" -t encodersettings="TAK @Ver_Tak@ @Opt_Tak@" -f cuesheet="@cuesheet@" -f eaclog="@eaclog@" "@image@"
    MOVE /Y "@image@" %dest%
    MOVE /Y "@cuesheet@" %dest%
    IF %have_cover%==1 COPY /Y "@cover@" %dest%\"@basename@.jpg"
:end_tak_image


IF NOT @ImageExt@==mp3 GOTO end_lame_image
    SET dest="@ImageDir_MP3@%imageDir%"
    IF NOT EXIST %dest% MKDIR %dest%
    IF %embed_cover%==1 SET Cover_tag=--frame "APIC{3}:@cover@"
    @tools@\lame.exe @Opt_LameMP3@ %ApplyAG_Lame% "@source@" "@image@"
    @tools@\metamp3.exe %RG_MetaMP3% %Cover_tag% %Disc_MP3% %MP3Artist% --album "@album@" --track @numtracks@ --year "@year@" --genre "@genre@" --comment "@comment@" --frame TENC:"%USERNAME%" --frame TSSE:"LAME @Ver_LameMP3@ @Opt_LameMP3@" "@image@"
    IF @ApplyAlbumGain@==1 @tools@\metamp3.exe %ApplyAG_MetaMP3% "@image@"
    MOVE /Y "@image@" %dest%
    MOVE /Y "@cuesheet@" %dest%
    IF %have_cover%==1 COPY /Y "@cover@" %dest%\"@basename@.jpg"
:end_lame_image


REM ---- Tracks ----


IF NOT @Flac@==1 GOTO end_flac_tracks
IF @various@==0 SET dest="@TrackDir_Flac_SA@%trackDir%"
IF @various@==1 SET dest="@TrackDir_Flac_VA@%trackDir%"
    IF NOT EXIST %dest% MKDIR %dest%
    PUSHD %dest%
IF @various@==1 SET VA_tag=-T $qalbum artist=@VA@$q
        IF %embed_cover%==1 SET Cover_tag=--picture=$#x
        @tools@\acdir.exe --overwrite --output "%TrackName%.flac" --extra-opt "|image/jpeg|||@cover@" --pipe "TITLE $n/$N flac $#T & @tools@\flac.exe @Opt_Flac@ %Cover_tag% %VA_tag% %Disc_Flac_acdir% -T artist=$#a -T album=$#T -T title=$#t -T tracknumber=$n/$N -T date=$q@year@$q -T genre=$q@genre@$q -T comment=$q@comment@$q -T encoded-by=$q%USERNAME%$q -T encoding=$qFlac @Ver_Flac@ @Opt_Flac@$q - -o $#o" "@sourcecuesheet@"
        IF %add_rg%==1 @tools@\Glob.exe -v -c @tools@\metaflac.exe %RG_MetaFlac% *.flac
        COPY /Y "@eaclog@" "EAClog.txt"
        IF %have_cover%==1 COPY /Y "@cover@" "folder.jpg"
        IF EXIST "@albumfile@.[*].cue" COPY /Y "@albumfile@.[*].cue" .
@tools@\Tag.exe --playlist --sort track --a-artist "@cdartist@" --a-title "@album@" --plname temp.m3u *.flac
REM ** Workaround for %-chars disappearing from the playlist filename when using tag.exe.
REN temp.m3u "000. $cdartist$ - $album$.m3u"
    POPD
:end_flac_tracks


IF NOT @Wavpack@==1 GOTO end_wavpack_tracks
    SET dest="@TrackDir_Wavpack@%trackDir%"
    IF NOT EXIST %dest% MKDIR %dest%
    PUSHD %dest%
        IF @various@==1 SET VA_tag=-w $qalbum artist=@VA@$q
        @tools@\acdir.exe --overwrite --output "%TrackName%.wv" --pipe "@tools@\wavpack.exe @Opt_Wavpack@ %RG_Wavpack_acdir% %VA_tag% %Disc_Wavpack_acdir% -w artist=$#a -w album=$#T -w title=$#t -w track=$n/$N -w year=$q@year@$q -w genre=$q@genre@$q -w comment=$q@comment@$q -w encodedby=$q%USERNAME%$q -w encodersettings=$qWavpack @Ver_Wavpack@ @Opt_Wavpack@$q - $#o" "@sourcecuesheet@"
        IF @ReplayGain@==1 IF @UseWaveGainAG@==0 @tools@\wvgain.exe -a *.wv
        COPY /Y "@eaclog@" "EAClog.txt"
        IF %have_cover%==1 COPY /Y "@cover@" "folder.jpg"
        IF EXIST "@albumfile@.[*].cue" COPY /Y "@albumfile@.[*].cue" .
    POPD
    TITLE "@album@"
:end_wavpack_tracks


IF NOT @Tak@==1 GOTO end_tak_tracks
    SET dest="@TrackDir_Tak@%trackDir%"
    IF NOT EXIST %dest% MKDIR %dest%
    PUSHD %dest%
        IF @various@==1 SET VA_tag=-t $qalbum artist=@VA@$q
        @tools@\acdir.exe --overwrite --output "%TrackName%.wav" --extract "@sourcecuesheet@"
        @tools@\acdir.exe --exec "@tools@\takc.exe -e -overwrite @Opt_Tak@ $q%TrackName%.wav$q $q%TrackName%.tak$q && @tools@\tag.exe %RG_Tak_acdir% %VA_tag% %Disc_Tak_acdir% -t artist=$#a -t album=$#T -t title=$#t -t track=$n/$N -t year=$q@year@$q -t genre=$q@genre@$q -t comment=$q@comment@$q -t encodedby=$q%USERNAME%$q -t encodersettings=$qTAK @Ver_Tak@ @Opt_Tak@$q $q%TrackName%.tak$q && DEL $q%TrackName%.wav$q" "@sourcecuesheet@"
        COPY /Y "@eaclog@" "EAClog.txt"
        IF %have_cover%==1 COPY /Y "@cover@" "folder.jpg"
        IF EXIST "@albumfile@.[*].cue" COPY /Y "@albumfile@.[*].cue" .
    POPD
:end_tak_tracks


IF NOT @LameMP3@==1 GOTO end_lame_tracks
IF @various@==0 SET dest="@TrackDir_MP3_SA@%trackDir%"
IF @various@==1 SET dest="@TrackDir_MP3_VA@%trackDir%"
    IF NOT EXIST %dest% MKDIR %dest%
    PUSHD %dest%
        IF @various@==1 SET VA_tag=--frame $qTXXX[album artist]:@VA@$q --frame $qTPE2:@VA@$q
        IF %embed_cover%==1 SET Cover_tag=--frame $#x
        @tools@\acdir.exe --overwrite --output "%TrackName%.mp3" --extra-opt "APIC{3}:@cover@" --pipe "TITLE $n/$N mp3 $#T & @tools@\lame.exe @Opt_LameMP3@ %ApplyAG_Lame% - $#o & @tools@\metamp3.exe %Cover_tag% %VA_tag% %Disc_MP3_acdir% --artist $#a --album $#T --title $#t --track $n/$N --year $q@year@$q --genre $q@genre@$q --comment $q@comment@$q --frame TENC:$q%USERNAME%$q --frame TSSE:$qLAME @Ver_LameMP3@ @Opt_LameMP3@$q $#o" "@sourcecuesheet@"
        IF %add_rg%==1 @tools@\Glob.exe -v -c @tools@\metamp3.exe %RG_MetaMP3% *.mp3
        IF @ApplyAlbumGain@==1 @tools@\Glob.exe -v -c @tools@\metamp3.exe %ApplyAG_MetaMP3% *.mp3
        REM COPY /Y "@eaclog@" "EAClog.txt"
        IF %have_cover%==1 COPY /Y "@cover@" "folder.jpg"
@tools@\tag.exe --playlist --onlyfiles --sort track --plname "000. $cdartist$ - $album$.m3u" *.mp3
    POPD
:end_lame_tracks


IF NOT @NeroAac@==1 GOTO end_nero_aac_tracks
    SET dest="@TrackDir_AAC@%trackDir%"
    IF NOT EXIST %dest% MKDIR %dest%
    PUSHD %dest%
        IF @various@==1 SET VA_tag=--albumArtist $q@VA@$q --compilation true
        IF %embed_cover%==1 SET Cover_tag=--artwork $#x
        @tools@\acdir.exe --overwrite --output "%TrackName%.m4a" --extra-opt "@cover@" --pipe "TITLE $n/$N aac $#T & @tools@\neroAacEnc.exe @Opt_NeroAac@ -ignorelength -if - -of $#o & @tools@\AtomicParsley.exe $#o -o REACT_tmp.m4a %Cover_tag% %VA_tag% %Disc_NeroAac_acdir% --artist $#a --album $#T --tracknum $n/$N --title $#t --year $q@year@$q --genre $q@genre@$q --comment $q@comment@$q --encodingTool $qneroAacEnc @Ver_NeroAac@ @Opt_NeroAac@$q & MOVE /Y REACT_tmp.m4a $#o" "@sourcecuesheet@"
        IF @ApplyAlbumGain@==1 @tools@\aacgain.exe %ApplyAG_AacGain% *.m4a > gainlog.txt
        REM COPY /Y "@eaclog@" "EAClog.txt"
        IF %have_cover%==1 COPY /Y "@cover@" "folder.jpg"
    POPD
:end_nero_aac_tracks


IF NOT @OggEnc2@==1 GOTO end_oggenc_tracks
    SET dest="@TrackDir_OGG@%trackDir%"
    IF NOT EXIST %dest% MKDIR %dest%
    PUSHD %dest%
        IF @various@==1 SET VA_tag=-c $qalbum artist=@VA@$q
        @tools@\acdir.exe --overwrite --output "%TrackName%.ogg" --pipe "TITLE $n/$N ogg $#T & @tools@\oggenc2.exe @Opt_OggEnc2@ %RG_OggEnc2_acdir% %VA_tag% %Disc_OggEnc2_acdir% -c artist=$#a -c album=$#T -c title=$#t -c tracknumber=$n/$N -c date=$q@year@$q -c genre=$q@genre@$q -c comment=$q@comment@$q -c encoded-by=$q%USERNAME%$q -c encoding=$qOggEnc @Ver_OggEnc2@ @Opt_OggEnc2@$q - -o $#o" "@sourcecuesheet@"
        IF @ReplayGain@==1 IF @UseWaveGainAG@==0 @tools@\vorbisgain.exe -a *.ogg
        REM COPY /Y "@eaclog@" "EAClog.txt"
        IF %have_cover%==1 COPY /Y "@cover@" "folder.jpg"
    POPD
:end_oggenc_tracks


REM ================ End Main Script ===================


IF @Debug@==1 (
    PAUSE
    EXIT
)

REM ** Cleanup

DEL "@source@"
DEL "@eaclog@"
DEL "@cuesheet@"
DEL "@albumfile@.[*].cue"
DEL "@cover@"

REM ** Delete this .bat file:
DEL %0 &EXIT


GOTO :EOF

REM ** Pause for 2000 milliseconds and return to :CheckForLog
:Pause
@ECHO Waiting for EAC log file...
PING 1.1.1.1 -n 1 -w 2000 >NUL
GOTO CheckForLog

Any ideas?

I want to use Track Mode anyway - like suggested by Akkurat. But there I run in many more problems.

It seems like React tries to do the actions in the wrong directory. No .m3u is created, no cuesheet is created , no replaygain (metamp3 + metaflac).

Here's my react.ini

Code: [Select]
[Settings]
Version=2.0.akku.b04
ImageExt=wav
ImageNaming=$artist$ - $album$
ImageHotKey={F10}
TracksHotKey={F4}
TracksHotVal=+{F5}
CreateCuesheet=mg
VA=Various Artists
RunCoverDownloader=0
CoverDownloader=C:\Program Files\REACT2\coverdownloader\albumart.exe
CoverDownloaderXUI=0
CoverDownloaderLocalPath=
OpenAddMetaDataDiag=0
EAC=C:\Program Files\Exact Audio Copy\EAC.exe
Tools=C:\Program Files\REACT2\tools
MinimizeCompressionWindow=1
ProcessPriority=1
Sla_Bks_Col_Qst_Bar_Quo_Ast_Lt_Gt=-|-|-||!|'|#|[|]
Test=0

[UserTrackFormats]
Flac=1
Wavpack=0
LameMP3=1
NeroAac=0
iTunesAac=0
iTunesAac=0
OggEnc2=0
Tak=0

[UserOutputNames]
OutRoot=D:\Audio\Ripped\EAC
ImageDir_Flac=@OutRoot@\FLAC-images\$cdartist$
ImageDir_Wavpack=@OutRoot@\WV-images\$cdartist$
ImageDir_MP3=@OutRoot@\MP3-images\$cdartist$
ImageDir_Tak=@OutRoot@\TAK-images\$cdartist$
TrackDir_Flac_SA=@OutRoot@\FLAC\Alben\$cdartist$\$year$ - $album$
TrackDir_Flac_VA=@OutRoot@\FLAC\VA
TrackDir_Flac=@OutRoot@\FLAC\$cdartist$\$year$ - $album$
TrackDir_Wavpack=@OutRoot@\WV\$cdartist$\$year$ - $album$
TrackDir_MP3_SA=@OutRoot@\MP3\Alben\$cdartist$\$year$ - $album$
TrackDir_MP3_VA=@OutRoot@\MP3\VA
TrackDir_MP3=@OutRoot@\MP3\$cdartist$\$year$ - $album$
TrackDir_AAC=@OutRoot@\AAC\$cdartist$\$year$ - $album$
TrackDir_OGG=@OutRoot@\OGG\$cdartist$\$year$ - $album$
TrackDir_Tak=@OutRoot@\TAK\$cdartist$\$year$ - $album$
TrackName_SA=$track$. $title$ - $cdartist$
TrackName_VA=$artist$ - $title$ ($album$ - $year$ - Track $track$)
TrackName_SA_acdir=$n. $~t - $A
TrackName_VA_acdir=$A - $~t ($T - $r{DATE} - Track $n)

[UserSettings]
DebugMode=0
Debug=0
Comment=Created with EAC/@reactversion@, @curdate@
EmbedCover=1
ReplayGain=1
ApplyAlbumGain=1
AdjustAlbumGain_dB=+0.0
AddCuesheetAG=0
UseWaveGainAG=0
Opt_Flac=-8 -f
Opt_Wavpack=-hmy
Opt_LameMP3=-V2 --noreplaygain --nohist
Opt_NeroAac=-lc -q 0.21
Opt_iTunesAac=-d -s 2000
Opt_OggEnc2=-q 3.0
Opt_Tak=-pN -overwrite
Ver_Flac=1.2.1b
Ver_Wavpack=4.40
Ver_LameMP3=3.98.4
Ver_NeroAac=1.0.0.2
Ver_OggEnc2=2.83 Lancer aoTuV b5
Ver_Tak=1.0.1

[DefaultMetaData]
discnumber=1
totaldiscs=1
discname=

Here's my react-track.cfg

Code: [Select]
@ECHO OFF
CHCP 1252 | PROMPT
TITLE @track@/@numtracks@ - "@album@"

REM Copyright © Tycho, 2006
REM
REM ** Create compressed audio tracks from ripped .wav tracks.
REM **
REM ** You may consider using image mode (F10)
REM ** as it supports creating tracks via acdir.exe,
REM ** and post-processing will always work (see below).
REM **
REM ** Flac requires flac.exe/metaflac.exe (v1.1.3)
REM ** NeroAac requires NeroAacEnc.exe/NeroAacTag.exe/AacGain.exe.
REM ** OggEnc2 requires OggEnc2.exe/VorbisGain.exe.
REM **
REM ** I prefer applying album gain 92dB to get a reasonable
REM ** volume for my DAP. The RG tags are still relative
REM ** to 89dB SPL, i.e. album gain will be about -3.0dB.


REM ============== Begin Main Script ==================


IF @Debug@==1 ECHO ON

REM ** Workaround for multi-processing, added by nago.
ECHO > processing[@track@].tmp

REM ** Create Disc-related tags if we have a set

SET discNumberInPath=0

REM ** Ensure that we have numeric values
SET /A discNumber = @discnumber@ + 0
SET /A totalDiscs = @totaldiscs@ + 0

REM ** If a valid disc number and total number of discs has been provided
IF %totalDiscs% LEQ 1 GOTO :end_discnumber
IF %discNumber% LEQ 0 GOTO :end_discnumber

    REM ** Set tagging switches
    SET Disc_Flac=-T "discnumber=@discnumber@" -T "totaldiscs=@totaldiscs@"
    SET Disc_Wavpack=-w "discnumber=@discnumber@" -w "totaldiscs=@totaldiscs@"
    SET Disc_MP3=--frame TPOS:"@discnumber@/@totaldiscs@"
    SET Disc_NeroAac=--disk "@discnumber@/@totaldiscs@"
    SET Disc_OggEnc2=-c "discnumber=@discnumber@" -c "totaldiscs=@totaldiscs@"
    SET Disc_Tak=-t "discnumber=@discnumber@" -t "totaldiscs=@totaldiscs@"

    REM ** Add disc number to folder path
    SET trackDir=%trackDir%\Disc @discnumber@
SET discNumberInPath=1

:end_discnumber

REM ** If a disc name has been provided
IF "@discname@" EQU "" GOTO end_discname
SET discName=discname
SET discName=@%discname%@
IF "@discname@" EQU "%discName%" GOTO end_discname

    REM ** Set tagging switches
    SET Disc_Flac=%Disc_Flac% -T "discname=@discname@"
    SET Disc_Wavpack=%Disc_Wavpack% -w "discname=@discname@"
    SET Disc_MP3=%Disc_MP3% --frame "TXXX[setsubtitle]:@discname@"
    SET Disc_OggEnc2=%Disc_OggEnc2% -c "discname=@discname@"
    SET Disc_Tak=%Disc_Tak% -t "discname=@discname@"

    REM ** Add disc name to folder path
IF %discNumberInPath%==0 SET trackDir=%trackDir%\$discname$
IF %discNumberInPath%==1 SET trackDir=%trackDir% ($discname$)

:end_discname


SET TrackDir_Flac="@TrackDir_Flac@%trackDir%"
SET TrackDir_Flac_SA="@TrackDir_Flac_SA@%trackDir%"
SET TrackDir_Flac_VA="@TrackDir_Flac_VA@%trackDir%"
SET TrackDir_Wavpack="@TrackDir_Wavpack@%trackDir%"
SET TrackDir_MP3="@TrackDir_MP3@%trackDir%"
SET TrackDir_MP3_SA="@TrackDir_MP3_SA@%trackDir%"
SET TrackDir_MP3_VA="@TrackDir_MP3_VA@%trackDir%"
SET TrackDir_AAC="@TrackDir_AAC@%trackDir%"
SET TrackDir_OGG="@TrackDir_OGG@%trackDir%"
SET TrackDir_Tak="@TrackDir_Tak@%trackDir%"


SET TrackName=@trackname@

SET have_cover=0
SET embed_cover=0

IF EXIST "@cover@" (
    SET have_cover=1
    SET embed_cover=@EmbedCover@
)



REM ---- Track ----


IF NOT @Flac@==1 GOTO end_flac_tracks
    IF @various@==0 SET dest="@TrackDir_Flac_SA@%trackDir%"
IF @various@==1 SET dest="@TrackDir_Flac_VA@%trackDir%"
    IF NOT EXIST %dest% MKDIR %dest%
    PUSHD %dest%
        IF @various@==1 SET VA_tag=-T "album artist=@VA@"
        IF %embed_cover%==1 SET Cover_tag=--picture="|image/jpeg|||@cover@"
        ECHO ON
        @tools@\flac.exe @Opt_Flac@ %Cover_tag% %VA_tag% %Disc_Flac% -T artist="@artist@" -T album="@album@" -T tracknumber="@track@/@numtracks@" -T title="@title@" -T date="@year@" -T genre="@genre@" -T comment="@comment@" -T encoded-by="%USERNAME%" -T encoding="Flac @Ver_Flac@ @Opt_Flac@" "@source@" -o "%TrackName%.flac"
        @ECHO OFF
IF @Debug@==1 ECHO ON
REM SET trackCueFile="$cdartist$ - $album$.cue"
REM IF NOT EXIST %trackCueFile% (
REM COPY "@albumfile@.[mg].cue" %trackCueFile%
REM ECHO CHCP 1252 ^| PROMPT>>update-cuesheet.bat
REM )
REM ECHO @tools@\gsar.EXE "-s@basename@.wav" "-r%TrackName%.flac" -o %trackCueFile%>>update-cuesheet.bat
        IF %have_cover%==1 IF NOT EXIST folder.jpg COPY "@cover@" folder.jpg
    POPD
:end_flac_tracks


IF NOT @Wavpack@==1 GOTO end_wavpack_tracks
    IF NOT EXIST %TrackDir_Wavpack% MKDIR %TrackDir_Wavpack%
    PUSHD %TrackDir_Wavpack%
        IF @various@==1 SET VA_tag=-w "album artist=@VA@"
        ECHO ON
        @tools@\wavpack.exe @Opt_Wavpack@ %VA_tag% %Disc_Wavpack% -w artist="@artist@" -w album="@album@" -w track="@track@/@numtracks@" -w title="@title@" -w year="@year@" -w genre="@genre@" -w comment="@comment@" -w encodedby="%USERNAME%" -w encodersettings="Wavpack @Ver_Wavpack@ @Opt_Wavpack@" "@source@" "%TrackName%.wv"
        @ECHO OFF
IF @Debug@==1 ECHO ON
        IF %have_cover%==1 IF NOT EXIST folder.jpg COPY "@cover@" folder.jpg
        TITLE @track@/@numtracks@ - "@album@"
    POPD
:end_wavpack_tracks


IF NOT @Tak@==1 GOTO end_tak_tracks
    IF NOT EXIST %TrackDir_Tak% MKDIR %TrackDir_Tak%
    PUSHD %TrackDir_Tak%
        IF @various@==1 SET VA_tag=-t "album artist=@VA@"
        ECHO ON
        @tools@\takc.exe -e -overwrite @Opt_Tak@ "@source@" "%TrackName%.tak"
        @tools@\tag.exe %VA_tag% %Disc_Tak% -t artist="@artist@" -t album="@album@" -t track="@track@/@numtracks@" -t title="@title@" -t year="@year@" -t genre="@genre@" -t comment="@comment@" -t encodedby="%USERNAME%" -t encodersettings="TAK @Ver_Tak@ @Opt_Tak@" "%TrackName%.tak"
        @ECHO OFF
IF @Debug@==1 ECHO ON
        IF %have_cover%==1 IF NOT EXIST folder.jpg COPY "@cover@" folder.jpg
        TITLE @track@/@numtracks@ - "@album@"
    POPD
:end_tak_tracks


IF NOT @LameMP3@==1 GOTO end_lame_tracks
    IF @various@==0 SET dest="@TrackDir_MP3_SA@%trackDir%"
IF @various@==1 SET dest="@TrackDir_MP3_VA@%trackDir%"
    IF NOT EXIST %dest% MKDIR %dest%
    PUSHD %dest%
        IF @various@==1 SET VA_tag=--frame "TXXX[album artist]:@VA@" --frame "TPE2:@VA@"
        IF %embed_cover%==1 SET Cover_tag=--frame "APIC{3}:@cover@"
        ECHO ON
        @tools@\lame.exe @Opt_LameMP3@ "@source@" "%TrackName%.mp3"
        @tools@\metamp3.exe %Cover_tag% %VA_tag% %Disc_MP3% --artist "@artist@" --album "@album@" --track @track@/@numtracks@ --title "@title@" --year "@year@" --genre "@genre@" --comment "@comment@" --frame TENC:"%USERNAME%" --frame TSSE:"LAME @Ver_LameMP3@ @Opt_LameMP3@" "%TrackName%.mp3"
        @ECHO OFF
IF @Debug@==1 ECHO ON
        IF %have_cover%==1 IF NOT EXIST folder.jpg COPY "@cover@" folder.jpg
    POPD
:end_lame_tracks


IF NOT @iTunesAac@==1 GOTO end_itunes_aac_tracks
    IF NOT EXIST %TrackDir_AAC% MKDIR %TrackDir_AAC%
    PUSHD %TrackDir_AAC%
        IF %embed_cover%==1 SET Cover_tag=-r "@cover@"
        ECHO ON
        @tools@\iTunesEncode.exe @Opt_iTunesAac@ -e "AAC Encoder" %Cover_tag% -x @various@ -a "@artist@" -l "@album@" -n "@track@" -m "@numtracks@" -t "@title@" -y "@year@" -g "@genre@" -c "@comment@" -i "@source@" -o "%TrackName%.m4a"
        @ECHO OFF
IF @Debug@==1 ECHO ON
        IF %have_cover%==1 IF NOT EXIST folder.jpg COPY "@cover@" folder.jpg
    POPD
    GOTO end_nero_aac_tracks
:end_itunes_aac_tracks


IF NOT @NeroAac@==1 GOTO end_nero_aac_tracks
    IF NOT EXIST %TrackDir_AAC% MKDIR %TrackDir_AAC%
    PUSHD %TrackDir_AAC%
        IF @various@==1 SET VA_tag=--albumArtist "@VA@" --compilation true
        IF %embed_cover%==1 SET Cover_tag=--artwork "@cover@"
        ECHO ON
        @tools@\neroAacEnc.exe @Opt_NeroAac@ -if "@source@" -of "%TrackName%.m4a"
        @tools@\AtomicParsley.exe "%TrackName%.m4a" -o REACT_tmp.m4a %Cover_tag% %VA_tag% %Disc_NeroAac% --artist "@artist@" --album "@album@" --tracknum "@track@/@numtracks@" --title "@title@" --year "@year@" --genre "@genre@" --comment "@comment@" --encodingTool "neroAacEnc @Ver_NeroAac@ @Opt_NeroAac@"
        @ECHO OFF
IF @Debug@==1 ECHO ON
        MOVE /Y REACT_tmp.m4a "%TrackName%.m4a"
        IF %have_cover%==1 IF NOT EXIST folder.jpg COPY "@cover@" folder.jpg
    POPD
:end_nero_aac_tracks


IF NOT @OggEnc2@==1 GOTO end_oggenc_tracks
    IF NOT EXIST %TrackDir_OGG% MKDIR %TrackDir_OGG%
    PUSHD %TrackDir_OGG%
        IF @various@==1 SET VA_tag=-c "album artist=@VA@"
        ECHO ON
        @tools@\oggenc2.exe @Opt_OggEnc2@ %VA_tag% %Disc_OggEnc2% -c artist="@artist@" -c album="@album@" -c tracknumber="@track@/@numtracks@" -c title="@title@" -c date="@year@" -c genre="@genre@" -c comment="@comment@" -c encoded-by="%USERNAME%" -c encoding="OggEnc @Ver_OggEnc2@ @Opt_OggEnc2@" "@source@" -o "%TrackName%.ogg"
        @ECHO OFF
IF @Debug@==1 ECHO ON
        IF %have_cover%==1 IF NOT EXIST folder.jpg COPY "@cover@" folder.jpg
    POPD
:end_oggenc_tracks

REM ** Delete the source .wav
DEL "@source@"

REM ** More multiprocessing workaround --nago
DEL processing[@track@].tmp


REM ---- Post-processing ----


REM ** Scan and compute ReplayGain and add cover picture for supported formats.
REM ** NB: The following will only work if at least the last track is selected.

IF NOT @track@==@numtracks@ GOTO end_post_process

    REM ** More multiprocessing. Last edit. --nago
    :checktmp
    IF NOT EXIST processing[*].tmp GOTO allProcsClear
      ECHO Waiting for all other processes to clear...
      ECHO If REACT hangs here and there are no other tracks being encoded,
      ECHO please delete all processing[#].tmp files in
      ECHO "@sourcedir@"
      PING 1.1.1.1 -n 1 -w 10000 >NUL
    GOTO checktmp
    :allProcsClear

REM ** Ensure that the EAC log is available
:CheckForLog
IF NOT EXIST "@eaclog@" GOTO Pause

    SET add_rg=@ReplayGain@
    SET aac_enc=@NeroAac@
    IF @iTunesAac@==1 SET aac_enc=1

    IF NOT @ReplayGain@==1 GOTO end_RG
        SET RG_MetaFlac=--add-replay-gain
        SET RG_MetaMP3=--replay-gain
    :end_RG

    IF NOT @ApplyAlbumGain@==1 GOTO end_apply_AG
        SET RG_MetaMP3=--apply-gain album@AdjustAlbumGain_dB@
        SET RG_AacGain=/a /o /c /d @AdjustAlbumGain_dB@
        SET add_rg=1
    :end_apply_AG


    REM ** Audio Formats:

    IF @Flac@==1 (
        IF @various@==0 SET dest=%TrackDir_Flac_SA%
IF @various@==1 SET dest=%TrackDir_Flac_VA%
PUSHD %dest%
            IF %add_rg%==1 @tools@\Glob.exe -v -c @tools@\metaflac.exe %RG_MetaFlac% *.flac
REM @tools@\gsar.exe -s%% -r%%%% -o update-cuesheet.bat
REM CALL update-cuesheet.bat
REM DEL update-cuesheet.bat
@tools@\Tag.exe --playlist --sort track --a-artist "@cdartist@" --a-title "@album@" --plname temp.m3u *.flac
REM ** Workaround for %-chars disappearing from the playlist filename when using tag.exe.
REN temp.m3u "000. $cdartist$ - $album$.m3u"
if exist "@albumfile@.[*].cue" copy "@albumfile@.[*].cue" .
            COPY /Y "@eaclog@" "EAClog.txt"
        POPD
    )

    IF @Wavpack@==1 (
        PUSHD %TrackDir_Wavpack%
            IF %add_rg%==1 @tools@\wvgain.exe -a *.wv
            REM COPY /Y "@eaclog@" "EAClog.txt"
        POPD
    )

    IF @LameMP3@==1 (
IF @various@==0 SET dest=%TrackDir_MP3_SA%
IF @various@==1 SET dest=%TrackDir_MP3_VA%
PUSHD %dest%
            IF %add_rg%==1 @tools@\Glob.exe -v -c @tools@\metamp3.exe %RG_MetaMP3% *.mp3
tools@\tag.exe --playlist --onlyfiles --sort track --plname "000. $cdartist$ - $album$.m3u" *.mp3
            COPY /Y "@eaclog@" "EAClog.txt"
        POPD
    )

    IF %aac_enc%==1 (
        PUSHD %TrackDir_AAC%
            IF %add_rg%==1 @tools@\aacgain.exe %RG_AacGain% *.m4a > "gainlog.txt"
            REM COPY /Y "@eaclog@" "EAClog.txt"
        POPD
    )

    IF @OggEnc2@==1 (
        PUSHD %TrackDir_OGG%
            IF %add_rg%==1 @tools@\vorbisgain.exe -a *.ogg
            REM COPY /Y "@eaclog@" "EAClog.txt"
        POPD
    )


    REM ** Cleanup

    DEL "@eaclog@"
    DEL "@albumfile@.[*].cue"
    DEL "@cover@"

:end_post_process


REM ================ End Main Script ===================


IF @Debug@==1 (
    PAUSE
    EXIT
)

REM ** Delete this .bat file:
DEL %0 &EXIT


GOTO :EOF

REM ** Pause for 2000 milliseconds and return to :CheckForLog
:Pause
@ECHO Waiting for EAC log file...
PING 1.1.1.1 -n 1 -w 2000 >NUL
GOTO CheckForLog

Thank you for taking the time to help other people :-)
Have a nice weekend!
Vhagar
Title: REACT 2 Released
Post by: rumpel_stiel on 2011-01-28 16:51:28
Summary on empty folders under Win7/64 - EAC 99.b5 - akku.b04

Finally, I found my mistake: a typo in the path to the tools folder in react.ini 


All of the following might be a good idea in other cases (after checking the paths in react.ini  ), but was not necessary in my case:

* Running REACT and/or flac.exe/lame.exe with administrator rights,
* look for "msvcrt71.dll" and "CHCP.com" in the "SysWOW64" folder,
* change permissions on involved directories,
* disable beginners mode in EAC,
* install EAC to a folder without spaces (e.g. C:\eac).
* etc.

Thanks for all advices anyway!
Title: REACT 2 Released
Post by: Akkurat on 2011-01-29 11:30:12
TrackName_VA_acdir=$A - $~t ($T - $r{DATE} - Track $n)

Shouldn't that be: TrackName_VA_acdir=$~a - $~t ($~T - $r{DATE} - Track $n)

And somehow it seems like the cuesheet ist not beeing generated properly.

I don't know enough about this stuff.. and anyways, it's a bit off-topic.

I want to use Track Mode anyway - like suggested by Akkurat. But there I run in many more problems.

It seems like React tries to do the actions in the wrong directory. No .m3u is created, no cuesheet is created , no replaygain (metamp3 + metaflac).

In wrong folder? Your customization might have something to do with that.. AND, remember that "Post-processing" section stuff is only ran if the last track has been ripped (=REACT is designed to work only with whole album extraction/ripping). P.S. you have cuesheet stuff REMmed in the track config.

HTH
Title: REACT 2 Released
Post by: Eli on 2011-02-01 14:38:05
How difficult would it be to get dBpoweramp to launch REACT2 (using either the Run external DSP or creating a DSP itself through the open DSP architecture), getting the meta-data from dBpoweramp and creating a CUE sheet with EAC?
Title: REACT 2 Released
Post by: Akkurat on 2011-02-01 21:29:09
Impossible (at least with a tool called REACT2). This is a bit off-topic, but, I've said it before, if you're finicky about getting metadata to your liking, get it from whatever source AND check/amend it yourself. I know, major drag when starting ripping your collection (I've done it), but not after it when you do few CD's per month (or something like that). You get metadata just the way you like it, no need to correct anything later.
Title: REACT 2 Released
Post by: Eli on 2011-02-01 21:52:42
Its not so much about the meta-data. I am very happy with the meta-data from perfectmeta. The problem is trying to automate the process of creating CUE sheets with EAC after ripping with dBpoweramp. The problem is getting the CUE sheet to the correct location and having it have the correct track file names. This would be prohibitive with anything more then a couple of discs at a time. Hopefully spoon has cue sheet support soon, but after years of waiting I doubt anyone is holding their breath.
Title: REACT 2 Released
Post by: Akkurat on 2011-02-01 21:57:16
Ok. My point was that for the oddballs, like me, even "perfectmeta" (perfect?) is not enough.. -> one could use EAC/REACT and get cuesheets automatically.
Title: REACT 2 Released
Post by: Eli on 2011-02-02 12:41:02
perfect is certainly not perfect when it comes to perfectmeta (though it is the best automatic system available) - I usually manually review - but thats off topic.

The problem is getting REACT/EAC to get the info on rip to location and file names in order to create a CUE sheet without having to enter the meta-data from dbpoweramp into EAC or edit the CUE sheet later.
Title: REACT 2 Released
Post by: Stone Free on 2011-02-19 14:28:35
Is it possible to get REACT2 to apply Replaygain to Soundcheck conversion on creation of the lossy formats such as MP3 and AAC?

At the moment I am having to use MP3Tag to convert the Replaygain to Soundcheck conversion - which adds "COMMENT ITUNNORM" to MP3s and "ITUNNORM" values for AAC

I wish to rip CDs to FLAC with Replaygain tags, and then have AAC versions for my iPod with converted values from the Replaygain applied to the FLACs
Title: REACT 2 Released
Post by: dag0 on 2011-06-19 12:30:15
Is it possible to configure REACT to automatically save the EAC-Log in the output-dir of my disc - as possible without having this EAC prompt if and where to save the log? This is somewhat annoying when ripping several discs.
Title: REACT 2 Released
Post by: dag0 on 2011-06-19 13:01:20
Is it possible to get REACT2 to apply Replaygain to Soundcheck conversion on creation of the lossy formats such as MP3 and AAC?


I dont`t know. But: I am using foobar whith the ipod-manager-extension to sync my ipod. It automatically converts the replaygain-values and also does transcoding to aac or mp3, if necessary. So there is no need to have two versions of my audio-files on my hdd.
Title: REACT 2 Released
Post by: Akkurat on 2011-06-19 14:45:09
Is it possible to configure REACT to automatically save the EAC-Log in the output-dir of my disc - as possible without having this EAC prompt if and where to save the log? This is somewhat annoying when ripping several discs.

Have you ever configured REACT with Ctrl+F2? Or have you changed EAC settings ("use this directory" to "ask every time") after that? Just re-configure REACT and EAC won't ask you to save the file.

Additionally, I'm guessing that you rip in track mode (F4), you have to edit the REACT-track.cfg file in REACT install folder. Go to the end of the file and remove the REM text from REM COPY /Y "@eaclog@" "EAClog.txt" line for your choice of encoder (e.g. under "IF @Flac@==1") or all of them.

HTH.
Title: REACT 2 Released
Post by: Tronar on 2011-09-20 13:58:05
EAC V1.0 beta2 is out now for several months. Any chance REACT2 gets updated to work with the latest version of EAC?
I am still happily using my prebeta5 from over 2 years ago, but some of the new EAC features look appealing to me like for example:

+ Cover support, can be drag’n'dropped from a file, a web page oder can be retrieved via a metadata plugin (support included in the freedb plugin). Cover can be written into tags or in the extraction directory
+ AccurateRip v2 support
+ Better Windows 7 support (like progress display in taskbar icon, storage of user data in the correct folders, etc.)
+ Option to always write the log file in english language

I know it's a lot of work to adapt REACT2 every time, but since EAC's update cycle is somewhat between 6 months and a year, it might still make sense to have the latest version working and not be forced to use a 2 year old pre-beta. Especially for people starting to use EAC only recently it make sense to be able to not have to download an outdated version.

Before any misunderstandings arise: I am glad that REACT2 exists at all. I am just curious if I should be watching out for an REACT2 upgrade in the foreseeable future. Thanks.
Title: REACT 2 Released
Post by: bilbo on 2011-09-20 15:12:32
EAC V1.0 beta2 is out now for several months. Any chance REACT2 gets updated to work with the latest version of EAC?
I am still happily using my prebeta5 from over 2 years ago, but some of the new EAC features look appealing to me like for example:


I believe that this program has been abandoned by Akkurat. Hr hasn't done anything since EAC1 was first released, but is still active on HA complaining about CueTools.
Title: REACT 2 Released
Post by: Akkurat on 2011-09-20 18:12:54
+ Cover support, can be drag’n'dropped from a file, a web page oder can be retrieved via a metadata plugin (support included in the freedb plugin). Cover can be written into tags or in the extraction directory

I think that the Album Art Downloader XUI, which works with REACT, is far superior of getting cover art. And it (combination of XUI & REACT) writes cover art to tags and/or to the folder.

+ AccurateRip v2 support

Can be used with current REACT with CUETools. You need to edit the configs a bit but it works (I've had that for ages in my custom REACT script). I agree that it would be better to have it in the EAC itself. But you're not missing anything now.

I am just curious if I should be watching out for an REACT2 upgrade in the foreseeable future.

Last time I hinted that I could have time to tinker with REACT in the summer, but after my house move in the beginning of the year, my life has changed somewhat and I do not have the same time available for my computer hobby anymore as I did earlier. That said, I have NOT abandoned REACT, I really WANT to make the next version. All I can say now is that it's in the future. Not in this fall (at least not releasing anything.. I might slowly do something in the background). So don't wait up, but don't lose faith either.

I believe that this program has been abandoned by Akkurat. Hr hasn't done anything since EAC1 was first released, but is still active on HA complaining about CueTools.

And your wild belief came from where? I don't exactly know who you are referring to with the "Hr", but I can say that my last post to the CUETools topic was last year, on Nov 8 2010, in comparison to my last post here in this topic on Jun 19 2011 helping an user configuring REACT. Maybe it's just me but you post smells a bit negative and purposeful.

EDIT: Lately I have been active in the Album Art Downloader XUI topic, posting suggestions for scripts (around 10 new scripts) which I intended to do myself at some point but finally gave up (I've to cut down my computer hobbies drastically, life is somewhere else.. though I enjoy tinkering with computer related stuff) and decided to post them so all can enjoy more good cover art sources.
Title: REACT 2 Released
Post by: djchristian on 2011-10-23 18:31:47
How do i uninstall REACT? There's no uninstaller
Title: REACT 2 Released
Post by: Akkurat on 2011-10-23 18:44:32
Just delete the folder where you installed it & delete the REACT shortcut from the Windows start menu. That's all.
Title: REACT 2 Released
Post by: Stone Free on 2011-10-24 09:52:07
+ AccurateRip v2 support

Can be used with current REACT with CUETools. You need to edit the configs a bit but it works (I've had that for ages in my custom REACT script). I agree that it would be better to have it in the EAC itself. But you're not missing anything now.

Where can I find out more on how to do this?
Title: REACT 2 Released
Post by: Tronar on 2011-10-24 10:29:27
I think that the Album Art Downloader XUI, which works with REACT, is far superior of getting cover art. And it (combination of XUI & REACT) writes cover art to tags and/or to the folder.

Ok, I can live with that. :-)

AccurateRip V2 can be used with current REACT with CUETools. You need to edit the configs a bit but it works (I've had that for ages in my custom REACT script). I agree that it would be better to have it in the EAC itself. But you're not missing anything now.

Well, I am not sure, but that sounds like quite some effort for a 2nd best solution. Since AccurateRip v2 is now natively supported by EAC, I would rather use that one. And V1 does have some issues.

Last time I hinted that I could have time to tinker with REACT in the summer, but after my house move in the beginning of the year, my life has changed somewhat and I do not have the same time available for my computer hobby anymore as I did earlier. That said, I have NOT abandoned REACT, I really WANT to make the next version. All I can say now is that it's in the future. Not in this fall (at least not releasing anything.. I might slowly do something in the background). So don't wait up, but don't lose faith either.

Ok, that's all I wanted to hear. :-) It would be great to have REACT up to date to work with the latest EAC.
Since Andre, the author of EAC, also takes his time updating EAC, I think it's worth the effort to make the necessary amendments to the REACT script, because it won't be invalidated too quickly by the next EAC release.

Anyhow thanks for your effort and I hope your private situation will allow for more computer tinkering in the near future. ;-)

Tronar
Title: REACT 2 Released
Post by: djchristian on 2011-10-26 13:08:26
What's the advantage of having REAC anyway over EAC?
Title: REACT 2 Released
Post by: db1989 on 2011-10-26 15:17:57
The wiki page linked from the initial post is a good start; here’s an excerpt:
Quote
[REACT is] an interim application that provides a scripting facility to call multiple 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 is designed to work only with whole album extraction/ripping.

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.
Title: REACT 2 Released
Post by: Roland Online on 2012-03-06 20:08:24
Hi Akkurat

... I have NOT abandoned REACT, I really WANT to make the next version. All I can say now is that it's in the future. Not in this fall (at least not releasing anything.. I might slowly do something in the background). So don't wait up, but don't lose faith either.


That's great to hear.  Hope you find some spare time soon to work on REACT2.

Look forward to seeing the next version.

Regards
Roland
Title: REACT 2 Released
Post by: gigi:) on 2012-03-29 14:57:08
Okay, so I'm generally not this stupid, but I just can't figure out what I'm doing wrong.  Please forgive me for not reading through 70+ pages of posts, but I'm at the point where I'm going to break stuff!

I'm running Windows Vista.  I have installed both EAC 99 prebeta 5 & react2 & Akkurat's mod package. I have followed the instructions from the React 2, EAC plug in post.

I can get EAC to rip (my legal) CD's to my hard drive, but I cannot figure out how to get React2 to also rip mp3's.  I keep getting wav files instead.  I tried playing with the ini file, but it did not help.  I've got the EAC in it's own folder and React2 in it's own folder - should they be combined?  I know that you need to add the react.exe to the EAC folder, but I don't know if all files should be there or just that one.

Ready to tear my hair out and I'm sure it's something very simple.

Also, when my flac is ripped, my computer shows it as a mp3 file type in the type column in the music folder - is that normal?  It would not play until I installed a flac player, but I don't want to go through ripping my media collection to find out I've screwed something up.

My next question is, when mp3's are ripped, is all data taken from the original cd, or do I have to make changes to the information I want attached to it.  I know with EAC, you can customize how the tracks are ripped and that they do not hold too much information.  Basically, I would like to see the rips from EAC + React2 extracted like you would get when you rip a cd to your computer via windows media player, but again, not sure how to do this either - although I admit that I haven't gotten that far on this as I can't get mp3's to begin with.  And do both flac and mp3's rip to the same folder (when you get it working that is)?

PLEASE, PLEASE HELP!!!!
Title: REACT 2 Released
Post by: gigi:) on 2012-03-30 03:26:04
Okay, so I'm generally not this stupid, but I just can't figure out what I'm doing wrong.  Please forgive me for not reading through 70+ pages of posts, but I'm at the point where I'm going to break stuff!

I'm running Windows Vista.  I have installed both EAC 99 prebeta 5 & react2 & Akkurat's mod package. I have followed the instructions from the React 2, EAC plug in post.

I can get EAC to rip (my legal) CD's to my hard drive, but I cannot figure out how to get React2 to also rip mp3's.  I keep getting wav files instead.  I tried playing with the ini file, but it did not help.  I've got the EAC in it's own folder and React2 in it's own folder - should they be combined?  I know that you need to add the react.exe to the EAC folder, but I don't know if all files should be there or just that one.

Ready to tear my hair out and I'm sure it's something very simple.

Also, when my flac is ripped, my computer shows it as a mp3 file type in the type column in the music folder - is that normal?  It would not play until I installed a flac player, but I don't want to go through ripping my media collection to find out I've screwed something up.

My next question is, when mp3's are ripped, is all data taken from the original cd, or do I have to make changes to the information I want attached to it.  I know with EAC, you can customize how the tracks are ripped and that they do not hold too much information.  Basically, I would like to see the rips from EAC + React2 extracted like you would get when you rip a cd to your computer via windows media player, but again, not sure how to do this either - although I admit that I haven't gotten that far on this as I can't get mp3's to begin with.  And do both flac and mp3's rip to the same folder (when you get it working that is)?

PLEASE, PLEASE HELP!!!![/s]

Okay, I've figured out that it is working.  However, I notice that the mp3's rip at 128 bit rate.  How do I change this?
Title: REACT 2 Released
Post by: gigi:) on 2012-03-31 17:43:45
Please ignore previous post where I thought I had it working.

I have not been able to get EAC & React2 to work together.

Any suggestions on a software that would allow me to back-up my cd's to electronic files and mp3's without me wanting to punch a hole through a wall?  Free of paid does not matter at this point.

Unless of course someone is willing to try to help me out.

Thank you!
Title: REACT 2 Released
Post by: bilbo on 2012-04-01 00:14:33
I have not been able to get EAC & React2 to work together.


This project appears to be a dead project, as no one is working on it. There are a number of issues with REACT2 and the latest EAC.  I now convert to flac with EAC and than use CueTools to batch convert to mp3. If you havent looked at CueTools, you should as it does so much more. It will even run you old flacs through AccurateRip and it own DB. It can even correct small errors on flac images. Look here:

http://www.hydrogenaudio.org/forums/index....showtopic=66233 (http://www.hydrogenaudio.org/forums/index.php?showtopic=66233)

http://www.cuetools.net/wiki/CUETools (http://www.cuetools.net/wiki/CUETools)

Your only other choice is to use react2 with an older version of EAC.


Title: REACT 2 Released
Post by: gigi:) on 2012-04-01 01:55:42
Thank your for your reply bilbo.  I greatly appreciate it as I have been messing with this for at least 4 days now.

I did actually download the 99 prebeta 5 version of EAC, with React2 and Akkurat's mod package.  However, I'm guessing that there is just too much to "play" around with.

I do hope you can answer this question for me.  When converting CD's to flac in EAC, do you usually not all the information as you would see when you rip (name, artist, album, etc.)?  Right now I'm just getting information under the name column.  Is this normal or do I have to modify some settings?

Also, I'm assuming that the CueTools does not work with EAC simultaneously, but separately.  That is fine if I can get them to work.

Lastly, I'm guessing that if I go the EAC & CueTools route, I should get the most recent EAC?

Again, I really appreciate your help!
Title: REACT 2 Released
Post by: bilbo on 2012-04-01 14:01:41
Goto EAC/EAC options/General and make sure that "On unknown CD's" is checked and "automatically access online metadata database"  is checked. This will update the fields when you load the CD. It can also be done manually if you wanted to do so.
Title: REACT 2 Released
Post by: Mixka on 2012-06-12 01:34:16
REACT works great on eac-0.99pb5.

I am tried to get it work on eac-1.0beta3.

Additional command-line options: REACT %original% %source% %dest% "%artist%" "%albumtitle%" "%title%" "%tracknr%" "%numtracks%" "%year%" "%genre%" "%comment%" "%cddbid%" "%trackcrc%" %bitrate%

And i am modified .au3 new registery key places.

Everything other works fine, but:

- Album Art Downloader use Album name as Artist name and 1 as Album name
- I have to rename *albumname*.cue -> 1.cue
- Music files are just ok but without albumart

Can anyone help?
Title: REACT 2 Released
Post by: RBI Champ on 2012-06-20 01:54:35
Hi,

I am wondering if anyone can help with character replacement using 2.0.akku.b04 with EAC v0.99 prebeta 5.

I am looking to replace any parenthesis ( ) with a left [ or right ] bracket as part of the scripting process. I'd prefer not to manually edit the data in the EAC window as that will be cumbersome and I may miss some.

What file(s) should I edit to accomplish this?
Title: REACT 2 Released
Post by: gsa999 on 2012-07-01 21:31:54
Hi
I have been using REACT2 for several years now, but I have just had to change my file naming convention due to a filename limit on my Sonos. Anyway I have managed to change the filenames, but of course all the playlists in each folder are now incorrect.

I have looked at the code in the REACT-image.cfg and can see that Tag.exe was used to create the playlist. This is the code:

Code: [Select]
IF @CreatePlaylist@==1 @tools@\tag.exe --playlist --sort track --plname "$artist$ - $album$.m3u" *.flac

I am therefore trying to create a batch file using Tag to go through all the folders recursively. I have the following code

Code: [Select]
"C:\Program Files (x86)\Exact Audio Copy\REACT2\Tools\tag.exe" "S:\FLAC\*\*\*.flac" --recursive --playlist --sort track --plname "artist - album.m3u" --overwrite

I have three problems
1. I cant seem to get it to name the playlist ArtistName - AlbumTitle - it just treats the above as text and names the file artist - album.m3u. How do I get the filename correct?
2. In the playlist it has created I am missing lines 2 and 3 for #EXTART and #EXTALB which I have in the existing playlists. Why are these not there - is there a parameter I am missing (although its not in my REACT-image.cfg file)?
3. Also the #EXTINF line for each track is putting in the filename (without the extension) after the track time instead of Artist - TrackTitle, which is what the existing playlists show

Any help would be appreciated to unravel this. Thanks
Title: REACT 2 Released
Post by: Stone Free on 2012-08-23 15:35:24
REACT works great on eac-0.99pb5.

I am tried to get it work on eac-1.0beta3.

Additional command-line options: REACT %original% %source% %dest% "%artist%" "%albumtitle%" "%title%" "%tracknr%" "%numtracks%" "%year%" "%genre%" "%comment%" "%cddbid%" "%trackcrc%" %bitrate%

And i am modified .au3 new registery key places.

Everything other works fine, but:

- Album Art Downloader use Album name as Artist name and 1 as Album name
- I have to rename *albumname*.cue -> 1.cue
- Music files are just ok but without albumart

Can anyone help?
Would you be able to post a copy here?  I could then have a fiddle on the weekend and see if I can find out whats going wrong.  Which OS are you using?
Title: REACT 2 Released
Post by: carlosy on 2013-01-02 11:59:39
Hi, im new in this forum.
i hope this is the correct way to make a question.

Is it possible to run react with windows 7 64 Bit ?
I have spent some day in trying it but i have some problems.

Kind regards Martin
Title: REACT 2 Released
Post by: Stone Free on 2013-01-02 14:39:04
Hi, im new in this forum.
i hope this is the correct way to make a question.

Is it possible to run react with windows 7 64 Bit ?
I have spent some day in trying it but i have some problems.

Kind regards Martin

It is running OK on my install.  What problems are you having?
Title: REACT 2 Released
Post by: Tronar on 2013-01-20 16:10:10
I have not been able to get EAC & React2 to work together.


This project appears to be a dead project, as no one is working on it. There are a number of issues with REACT2 and the latest EAC.  I now convert to flac with EAC and than use CueTools to batch convert to mp3. If you havent looked at CueTools, you should as it does so much more. It will even run you old flacs through AccurateRip and it own DB. It can even correct small errors on flac images. Look here:

http://www.hydrogenaudio.org/forums/index....showtopic=66233 (http://www.hydrogenaudio.org/forums/index.php?showtopic=66233)

http://www.cuetools.net/wiki/CUETools (http://www.cuetools.net/wiki/CUETools)

Your only other choice is to use react2 with an older version of EAC.

I am afraid, I have to agree. I just upgraded my system from Windows Vista (couldn't bear the s%$t anymore that OS gave me and even IE suddenly stopped working, although I never ever installed any dubious software nor any Browser Toolbars or anything like that. Shutting down the computer sometimes went totally smooth and at other times took like 5 minutes) to Windows 7. So far and after some funny struggles getting the soundcard to work (Soundblaster did a job there, too) I am now ready to set up my CD-Ripping environment again, that worked so great in the past on my Vista and my XP system.

But I really don't want to install such an old version of EAC again, especially since EAC has moved to 1.0b3 now. But losing the easiness and full-automatization of REACT isn't really something I look forward too. I would also like to avoid having to browse through thousands of configuration options and settings, until everything works again as I liked it before.

I've taken a look at cuetools, but it looks like an independent program to me (and not an automatization-script), so I guess I would have to use EAC to rip one big WAVE-File with the corresponding cuesheet (which of the 4 BTW?) and then process the result with cuetools to get single FLACs and MP3s. I guess this will be a reading- and configuration-orgy just to get the filename-output back to my standards and the coverart-jpg automatically included in the music-files.

But over 1 1/2 years later since Akkurat's last reply (see the top of this page) that he has not abandonded the REACT project, but without any visible progress either, I guess wishing for an update to his REACT script to get it to work with EAC 1.0b3 is probably also futile. Especially since he talked about using cuetools now as well.

Any suggestions what I should do now?
Title: REACT 2 Released
Post by: o-l-a-v on 2013-01-20 18:03:23
dbPowerAmp: http://www.dbpoweramp.com/ (http://www.dbpoweramp.com/) ?
Title: REACT 2 Released
Post by: db1989 on 2013-01-20 18:13:53
What is wrong with this picture?
(http://i.imgur.com/UWORVcF.png)
Everyone: Stop doing this. It is not an arduous task to either spend a few seconds deleting the quote, or reply by one of the several methods that does not automatically include it. Stop it.
Title: REACT 2 Released
Post by: Tronar on 2014-08-07 17:18:00
What is wrong with this picture?
Everyone: Stop doing this. It is not an arduous task to either spend a few seconds deleting the quote, or reply by one of the several methods that does not automatically include it. Stop it.

Just FYI:
I quoted those two quotes on purpose, since I was exactly referring to those two posts, when I made my reply. There had been done several other posts in between, so I thought quoting those two posts was helping to make clear what I was referring to.

In any case, it is 2014 now and I think we have to accept the fact that Akkurat will probably not find the time to adapt his great mod REACT2
to EAC 1.0 Beta 3.

I had to switch to EAC 1.0 Beta 3 because of the better AccurateRip V2 support, the additional other Database to check if the rip was accurate (I forgot the name) and the additional two Metadata Databases that offer some more CDs than Freedb alone.

I also like the built in AlbumArt-Support. Often enough freedb or the other metadatabases find the correct AlbumArt, but if not, the handling is a little easier than with REACT itself (sometimes when Filename issues appeared you ended up without the AlbumArt within the FLAC or MP3).

Nonetheless I still like the automatic handling of things in REACT2 a lot and would love to continue to be able to use them.

Did anybody sucessfully adapt REACT2 for EAC 1.0 beta3?
I have done all the adaptations necessary for EAC 99 prebeta5 including using the latest metamp3 (MetaMP3 v0.92 beta 5).

Yes, I looked at CUETools_2.1.4 and it is NOT serving my needs as well as REACT2 & EAC do.

Thank you in advance.
Title: REACT 2 Released
Post by: lantern_ on 2014-08-29 18:50:51
Yea, I've been using React forever and can't seem to find an adequate replacement.  If anyone has any suggestions that would be great.  I've looked into other options, dbpoweramp and it works, but i can't get the output I want (single audio file & cue sheet; mp3 tracks).
Title: REACT 2 Released
Post by: MorrisMinah on 2014-12-29 13:13:33
Hi,

Can anybody help me with the SW versions that I need to use REACT 2 with EAC 99 pre-beta 5.

I have done this in the past before EAC progressed to vn 99 and 1.0. Trying to repeat my original set-up with the updated SW versions I have not been able to get it to work.

I have used the instructions in red at the end of the first post in the original REACT 2.0 thread (now closed). Specifically:

Download EAC 99 pre beta 5 into the Exact Audio Copy folder in Program Files and set up for my DVD drive..

Download the React20.zip and install in the Windows XP SP3 Program Files folder. This produces a folder named REACT2.

Download the updated mod folder (REACT_2.0.akku.b04.zip) and unzip into the REACT2 folder in Program Files (overwriting all existing files)

Ensure that the REACT.ini file in the REACT2 folder has Flac and MP3 output set as follows:

[UserTrackFormats]
Flac=1
Wavpack=0
LameMP3=1
NeroAac=0
iTunesAac=0
OggEnc2=0
Tak=0

Now if I put a CD in the drive, Start REACT.exe from the REACT2 folder EAC 99 pre beta 5 starts up. Then configure EAC to use REACT (press Ctrl F2) and press F4 to copy tracks.

This results in a set of .wav files in the My Music folder but no MP3 or Flac files (I have searched my system looking for them and I'm sure that they don't exist).

I am finding it difficult to get a definite answer to my question because there are lots of hydrogenaudio threads (some massive) and wikis all at varying dates and update states.

I'm reluctant to start a new topic on this so have added my post to this thread. If that's not right then mods please feel free to put this where it belongs.

Please can anyone help?



Title: REACT 2 Released
Post by: Stone Free on 2014-12-29 14:07:58
Hi,

Can anybody help me with the SW versions that I need to use REACT 2 with EAC 99 pre-beta 5.

...
[UserTrackFormats]
Flac=1
...
Are you seeing any command windows being spawned?

Also check that that Tools= line maps to the correct location.

Make sure each location under [UserOutputNames] points to a validlocation.

ImageDir_<Tool>=
TrackDir_<Tool>=

for example
Code: [Select]
ImageDir_Flac=@OutRoot@\FLAC-images\$cdartist$
TrackDir_Flac=@OutRoot@\FLAC\$cdartist$\[$year$] $album$
Title: REACT 2 Released
Post by: sdgenxr on 2015-10-03 01:59:51
It's a shame that this amazing tool is no longer being developed.  But I also understand that our lives and priorities change along with those things that bring us joy.

Would it be possible to open source this project to see if there are any others out there willing to pick up the torch that was once so brightly lit?
Title: REACT 2 Released
Post by: Preuss on 2015-10-12 07:40:32
It's a shame that this amazing tool is no longer being developed.  But I also understand that our lives and priorities change along with those things that bring us joy.

Would it be possible to open source this project to see if there are any others out there willing to pick up the torch that was once so brightly lit?


As far as I know, Tycho have given REACT completely free. Thats what the source code, says, so in a sense it's "open source".

I updated the REACT to help with my needs. And have also tried to keep up with EAC version updates. But have not updated it to the last version 1.0 of EAC.
Title: Re: REACT 2 Released
Post by: valnar on 2017-05-20 18:04:30
Hi.  My Windows XP died to the point where it can't be resurrected, so I'd like get REACT working on my Win7 64-bit rig if at all possible.  I installed the latest EAC 1.3 but would downgrade if necessary since this is the whole reason I want it.

Without going through the 74 pages, can anyone tell me if this is possible?  What is the current state of the Union in regards to REACT 2.0?  Thanks.
Title: Re: REACT 2 Released
Post by: Preuss on 2017-05-21 13:52:03
I have not used REACT since EAC 1.1. I remember I rewrote almost the whole REACT, only because of fun. But I got it to work  with EAC 1.0 and 1.1.
So you need a EAC before 1.0 to get it to work. There was some trouble with the changes in EAC.
Title: Re: REACT 2 Released
Post by: valnar on 2017-05-21 16:52:03
Hi. Where is your version that works with the last pre 1.0 version?  I'll give it a shot.
thanks!
Title: Re: REACT 2 Released
Post by: Preuss on 2017-05-22 16:32:39
I'm really sorry, but I didn't release it public. I think I asked, but it seemed nobody was interested.

Now who knows where it is. I think it lies in an old computer, with a reformatted hdd. To be honest it would be fun to begin again, but only if somebody are interested. Because many people has stopped using it.
Title: Re: REACT 2 Released
Post by: valnar on 2017-05-22 22:24:21
OK thanks.  Maybe I'll look for an alternative.  Without REACT, EAC is useless to me.  :(

Edit: And.....I just tried Cueripper.  It sucks.  Not to mention my FLAC files (when converted back to WAV) are NOT identical to those from EAC.  I don't understand how it can't be reliable when using same online databases.
Title: Re: REACT 2 Released
Post by: A_Man_Eating_Duck on 2017-05-23 01:28:14
Is EAC and Cueripper using the same read offset?

I have tested EAC, DBPoweramp and cueripper and they produce the exact same audio as long as the read offset is the same.
Title: Re: REACT 2 Released
Post by: valnar on 2017-05-23 02:05:30
Is EAC and Cueripper using the same read offset?

I have tested EAC, DBPoweramp and cueripper and they produce the exact same audio as long as the read offset is the same.

To be fair, I am using a different CDROM now (new PC), but have hundreds of former FLAC files.  The offset is correct for both.  When converted to WAV and stripping out all the non-audio, the files are different.  I'll have to look into it.
Title: Re: REACT 2 Released
Post by: A_Man_Eating_Duck on 2017-05-23 05:13:12
what are you using to compare them?
Title: Re: REACT 2 Released
Post by: valnar on 2017-05-23 20:45:36
I got it working on a different CD.  It must have been just that other CD.

I compared a WAV decode from one of the FLAC files I did under EAC/REACT2 years ago on a Optiarc AD-7200S (offset 48) along with new CueRip of the same CD on the same drive, and a third on my new LG drive (offset 667) on the new computer.  All three WAV files match.  I simply use FC /B under Windows.

I guess I can use CueRipper.  It does 90% of what I want and the FLAC files are accurate.  It just has different parameters embedded that I'm not used to, and can post-process the rest.  It's too bad there isn't an INI file in CueTools that allows use to customize it a bit more.