# Adding "totaltracks" tag en mass?

**URL:** https://community.mp3tag.de/t/adding-totaltracks-tag-en-mass/12205
**Category:** Support
**Created:** [June 27, 2011, 4:23pm UTC](https://community.mp3tag.de/t/adding-totaltracks-tag-en-mass/12205 "2011-06-27T16:23:18Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### Author: ![DetlevD](https://community.mp3tag.de/user_avatar/community.mp3tag.de/detlevd/32/123_2.png) [@DetlevD](https://community.mp3tag.de/u/DetlevD)
#### Post date: [July 13, 2011, 1:47am UTC](https://community.mp3tag.de/t/adding-totaltracks-tag-en-mass/12205/5 "2011-07-13T01:47:59Z")

</div>

> [@PlasmaShock](#):
>
> So how would I do that?

Use Mp3tag.  
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-

Elaborated ...

Select one file in the Mp3tag file list view.  
Open the dialog 'Mp3tag/Actions/Actions/Action Groups'  
Click the button 'New'.  
Follow the further dialogs.

See also ...  
How do I create a new action?  
[/t/967/1](https://community.mp3tag.de/t/967/1)

Create the following Action Group

Begin Action Group **Format TRACK#Set TOTALTRACKS** 

Action #1  
_Actiontype 5:_ **Format value**  
_Field \_\_\_\_\_\_:_ **TOTALTRACKS**  
_Formatstring:_ **%\_total\_files%**

 

End Action Group **Format TRACK#Set TOTALTRACKS** (1 Action)

 

Save all changes.

 

How to apply the action group?  
Select the group of tracks, which should receive the tag-field TOTALTRACKS with the same value.  
Apply the newly created Action Group right away from the dialog 'Action Group' or invoke the new user defined action via the main menu, dialog 'Mp3tag/Actions' from the submenu 'Format TRACK/Set TOTALTRACKS'.

 

See also ...  
[Tracknummer 3-stellig mit führenden Nullen](https://community.mp3tag.de/t/11391/2)

 

Here is a new zip package including an updated set of TRACK and TOTALTRACKS related actions ...  
[20110713.Format\_TRACK.mta.zip ( 2.27K ) Number of downloads: 71]  
Unzip all files into a temporary folder and execute the cmd file to copy all mta files into the related Mp3tag folder.

 

DD.20110713.0650.CEST

 

Edit.  
Actions ...  
Format TRACK#Set TRACK fix 001⁄001  
Format TRACK#Set TRACK fix 001  
Format TRACK#Set TRACK fix 01⁄01  
Format TRACK#Set TRACK fix 01  
Format TRACK#Set TRACK var (0)1⁄1  
Format TRACK#Set TRACK var (0)1  
Format TRACK#Set TRACK var 1⁄1  
Format TRACK#Set TRACK var 1  
Format TRACK#TOTALTRACKS set from selected files  
Format TRACK#TRACK format 1⁄11 to 01⁄11  
Format TRACK#TRACK⁄TOTALTRACKS merge into TRACK  
Format TRACK#TRACK⁄TOTALTRACKS split from TRACK

 

[20130106.Format.TRACK.mta.zip ( 3.71K ) Number of downloads: 59]  
Unzip all files into a temporary folder and execute the cmd file to copy all mta files into the related Mp3tag folder.  
DD.20130106.1340.CET

 

Added action ...  
Format TRACK#TRACK format 01.01 to 1.1

 

[20131223.Format.TRACK.mta.zip](https://community.mp3tag.de/uploads/default/original/2X/f/f134cc71430df474a62dda2d2647d96ffab8c957.zip) (3.98 KB)  
DD.20140120.1627.CET

 

[20131223.Format.TRACK.mta.zip](https://community.mp3tag.de/uploads/default/original/2X/f/f134cc71430df474a62dda2d2647d96ffab8c957.zip) (3.98 KB)

---

_[View the full topic](https://community.mp3tag.de/t/adding-totaltracks-tag-en-mass/12205)._
