kid3-cli how to access multiple values for a tag
Thanks for a great tagger :-)
I often have multiple identical tags in music files. e.g. multiple artist, multiple genre etc.
In the example below I have two comment tags of value"Alfa" and "Beta".
Using kid3-cli I am unable to get and set exacly the second comment. I am able to do so using the kid3 GUI.
Have I overlooked something?
Any help greatly appreciated :-)
Example:
% kid3-cli -c "select 01\ Dancing\ queen.flac" -c get File: FLAC 705 kbps 44100 Hz 2 Channels 3:53 Name: 01 Dancing queen.flac Tag 2: Vorbis Title Dancing queen Artist ABBA Album Gold Comment Alfa Comment Beta Date 1992 Track Number 01 Genre Pop Album Artist ABBA Picture: Cover (front) folder.jpg Total Tracks 19
So, I am able to get all tags. (And thus all *Comment* values by parsing above output).
But how do I get and/or set the second Comment (value Beta) directly?
I have tried the following, but it only access the first comment.
% kid3-cli -c "select 01\ Dancing\ queen.flac" -c "get Comment" -c "get Comment" Alfa Alfa
Two kid3-cli feature wishes
- Retrieve all values for a given tag as an text-encoded array
(e.g. `get artist` => *[Bob Dylan;George Harrison;Jeff Lynne]*) - Set multiple values for a given tag by giving a properly text-encoded array
Imported from SourceForge, author: koldso