if (!trackFieldUpdated) {
tag.deleteField(FieldKey.TRACK);
tag.addField(tag.createField(FieldKey.TRACK, "0"));
}
Mp4TrackField trackField = (Mp4TrackField) tag.getFirstField(FieldKey.TRACK_TOTAL);
trackField.setTrackTotal(Integer.valueOf(trackData.getTrackTotal()));
trackFieldUpdated = true;
}
if (!trackFieldUpdated) {
tag.deleteField(FieldKey.TRACK);