Modifying mp3 metada in reading information from OSX Numbers

For initial trials I would get a test string made up from you data the actiual shell command. And test it in terminal.

From what I remember your syntax is not full correct. You need to select one of the frames, which is usually 2. Also you need to add “-c” to tell it to execute a command.

Here’s an example setting the LABEL tag on frame 2

kid3-cli -c "set LABEL 'FLAC 16bit/44.1khz' 2" "/Volumes/Tekno/Users/kerry/Music/iTunes/iTunes Media/Music/The White Stripes/My Doorbell - EP/My Doorbell.mp3"

It Gets trickier setting multiple tags. I usually use the JSON format which also helps make
Setting all of your double and single
Quotes properly.

 kid3-cli -c {"method": "set","parameters":["LABEL","AAC 320kbps/44.1khz",2]} -c {"method": "set","parameters": ["CATALOGNUMBER", "5491D60BAD7C3C71", 2]} "/Volumes/Tekno/Users/kerry/Music/iTunes/iTunes Media/Music/The White Stripes/My Doorbell - EP/My Doorbell.mp3"

I’m not sure how shell scripts work with the alias file path format “volume:folder:file” you may want to change that.

In kid3-cll interface it gets trickey when you have spaces…. It pretty much breaks
All of the “args” commands / tags / values by space.

So this will work:

kid3-cli -c set ARTIST Lumberjacks 2 "/Volumes/Tekno/Users/kerry/Music/iTunes/iTunes Media/Music/The White Stripes/My Doorbell - EP/My Doorbell.mp3"

This will not with space in the TAG value

kid3-cli -c set ARTIST Earth Wind and Fire 2 "/Volumes/Tekno/Users/kerry/Music/iTunes/iTunes Media/Music/The White Stripes/My Doorbell - EP/My Doorbell.mp3"

This will not with space in the FILE path:

kid3-cli -c set ARTIST Lumberjacks 2 Volumes/Tekno/Users/kerry/Music/iTunes/iTunes Media/Music/The White Stripes/My Doorbell - EP/My Doorbell.mp3

Using the JSON format keys things easy by just double quoting everything

Also I would symlink the executable
To your use/local/bin.
Use this in terminal:

sudo ln -s /Applications/kid3.app/Contents/MacOS/kid3-cli /usr/local/bin

Then you just need to call “kid3-cli” from your Shell Sceipt rather than that full path.