This sounds much the same as me, but with beets [1] instead of mp3tag. Not just does your audio-fingerprinting/musicbrainz/tagging, but also maintains a database for you, and has a command line query tool that you can just pipe into another player.
http://beets.radbox.org/