Is this possible?
Specifically, I wrote an action group that adds A-side and B-side track-info to comments for albums ripped from vinyl. Currently, I have to select tracks from side A (1-#) and apply it, which then also calculates side B and appends the info to comments. But only to those selected tracks (side A), which leaves the second half of the album without it.
Any way to add an action to the same action group that would copy, for example, first track's comment to all files open in Mp3Tag? If not, any other suggestions?
Here's the current action group:
(I use bullets (•) to separate comments. The action group deletes any possible previous traces of the same action group, so if you, for example, apply it to wrong tracks, you can just run it again; but it won't touch whatever info you might have added after running it the previous time.)
Append “A-side n–n” to selected tracks’ comments and calculate “B-side n–n”
I would consider this much more awkward than simply using the tag panel.
You will not be able to apply a universal action group that behaves different for one file ("the first") than for the rest.
So, you would have to ...
select the master file
enter the correct data
trigger one action (group) to export the data,
select the other files,
trigger the action (group) to import the data.
If you do the same thing with the tag panel you are quicker in general as you can use simple keyboard shortcuts. I would think that this is a feasible way to proceed:
Either (if you still have to enter the data)
select all files
enter the new data
save the data
or (if the master file already has the correct data)
select all files (inlcuding the master file with the already updated data)
select the correct data from the dropdown list
save the data
Even if you think of a mechanism that treats the first file in a selection in a special way, I would hate to devise a sorting algorithm that puts the file that I consider to be the first on top of the list. And if I do it wrong I replace all the correct data with something random ...
My verdict: tag panel
ExamplePrepare tracks ...Track 1 : SIDE <=='A'; TOTALTRACKS <== 5Track 2 : SIDE <=='A'; TOTALTRACKS <== 5Track 3 : SIDE <=='A'; TOTALTRACKS <== 5Track 4 : SIDE <=='B'; TOTALTRACKS <== 5Track 5 : SIDE <=='B'; TOTALTRACKS <== 5Prepare Action "Format value" ...Text <==$if($eql(%SIDE%,'A'),'A-side: 1-'%_total_files%' # B-side: '$add(%_total_files%,1)'-'%TOTALTRACKS%,$if($eql(%SIDE%,'B'),'A-side: 1-'$sub(%TOTALTRACKS%,%_total_files%)' # B-side: '$add(1,$sub(%TOTALTRACKS%,%_total_files%))'-'%TOTALTRACKS%,))Result should be ...Text ='A-side: 1-3 # B-side: 4-5'Steps ...1.Select all tracks from Side A.Run action "Format value".2.Select all tracks from Side B.Run action "Format value".
Prepare the Tag-Panel ...
by creating a new edit field, can be multi-line, in which you want to enter manually the appropriate text ...
name the edit field as you wish, for example "Add Comment Vinyl", creating the tag-field ADD_COMMENT.
See Mp3tag/Extras/Options/Tag-Panel/Add Tag-Field (button).
Select all tracks from the album.
Open Tag Panel.
Enter the text 'A-side: 1-3 # B-side: 4-5'
... into the edit field "Add Comment Vinyl".
Update and save the change to the selected tracks by pressing [Ctrl+S].
Run an action ...
... to combine the both tag-fields COMMENT and ADD_COMMENT.
... and to remove tag-field ADD_COMMENT.
Regarding the proposal from above ...
step "3. Enter the text 'A-side: 1-3 # B-side: 4-5'
... you may minimize the input, only enter the four numbers ... 1 3 4 5
and let the following action create the text string for appending to the tag-field COMMENT.