AtomicParsley is a command line program for reading, parsing and setting iTunes-style metadata in m4a files (really any mpeg4 file container: m4b, m4p, m4v, mp4).
This project allows for flexible auto tagging of your content types via a pluggable interface that makes use of 3rd party services to provide the tag context.