You want to add these 12 lines #987 until #998 to the script?
# Start set TT"
json_select "track-count"
# Clear content for each loop
set "MB_Media_TrackCount1"
outputto "TT"
IfOutput "TT"
IfNot ""
say ";" # add a slash if current content is not empty and a new TT will be added
endif
endif
sayrest
# End set TT"
To get this additional field TT in every track?
Would you mind if I rename the fieldname TT to something like TOTALTRACKS_PER_MEDIUM?
Just to be sure:
You know that this number of total tracks already exists in the field TRACK after the slash?
2/15 means second track of total 15 tracks.
Combined with the existing DISCNUMBER 1/3 you know that this is the second track (of 15) on the first medium (of 3).


