PHP:从AAC文件中读取MusicBrainz标签

does anyone know a simple way to read the MusicBrainz tags (MBID for track, release and artist) from an AAC file?

If there's an external binary it must be command line. This will only be run on my mac.

I've tried the obvious things:

  • Googling for the direct problem.
  • Googling for more generic solutions like "command line musicbrainz"

There are many programs out there that are GUI, but none that I can find that a pure command line implementations. I do not need write capability, just reading of tags.

Thanks