Public
Authored by Dave Bucklin

Encode

I bought a bunch of WAV files from an online music store. I wanted to convert them to flac to compress them down a bit and add metadata. WAV files don't contain metadata, so I needed a way to capture the metadata and then feed it into the encoder. I've been using the recfile format a lot, so I decided to use that to represent file metadata in its "key: value" format. After I downloaded the files and album art, I copied (i.e. re-typed) the track metadata from the site into my recfile. This awk program parses the recfile, creates a target location for the file based on the artist and title, runs the encoder, passing the tags, and then adds that location to my cmus library.

Edited
encode.awk 1.42 KB
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment