For the impatient:
Download cdname.py 0.3
cdname.py is a Python program that names MP3 files and generates M3U playlists by parsing a CDDB or freedb .inf file, usually retrieved with cdda2wav -L. The name can include any or all of: artist name, track title, album name, track number, etc. Many aspects are configurable via command line options. cdname.py is a great addition to any CD ripping/encoding pipeline.
cdname.py requires Python 2, is copyright 2003-2004 Ryan Barrett, and is distributed under the GPL license.