WinTrak v .56 CNT

WinTrak is very simple and powerful utility that can rename
MP3 files. The renaming data is in INPUT.TXT file.
WINTRAK.EXE is Win32 console application and have not GUI.
It is controlled via input file(s) and command line options.

The files to rename are named

 Track00,Track01,Track02 etc.        (Tracknn)

The program makes ID 3V 2.3 tags,if input file have
not already ID3 V 2.3 tag.

If you want make ID3 V 1.0, you must write

  wintrak -v1 in command line.

It has designed only to give name for MP3.

NOTE:

WINTRAK.EXE, INPUT.TXT and Tracknn files (files to rename)
must be in same directory. If these are in separate directories, 
the program does not work right.

You can change name of inputfile

 wintrak -i newinput.txt or
 wintrak -I newinput.txt

You can charge name of Track

 wintrak -t drag or
 wintrak -T drag

This produce incoming mp3 names drag00.mp3, drag01.mp3, drag02.mp3 etc.

You can change (between certain limits) trackfile sequence with
suboptions of -t. These are
-tracknull-, -tracklen and -trackbegin.

 wintrak -t Track -tracknull- : not nulls in Track sequence

 Track1, Track2, Track3, Track4 etc.

 wintrak -t Track -trackbegin 10: The beginning of sequence is 10

 Track10,Track11,Track12,Track13

 wintrack -t track -tracklen 3 : Wider left null padding

 Track001,Track002,Track003,Track004

 These three options are suboptions and does require
 preceding -t option.

Or you can list intracks (input tracks) to file:

 wintrak -f tracks.txt
 wintrak -F tracks.txt

the format of tracks.txt (NOT same than INPUT:TXT!)
is simply

intrack1
intrack2
intrack3
etc.

Then the name conversion is

intrack1.mp3 ---> outrack1.mp3
etc.

instead of

Track01.mp3 --> outrack1.mp2
etc.

If you want not erase original trackfiles afret processing then write

 wintrak -noerase


You can control wintrak with batfile or application
that can call wintrak. 


Please do not delete your original MP3 files before you are sure that they are renamed correctly. Wrong INPUT.TXT or TRACKS.TXT may cause loss of MP3 files or wrong renaming. The WINTRAK will delete your Tracknn files! You must have copies of original MP3 files in another directory than MP3 process directory.

The format of INPUT.TXT is very easy


Some special chars \/:*?<>| at wrong place in INPUT.TXT can make stupid output.
Many special characters are filtered by program,
but there is not any guarantee.


Standard INPUT.TXT is like that

Artist
Song1
Song2
Song3
etc.

The output is like that

Artist - Song1.mp3
Artist - Song2.mp3
Artist - Song3.mp3
etc.

Collections have own INPUT.TXT format that is

Song1*Artist1
Song2*Artist2
Song3*Artist3

* (asterisk)  Is field separator (Song and Artist fields)
or

Song1*Artist1
Song2-Artist2
Song3-Artist3
etc.

If there are not -:s (minus) in artist or song name, and there was
*(asterisk) in first line, you may use -(minus) as separaror

The output is like that

Artist1 - Song1.mp3
Artist2 - Song2.mp3
Artist3 - Song3.mp3
etc.

The input.TXT may contains , that must have uppercase.
The program have truncated TAG parser.

  Tags must be in beginning of file, or
  them causes mess!

Some tags have data between tags in one line, some
tags closes multiple lines in.

<NOART>   causes same than * in first line.
          I can say that * in first line is "automatic <NOART>"


<INVERT>  in the beginning of files inverts
           artist and song fields vice versa

<ALBUM> The name of album</a> (This is in one line, not multiple!)
        Set the name of album. After processing files, program copies
 input.txt file to the album name
 (in this case "input.txt" -> "The name of album.txt")

<ENG>    Capitals to beginning of word

         I sing my own song -> I Sing My Own Song

Tex.

Song1*Artist1
Song2-Artist2
Song3-Artist3
etc.

is same than

<INVERT>
Artist1*Song1
Artist2-Song2
Artist3-Song3
etc.

Causes same output.

There is also  

<COMMENT>
This is
comment only
</COMMENT>

There is example of typical file
that contains <ALBUM> ang <ENG> tags.

<ENG>
<ALBUM> My songs</A>
My
fun song
sad song
song three


NOTIFICATION:

This program is helper only, does not replace any professional MP3 TAG 
renamer or file renaming utility, those are very sophisticated nowadays.
I can tell you that usually I do'nt use any other MP3 renamers than this.
This program is provided "as is" and have'nt any warranties etc. and I
am not responsible any loss of data etc. because this program is free
experimental utility program only.

If you use this code on some free or commercial utility, you must tell me
and mention The Incarnator in some place in program.

The program is originally developed with TC and DJGPP and ported to MINGW and finally
MSVC. It is now pure win32 code (many printfs but file functions are win32).

If you have any problems ,suggestions and questions

write to Janne Naukkarinen alias The Incarnator

Janne Naukkarinen [email protected]
go.to/incarnator