MAREO 3.0 Released!
Reply #17 – 2006-03-04 02:00:14
you are right, i only updated the top menu. now its fixed [a href="index.php?act=findpost&pid=368907"][{POST_SNAPBACK}][/a] Right, it works now. Thanks for fixing the link. =) Btw, I'll put here what I've wrote over in the old 2.x discussion thread. Basically suggestions for playlist creation and album gaining. Hold your breath... ================================================= 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. ================================================= [span style='font-size:8pt;line-height:100%']@goodlookin [/span] Do with the default parameters in EAC (mareo.ini %s %d "%a" "%g" "%t" "%n" %y "%m") and you're good to go. What do you intend to do using user defined variables?