Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: MAREO settings to organize FLAC & MP3 files using EAC (Read 34639 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

MAREO settings to organize FLAC & MP3 files using EAC

I plan to use MAREO to rip my collection of 200+ CDs simultaneously to FLAC and MP3. I have installed and tested EAC, LAME & FLAC encoders, and MAREO. My current mareo.ini settings are shown below. How can I get MAREO to detect CDs by various artists and adjust the directory structure for the files accordingly? At present, if I rip a CD that is a compilation of music by various artists, it creates a separate directory for each artist on the CD. For "various artists" CDs, I would like to create the directory structure - [MYMUSIC]\VA\[ALBUM] and use the same filename as it does currently, i.e., [TRACKPADDED]. [TITLE]. This is akin to iTunes which uses the directory "Compilations" instead of "VA."

I plan to use Slimserver to stream the FLAC music. And I plan to use an iPod to listen to MP3 music on the go. If anyone is using music files in this manner and has any words of advice before I start ripping the collection of CDs, I would really appreciate it.

Thanks,
atulc

; ----------------------------------------------------------------------------------------------------------------------
; FLAC: most supported lossless encoder: http://flac.sourceforge.net/
; ----------------------------------------------------------------------------------------------------------------------
EXECUTEIF = TRUE
FINALPATH = [MYMUSIC]\[ARTIST]\[ALBUM]\
FINALNAME = [TRACKPADDED]. [TITLE]
EXTENSION = flac
ENCODEREXE = C:\Program Files\FLAC\flac.exe
PARAMETERS = -5 "[SOURCE]" -o "[DESTTMP]" -T artist="[ARTIST]" -T album="[ALBUM]" -T title="[TITLE]" -T tracknumber="[TRACK]" -T date="[YEAR]" -T genre="[GENRE]"
RENAME = TRUE

; ---------------------------------------------------------------------------------------------------------------------------
; MP3 LAME: best MP3 encoder: http://www.rarewares.org/mp3.html
; ---------------------------------------------------------------------------------------------------------------------------
EXECUTEIF = TRUE
FINALPATH = [MYMUSIC]\[ARTIST]\[ALBUM]\
FINALNAME = [TRACKPADDED]. [TITLE]
EXTENSION = mp3
ENCODEREXE = C:\Audio\Encoders\Lame\lame.exe
PARAMETERS = -V5 --vbr-new --ignore-tag-errors --ta "[ARTIST]" --tl "[ALBUM]" --tt "[TITLE]" --tn "[TRACK]" --ty "[YEAR]" --tg "[GENRE]" "[SOURCE]" "[DESTTMP]"
RENAME = TRUE

MAREO settings to organize FLAC & MP3 files using EAC

Reply #1
can EAC pass information to MAREO telling it that is a VA album?

MAREO settings to organize FLAC & MP3 files using EAC

Reply #2
How can I get MAREO to detect CDs by various artists and adjust the directory structure for the files accordingly?

Apparently MAREO cannot do this (at least that's what I've found).    But REACT can. 

If anyone knows different (re: MAREO) please tell how, because overall MAREO seems more stable than REACT, which seems to crash a lot for no obvious reason (again, at least that's what I've found).

- P

MAREO settings to organize FLAC & MP3 files using EAC

Reply #3
the issue here is, can EAC pass MAREO, as an argument a various artist flag?

MAREO settings to organize FLAC & MP3 files using EAC

Reply #4
the issue here is, can EAC pass MAREO, as an argument a various artist flag?

kwanbis, you are the MAREO developer, right? So why are you replying with such a question when you obviously must know the answer?

The issue here, really, is can MAREO deal with VA albums in the way that REACT can (i.e. adjust the file structure for VA albums to eliminate the problem of getting a separate directory for each artist on the CD)?

From what I can tell, the answer is no. If I am wrong, please explain how.

Please do not be offended by the direct question. MAREO is a great tool for "regular" albums. I just wish I could use it for VA albums also.

- P

MAREO settings to organize FLAC & MP3 files using EAC

Reply #5
the issue here is, can EAC pass MAREO, as an argument a various artist flag?


Kwanbis,
Thanks for the reply. I found the following sample configuration used by a REACT user. It can be found at http://www.hydrogenaudio.org/forums/index....35158&st=50. The config defines a destination directory that can be overridden by the "Various" destination directory for a various-artists album. Therefore, it appears that REACT, when invoked from EAC, can figure out when the CD is a various-artists CD. 
[blockquote]destdir1=F:\Audio\CD Rips - WavPack 4.22 Lossless\$cdartist$\$album$
dest1=@destdir1@\@track@ $title$
Various-destdir1=F:\Audio\CD Rips - WavPack 4.22 Lossless\Various\$album$
Various-dest1=@destdir1@\@track@ $artist$ - $title$[/blockquote]
I have requested access to the EAC mailing list. Once on that list, I will pose the question there to find out what flag, if any, can be passed by EAC to the external compression program to indicate a various-artists album.


How can I get MAREO to detect CDs by various artists and adjust the directory structure for the files accordingly?

Apparently MAREO cannot do this (at least that's what I've found).    But REACT can. 

If anyone knows different (re: MAREO) please tell how, because overall MAREO seems more stable than REACT, which seems to crash a lot for no obvious reason (again, at least that's what I've found).

- P


Phaedra,
Thanks for pointing out that REACT can handle this whereas MAREO can't. I have provided additional information in response to kwanbis' post. Let's hope this can be resolved soon.

Atulc

MAREO settings to organize FLAC & MP3 files using EAC

Reply #6
one question, whats your intended normal path/file, and what is your va one?

actually, if it is the same, just pass VA as the artist, and MAREO should work.

If you want to have a diferent scheme, i would have to modify MAREO.

MAREO settings to organize FLAC & MP3 files using EAC

Reply #7
one question, whats your intended normal path/file, and what is your va one?

actually, if it is the same, just pass VA as the artist, and MAREO should work.

If you want to have a diferent scheme, i would have to modify MAREO.


As illustrated in the configuration above, REACT offers complete flexibility for directory paths and file names for single-artist and various-artist albums. However, my needs are more modest. I want to follow the directory path paradigm that iTunes uses -- artist\album and VA\album. The trouble is that I don't know whether EAC allows you to pass a command line parameter to the external compression program (MAREO) indicating if it is working on a VA album. If I have to change the command line parameters manually every time I rip a VA album, it defeats the purpose; I might as well change the directory structure manually after EAC & MAREO are done ripping the album. Either way, manual intervention would be quite tedious for 200+ CDs that I plan to rip shortly.

I really like MAREO. It is simple and does its job reliably. But it appears that it doesn't quite meet my needs.

MAREO settings to organize FLAC & MP3 files using EAC

Reply #8
but if i understand you right, you want to have,

artist\album

and

va\album

if the name of the artist is "VA", MAREO would replace [artist] with VA, and it would end like you want.

Or i'm wrong?

MAREO settings to organize FLAC & MP3 files using EAC

Reply #9
but if i understand you right, you want to have,

artist\album
and
va\album

if the name of the artist is "VA", MAREO would replace [artist] with VA, and it would end like you want.

Or i'm wrong?


Unfortunately, for a compilation or a various-artists album, EAC invokes MAREO (which, in turn, invokes FLAC, LAME, etc.) with artist set to the artist for the track. Artist is not set to VA. That is why, with my mareo.ini file listed above, I get many artist directories for one such album using the directory structure artist\album. I would like to keep all tracks from an album together in one directory. This is the way iTunes works. This is the most intuitive way of organizing music for anyone used to the world of physical CDs. This is what I want to achieve.

As an example, on the album "Pure Moods IV," the first track has the title "November" by the artist "Mythos."  The second track has the title "Purify" by the artist "Balligomingo." ... These tracks are saved in the directories "[MYMUSIC]\Mythos\Pure Moods IV" and "[MYMUSIC]\Balligomingo\Pure Moods IV." I would like all tracks for this album to be stored in the directory "[MYMUSIC]\VA\Pure Moods IV." The artist\album paradigm works fine for regular albums.

MAREO settings to organize FLAC & MP3 files using EAC

Reply #10
For your "modest" needs, you can try using %D, instead of %A, as the cd artist on calling MAREO.

Use: %s %d "%d" "%g" "%t" "%n" %y "%m"

Instead of: %s %d "%a" "%g" "%t" "%n" %y "%m"

%T    - Track title
%N    - Track number
%L    - Track length
%A    - CD or track artist
%Y    - Release year
%C    - CD title
%I      - ID3 music type
%B    - freedb music type
%D    - CD artist
%F    - freedb ID
%Z    - Tabulator character

If there is more need for VA handling, i think i can make MAREO compare %D against %A, and if it does not matches, i can assume a VA album. But i don't think is what you need.

MAREO settings to organize FLAC & MP3 files using EAC

Reply #11
For your "modest" needs, you can try using %D, instead of %A, as the cd artist on calling MAREO.
Use: %s %d "%d" "%g" "%t" "%n" %y "%m"
Instead of: %s %d "%a" "%g" "%t" "%n" %y "%m"
...
If there is more need for VA handling, i think i can make MAREO compare %D against %A, and if it does not matches, i can assume a VA album. But i don't think is what you need.


Tried that. For the "Pure Moods IV" album (various artists), %d, the EAC command line argument to the external compression program, appears to be set to the directory path, not the disk artist. I believe that the argument description you listed applies for filenaming for the WAV files ripped by EAC, not the command line options. But I could be wrong.

MAREO settings to organize FLAC & MP3 files using EAC

Reply #12
Result of further research:
Quoted from a REACT discussion at
http://www.hydrogenaudio.org/forums/index....st&p=327260


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


Note here that %d as a command line argument is the destination filename, not the CD artist. This confirms my suspicion as stated on the previous message.

MAREO settings to organize FLAC & MP3 files using EAC

Reply #13
NB: I believe REACT detirmines whether a CD is VA or not simply by looking at the file name.  If it begins "Various - " then it is deemed to be a VA album.
I'm on a horse.

MAREO settings to organize FLAC & MP3 files using EAC

Reply #14
[quote name='atulc' date='Oct 6 2006, 21:44' post='438658']
[quote name='kwanbis' post='438652' date='Oct 6 2006, 23:53']
but if i understand you right, you want to have,

artist\album
and
va\album

if the name of the artist is "VA", MAREO would replace [artist] with VA, and it would end like you want.

Or i'm wrong?
[/quote]

Unfortunately, for a compilation or a various-artists album, EAC invokes MAREO (which, in turn, invokes FLAC, LAME, etc.) with artist set to the artist for the track. Artist is not set to VA.
[/quote]
I get the same result ... [artist] does not get replaced with "VA" 

[/quote]
If there is more need for VA handling, i think i can make MAREO compare %D against %A, and if it does not matches, i can assume a VA album
[/quote]

Yes, please, can you try it?

- P

 

MAREO settings to organize FLAC & MP3 files using EAC

Reply #15
Below is a copy of my posting on the EAC mailing list and the response from a member of the list basically corroborating the message from Synthetic Soul on this discussion thread.

Quote
On Sat, 07 Oct 2006 17:46:06 -0400, atulc wrote:

>I am new to EAC. I am trying to use EAC together with MAREO plus the
>FLAC and LAME encoders. From EAC, I am invoking MAREO as the external
>compression program using the command line arguments:
>
> mareo.ini %s %d "%a" "%g" "%t" "%n" %y "%m"
>
>Is there a way to pass a command-line argument or flag to indicate to
>MAREO that an album is a "various artists" album? Currently, MAREO has
>no way of knowing this. I have discussed this with the author of MAREO
>and he doesn't know if EAC can pass such a flag/parameter. I want to
>organize all tracks on a various-artists album into a single directory
>called VA\album-title. I need EAC to invoke MAREO in a way that would
>allow MAREO to create such a directory path. Please see the following
>discussion thread for more information.
>
> http://www.hydrogenaudio.org/forums/index....mp;#entry438658
>
>It appears that REACT, a utility like MAREO but less stable according to
>some, is able to distinguish between single-artist and various-artists
>CDs. REACT is invoked from EAC in pretty much the same way the one
>invokes MAREO (see details at the URL above). Does anyone know how REACT
>accomplishes this?

I believe REACT configures the %D as the first file naming parameter in EAC,
then it parses the %d value passed by EAC for the word "Various" at its
beginning.

--


%d, as listed in my earlier posting, is the filename. EAC sets %D (meaning CD Artist) to Various for various-artist CDs. REACT configures EAC to set the WAV filename for various-artist CDs to be %D - %C - %N - %T (%A) where %D is set to Various. The external compressor (REACT) is then invoked with the commandline argument %d set to this filename. REACT parses %d to look for Various and accordingly creates the directory structure

various\album-title for various-artist albums and
artist\album-title for single-artist albums.

It would be nice to have MAREO replicate this functionality.

That said, I have found a problem with the approach followed by REACT. I ripped the following three CDs.
  • Words came back to me - by Sonya Kitchell
  • Pure moods IV - by various artists
  • Artist's choice - Sheryl Crow - by various artists

REACT saved the FLAC files for the first two albums in the following directories.
  • Sonya Kitchell\Words came back to me
  • Various\Pure moods IV

However, the ripping of the third CD was messed up on two counts.
  • This CD contains four songs by Sheryl Crow and thirteen tracks from other artists that are among the personal favorites of Sheryl Crow. REACT saved Sheryl Crow's four songs in "Various\Artist's choice - Sheryl Crow". However, each of the songs from other artists was stored in the directory "ARTIST\Artist's choice - Sheryl Crow". Examples of ARTIST include Bob Dylan, Carol King, and Aretha Franklin. This violates my basic requirement that files from a physical CD should be stored in the same directory. iTunes handles this gracefully. It stores all songs from this CD in "Compilation\Artist's Choice - Sheryl Crow". I would really like this to be addressed jointly by the authors of EAC, MAREO, and REACT. This should be easy to fix and would make all these tools that much better. I am amazed that no one has pushed hard for this requirement earlier.
  • After copying the WAV files generated by EAC to the desination FLAC folders described above, REACT is unable to process WAV to FLAC conversion command. It terminates leaving the WAV files in the destination folders. This is a flaw in the core functionality of REACT. If any REACT developers are following this thread, please address this issue.

Thanks,
atulc

MAREO settings to organize FLAC & MP3 files using EAC

Reply #16
You should post your findings, with your react.ini contents and config file contents, to the main REACT thread.

Personally I think your config needs changing, not REACT, or possibly the freedb entry for the third album was not correct, but until we see the details we can't help.

Edit: Ah, I see you have posted to that thread.  You really need to post details though, or your concerns will, quite rightly, be ignored.
I'm on a horse.

MAREO settings to organize FLAC & MP3 files using EAC

Reply #17
so, if %D (not %d) is CD artist, why not use it?

MAREO settings to organize FLAC & MP3 files using EAC

Reply #18
so, if %D (not %d) is CD artist, why not use it?


%D is available within EAC only as an element to form the name of the WAV file that EAC generates. %D is not available to pass as a command line argument to the external compression programs like MAREO. If you read one of my previous posts, you will see the listing of all the arguments that can be passed to an external compression program.


You should post your findings, with your react.ini contents and config file contents, to the main REACT thread.

Personally I think your config needs changing, not REACT, or possibly the freedb entry for the third album was not correct, but until we see the details we can't help.

Edit: Ah, I see you have posted to that thread.  You really need to post details though, or your concerns will, quite rightly, be ignored.


Here are my config files for REACT. Except for the Config=FLAC_MP3 in react.ini, everything is just as it was after a fresh installation of REACT.

REACT.ini
Code: [Select]
[Settings]
Config=FLAC_MP3
Version=1.0
EAC=C:\Program Files\Exact Audio Copy\EAC.exe
musicdir=C:\Documents and Settings\Atul K Chhabra\My Documents\My Music
encdir=C:\Program Files\Exact Audio Copy\Encoders
LogFile=
CodePage=1252
MinimizeCompressionWindow=1
ProcessPriority=1
TracksHotKey={F4}
TracksHotVal=+{F5}
SaveTracksCuesheets=0
ImageHotKey={F10}
ImageNaming=$artist$ - ($year$) $album$
Sla_Bks_Col_Qst_Bar_Quo_Ast_Lt_Gt=-|-|-||!|'|#|[|]
Debug=0



FLAC_MP3-tracks.txt

Code: [Select]
!Description=Tagged FLAC and mp3 files with RG album and track tags

!destdir1=@musicdir@\FLAC\$cdartist$\($year$) $album$
!dest1=@destdir1@\$track$ - $title$
!Various-dest1=@destdir1@\$track$ - $title$ ($artist$)

!destdir2=@musicdir@\MP3\$cdartist$\($year$) $album$

echo.> "@dest1@.tmp"
@encdir@\Tag.exe --nocheck --ape2 -t "ARTIST=@artist@" -t "ALBUM=@album@" -t "TRACK=@track@" -t "TITLE=@title@" -t "YEAR=@year@" -t "GENRE=@genre@" -t "TOTALTRACKS=@numtracks@" -t "FREEDB=@freedbid@" -t "CRC=@crc@" "@dest1@.tmp"
move "@source@" "@dest1@.wav"

if @islast@==1 (
  move "@eaclog@" "@destdir1@\eaclog.txt"
  move "@trackscuesheet@.[*].cue" "@destdir1@"
  start @encdir@\albumart.exe "@artist@" "@album@" "@destdir1@\cover.jpg"
  cd /d "@destdir1@"
  @encdir@\Glob.exe -v -c @encdir@\flac.exe -f -5 --replay-gain *.wav
  echo @encdir@\Tag.exe --fromfile "%%INPUT_NAME%%.tmp" "%%INPUT_NAME%%.flac" > encode.bat
  echo @encdir@\lame.exe -V5 --vbr-new --scale %%ALBUM_SCALE%% --tc "AG appl:%%ALBUM_GAIN%%,TG:%%TRACK_GAIN%% dB" "%%INPUT_NAME%%.wav" "@destdir2@\%%INPUT_NAME%%.mp3" >> encode.bat
  echo @encdir@\Tag.exe --fromfile "%%INPUT_NAME%%.tmp" "@destdir2@\%%INPUT_NAME%%.mp3" >> encode.bat
  echo del "%%INPUT_NAME%%.wav" "%%INPUT_NAME%%.tmp" >> encode.bat
  @encdir@\WaveGain.exe -a *.wav --exec call encode.bat
  del encode.bat
)

MAREO settings to organize FLAC & MP3 files using EAC

Reply #19
what i find weird, is that i don't remember seeing any place in EAC to input the track artist, so i wonder, where does EAC gets it from.

MAREO settings to organize FLAC & MP3 files using EAC

Reply #20
With a proper VA setup the artist can be taken from the track info, as the format is entered as "<artist> / <title>".
I'm on a horse.

MAREO settings to organize FLAC & MP3 files using EAC

Reply #21
You should post your findings, with your react.ini contents and config file contents, to the main REACT thread.
Here are my config files for REACT. Except for the Config=FLAC_MP3 in react.ini, everything is just as it was after a fresh installation of REACT.
The REACT thread is the best place for this, you're currently posting in two threads.  You also need to confirm that the track titles are properly formatted for a VA album, and that the VA checkbox is checked.
I'm on a horse.

MAREO settings to organize FLAC & MP3 files using EAC

Reply #22
With a proper VA setup the artist can be taken from the track info, as the format is entered as "<artist> / <title>".

How does it works? If EAC finds a "/" it assumes the first part is the artist, the next the title?

MAREO settings to organize FLAC & MP3 files using EAC

Reply #23
Yes, presumably only if the VA checkbox is checked as well.

Take a look at the freedb FAQ 2.2 pt.6.

Also, I posted this, taken from the previous freedb site, a while back:

Quote
DTITLE: Technically, this may consist of any data, but by convention contains
   the artist and disc title (in that order) separated by a "/"
with a
   single space on either side to separate it from the text. There may be
   other "/" characters in the DTITLE, but not with space on both sides,
   as that character sequence is exclusively reserved as delimiter of
   artist and disc title! If the "/" is absent, it is implied that the
   artist and disc title are the same, although in this case the name
   should rather be specified twice, separated by the delimiter.
   If the disc is a sampler containing titles of various artists, the disc
   artist should be set to "Various" (without the quotes).
It's that freeDB entry.

NB: with regard to the space either side, EAC (wrongly?) seems to deal with either a space or no space.  If a space is present it is trimmed.  I suppose it's not so wrong as it has the checkbox double check - so it is expecting a VA format.
I'm on a horse.

MAREO settings to organize FLAC & MP3 files using EAC

Reply #24
I am amazed that no one has pushed hard for this requirement earlier.

So am I but with 2 of HA's best involved (Synthetic Soul, kwanbis) I bet this gets resolved!