The COMMENT field of my FLAC-tags looks like:
COMMENT: 1950s (Songs-DB_Custom1)
COMMENT: Cool; Male Vocalists; Female Vocalists; Genius (Songs-DB_Custom2)
COMMENT: American (Songs-DB_Custom3)
COMMENT: Romantic; Chillout (Songs-DB_Occasion)
Or COMMENT: 1950s (Songs-DB_Custom1)\\Cool; Male Vocalists; Female Vocalists; Genius (Songs-DB_Custom2)\\American (Songs-DB_Custom3)\\Romantic; Chillout (Songs-DB_Occasion)
I want those information not in 1 field but in separate fields, like
COMMENT SONGS-DB_CUSTOM1: 1950s
COMMENT SONGS-DB_CUSTOM2: Cool; Male Vocalists; Female Vocalists; Genius
COMMENT SONGS-DB_CUSTOM3: American
COMMENT SONGS-DB_OCCASION: Romantic; Chillout
I have tried to make an format value action for this, but without succes.
Can someone help me?
Thanks for the solution but the tagger does not always put them in the same order! This happens at times:
Comment field: Italian (Songs-DB_Custom3); 2000s (Songs-DB_Custom1); Beautiful; Remix; Male (Songs-DB_Custom2); Love; Party (Songs-DB_Occasion)
What would you do in that case? Can you make an universal solution, or can you make another action for such cases? I have tried switching around the numbers in the action you provided but with no luck.
I can't think of a universal solution. The best thing is probably to just take dano's Guess values action as an example and adjust it to the changed order of the fields.
But sometimes one or more fields are missing, so for example it looks like this:
COMMENT SONGS-DB_CUSTOM3
COMMENT SONGS-DB_CUSTOM2
In this case, when not all 4 fields are available, the action command is not working.
How should I adjust the Source format/Guessing pattern so I can extract the comment field in separate custom comment fields no matter how many are available?
Here comes a proposal, which may work for you.
Note that there are two slightly different proposals for MP3 and FLAC.
Due to a possible bug in Mp3tag, when working with the FLAC / Vorbis comment tag, there is an additional workaround in the action group for the FLAC tag.
The attached archive file contains ...
2 media files of type MP3 with proper tag fields,
2 media files of type FLAC with proper tag fields,
1 Mp3tag action group for MP3 tagged files,
1 Mp3tag action group for FLAC / Vorbis Comment tagged files.
Run the fitting action group against the test files and use the dialog "Extended tags..." to check the results.
Thank you very much, DetlevD, it's working now
That looks so complicated, I could have never figured this out by myself.
One more question: is it possible to write an action that opens another action? So I could write an if-statement, that opens either one or the other action group depending on if it's a mp3 or a flac file.