Retrieve ID3 versions and/or ID3 tag IDs in concise format

Started by hippietrail, April 29, 2023, 03:24:32 AM

Previous topic - Next topic

hippietrail

I thought I'd be able to use exiftool to return just the ID3 tag versions for an MP3 file. I realize version is not an actual ID3 frame but in long formats it's already printed out. Is there a way to get it printed out in a concise one-line format just like querying for a single tag name.

I also thought I'd be able to get it to return actual tag IDs instead of and/or in addition to tag names.

Basically I'm looking through my MP3 collection to see which have 3-letter PIC frames vs which have 4-letter APIC frames (vs having neither).

Am I just overlooking these abilities in the docs or is neither a supported feature?

StarGeek

Quote from: hippietrail on April 29, 2023, 03:24:32 AMI thought I'd be able to use exiftool to return just the ID3 tag versions for an MP3 file. I realize version is not an actual ID3 frame but in long formats it's already printed out. Is there a way to get it printed out in a concise one-line format just like querying for a single tag name.

Exiftool can't just list the group names.  You'll have to parse the output without another program/script, such as sed.

QuoteI also thought I'd be able to get it to return actual tag IDs instead of and/or in addition to tag names.

The -G (-groupNames) option with a value of 7, e.g. -G7 will be the best you can do.
* Did you read FAQ #3 and use the command listed there?
* Please use the Code button for exiftool code/output.
 
* Please include your OS, Exiftool version, and type of file you're processing (MP4, JPG, etc).

hippietrail