24
9
I want to write a script that manipulates ID3 tags of mp3 files. I need a tool that reads the tags and outputs it in a format in a machine-readable format. For example, if I want it to output only the title, then it outputs the title, nothing else. I tried different tools like id3 or eyeD3, but they can only be used to write tags or to output them in a human-readable format. Of course I could just filter that output through sed, but it seems unnecessarily complicated to me.
+1 I've just had the same need but for FLAC audio. Worked like a charm. Too bad the program name gives no hint as for the full extent of its possibilities... – None – 2016-03-28T09:55:45.223
+1 "sudo port install p5.16-image-exiftool" - gets you going in a mac with MacPorts... Just "exiftool-5.16 /Volumes/MMED/music/Esperanza\ Spalding/Esperanza/02.\ I\ Know\ You\ Know.mp3" and you get all the metadata spit out! Thanks! – mimoralea – 2013-09-06T02:31:02.690