Search MP3/Ogg files by tags/parameters from the command line

view story

http://unix.stackexchange.com – Is there any utility to search MP3/Ogg files by tags (or other characteristics) from the command line? (e.g. finding all audio files longer than 10 minutes with genre set to 'Rock'). I found this, which suggests using mp3info, but it's only for MP3 files and the proposed solution isn't the most elegant thing. Any other suggestions? (HowTos)