For an online archive I was asked to provide a solution to encode their audio-archive to MP3 and FLAC. The script 'encoder' takes an input file and produces an MP3 and a FLAC with the according Meta-Information.

Please configure grip (http://nostatic.org/grip/) with the following line in the encoding tab:

Encoder: Other
Encoder executable: /usr/local/bin/encoder
Encoder command-line: %w %m %a %n %G %d %t %N %y
Encode file extension: 
Encode file format: ~/mp3/%A/%d/%t_%n.%x


