[span style=\'font-size:14pt;line-height:100%\']MAREO 3.0 Beta 2 Test Run[/span]
Ok, I'm done testing MAREO 3.0 Beta 2.
At last, after a few weeks of hiatus... -sigh-
Worked perfectly, but with a few quirks.
...well, maybe it's not perfect afterall, but I still like the configurability of this version.
Namely to set MAREO's behaviour via the mareo.ini; nicely done. =)
I haven't tested with pre-processor(s) like WaveGain, but I did test with some post-processors.
They're mp3gain and vorbisgain.
This is my config in EAC :
mareo.ini %s %d "%a" "%g" "%t" "%n" %y "%m"
Please note the absence of %o (since MAREO doesn't need it anymore).
Do not copy and paste directly what's in the mareo.txt, which is this one :
mareo.exe IniFileName @source@ @dest@ [@artist@ @album@ @title@ @track@ @year@ @genre@ @1@ .. @nn@]
Since EAC only needs the parameters, omit 'mareo.exe'.
IniFileName should be 'mareo.ini', w/o the quotes.
@source@ and @dest@ should be whatever your ripper's parameter passing standard.
So, in EAC's case, change :
[span style=\'font-size:8pt;line-height:100%\']@source@ @dest@[/span]
into
[span style=\'font-size:8pt;line-height:100%\']%s %d[/span]
[span style=\'font-size:8pt;line-height:100%\'][@artist@ @album@ @title@ @track@ @year@ @genre@ @1@ .. @nn@][/span]
into
[span style=\'font-size:8pt;line-height:100%\']"%a" "%g" "%t" "%n" %y "%m"[/span]
Maybe you should change the instructions a bit for the final version, kwanbis.
Since most newbies'd probably just copy and paste what's in mareo.txt.
Alright, that's the setup for EAC.
Now, it's the mareo.ini.
MAREO 3.0 Beta 2 slightly changes the configuration a bit.
'EXT' and 'PATH' is replaced by a single 'FULLNAME' entry.
Here's a snippet from my 'old' mareo.ini and the 'new' mareo.ini
[span style=\'font-size:8pt;line-height:100%\'](they're not exactly old or new, mind you...)[/span]
From this :
EXT = mp3
PATH = D:\My Music\MP3\@artist@ - @album@
To this :
FULLNAME = D:\My Music\MP3\@artist@ - @album@\@track@ - @title@.mp3
Personally, I like the latter more, since I don't have to worry about what kind of file naming convention I set in EAC.
But 'FULLNAME' has a subtle, yet dangerous, effect; I'll explain later.
[span style=\'font-size:8pt;line-height:100%\'](might be too exaggerated, but hey...)[/span]
Ok, so I configured mareo.ini and set up two encoders and two post-processor.
They are lame.exe and oggenc2.exe, with mp3gain.exe and vorbisgain.exe.
I encode a track only, not an album which is pretty much unnecessary.
This is my mareo.ini :
FULLNAME = D:\My Music\MP3\@artist@ - @album@\@track@ - @title@.mp3
ENCODER = C:\encoders\lame.exe
PARAMETERS = -V 2 --vbr-new -Y --ignore-tag-errors --ta "@artist@" --tl "@album@" --tt "@title@" --tn "@track@" --ty @year@ --tg "@genre@" "@source@" "@dest@"
FULLNAME = D:\My Music\MP3\@artist@ - @album@\@track@ - @title@.mp3
ENCODER = C:\encoders\mp3gain.exe
PARAMETERS = /r /k /p /s r "@finalfullname@"
FULLNAME = D:\My Music\Vorbis\@artist@ - @album@\@track@ - @title@.ogg
ENCODER = C:\encoders\oggenc2.exe
PARAMETERS = -q 4 "@source@" -o "@dest@" -a "@artist@" -l "@album@" -t "@title@" -N "@track@" -d @year@ -G "@genre@"
FULLNAME = D:\My Music\Vorbis\@artist@ - @album@\@track@ - @title@.ogg
ENCODER = C:\encoders\vorbisgain.exe
PARAMETERS = "@finalfullname@"
Then, the encoding began.
...thus ended with two errors and the encoded files are nowhere to be found.
No .mp3, no.ogg, nothing.
Just two empty new folders created correctly just like what I specified in mareo.ini.
So, what happened exactly?
Here's a snippet from my mareo.log.
*** PROCESSING ENCODER ORDER # 1 ***
ENCODER Extension = mp3
TEMPORAL Full Name = D:\eac_wavs\0tmp1!542.mp3
TEMPORAL Path Only = D:\eac_wavs
TEMPORAL Name Only = 0tmp1!542
FINAL Full Name = D:\My Music\MP3\Lisa Ono - NAIMA ~meu anjo~\01 - Ominira.mp3
FINAL Path Only = D:\My Music\MP3\Lisa Ono - NAIMA ~meu anjo~
FINAL Name Only = 01 - Ominira
EXECUTING: C:\encoders\lame.exe -V 2 --vbr-new -Y --ignore-tag-errors --ta "Lisa Ono" --tl "NAIMA ~meu anjo~" --tt "Ominira" --tn "01" --ty 2004 --tg "Jazz" "D:\eac_wavs\0tmp1!542.wav" "D:\eac_wavs\0tmp1!542.mp3" ... SUCCESS!!
DIRECTORY "D:\My Music\MP3\Lisa Ono - NAIMA ~meu anjo~" does NOT exists, creating ... SUCCESS!!
RENAMING: D:\eac_wavs\0tmp1!542.mp3 => D:\My Music\MP3\Lisa Ono - NAIMA ~meu anjo~\01 - Ominira.mp3 ... SUCCESS!!
*** PROCESSING ENCODER ORDER # 2 ***
ENCODER Extension = mp3
TEMPORAL Full Name = D:\eac_wavs\0tmp1!542.mp3
TEMPORAL Path Only = D:\eac_wavs
TEMPORAL Name Only = 0tmp1!542
FINAL Full Name = D:\My Music\MP3\Lisa Ono - NAIMA ~meu anjo~\01 - Ominira.mp3
FINAL Path Only = D:\My Music\MP3\Lisa Ono - NAIMA ~meu anjo~
FINAL Name Only = 01 - Ominira
EXECUTING: C:\encoders\mp3gain.exe /r /k /p /s r "D:\My Music\MP3\Lisa Ono - NAIMA ~meu anjo~\01 - Ominira.mp3" ... SUCCESS!!
DIRECTORY "D:\My Music\MP3\Lisa Ono - NAIMA ~meu anjo~" allready exists.
DELETING: D:\My Music\MP3\Lisa Ono - NAIMA ~meu anjo~\01 - Ominira.mp3 ... SUCCESS!!
RENAMING: D:\eac_wavs\0tmp1!542.mp3 => D:\My Music\MP3\Lisa Ono - NAIMA ~meu anjo~\01 - Ominira.mp3 ... **ERROR**
And then, pay attention to this part of the snippet.
EXECUTING: C:\encoders\mp3gain.exe /r /k /p /s r "D:\My Music\MP3\Lisa Ono - NAIMA ~meu anjo~\01 - Ominira.mp3" ... SUCCESS!!
DIRECTORY "D:\My Music\MP3\Lisa Ono - NAIMA ~meu anjo~" allready exists.
DELETING: D:\My Music\MP3\Lisa Ono - NAIMA ~meu anjo~\01 - Ominira.mp3 ... SUCCESS!!
RENAMING: D:\eac_wavs\0tmp1!542.mp3 => D:\My Music\MP3\Lisa Ono - NAIMA ~meu anjo~\01 - Ominira.mp3 ... **ERROR**
Apparently, when MAREO finds that a file is already exist, it'll delete the original file and attempt to replace it with a new one.
This is good for new encoding runs, but bad for post-processing.
The key is the new 'FULLNAME' parameter.
When set, it makes MAREO to look for duplicates, and replace them if found.
When 'FULLNAME' is set to 'NONE', however, MAREO simply doesn't check and just run whatever specified in 'ENCODER' and 'PARAMETERS'.
So for MAREO 3.0 Beta 2, change the mareo.ini for post-processing accordingly, like this :
Before
FULLNAME = D:\My Music\MP3\@artist@ - @album@\@track@ - @title@.mp3
ENCODER = C:\encoders\mp3gain.exe
PARAMETERS = /r /k /p /s r "@finalfullname@"
After
FULLNAME = NONE
ENCODER = C:\encoders\mp3gain.exe
PARAMETERS = /r /k /p /s r "D:\My Music\MP3\@artist@ - @album@\@track@ - @title@.mp3"
I think this 'problem' should be addressed in the documentation of the final MAREO 3.0 and I suggest to revise mareo.ini to reflect that as well, kwanbis.
This kind of behaviour of MAREO isn't bad, but it'd surely frustrate newbies if there's lack of info. =)
Another thing that bugs me in the default mareo.ini.
; ---------------------------------------------------------------------------------------
; MPC (MusePack): excelent low bitrates encoder: http://www.rarewares.org/mpc.html
; ---------------------------------------------------------------------------------------
I thought MPC's for high bitrates?
[span style=\'font-size:14pt;line-height:100%\']Suggestions[/span]
DIRECTORY "D:\My Music\MP3\Lisa Ono - NAIMA ~meu anjo~" allready exists.
Single 'l' in 'allready' please.
And that 'excelent' should be 'excellent'.
Nitpicking, I know, but it's something easily fixed, right? =)
Playlist creation is a good idea, and I think it's not too hard to implement either.
M3U playlist is basically a text file with filenames in it, with one filename per line.
Changes in mareo.ini to accomodate playlist creation should be :- A new entry called 'PLAYLIST'.
Its value should be 'TRUE' or 'FALSE'. - A new entry to specify the name of the playlist, such as 'PLAYLISTNAME'.
Ignored when 'PLAYLIST' is set to 'FALSE' or there's no 'PLAYLIST' entry specified. - Or, the playlist name can be specified along with 'PLAYLIST'.
For an example --> [span style=\'font-size:8pt;line-height:100%\']PLAYLIST = TRUE "@artist@ - @album@.m3u"[/span] - A new entry called 'TRACKNUM', which its value is @tracknum@, which is derived from %x (in EAC's case; don't know about CDex) like koend pointed out.
As for MAREO itself, its behaviour should (at the least) be like this :- Check if the directory in the 'FULLNAME' entry has a playlist file of the same name.
- When there's none, create a new M3U file when MAREO's counter reaches @tracknum@.
Of course, MAREO should scan the directory for files and include them to the playlist file. - When there exist a playlist of the same name, just replace the old one.
That's basically it.
Now, regarding album gain, it's not that hard I guess (with EAC at least).
Well, like koend pointed out, %x should make EAC passes the total track number of a given album (CD).
I think you should use that instead of requiring users to input the track number manually.
After that, the filename values for any RG apps should be from scanning the directory in the specified 'FULLNAME' entry.
Or if there's an M3U file, filenames for the RG app can be derived from that.
Thus I propose this new mareo.ini structure :
FULLNAME = D:\My Music\MP3\@artist@ - @album@\@track@ - @title@.mp3
ENCODER = C:\encoders\lame.exe
PARAMETERS = -V 2 --vbr-new -Y --ignore-tag-errors --ta "@artist@" --tl "@album@" --tt "@title@" --tn "@track@" --ty @year@ --tg "@genre@" "@source@" "@dest@"
TRACKNUM = @tracknum@
PLAYLIST = TRUE "@album@ - @artist@.m3u"
POSTPROCESS = TRUE ALBUM
POSTPROCESSOR = C:\encoders\mp3gain.exe
POSTPARAMETERS = /a /k /p @filelist@
A few notes for the proposed structure :- 'POSTPROCESS' value could be 'TRUE ALBUM', 'TRUE TRACK', or 'FALSE'.
'TRUE ALBUM' is when you want to do album gain.
'TRUE TRACK' is when you want to do track gain.
'FALSE' should make MAREO ignores 'POSTPROCESSOR' and 'POSTPARAMETERS'.
Please note that when set to 'TRUE ALBUM', MAREO should not do a post-processing until the counter reaches @tracknum@. - @filelist@ in 'POSTPARAMETERS' is derived either from scanning the directory in 'FULLNAME' or from an existing (if there's any; MAREO should check this) playlist file which name is like the value in the 'PLAYLIST' entry.
Also, every filename in the generated @filelist@ should be surrounded with double quotes. - It'd be better if MAREO, in scanning a directory, pay attention to file extension and include only those files which has the same extension as what's in the 'FULLNAME' entry for playlist creation and @filelist@ generation when a valid playlist doesn't exist.
- @filelist@ should be used only when 'POSTPROCESS' is set to 'TRUE ALBUM', and for 'TRUE TRACK' users should use "@finalfullname@" (w/ double quotes).
Of course, if possible, MAREO should attempt to use @filelist@ when the user sets 'POSTPROCESS' to 'TRUE ALBUM' but 'POSTPARAMETERS' contains "@finalfullname@", and vice versa. - Please note that "@finalfullname@" has to use double quotes and @filelist@ doesn't need to, since @filelist@ should already contain a list of double quoted filenames.
Or you could make @finalfullname@ to include double quotes by default.
That's all I can think of right now.
It's getting late here, and this post is getting longer and longer the more I think of the possibilities.
Gotta stop now. =b