I use EAC to rip to WAV with tracknumber, title and artist in the file
name. Its tagging is limited so I don't use it.

The files are then copied to my RHEL server. There I have a shell
script where I can set variables (or not) to the tag values I want.
Running the script runs the following flac command on each wave file:


Code:
--------------------
    
  flac -8 -V \
        ${artist:+-T "ARTIST=$artist"} \
        ${artist2:+-T "ARTIST=$artist2"} \
        ${album:+-T "ALBUM=$album"} \
        ${year:+-T "DATE=$year"} \
        ${genre:+-T "GENRE=$genre"} \
        ${track:+-T "TRACKNUMBER=$track"} \
        ${title:+-T "TITLE=$title"} \
        ${discnumber:+-T "DISCNUMBER=$discnumber"} \
        ${compilation:+-T "COMPILATION=$compilation"} \
        ${composer:+-T "COMPOSER=$composer"} \
        ${composer2:+-T "COMPOSER=$composer2"} \
        ${conductor:+-T "CONDUCTOR=$conductor"} \
        ${band:+-T "BAND=$band"} \
        ${ensemble:+-T "ENSEMBLE=$ensemble"} \
        ${orchestra:+-T "ORCHESTRA=$orchestra"} \
        ${performer:+-T "PERFORMER=$performer"} \
        ${performer2:+-T "PERFORMER=$performer2"} \
        ${performer3:+-T "PERFORMER=$performer3"} \
        ${performer4:+-T "PERFORMER=$performer4"} \
        ${performer5:+-T "PERFORMER=$performer5"} \
        ${performer6:+-T "PERFORMER=$performer6"} \
        ${comment:+-T "COMMENT=$comment"} \
        "$file"
--------------------


Where variables are not set, the tags don't get included.

The script also produces a DOS batch file (no lame on my UNIX) with a
line for each processed wave for MP3 creation if I want the album for
the portable player.


Code:
--------------------
    
  echo "\"C:\Program Files\Lame\lame.exe\" -b 160 -m s -V 4 -B 320 -q 2" \
        ${artist:+--ta "\"$artist\""} \
        ${album:+--tl "\"$album\""} \
        ${year:+--ty "\"$year\""} \
        ${genre:+--tg "\"$genre\""} \
        ${track:+--tn "\"$track\""} \
        ${title:+--tt "\"$title\""} \
        ${comment:+--tc "\"$comment\""} \
        "\"$file\"" "\"$mp3file\"" \
        >> "$lamebat"
  
--------------------


I just copy the batch file back to Windows and run it on the folder
holding the wave files.

It might -seem- long winded but has saved an awful lot of typing into
tag editors over the last few months.


-- 
Mick Seymour
------------------------------------------------------------------------
Mick Seymour's Profile: http://forums.slimdevices.com/member.php?userid=21137
View this thread: http://forums.slimdevices.com/showthread.php?t=56657

_______________________________________________
ripping mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/ripping

Reply via email to